authpwn_rails 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = mini_auth_rails
1
+ = authpwn_rails
2
2
 
3
3
  User authentication for a Ruby on Rails 3 application. Works with Facebook.
4
4
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ begin
8
8
  gem.summary = %Q{User authentication for Rails 3 applications.}
9
9
  gem.description = %Q{Works with Facebook.}
10
10
  gem.email = "victor@costan.us"
11
- gem.homepage = "http://github.com/costan/mini_auth_rails"
11
+ gem.homepage = "http://github.com/pwnall/authpwn_rails"
12
12
  gem.authors = ["Victor Costan"]
13
13
  gem.add_runtime_dependency "fbgraph_rails", ">= 0.1.3"
14
14
  gem.add_runtime_dependency "rails", ">= 3.0.0.rc"
@@ -51,5 +51,6 @@ Rake::RDocTask.new do |rdoc|
51
51
  rdoc.rdoc_dir = 'rdoc'
52
52
  rdoc.title = "authpwn_rails #{version}"
53
53
  rdoc.rdoc_files.include('README*')
54
+ rdoc.rdoc_files.include('app/**/*.rb')
54
55
  rdoc.rdoc_files.include('lib/**/*.rb')
55
56
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{authpwn_rails}
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = %q{2010-08-07}
12
+ s.date = %q{2010-08-12}
13
13
  s.description = %q{Works with Facebook.}
14
14
  s.email = %q{victor@costan.us}
15
15
  s.extra_rdoc_files = [
@@ -57,23 +57,23 @@ Gem::Specification.new do |s|
57
57
  "test/test_helper.rb",
58
58
  "test/user_test.rb"
59
59
  ]
60
- s.homepage = %q{http://github.com/costan/mini_auth_rails}
60
+ s.homepage = %q{http://github.com/pwnall/authpwn_rails}
61
61
  s.rdoc_options = ["--charset=UTF-8"]
62
62
  s.require_paths = ["lib"]
63
63
  s.rubygems_version = %q{1.3.7}
64
64
  s.summary = %q{User authentication for Rails 3 applications.}
65
65
  s.test_files = [
66
- "test/facebook_token_test.rb",
67
- "test/session_controller_api_test.rb",
68
- "test/user_test.rb",
69
- "test/cookie_controller_test.rb",
70
- "test/test_helper.rb",
66
+ "test/cookie_controller_test.rb",
71
67
  "test/facebook_controller_test.rb",
68
+ "test/facebook_token_test.rb",
72
69
  "test/helpers/application_controller.rb",
73
- "test/helpers/routes.rb",
74
- "test/helpers/fbgraph.rb",
75
70
  "test/helpers/db_setup.rb",
76
- "test/helpers/view_helpers.rb"
71
+ "test/helpers/fbgraph.rb",
72
+ "test/helpers/routes.rb",
73
+ "test/helpers/view_helpers.rb",
74
+ "test/session_controller_api_test.rb",
75
+ "test/test_helper.rb",
76
+ "test/user_test.rb"
77
77
  ]
78
78
 
79
79
  if s.respond_to? :specification_version then
@@ -58,7 +58,7 @@ module ModelMetaclassMethods
58
58
 
59
59
  # Generates a random salt value.
60
60
  def random_salt
61
- (0...16).map { |i| 1 + rand(255) }.pack('C*')
61
+ [(0...12).map { |i| 1 + rand(255) }.pack('C*')].pack('m').strip
62
62
  end
63
63
 
64
64
  # Fills out a new user's information based on a Facebook access token.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authpwn_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 4
10
- version: 0.4.4
9
+ - 5
10
+ version: 0.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-07 00:00:00 -04:00
18
+ date: 2010-08-12 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -117,7 +117,7 @@ files:
117
117
  - test/test_helper.rb
118
118
  - test/user_test.rb
119
119
  has_rdoc: true
120
- homepage: http://github.com/costan/mini_auth_rails
120
+ homepage: http://github.com/pwnall/authpwn_rails
121
121
  licenses: []
122
122
 
123
123
  post_install_message:
@@ -151,14 +151,14 @@ signing_key:
151
151
  specification_version: 3
152
152
  summary: User authentication for Rails 3 applications.
153
153
  test_files:
154
- - test/facebook_token_test.rb
155
- - test/session_controller_api_test.rb
156
- - test/user_test.rb
157
154
  - test/cookie_controller_test.rb
158
- - test/test_helper.rb
159
155
  - test/facebook_controller_test.rb
156
+ - test/facebook_token_test.rb
160
157
  - test/helpers/application_controller.rb
161
- - test/helpers/routes.rb
162
- - test/helpers/fbgraph.rb
163
158
  - test/helpers/db_setup.rb
159
+ - test/helpers/fbgraph.rb
160
+ - test/helpers/routes.rb
164
161
  - test/helpers/view_helpers.rb
162
+ - test/session_controller_api_test.rb
163
+ - test/test_helper.rb
164
+ - test/user_test.rb