20 Commits

Author SHA1 Message Date
Thibault Jouan
282eb2ddee Update to rspec 3.2 2015-04-29 14:55:03 +00:00
Thibault Jouan
2acf0371b5 Fix coding standards in specs 2014-04-01 19:14:11 +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
da96c4814a Use ruby 2.x hash syntax 2014-04-01 10:48:18 +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
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
9b9e17e591 Implement track/index action for API 2012-05-03 21:11:03 +00:00
Thibault Jouan
9ccd1e10be Allow Content-Length header to be received and sent in CORS requests 2012-05-03 21:03:11 +00:00
Thibault Jouan
b40b4d4df3 Fix use of nil in CORS filter when request doesn't have an Origin header 2012-05-03 21:03:11 +00:00
Thibault Jouan
df6d4991f8 Implement playlists/create action for API 2012-03-19 02:23:48 +00:00
Thibault Jouan
10a8e1f094 Remove v0 version namespacing for API 2012-03-18 23:16:43 +00:00
Thibault Jouan
5dfafdcc46 Implement sessions/create in JSON API 2012-03-18 17:30:36 +00:00
Thibault Jouan
499b06c9e5 Allow API consumer to send credentials on cross-origin requests 2012-03-13 21:12:24 +00:00
Thibault Jouan
6379da88e2 Implement Cross-Origin Resource Sharing:
* Add Api::ApplicationController
* Route OPTION requests (CORS preflight) to API application controller
* Filter all API requests through #cor_filter in API application
  controller
2012-03-11 22:19:42 +00:00
Thibault Jouan
abb7b07c89 Refactor spec clean up 2011-09-20 23:19:28 +00:00
Thibault Jouan
27550fd14e Save track files in new Sound model:
* Consolidate migrations
* Add Sound model. Each sound can belong to a track and contains
  informations about one sound file.
2011-09-20 17:43:20 +00:00
Thibault Jouan
f49a5a3f67 Update to rails 3.1.0
* Bump rails version to 3.1.0 in Gemfile
* Update config files
* Fix bcrypt monkey patch for specs
* Fix TracksController
* Replace track streaming with track download
* Remove assets from application layout
2011-09-15 16:10:21 +00:00
Thibault Jouan
639293e4ca Replace cucumber features by rails integration specs 2011-09-14 17:39:14 +00:00