164 Commits

Author SHA1 Message Date
Thibault Jouan
90da5e4490 Configure travis CI to create initial directories 2015-05-01 10:28:55 +00:00
Thibault Jouan
d4d0382e4c Remove `sounds_path' modification in spec_helper
Since e90bb01c, we already configure a different path for test
environment from application configuration.
2015-05-01 10:26:04 +00:00
Thibault Jouan
62ea95af56 Fix travis CI script configuration 2015-05-01 10:24:24 +00:00
Thibault Jouan
a38da387d2 Configure secret_key_base for travis CI 2015-05-01 10:22:57 +00:00
Thibault Jouan
14e255eeb0 Configure database for travis CI 2015-05-01 10:00:47 +00:00
Thibault Jouan
b1a6248004 Enable travis CI fast finish 2015-05-01 10:00:47 +00:00
Thibault Jouan
2f44a2265e Add navigation in layout header as a list 2015-04-30 13:54:02 +00:00
Thibault Jouan
64e8a67501 Add travis CI configuration file 2015-04-30 13:47:10 +00:00
Thibault Jouan
d58c9ba0cb Remove `should' usages in specs 2015-04-30 13:43:54 +00:00
Thibault Jouan
1a39db3909 Fix configured sounds path 2015-04-30 13:40:31 +00:00
Thibault Jouan
4a015d461a Prevent exception when fetching current user 2015-04-30 13:36:48 +00:00
Thibault Jouan
98764eb5be Refactor spec_helper requirement with rspec config 2015-04-30 12:31:02 +00:00
Thibault Jouan
e90bb01cb9 Configure sounds path in application config 2015-04-30 12:25:26 +00:00
Thibault Jouan
999ff85ac9 Move default headers configuration in app config 2015-04-30 12:20:22 +00:00
Thibault Jouan
9ff1c049c5 Revert "Remove bundler binstubs"
This reverts commit 7209d10aaf12875ce05bf21db967b27e7594ac38.

  It appears rails now depends on this for various aspects :-(
2015-04-30 12:18:43 +00:00
Thibault Jouan
2ff2521bf1 Remove unused assets from public directory 2015-04-30 11:55:33 +00:00
Thibault Jouan
2d6b2b1a50 Remove username from DB config 2015-04-30 11:49:19 +00:00
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