muck-users 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/muck-users.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{muck-users}
5
- s.version = "0.2.3"
5
+ s.version = "0.2.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Ball"]
@@ -838,6 +838,7 @@ Gem::Specification.new do |s|
838
838
  "test/rails_root/test/functional/admin/users_controller_test.rb",
839
839
  "test/rails_root/test/functional/password_resets_controller_test.rb",
840
840
  "test/rails_root/test/functional/user_sessions_controller_test.rb",
841
+ "test/rails_root/test/functional/username_request_controller_test.rb",
841
842
  "test/rails_root/test/functional/users_controller_test.rb",
842
843
  "test/rails_root/test/integration/.keep",
843
844
  "test/rails_root/test/mocks/development/.keep",
@@ -903,6 +904,7 @@ Gem::Specification.new do |s|
903
904
  "test/rails_root/test/functional/admin/users_controller_test.rb",
904
905
  "test/rails_root/test/functional/password_resets_controller_test.rb",
905
906
  "test/rails_root/test/functional/user_sessions_controller_test.rb",
907
+ "test/rails_root/test/functional/username_request_controller_test.rb",
906
908
  "test/rails_root/test/functional/users_controller_test.rb",
907
909
  "test/rails_root/test/shoulda_macros/controller.rb",
908
910
  "test/rails_root/test/shoulda_macros/forms.rb",
@@ -0,0 +1,7 @@
1
+ require File.dirname(__FILE__) + '/../test_helper'
2
+
3
+ class Muck::UsernameRequestControllerTest < ActionController::TestCase
4
+
5
+ tests Muck::UsernameRequestController
6
+
7
+ end
@@ -19,7 +19,7 @@ class UserTest < ActiveSupport::TestCase
19
19
  should_allow_values_for :login, 'testguy', 'test-guy'
20
20
 
21
21
 
22
- should_protect_attributes :crypted_password, :password_salt, :persistence_token, :single_access_token, :perishable_token, :login_count,
22
+ should_not_allow_mass_assignment_of :crypted_password, :password_salt, :persistence_token, :single_access_token, :perishable_token, :login_count,
23
23
  :failed_login_count, :last_request_at, :last_login_at, :current_login_at, :current_login_ip, :last_login_ip,
24
24
  :terms_of_service, :time_zone, :disabled_at, :activated_at, :created_at, :updated_at
25
25
  end
@@ -112,7 +112,6 @@ class UserTest < ActiveSupport::TestCase
112
112
  assert u.errors.on(:email)
113
113
  end
114
114
  end
115
-
116
115
  end
117
116
 
118
117
  context "inactive users" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-users
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -896,6 +896,7 @@ files:
896
896
  - test/rails_root/test/functional/admin/users_controller_test.rb
897
897
  - test/rails_root/test/functional/password_resets_controller_test.rb
898
898
  - test/rails_root/test/functional/user_sessions_controller_test.rb
899
+ - test/rails_root/test/functional/username_request_controller_test.rb
899
900
  - test/rails_root/test/functional/users_controller_test.rb
900
901
  - test/rails_root/test/integration/.keep
901
902
  - test/rails_root/test/mocks/development/.keep
@@ -979,6 +980,7 @@ test_files:
979
980
  - test/rails_root/test/functional/admin/users_controller_test.rb
980
981
  - test/rails_root/test/functional/password_resets_controller_test.rb
981
982
  - test/rails_root/test/functional/user_sessions_controller_test.rb
983
+ - test/rails_root/test/functional/username_request_controller_test.rb
982
984
  - test/rails_root/test/functional/users_controller_test.rb
983
985
  - test/rails_root/test/shoulda_macros/controller.rb
984
986
  - test/rails_root/test/shoulda_macros/forms.rb