147 Commits

Author SHA1 Message Date
Thibault Jouan
7209d10aaf Remove bundler binstubs 2015-04-30 11:46:56 +00:00
Thibault Jouan
3e5c29b635 Configure CSRF protection with exceptions
rails 4 introduced different strategies, but we never configured one
so it would default to a null session.
2015-04-30 11:43:22 +00:00
Thibault Jouan
b13efc5a4c Improve how ruby features are required
* Don't require bcrypt explicitly (done by bundler);
* Regroup require calls in application configuration.
2015-04-30 11:28:07 +00:00
Thibault Jouan
16cccc2a23 Require only required railties 2015-04-30 11:24:59 +00:00
Thibault Jouan
30d5f763d9 Fix coding standards 2015-04-30 09:37:49 +00:00
Thibault Jouan
c510c8f871 Remove secret token initializer 2015-04-30 09:28:46 +00:00
Thibault Jouan
2fe3eb1158 Remove dependencies on Scube constant 2015-04-30 09:28:14 +00:00
Thibault Jouan
3b733c349e Fix coding standards in application files 2015-04-30 08:52:00 +00:00
Thibault Jouan
737ac1f10a Fix coding standards in guard config 2015-04-30 08:14:28 +00:00
Thibault Jouan
d910c46dc2 Configure guard to watch only relevant directories 2015-04-30 08:14:13 +00:00
Thibault Jouan
7fd085c6df Update ruby DB schema 2015-04-30 08:03:53 +00:00
Thibault Jouan
597cd72b96 Merge branch 'dependencies-update'
Update most dependencies, ensure version requirements are locked, and
fix deprecated code.
2015-04-30 05:27:49 +00:00
Thibault Jouan
282eb2ddee Update to rspec 3.2 2015-04-29 14:55:03 +00:00
Thibault Jouan
96246f87bf Soften version requirements for most dependencies 2015-04-29 13:22:48 +00:00
Thibault Jouan
47be6e09f2 Declare and lock all dependencies
* Remove custom gemfile usage;
* Move essential gems from custom gemfile to the standard one;
* Include bundler lock file in version control.
2015-04-29 13:21:15 +00:00
Thibault Jouan
6df77a4888 Change gem sort order in Gemfile 2015-04-29 13:15:13 +00:00
Thibault Jouan
096d808a60 Use custom spork version updated for rspec ~> 2.99 2015-04-29 13:09:05 +00:00
Thibault Jouan
fae21e87d4 Fix rspec 2.99 deprecations 2015-04-29 13:06:44 +00:00
Thibault Jouan
b70071a7c3 Update rspec configuration for rspec-rails 3 2015-04-29 13:00:14 +00:00
Thibault Jouan
403d9c3df2 Fix rspec-rails mock_model deprecation 2015-04-29 11:38:34 +00:00
Thibault Jouan
aa6f6a103e Update to rails 4.2.1 2015-04-29 11:33:21 +00:00
Thibault Jouan
1efb3103d9 Remove respond_to usage in playlists controller
This feature was deprecated by rails.
2015-04-29 11:17:29 +00:00
Thibault Jouan
2dc65f529b Fix rubygems source configured for bundler 2015-04-29 10:38:59 +00:00
Thibault Jouan
5967d237c6 Update database schema 2014-04-03 02:26:15 +00:00
Thibault Jouan
4c6adc6927 Use new "strong parameters" from rails4 2014-04-03 02:20:37 +00:00
Thibault Jouan
1b5055d0a6 Remove extra empty lines in schema migration 2014-04-01 20:15:54 +00:00
Thibault Jouan
53d9956961 Fix default headers 2014-04-01 19:35:28 +00:00
Thibault Jouan
2acf0371b5 Fix coding standards in specs 2014-04-01 19:14:11 +00:00
Thibault Jouan
e6f6475705 Fix coding standards in application 2014-04-01 19:02:23 +00:00
Thibault Jouan
aca19eb51f Fix coding standards: bang operator 2014-04-01 18:55:46 +00:00
Thibault Jouan
0c7bf69ba2 Use one-liners in specs where possible 2014-04-01 18:55:42 +00:00
Thibault Jouan
4cef7aeab9 Update specs to new rspec syntax 2014-04-01 18:15:44 +00:00
Thibault Jouan
99d106cf36 Restore spork dependency in Gemfile 2014-04-01 14:44:46 +00:00
Thibault Jouan
da96c4814a Use ruby 2.x hash syntax 2014-04-01 10:48:18 +00:00
Thibault Jouan
712e9501a2 Update Guardfile 2014-04-01 10:24:57 +00:00
Thibault Jouan
92ac87c54e Merge branch 'rails4'
Upgrade all dependencies, then rails from 3.x to 4.0.
2014-04-01 10:07:56 +00:00
Thibault Jouan
aa2b43ab42 Update rails to 4.0:
* Add protected_attributes gem dependency;
* Remove deprecated usages of AR .find method;
2014-04-01 10:01:02 +00:00
Thibault Jouan
bd39be32c5 Make Sound#file attr_accessible 2014-04-01 07:48:47 +00:00
Thibault Jouan
3253ddea9b Update shoulda-matchers to last version 2014-04-01 05:19:51 +00:00
Thibault Jouan
97c64d0990 Update capybara to last version 2014-04-01 05:18:19 +00:00
Thibault Jouan
eda2f3fbee Update factory girl to last version 2014-04-01 05:04:27 +00:00
Thibault Jouan
d2b332215e Remove incorrect mock() usage in specs 2014-04-01 04:58:39 +00:00
Thibault Jouan
c1eaf98c02 Update for latest RABL version:
* Fix controller specs to also render RABL views where needed.
2014-04-01 04:52:09 +00:00
Thibault Jouan
edef2df77b Update haml gem 2014-04-01 03:44:24 +00:00
Thibault Jouan
51ff46e00b Update pg gem 2014-04-01 03:43:04 +00:00
Thibault Jouan
8a37fde85c Fix name for bcrypt dependency 2014-04-01 03:41:03 +00:00
Thibault Jouan
3abda1db8e Ignore Gemfile.lock 2014-04-01 03:40:51 +00:00
Thibault Jouan
d3a04b3621 Merge branch 'cleanup'
Clean up documentation and dependencies.
2014-04-01 03:16:54 +00:00
Thibault Jouan
7efa92ab70 Fix dependencies specification in Gemfile:
* Implement custom Gemfile evaluation;
* Remove all uneeded gems;
* Fix indentation.
2014-04-01 03:15:01 +00:00
Thibault Jouan
3dbaf438a4 Update documentation:
* Remove rails default doc files;
* Fix outdated documentation (installation and contribution).
2014-04-01 03:08:41 +00:00