Commit graph

694 commits

Author SHA1 Message Date
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
Eric Schultz
5f7b284c4f
Fix bug where delete_card_for_ticket spec was failing 2019-08-02 19:07:13 +02:00
Eric Schultz
3f23b3df8e
Turn delivery errors off in test environment 2019-08-02 19:07:12 +02:00
Eric Schultz
3d27e97fee
Fix bug where checking payment providers were validated improperly in rails 4.1 2019-08-02 19:07:12 +02:00
Eric Schultz
30accb5e79
Add solargraph 2019-08-02 19:07:12 +02:00
Eric Schultz
a5903d9daf
Correct blocklist name
WIP
2019-08-02 19:07:07 +02:00
Eric Schultz
881e42cc0b
Correct rubocop warning 2019-08-02 19:07:07 +02:00
Eric Schultz
ca17696529
Initial Update to ruby 4.2 2019-08-02 19:06:28 +02:00
Eric Schultz
6fa8bd5a62
Fix wrap params 2019-07-29 20:10:03 +02:00
Eric Schultz
4ea0d48a01
Update inflections 2019-07-29 20:10:03 +02:00
Eric Schultz
3291392c80
Boot
update
2019-07-29 20:10:03 +02:00
Eric Schultz
c743fac976
Finally worky? 2019-07-29 20:10:03 +02:00
Eric Schultz
1685846828
LESS LOGGING 2019-07-29 20:10:03 +02:00
Eric Schultz
3ed8a501e6
WWWWWHHHE 2019-07-29 20:10:03 +02:00
Eric Schultz
db9493725e
FIXED PROBLEM! 2019-07-29 20:10:02 +02:00
Eric Schultz
bb97427a40
We use npm ci only during build test 2019-07-29 20:10:02 +02:00
Luis Castro
7a6e38daf2
Merge pull request #13 from debtcollective/docs/documentation-for-local-mac-env
Docs/documentation for local mac env
2019-07-29 20:09:13 +02:00