Refactors Users#reset_password_create action to reduce complexity. Creates a new class PasswordService to handle password reset and password validation logic.
Travis won't test on versions older than what is specified in the Gemfile. See https://travis-ci.org/hotsh/rstat.us/jobs/13116871 for more information.
Extract password reset logic in PasswordService class.
Removes generated file: database.yml We don't use the database.yml because it was generated expecting a schema based db like sqlite3 and we are using mongo.
Heroku now uses ruby 2.0.0 as the default, but we appear to have some compatibilty issues somewhere (see #772). Heroku will use the ruby specified in the Gemfile, so this should make for a more seamless deploy experience until we fix the compatibility problem(s).
Updated rails, set ratom to point to a patched git branch until it is merged.
Updates twitter gem and increases minor patches of all other gems.
fixes cve-2013-1854, updates twitter gem so new installs work.
According to ALPS, the following rels are used on <a> tags: messages-me: Applied to an A tag. A reference to a list representation of all the messages posted by the designated user. users-friends: Applied to an A tag. A reference to list representation of the designated user's friend users. users-followers: Applied to an A tag. A reference to list representation of the users who follow the designated user.
Speed benchmarks: ``` $ rake test:file[test/services/subscriber_to_feed_data_converter_test.rb] 6 tests, 1 assertions, 1 failures, 5 errors, 0 skips ``` ``` $ rake test:file[test/services/subscriber_to_feed_data_converter_test.rb] Finished tests in 0.005167s, 1161.2156 tests/s, 2128.8953 assertions/s. ``` Fair enough.
This removes the overhead imprint. Tests run at quick speed: $ rake test:file[test/services/feed_service_test.rb] test/services/feed_service_test.rb Rack::File headers parameter replaces cache_control after Rack 1.5. Run options: --seed 41627 ..... Finished tests in 0.015902s, 314.4225 tests/s, 377.3070 assertions/s.
The original tests stubbed the private methods which means they mostly just tested ruby's precedence order. :) Private methods are forced integrations... we have to allow them to operate in turn in order to assess behavior.
Fix for undefined method `start_with?' for nil:NilClass in Rakefile
Bugfix/faster tests through rakefile
Bugfix/therubyracer only on linux