Admin routine implemented
devise User CRUD implemented under devise Admin model authentication
Admin user list page
Admin hotel list page
Admin routine specs
Admin routine controllers specs
174 examples, 0 failures

Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
On branch admin-tools
Changes to be committed:
	modified:   Gemfile
	modified:   Gemfile.lock
	new file:   app/assets/javascripts/admin/users.js
	new file:   app/assets/stylesheets/admin/users.css.scss
	modified:   app/assets/stylesheets/application.css
	new file:   app/controllers/admin/users_controller.rb
	modified:   app/controllers/home_controller.rb
	modified:   app/controllers/rating_controller.rb
	deleted:    app/controllers/users_controller.rb
	new file:   app/helpers/admin/users_helper.rb
	modified:   app/helpers/hotels_helper.rb
	modified:   app/models/rating.rb
	new file:   app/views/admin/users/_query_form.html.erb
	new file:   app/views/admin/users/_table_users.html.erb
	new file:   app/views/admin/users/edit.html.erb
	new file:   app/views/admin/users/index.html.erb
	new file:   app/views/admin/users/new.html.erb
	renamed:    app/views/users/show.html.erb -> app/views/admin/users/show.html.erb
	modified:   app/views/devise/sessions/new.html.erb
	modified:   app/views/hotels/index.html.erb
	modified:   app/views/layouts/_header.html.erb
	modified:   app/views/layouts/_header_admin_dropdown.erb
	deleted:    app/views/users/_table_users.html.erb
	deleted:    app/views/users/index.html.erb
	modified:   config/routes.rb
	modified:   db/migrate/20140918141354_devise_create_users.rb
	new file:   db/migrate/20140927175022_add_column.rb
	modified:   db/schema.rb
	modified:   lib/tasks/mock.rake
	new file:   spec/controllers/admin/users_controller_spec.rb
	deleted:    spec/controllers/users_controller_spec.rb
	modified:   spec/factories.rb
	new file:   spec/requests/admin_pages_spec.rb
Hotel states migration added
Hotel model refactored states added
Admin namespace hotel controller added
InheretedResources::Base inheritance added where necessary
Hotel pages refactored
Mailer StateNotifier added
Hotel management pages specs added
Admin::HotelsController specs added
StateNotifier specs added

	modified:   Gemfile.lock
	new file:   app/assets/javascripts/admin/hotels.js
	modified:   app/assets/javascripts/admin/users.js
	deleted:    app/assets/stylesheets/admin/users.css.scss
	new file:   app/controllers/admin/hotels_controller.rb
	modified:   app/controllers/admin/users_controller.rb
	modified:   app/controllers/home_controller.rb
	modified:   app/controllers/hotels_controller.rb
	deleted:    app/helpers/admin/users_helper.rb
	new file:   app/mailers/state_notifier.rb
	modified:   app/models/hotel.rb
	new file:   app/views/admin/hotels/_state_select.html.erb
	modified:   app/views/admin/users/_query_form.html.erb
	modified:   app/views/admin/users/edit.html.erb
	modified:   app/views/devise/registrations/edit.html.erb
	modified:   app/views/hotels/_table_hotels.html.erb
	modified:   app/views/hotels/edit.html.erb
	modified:   app/views/hotels/index.html.erb
	modified:   app/views/hotels/show.html.erb
	modified:   app/views/layouts/_header.html.erb
	new file:   app/views/state_notifier/status_change_email.html.erb
	modified:   config/application.rb
	modified:   config/environments/test.rb
	modified:   config/routes.rb
	new file:   db/migrate/20140928090932_add_state_to_hotel.rb
	modified:   db/schema.rb
	new file:   spec/controllers/admin/hotels_controller_spec.rb
	modified:   spec/controllers/admin/users_controller_spec.rb
	modified:   spec/controllers/hotel_controller_spec.rb
	modified:   spec/factories.rb
	new file:   spec/mailers/state_notifier_spec.rb
	modified:   spec/models/hotel_spec.rb
	modified:   spec/requests/admin_pages_spec.rb