sorcery 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sorcery might be problematic. Click here for more details.
- data/Gemfile +2 -2
- data/Gemfile.lock +96 -81
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/sorcery.gemspec +23 -23
- data/spec/Gemfile +2 -2
- data/spec/Gemfile.lock +33 -32
- data/spec/rails3/Gemfile.lock +7 -7
- data/spec/rails3/spec/controller_oauth2_spec.rb +1 -1
- data/spec/rails3_mongoid/Gemfile.lock +7 -7
- data/spec/sinatra/Gemfile.lock +7 -7
- data/spec/sinatra_modular/Gemfile.lock +7 -7
- metadata +10 -12
data/Gemfile
CHANGED
@@ -2,8 +2,8 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
|
-
gem 'oauth', "
|
6
|
-
gem 'oauth2', "
|
5
|
+
gem 'oauth', "~> 0.4.4"
|
6
|
+
gem 'oauth2', "~> 0.4.1"
|
7
7
|
|
8
8
|
# Add dependencies to develop your gem here.
|
9
9
|
# Include everything needed to run rake, tests, features, etc.
|
data/Gemfile.lock
CHANGED
@@ -1,100 +1,108 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rack (~> 1.
|
15
|
-
rack-mount (~> 0.
|
16
|
-
rack-test (~> 0.
|
17
|
-
|
18
|
-
activemodel (3.0
|
19
|
-
activesupport (= 3.0
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
4
|
+
actionmailer (3.1.0)
|
5
|
+
actionpack (= 3.1.0)
|
6
|
+
mail (~> 2.3.0)
|
7
|
+
actionpack (3.1.0)
|
8
|
+
activemodel (= 3.1.0)
|
9
|
+
activesupport (= 3.1.0)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
i18n (~> 0.6)
|
13
|
+
rack (~> 1.3.2)
|
14
|
+
rack-cache (~> 1.0.3)
|
15
|
+
rack-mount (~> 0.8.2)
|
16
|
+
rack-test (~> 0.6.1)
|
17
|
+
sprockets (~> 2.0.0)
|
18
|
+
activemodel (3.1.0)
|
19
|
+
activesupport (= 3.1.0)
|
20
|
+
bcrypt-ruby (~> 3.0.0)
|
21
|
+
builder (~> 3.0.0)
|
22
|
+
i18n (~> 0.6)
|
23
|
+
activerecord (3.1.0)
|
24
|
+
activemodel (= 3.1.0)
|
25
|
+
activesupport (= 3.1.0)
|
26
|
+
arel (~> 2.2.1)
|
27
|
+
tzinfo (~> 0.3.29)
|
28
|
+
activeresource (3.1.0)
|
29
|
+
activemodel (= 3.1.0)
|
30
|
+
activesupport (= 3.1.0)
|
31
|
+
activesupport (3.1.0)
|
32
|
+
multi_json (~> 1.0)
|
33
|
+
addressable (2.2.6)
|
32
34
|
archive-tar-minitar (0.5.2)
|
33
|
-
arel (2.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
faraday (0.
|
35
|
+
arel (2.2.1)
|
36
|
+
bcrypt-ruby (3.0.0)
|
37
|
+
bson (1.3.1)
|
38
|
+
bson_ext (1.3.1)
|
39
|
+
builder (3.0.0)
|
40
|
+
columnize (0.3.4)
|
41
|
+
diff-lcs (1.1.3)
|
42
|
+
erubis (2.7.0)
|
43
|
+
faraday (0.6.1)
|
42
44
|
addressable (~> 2.2.4)
|
43
45
|
multipart-post (~> 1.1.0)
|
44
46
|
rack (< 2, >= 1.1.0)
|
45
47
|
git (1.2.5)
|
46
|
-
|
48
|
+
hike (1.2.1)
|
49
|
+
i18n (0.6.0)
|
47
50
|
jeweler (1.5.2)
|
48
51
|
bundler (~> 1.0.0)
|
49
52
|
git (>= 1.2.5)
|
50
53
|
rake
|
51
|
-
json (1.5.
|
52
|
-
linecache19 (0.5.
|
54
|
+
json (1.5.4)
|
55
|
+
linecache19 (0.5.12)
|
53
56
|
ruby_core_source (>= 0.1.4)
|
54
|
-
mail (2.
|
55
|
-
activesupport (>= 2.3.6)
|
57
|
+
mail (2.3.0)
|
56
58
|
i18n (>= 0.4.0)
|
57
59
|
mime-types (~> 1.16)
|
58
60
|
treetop (~> 1.4.8)
|
59
61
|
mime-types (1.16)
|
60
|
-
mongo (1.3.
|
61
|
-
bson (>= 1.3.
|
62
|
-
mongoid (2.0
|
62
|
+
mongo (1.3.1)
|
63
|
+
bson (>= 1.3.1)
|
64
|
+
mongoid (2.2.0)
|
63
65
|
activemodel (~> 3.0)
|
64
66
|
mongo (~> 1.3)
|
65
67
|
tzinfo (~> 0.3.22)
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
rack (1.
|
75
|
-
|
68
|
+
multi_json (1.0.3)
|
69
|
+
multipart-post (1.1.3)
|
70
|
+
oauth (0.4.5)
|
71
|
+
oauth2 (0.4.1)
|
72
|
+
faraday (~> 0.6.1)
|
73
|
+
multi_json (>= 0.0.5)
|
74
|
+
polyglot (0.3.2)
|
75
|
+
rack (1.3.2)
|
76
|
+
rack-cache (1.0.3)
|
77
|
+
rack (>= 0.4)
|
78
|
+
rack-mount (0.8.3)
|
76
79
|
rack (>= 1.0.0)
|
77
|
-
rack-
|
80
|
+
rack-ssl (1.3.2)
|
81
|
+
rack
|
82
|
+
rack-test (0.6.1)
|
78
83
|
rack (>= 1.0)
|
79
|
-
rails (3.0
|
80
|
-
actionmailer (= 3.0
|
81
|
-
actionpack (= 3.0
|
82
|
-
activerecord (= 3.0
|
83
|
-
activeresource (= 3.0
|
84
|
-
activesupport (= 3.0
|
84
|
+
rails (3.1.0)
|
85
|
+
actionmailer (= 3.1.0)
|
86
|
+
actionpack (= 3.1.0)
|
87
|
+
activerecord (= 3.1.0)
|
88
|
+
activeresource (= 3.1.0)
|
89
|
+
activesupport (= 3.1.0)
|
85
90
|
bundler (~> 1.0)
|
86
|
-
railties (= 3.0
|
87
|
-
railties (3.0
|
88
|
-
actionpack (= 3.0
|
89
|
-
activesupport (= 3.0
|
91
|
+
railties (= 3.1.0)
|
92
|
+
railties (3.1.0)
|
93
|
+
actionpack (= 3.1.0)
|
94
|
+
activesupport (= 3.1.0)
|
95
|
+
rack-ssl (~> 1.3.2)
|
90
96
|
rake (>= 0.8.7)
|
91
|
-
|
92
|
-
|
97
|
+
rdoc (~> 3.4)
|
98
|
+
thor (~> 0.14.6)
|
99
|
+
rake (0.9.2)
|
100
|
+
rdoc (3.9.4)
|
93
101
|
rspec (2.5.0)
|
94
102
|
rspec-core (~> 2.5.0)
|
95
103
|
rspec-expectations (~> 2.5.0)
|
96
104
|
rspec-mocks (~> 2.5.0)
|
97
|
-
rspec-core (2.5.
|
105
|
+
rspec-core (2.5.2)
|
98
106
|
rspec-expectations (2.5.0)
|
99
107
|
diff-lcs (~> 1.1.2)
|
100
108
|
rspec-mocks (2.5.0)
|
@@ -103,7 +111,7 @@ GEM
|
|
103
111
|
activesupport (~> 3.0)
|
104
112
|
railties (~> 3.0)
|
105
113
|
rspec (~> 2.5.0)
|
106
|
-
ruby-debug-base19 (0.11.
|
114
|
+
ruby-debug-base19 (0.11.25)
|
107
115
|
columnize (>= 0.3.1)
|
108
116
|
linecache19 (>= 0.5.11)
|
109
117
|
ruby_core_source (>= 0.1.4)
|
@@ -111,19 +119,26 @@ GEM
|
|
111
119
|
columnize (>= 0.3.1)
|
112
120
|
linecache19 (>= 0.5.11)
|
113
121
|
ruby-debug-base19 (>= 0.11.19)
|
114
|
-
ruby_core_source (0.1.
|
122
|
+
ruby_core_source (0.1.5)
|
115
123
|
archive-tar-minitar (>= 0.5.2)
|
116
|
-
simplecov (0.
|
117
|
-
simplecov-html (
|
118
|
-
simplecov-html (0.
|
119
|
-
|
124
|
+
simplecov (0.4.2)
|
125
|
+
simplecov-html (~> 0.4.4)
|
126
|
+
simplecov-html (0.4.5)
|
127
|
+
sprockets (2.0.0)
|
128
|
+
hike (~> 1.2)
|
129
|
+
rack (~> 1.0)
|
130
|
+
tilt (!= 1.3.0, ~> 1.1)
|
131
|
+
sqlite3 (1.3.4)
|
132
|
+
sqlite3-ruby (1.3.3)
|
133
|
+
sqlite3 (>= 1.3.3)
|
120
134
|
thor (0.14.6)
|
135
|
+
tilt (1.3.3)
|
121
136
|
timecop (0.3.5)
|
122
|
-
treetop (1.4.
|
137
|
+
treetop (1.4.10)
|
138
|
+
polyglot
|
123
139
|
polyglot (>= 0.3.1)
|
124
|
-
tzinfo (0.3.
|
125
|
-
|
126
|
-
yard (0.6.4)
|
140
|
+
tzinfo (0.3.29)
|
141
|
+
yard (0.6.8)
|
127
142
|
|
128
143
|
PLATFORMS
|
129
144
|
ruby
|
@@ -134,8 +149,8 @@ DEPENDENCIES
|
|
134
149
|
jeweler (~> 1.5.2)
|
135
150
|
json (>= 1.5.1)
|
136
151
|
mongoid (~> 2.0)
|
137
|
-
oauth (
|
138
|
-
oauth2 (
|
152
|
+
oauth (~> 0.4.4)
|
153
|
+
oauth2 (~> 0.4.1)
|
139
154
|
rails (>= 3.0.0)
|
140
155
|
rspec (~> 2.5.0)
|
141
156
|
rspec-rails (~> 2.5.0)
|
data/Rakefile
CHANGED
@@ -25,9 +25,9 @@ Jeweler::Tasks.new do |gem|
|
|
25
25
|
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
26
26
|
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
27
27
|
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
28
|
-
gem.add_runtime_dependency 'bcrypt-ruby', '~>
|
29
|
-
gem.add_runtime_dependency 'oauth', '
|
30
|
-
gem.add_runtime_dependency 'oauth2', '
|
28
|
+
gem.add_runtime_dependency 'bcrypt-ruby', '~> 3.0.0'
|
29
|
+
gem.add_runtime_dependency 'oauth', '~> 0.4.4'
|
30
|
+
gem.add_runtime_dependency 'oauth2', '~> 0.4.1'
|
31
31
|
end
|
32
32
|
Jeweler::RubygemsDotOrgTasks.new
|
33
33
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/sorcery.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.6.
|
7
|
+
s.name = "sorcery"
|
8
|
+
s.version = "0.6.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Noam Ben Ari"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2011-09-02"
|
13
|
+
s.description = "Provides common authentication needs such as signing in/out, activating by email and resetting password."
|
14
|
+
s.email = "nbenari@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -285,11 +285,11 @@ Gem::Specification.new do |s|
|
|
285
285
|
"spec/spec.opts",
|
286
286
|
"spec/spec_helper.rb"
|
287
287
|
]
|
288
|
-
s.homepage =
|
288
|
+
s.homepage = "http://github.com/NoamB/sorcery"
|
289
289
|
s.licenses = ["MIT"]
|
290
290
|
s.require_paths = ["lib"]
|
291
|
-
s.rubygems_version =
|
292
|
-
s.summary =
|
291
|
+
s.rubygems_version = "1.8.10"
|
292
|
+
s.summary = "Magical authentication for Rails 3 applications"
|
293
293
|
s.test_files = [
|
294
294
|
"spec/rails3/app/controllers/application_controller.rb",
|
295
295
|
"spec/rails3/app/helpers/application_helper.rb",
|
@@ -425,8 +425,8 @@ Gem::Specification.new do |s|
|
|
425
425
|
s.specification_version = 3
|
426
426
|
|
427
427
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
428
|
-
s.add_runtime_dependency(%q<oauth>, ["
|
429
|
-
s.add_runtime_dependency(%q<oauth2>, ["
|
428
|
+
s.add_runtime_dependency(%q<oauth>, ["~> 0.4.4"])
|
429
|
+
s.add_runtime_dependency(%q<oauth2>, ["~> 0.4.1"])
|
430
430
|
s.add_development_dependency(%q<rails>, [">= 3.0.0"])
|
431
431
|
s.add_development_dependency(%q<json>, [">= 1.5.1"])
|
432
432
|
s.add_development_dependency(%q<mongoid>, ["~> 2.0"])
|
@@ -440,12 +440,12 @@ Gem::Specification.new do |s|
|
|
440
440
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
441
441
|
s.add_development_dependency(%q<simplecov>, [">= 0.3.8"])
|
442
442
|
s.add_development_dependency(%q<timecop>, [">= 0"])
|
443
|
-
s.add_runtime_dependency(%q<bcrypt-ruby>, ["~>
|
444
|
-
s.add_runtime_dependency(%q<oauth>, ["
|
445
|
-
s.add_runtime_dependency(%q<oauth2>, ["
|
443
|
+
s.add_runtime_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
|
444
|
+
s.add_runtime_dependency(%q<oauth>, ["~> 0.4.4"])
|
445
|
+
s.add_runtime_dependency(%q<oauth2>, ["~> 0.4.1"])
|
446
446
|
else
|
447
|
-
s.add_dependency(%q<oauth>, ["
|
448
|
-
s.add_dependency(%q<oauth2>, ["
|
447
|
+
s.add_dependency(%q<oauth>, ["~> 0.4.4"])
|
448
|
+
s.add_dependency(%q<oauth2>, ["~> 0.4.1"])
|
449
449
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
450
450
|
s.add_dependency(%q<json>, [">= 1.5.1"])
|
451
451
|
s.add_dependency(%q<mongoid>, ["~> 2.0"])
|
@@ -459,13 +459,13 @@ Gem::Specification.new do |s|
|
|
459
459
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
460
460
|
s.add_dependency(%q<simplecov>, [">= 0.3.8"])
|
461
461
|
s.add_dependency(%q<timecop>, [">= 0"])
|
462
|
-
s.add_dependency(%q<bcrypt-ruby>, ["~>
|
463
|
-
s.add_dependency(%q<oauth>, ["
|
464
|
-
s.add_dependency(%q<oauth2>, ["
|
462
|
+
s.add_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
|
463
|
+
s.add_dependency(%q<oauth>, ["~> 0.4.4"])
|
464
|
+
s.add_dependency(%q<oauth2>, ["~> 0.4.1"])
|
465
465
|
end
|
466
466
|
else
|
467
|
-
s.add_dependency(%q<oauth>, ["
|
468
|
-
s.add_dependency(%q<oauth2>, ["
|
467
|
+
s.add_dependency(%q<oauth>, ["~> 0.4.4"])
|
468
|
+
s.add_dependency(%q<oauth2>, ["~> 0.4.1"])
|
469
469
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
470
470
|
s.add_dependency(%q<json>, [">= 1.5.1"])
|
471
471
|
s.add_dependency(%q<mongoid>, ["~> 2.0"])
|
@@ -479,9 +479,9 @@ Gem::Specification.new do |s|
|
|
479
479
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
480
480
|
s.add_dependency(%q<simplecov>, [">= 0.3.8"])
|
481
481
|
s.add_dependency(%q<timecop>, [">= 0"])
|
482
|
-
s.add_dependency(%q<bcrypt-ruby>, ["~>
|
483
|
-
s.add_dependency(%q<oauth>, ["
|
484
|
-
s.add_dependency(%q<oauth2>, ["
|
482
|
+
s.add_dependency(%q<bcrypt-ruby>, ["~> 3.0.0"])
|
483
|
+
s.add_dependency(%q<oauth>, ["~> 0.4.4"])
|
484
|
+
s.add_dependency(%q<oauth2>, ["~> 0.4.1"])
|
485
485
|
end
|
486
486
|
end
|
487
487
|
|
data/spec/Gemfile
CHANGED
@@ -3,8 +3,8 @@ source 'http://rubygems.org'
|
|
3
3
|
gem "rails", '3.0.3'
|
4
4
|
gem 'bcrypt-ruby', :require => 'bcrypt'
|
5
5
|
gem "sorcery", '>= 0.1.0', :path => '../'
|
6
|
-
gem 'oauth', "
|
7
|
-
gem 'oauth2', "
|
6
|
+
gem 'oauth', "~> 0.4.4"
|
7
|
+
gem 'oauth2', "~> 0.4.1"
|
8
8
|
group :development do
|
9
9
|
gem "rspec", "~> 2.5.0"
|
10
10
|
gem 'ruby-debug19'
|
data/spec/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
sorcery (0.
|
5
|
-
bcrypt-ruby (~>
|
4
|
+
sorcery (0.6.0)
|
5
|
+
bcrypt-ruby (~> 3.0.0)
|
6
6
|
oauth (>= 0.4.4)
|
7
7
|
oauth (>= 0.4.4)
|
8
8
|
oauth2 (>= 0.1.1)
|
@@ -38,39 +38,39 @@ GEM
|
|
38
38
|
activemodel (= 3.0.3)
|
39
39
|
activesupport (= 3.0.3)
|
40
40
|
activesupport (3.0.3)
|
41
|
-
addressable (2.2.
|
41
|
+
addressable (2.2.6)
|
42
42
|
archive-tar-minitar (0.5.2)
|
43
|
-
arel (2.0.
|
44
|
-
bcrypt-ruby (
|
43
|
+
arel (2.0.10)
|
44
|
+
bcrypt-ruby (3.0.0)
|
45
45
|
builder (2.1.2)
|
46
|
-
columnize (0.3.
|
47
|
-
diff-lcs (1.1.
|
46
|
+
columnize (0.3.4)
|
47
|
+
diff-lcs (1.1.3)
|
48
48
|
erubis (2.6.6)
|
49
49
|
abstract (>= 1.0.0)
|
50
|
-
faraday (0.
|
50
|
+
faraday (0.6.1)
|
51
51
|
addressable (~> 2.2.4)
|
52
52
|
multipart-post (~> 1.1.0)
|
53
53
|
rack (< 2, >= 1.1.0)
|
54
|
-
i18n (0.
|
55
|
-
linecache19 (0.5.
|
54
|
+
i18n (0.6.0)
|
55
|
+
linecache19 (0.5.12)
|
56
56
|
ruby_core_source (>= 0.1.4)
|
57
|
-
mail (2.2.
|
57
|
+
mail (2.2.19)
|
58
58
|
activesupport (>= 2.3.6)
|
59
59
|
i18n (>= 0.4.0)
|
60
60
|
mime-types (~> 1.16)
|
61
61
|
treetop (~> 1.4.8)
|
62
62
|
mime-types (1.16)
|
63
|
-
multi_json (
|
64
|
-
multipart-post (1.1.
|
65
|
-
oauth (0.4.
|
66
|
-
oauth2 (0.
|
67
|
-
faraday (~> 0.
|
68
|
-
multi_json (
|
69
|
-
polyglot (0.3.
|
70
|
-
rack (1.2.
|
71
|
-
rack-mount (0.6.
|
63
|
+
multi_json (1.0.3)
|
64
|
+
multipart-post (1.1.3)
|
65
|
+
oauth (0.4.5)
|
66
|
+
oauth2 (0.4.1)
|
67
|
+
faraday (~> 0.6.1)
|
68
|
+
multi_json (>= 0.0.5)
|
69
|
+
polyglot (0.3.2)
|
70
|
+
rack (1.2.3)
|
71
|
+
rack-mount (0.6.14)
|
72
72
|
rack (>= 1.0.0)
|
73
|
-
rack-test (0.5.
|
73
|
+
rack-test (0.5.7)
|
74
74
|
rack (>= 1.0)
|
75
75
|
rails (3.0.3)
|
76
76
|
actionmailer (= 3.0.3)
|
@@ -85,16 +85,16 @@ GEM
|
|
85
85
|
activesupport (= 3.0.3)
|
86
86
|
rake (>= 0.8.7)
|
87
87
|
thor (~> 0.14.4)
|
88
|
-
rake (0.
|
88
|
+
rake (0.9.2)
|
89
89
|
rspec (2.5.0)
|
90
90
|
rspec-core (~> 2.5.0)
|
91
91
|
rspec-expectations (~> 2.5.0)
|
92
92
|
rspec-mocks (~> 2.5.0)
|
93
|
-
rspec-core (2.5.
|
93
|
+
rspec-core (2.5.2)
|
94
94
|
rspec-expectations (2.5.0)
|
95
95
|
diff-lcs (~> 1.1.2)
|
96
96
|
rspec-mocks (2.5.0)
|
97
|
-
ruby-debug-base19 (0.11.
|
97
|
+
ruby-debug-base19 (0.11.25)
|
98
98
|
columnize (>= 0.3.1)
|
99
99
|
linecache19 (>= 0.5.11)
|
100
100
|
ruby_core_source (>= 0.1.4)
|
@@ -102,23 +102,24 @@ GEM
|
|
102
102
|
columnize (>= 0.3.1)
|
103
103
|
linecache19 (>= 0.5.11)
|
104
104
|
ruby-debug-base19 (>= 0.11.19)
|
105
|
-
ruby_core_source (0.1.
|
105
|
+
ruby_core_source (0.1.5)
|
106
106
|
archive-tar-minitar (>= 0.5.2)
|
107
|
-
simplecov (0.
|
108
|
-
simplecov-html (
|
109
|
-
simplecov-html (0.
|
107
|
+
simplecov (0.4.2)
|
108
|
+
simplecov-html (~> 0.4.4)
|
109
|
+
simplecov-html (0.4.5)
|
110
110
|
thor (0.14.6)
|
111
|
-
treetop (1.4.
|
111
|
+
treetop (1.4.10)
|
112
|
+
polyglot
|
112
113
|
polyglot (>= 0.3.1)
|
113
|
-
tzinfo (0.3.
|
114
|
+
tzinfo (0.3.29)
|
114
115
|
|
115
116
|
PLATFORMS
|
116
117
|
ruby
|
117
118
|
|
118
119
|
DEPENDENCIES
|
119
120
|
bcrypt-ruby
|
120
|
-
oauth (
|
121
|
-
oauth2 (
|
121
|
+
oauth (~> 0.4.4)
|
122
|
+
oauth2 (~> 0.4.1)
|
122
123
|
rails (= 3.0.3)
|
123
124
|
rspec (~> 2.5.0)
|
124
125
|
ruby-debug19
|
data/spec/rails3/Gemfile.lock
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../../
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
bcrypt-ruby (~> 2.1.4)
|
4
|
+
sorcery (0.6.0)
|
5
|
+
bcrypt-ruby (~> 3.0.0)
|
7
6
|
oauth (>= 0.4.4)
|
8
7
|
oauth (>= 0.4.4)
|
9
8
|
oauth2 (>= 0.1.1)
|
@@ -39,10 +38,10 @@ GEM
|
|
39
38
|
activemodel (= 3.0.3)
|
40
39
|
activesupport (= 3.0.3)
|
41
40
|
activesupport (3.0.3)
|
42
|
-
addressable (2.2.
|
41
|
+
addressable (2.2.6)
|
43
42
|
archive-tar-minitar (0.5.2)
|
44
43
|
arel (2.0.6)
|
45
|
-
bcrypt-ruby (
|
44
|
+
bcrypt-ruby (3.0.0)
|
46
45
|
builder (2.1.2)
|
47
46
|
columnize (0.3.2)
|
48
47
|
diff-lcs (1.1.2)
|
@@ -61,8 +60,9 @@ GEM
|
|
61
60
|
mime-types (~> 1.16)
|
62
61
|
treetop (~> 1.4.8)
|
63
62
|
mime-types (1.16)
|
64
|
-
multi_json (1.0.
|
65
|
-
multipart-post (1.1.
|
63
|
+
multi_json (1.0.3)
|
64
|
+
multipart-post (1.1.3)
|
65
|
+
oauth (0.4.5)
|
66
66
|
oauth2 (0.4.1)
|
67
67
|
faraday (~> 0.6.1)
|
68
68
|
multi_json (>= 0.0.5)
|
@@ -4,7 +4,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../../shared_examples/contro
|
|
4
4
|
def stub_all_oauth2_requests!
|
5
5
|
@client = OAuth2::Client.new("key","secret", :site => "http://myapi.com")
|
6
6
|
OAuth2::Client.stub!(:new).and_return(@client)
|
7
|
-
@acc_token = OAuth2::AccessToken.new(@client, "
|
7
|
+
@acc_token = OAuth2::AccessToken.new(@client, "asd", {})
|
8
8
|
@webby = @client.web_server
|
9
9
|
OAuth2::Strategy::WebServer.stub!(:new).and_return(@webby)
|
10
10
|
@webby.stub!(:get_access_token).and_return(@acc_token)
|
@@ -1,9 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../../
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
bcrypt-ruby (~> 2.1.4)
|
4
|
+
sorcery (0.6.0)
|
5
|
+
bcrypt-ruby (~> 3.0.0)
|
7
6
|
oauth (>= 0.4.4)
|
8
7
|
oauth (>= 0.4.4)
|
9
8
|
oauth2 (>= 0.1.1)
|
@@ -39,10 +38,10 @@ GEM
|
|
39
38
|
activemodel (= 3.0.3)
|
40
39
|
activesupport (= 3.0.3)
|
41
40
|
activesupport (3.0.3)
|
42
|
-
addressable (2.2.
|
41
|
+
addressable (2.2.6)
|
43
42
|
archive-tar-minitar (0.5.2)
|
44
43
|
arel (2.0.6)
|
45
|
-
bcrypt-ruby (
|
44
|
+
bcrypt-ruby (3.0.0)
|
46
45
|
bson (1.3.0)
|
47
46
|
bson_ext (1.3.0)
|
48
47
|
builder (2.1.2)
|
@@ -70,8 +69,9 @@ GEM
|
|
70
69
|
mongo (~> 1.3)
|
71
70
|
tzinfo (~> 0.3.22)
|
72
71
|
will_paginate (~> 3.0.pre)
|
73
|
-
multi_json (1.0.
|
74
|
-
multipart-post (1.1.
|
72
|
+
multi_json (1.0.3)
|
73
|
+
multipart-post (1.1.3)
|
74
|
+
oauth (0.4.5)
|
75
75
|
oauth2 (0.4.1)
|
76
76
|
faraday (~> 0.6.1)
|
77
77
|
multi_json (>= 0.0.5)
|
data/spec/sinatra/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../
|
3
3
|
specs:
|
4
|
-
sorcery (0.
|
5
|
-
bcrypt-ruby (~>
|
4
|
+
sorcery (0.6.0)
|
5
|
+
bcrypt-ruby (~> 3.0.0)
|
6
6
|
oauth (>= 0.4.4)
|
7
7
|
oauth (>= 0.4.4)
|
8
8
|
oauth2 (>= 0.1.1)
|
@@ -35,10 +35,10 @@ GEM
|
|
35
35
|
arel (~> 2.0.2)
|
36
36
|
tzinfo (~> 0.3.23)
|
37
37
|
activesupport (3.0.5)
|
38
|
-
addressable (2.2.
|
38
|
+
addressable (2.2.6)
|
39
39
|
archive-tar-minitar (0.5.2)
|
40
40
|
arel (2.0.7)
|
41
|
-
bcrypt-ruby (
|
41
|
+
bcrypt-ruby (3.0.0)
|
42
42
|
builder (2.1.2)
|
43
43
|
columnize (0.3.2)
|
44
44
|
diff-lcs (1.1.2)
|
@@ -57,9 +57,9 @@ GEM
|
|
57
57
|
mime-types (~> 1.16)
|
58
58
|
treetop (~> 1.4.8)
|
59
59
|
mime-types (1.16)
|
60
|
-
multi_json (1.0.
|
61
|
-
multipart-post (1.1.
|
62
|
-
oauth (0.4.
|
60
|
+
multi_json (1.0.3)
|
61
|
+
multipart-post (1.1.3)
|
62
|
+
oauth (0.4.5)
|
63
63
|
oauth2 (0.4.1)
|
64
64
|
faraday (~> 0.6.1)
|
65
65
|
multi_json (>= 0.0.5)
|
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../
|
3
3
|
specs:
|
4
|
-
sorcery (0.
|
5
|
-
bcrypt-ruby (~>
|
4
|
+
sorcery (0.6.0)
|
5
|
+
bcrypt-ruby (~> 3.0.0)
|
6
6
|
oauth (>= 0.4.4)
|
7
7
|
oauth (>= 0.4.4)
|
8
8
|
oauth2 (>= 0.1.1)
|
@@ -35,10 +35,10 @@ GEM
|
|
35
35
|
arel (~> 2.0.2)
|
36
36
|
tzinfo (~> 0.3.23)
|
37
37
|
activesupport (3.0.5)
|
38
|
-
addressable (2.2.
|
38
|
+
addressable (2.2.6)
|
39
39
|
archive-tar-minitar (0.5.2)
|
40
40
|
arel (2.0.7)
|
41
|
-
bcrypt-ruby (
|
41
|
+
bcrypt-ruby (3.0.0)
|
42
42
|
builder (2.1.2)
|
43
43
|
columnize (0.3.2)
|
44
44
|
diff-lcs (1.1.2)
|
@@ -57,9 +57,9 @@ GEM
|
|
57
57
|
mime-types (~> 1.16)
|
58
58
|
treetop (~> 1.4.8)
|
59
59
|
mime-types (1.16)
|
60
|
-
multi_json (1.0.
|
61
|
-
multipart-post (1.1.
|
62
|
-
oauth (0.4.
|
60
|
+
multi_json (1.0.3)
|
61
|
+
multipart-post (1.1.3)
|
62
|
+
oauth (0.4.5)
|
63
63
|
oauth2 (0.4.1)
|
64
64
|
faraday (~> 0.6.1)
|
65
65
|
multi_json (>= 0.0.5)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sorcery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.6.
|
5
|
+
version: 0.6.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Noam Ben Ari
|
@@ -10,15 +10,14 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-09-02 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: oauth
|
18
17
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
19
|
requirements:
|
21
|
-
- -
|
20
|
+
- - ~>
|
22
21
|
- !ruby/object:Gem::Version
|
23
22
|
version: 0.4.4
|
24
23
|
type: :runtime
|
@@ -29,9 +28,9 @@ dependencies:
|
|
29
28
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
29
|
none: false
|
31
30
|
requirements:
|
32
|
-
- -
|
31
|
+
- - ~>
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
33
|
+
version: 0.4.1
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: *id002
|
@@ -185,7 +184,7 @@ dependencies:
|
|
185
184
|
requirements:
|
186
185
|
- - ~>
|
187
186
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
187
|
+
version: 3.0.0
|
189
188
|
type: :runtime
|
190
189
|
prerelease: false
|
191
190
|
version_requirements: *id016
|
@@ -194,7 +193,7 @@ dependencies:
|
|
194
193
|
requirement: &id017 !ruby/object:Gem::Requirement
|
195
194
|
none: false
|
196
195
|
requirements:
|
197
|
-
- -
|
196
|
+
- - ~>
|
198
197
|
- !ruby/object:Gem::Version
|
199
198
|
version: 0.4.4
|
200
199
|
type: :runtime
|
@@ -205,9 +204,9 @@ dependencies:
|
|
205
204
|
requirement: &id018 !ruby/object:Gem::Requirement
|
206
205
|
none: false
|
207
206
|
requirements:
|
208
|
-
- -
|
207
|
+
- - ~>
|
209
208
|
- !ruby/object:Gem::Version
|
210
|
-
version: 0.
|
209
|
+
version: 0.4.1
|
211
210
|
type: :runtime
|
212
211
|
prerelease: false
|
213
212
|
version_requirements: *id018
|
@@ -488,7 +487,6 @@ files:
|
|
488
487
|
- spec/sorcery_crypto_providers_spec.rb
|
489
488
|
- spec/spec.opts
|
490
489
|
- spec/spec_helper.rb
|
491
|
-
has_rdoc: true
|
492
490
|
homepage: http://github.com/NoamB/sorcery
|
493
491
|
licenses:
|
494
492
|
- MIT
|
@@ -512,7 +510,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
512
510
|
requirements: []
|
513
511
|
|
514
512
|
rubyforge_project:
|
515
|
-
rubygems_version: 1.
|
513
|
+
rubygems_version: 1.8.10
|
516
514
|
signing_key:
|
517
515
|
specification_version: 3
|
518
516
|
summary: Magical authentication for Rails 3 applications
|