Luis Castro
69f780c3bf
chore: add libsass helpers to development env
2019-08-05 12:44:01 +02:00
Luis Castro
8258012ae8
chore: add pessimistic operator to all gems
...
Using the pessimistic operator in combination with consistent Semantic versioning by gem authors, we can theoretically achieve better stability in our dependencies.
2019-08-05 12:42:43 +02:00
Luis Castro
ff428870fb
chore: rename editable.css file and remove erb extension
2019-08-05 12:40:32 +02:00
Luis Castro
23603f0b1c
Merge pull request #14 from debtcollective/rails_v5
...
Upgrade to Rails v5.2.3
2019-08-02 19:52:50 +02:00
Orlando Del Aguila
9b753f9c6a
dev: add .ruby-gemset and fix dependencies issues
2019-08-02 12:49:24 -05:00
Luis Castro
deae69bce8
chore(shared_user_ctx): rename method for clarity
2019-08-02 19:19:56 +02:00
Luis Castro
b65b88b292
test(static_controller): fix inconsistency with Settings merge
2019-08-02 19:07:31 +02:00
Luis Castro
c21ddbba06
test(views): add arg for views without json format
2019-08-02 19:07:31 +02:00
Luis Castro
fd564be0bc
fix(test_uploader): remove frozen literal from test file
2019-08-02 19:07:31 +02:00
Luis Castro
096a6a27a1
test(payouts): add matching expectaions to db timestamp values
2019-08-02 19:07:31 +02:00
Luis Castro
5fe98ab464
test(timespan): fix inconsistency between expectation and actual output
...
* Also added timecop to spec to avoid future breaks.
2019-08-02 19:07:31 +02:00
Luis Castro
0a9b944526
fix(timespan): add correct calls to units from argument error
2019-08-02 19:07:30 +02:00
Luis Castro
3965ba59f9
feat(timespan): add new syntax for declaring constants in a Struct
2019-08-02 19:07:30 +02:00
Luis Castro
2552e831b3
chore(rspec): supress warnings on false positives
2019-08-02 19:07:30 +02:00
Luis Castro
aacd4af6c0
test(methods): add methods to without json response config
2019-08-02 19:07:30 +02:00
Luis Castro
529745bf22
test(button): remove from json views
2019-08-02 19:07:30 +02:00
Luis Castro
2c12b5864b
test(edit): fix edit actions controller expect to html render method
2019-08-02 19:07:30 +02:00
Luis Castro
f0fd393be4
style(format): run rubocop format autocorrect
2019-08-02 19:07:29 +02:00
Luis Castro
04a5eb039f
feat(pg_type_map): add validation for Qx to run if database exists
2019-08-02 19:07:29 +02:00
Luis Castro
da68bca689
docs(getting_started): add known bug for Qx gem at rake db setup
2019-08-02 19:07:29 +02:00
Luis Castro
7c1f78e7d6
docs(getting_started): add newest version of ruby
2019-08-02 19:07:28 +02:00
Luis Castro
1c28460ad7
feat(api): use active support reloader instead of callback
2019-08-02 19:07:28 +02:00
Luis Castro
cf5792d4e5
feat(gems): update Gemfile
2019-08-02 19:07:28 +02:00
Luis Castro
28a0793377
feat(campaigns): return expected api response
2019-08-02 19:07:28 +02:00
Luis Castro
df29d446ae
chore(models): comment out attr_accessible
...
Needs to be changed to strong params in controllers of each model.
2019-08-02 19:07:28 +02:00
Luis Castro
84f8a583ba
test(shared_user_ctx): add conditional specs for types of methods
2019-08-02 19:07:28 +02:00
Luis Castro
9f6ea91224
fix(direct_debit_detail): use class_name string value
2019-08-02 19:07:27 +02:00
Luis Castro
eb7c11d849
chore(gems): update rails and ruby version to latest
2019-08-02 19:07:27 +02:00
Luis Castro
d153de8d1f
fix(dependency): Remove require dependency for timespan constants
2019-08-02 19:07:27 +02:00
Luis Castro
33862bab25
test(support): fix any_instance deprecation warning
...
Changed from the old syntax to the new allow_any_instance_of according to the documentation.
https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of
2019-08-02 19:07:27 +02:00
Luis Castro
a20bd477ce
fix(static_controller): return body nil when 500
...
Fix deprecation warning from nothing.
2019-08-02 19:07:27 +02:00
Luis Castro
22bf0713f9
fix(campaign): add explicit source for payments relation
2019-08-02 19:07:27 +02:00
Luis Castro
4992253540
fix(constants): explicit require for constants
2019-08-02 19:07:26 +02:00
Luis Castro
812d546080
fix(app): fixnum is deprecated
...
Use Integer, since Fixnum and Bigint now belong to the same class in Ruby 2.4+
2019-08-02 19:07:26 +02:00
Luis Castro
e08d7836c6
test(nonprofit): fix xhr deprecation warnings
...
`xhr` and `xml_http_request` are deprecated, changed to new syntax
2019-08-02 19:07:26 +02:00
Luis Castro
d4f6e2d91d
test(donation_context): fix any_instance deprecation warning
...
Changed from the old syntax to the new allow_any_instance_of according to the documentation.
https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of
2019-08-02 19:07:26 +02:00
Luis Castro
fb638f0c26
test(shared_user_context): fix positional args warning
...
Using positional arguments in functional tests has been deprecated
2019-08-02 19:07:26 +02:00
Luis Castro
57125774ef
test(params): fix HttpPositionalArguments
...
Automatic run with `bundle exec rubocop --rails --only HttpPositionalArguments --auto-correct`
2019-08-02 19:07:26 +02:00
Luis Castro
c3c1311e2f
test(shared_user_context): move to ActionDistpach
...
From ActionController::TestResponse, to use the new IntegrationTest from rails 5.
2019-08-02 19:07:25 +02:00
Luis Castro
11d72b97d5
fix(gemfile): add missing rack-ssl dependency
2019-08-02 19:07:25 +02:00
Luis Castro
35c2f5a640
test(setup): update Devise controller helpers
2019-08-02 19:07:25 +02:00
Luis Castro
dd64ee5159
feat: replace deprecated before_filter with before_action
2019-08-02 19:07:25 +02:00
Luis Castro
34b4604c7a
fix: Puma server config syntax
2019-08-02 19:07:25 +02:00
Luis Castro
d9895890a0
chore: create uniq db for continous integration
2019-08-02 19:07:25 +02:00
Eric Schultz
28df345478
Comment out quiet_assets
2019-08-02 19:07:25 +02:00
Eric Schultz
8db525c2b8
Comment out mass assignment sanitizer
2019-08-02 19:07:24 +02:00
Eric Schultz
f2c32fffca
Initially comment out attr_accessible
2019-08-02 19:07:24 +02:00
Eric Schultz
a7e5baae2c
Tests are random by default so we don't need to say it
2019-08-02 19:07:24 +02:00
Eric Schultz
a12e4099ad
Add ApplicationJob
2019-08-02 19:07:24 +02:00
Eric Schultz
d3535c0b80
Models now inherit from ApplicationRecord
2019-08-02 19:07:24 +02:00