Commit graph

660 commits

Author SHA1 Message Date
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
Eric Schultz
4071455dee
rails_12factor is unneeded in Rails5 2019-08-02 19:07:24 +02:00
Eric Schultz
66e4d26d22
Config cleanup 2019-08-02 19:07:23 +02:00
Eric Schultz
e19ee9c638
Initial to rails v5 upgrade 2019-08-02 19:07:23 +02:00
Eric Schultz
69cb2cbc5c
Rails 5.0 builds 2019-08-02 19:07:23 +02:00
Eric Schultz
133986cf40
Update to Ruby 2.4 2019-08-02 19:07:23 +02:00
Eric Schultz
938821ed5f
Initial rails 4.2 2019-08-02 19:07:23 +02:00
Eric Schultz
07298a8cd0
Rails v4.2 2019-08-02 19:07:14 +02:00
Eric Schultz
d90d2b3505
Make CreateCampaign fail in pending 2019-08-02 19:07:14 +02:00
Eric Schultz
dd53f11be9
Fix wrap parameters bug 2019-08-02 19:07:14 +02:00
Eric Schultz
a05f8582de
Remove deprecated '.to_time_in_current_zone' usage 2019-08-02 19:07:14 +02:00
Eric Schultz
cc24183cb9
Fix some quirky test issues with non-reloaded entities 2019-08-02 19:07:13 +02:00
Eric Schultz
964aadbfb1
Correct bug in maintenance_spec.tb 2019-08-02 19:07:13 +02:00
Eric Schultz
438ecf16c8
Correct spec for campaign_gift_options 2019-08-02 19:07:13 +02:00
Eric Schultz
568835c9bf
Fix a numb of invalid routes in Rails 4 2019-08-02 19:07:13 +02:00
Eric Schultz
cb1c5f2f8c
Fix route bugs for nonprofits_controller 2019-08-02 19:07:13 +02:00
Eric Schultz
b4ebaa8102
Fix routing bugs in TicketsController spec 2019-08-02 19:07:13 +02:00