sinatra_omniauth 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +7 -4
- data/Gemfile.lock +69 -102
- data/Rakefile +20 -6
- data/VERSION +1 -1
- data/lib/sinatra/omniauth.rb +3 -1
- data/sinatra_omniauth.gemspec +32 -23
- metadata +282 -224
data/Gemfile
CHANGED
@@ -1,21 +1,24 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
3
|
gem 'sinatra'
|
4
|
-
gem 'omniauth'
|
4
|
+
gem 'omniauth'
|
5
|
+
gem 'omniauth-twitter'
|
5
6
|
gem 'dm-core'
|
7
|
+
gem 'addressable'
|
6
8
|
gem 'dm-migrations'
|
7
9
|
#gem 'dm-sqlite-adapter'
|
8
10
|
gem 'dm-postgres-adapter'
|
9
11
|
gem 'sqlite3'
|
10
|
-
gem 'rack-
|
12
|
+
gem 'rack-flash3'
|
11
13
|
gem 'uuidtools'
|
12
14
|
gem 'haml', '>=3.1.1'
|
13
15
|
|
14
16
|
group :development do
|
15
17
|
gem 'bundler', '>= 1.0.0'
|
16
18
|
gem 'jeweler', '~> 1.6.2'
|
17
|
-
gem 'rcov', '
|
19
|
+
gem 'rcov', '~>0.9.11', :platforms => [:jruby, :mri_18], :require => false
|
20
|
+
gem 'simplecov', '~>0.6.4', :platforms => :mri_19, :require => false
|
18
21
|
gem 'rdoc', '>= 2.4.0'
|
19
|
-
gem 'ruby-debug'
|
20
22
|
gem 'dm-sqlite-adapter'
|
23
|
+
gem 'rspec', '~>2.6.0'
|
21
24
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,116 +1,81 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.2.
|
5
|
-
|
6
|
-
data_objects (0.10.6)
|
4
|
+
addressable (2.2.8)
|
5
|
+
data_objects (0.10.8)
|
7
6
|
addressable (~> 2.1)
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
addressable (~> 2.2.4)
|
27
|
-
multipart-post (~> 1.1.0)
|
28
|
-
rack (>= 1.1.0, < 2)
|
7
|
+
diff-lcs (1.1.3)
|
8
|
+
dm-core (1.2.0)
|
9
|
+
addressable (~> 2.2.6)
|
10
|
+
dm-do-adapter (1.2.0)
|
11
|
+
data_objects (~> 0.10.6)
|
12
|
+
dm-core (~> 1.2.0)
|
13
|
+
dm-migrations (1.2.0)
|
14
|
+
dm-core (~> 1.2.0)
|
15
|
+
dm-postgres-adapter (1.2.0)
|
16
|
+
dm-do-adapter (~> 1.2.0)
|
17
|
+
do_postgres (~> 0.10.6)
|
18
|
+
dm-sqlite-adapter (1.2.0)
|
19
|
+
dm-do-adapter (~> 1.2.0)
|
20
|
+
do_sqlite3 (~> 0.10.6)
|
21
|
+
do_postgres (0.10.8)
|
22
|
+
data_objects (= 0.10.8)
|
23
|
+
do_sqlite3 (0.10.8)
|
24
|
+
data_objects (= 0.10.8)
|
29
25
|
git (1.2.5)
|
30
|
-
haml (3.1.
|
26
|
+
haml (3.1.7)
|
27
|
+
hashie (1.2.0)
|
31
28
|
jeweler (1.6.4)
|
32
29
|
bundler (~> 1.0)
|
33
30
|
git (>= 1.2.5)
|
34
31
|
rake
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
net-ldap (0.1.1)
|
41
|
-
nokogiri (1.4.7)
|
42
|
-
oa-basic (0.2.2)
|
43
|
-
multi_json (~> 0.0.2)
|
44
|
-
nokogiri (~> 1.4.2)
|
45
|
-
oa-core (= 0.2.2)
|
46
|
-
rest-client (~> 1.6.0)
|
47
|
-
oa-core (0.2.2)
|
48
|
-
rack (~> 1.1)
|
49
|
-
oa-enterprise (0.2.2)
|
50
|
-
net-ldap (~> 0.1.1)
|
51
|
-
nokogiri (~> 1.4.2)
|
52
|
-
oa-core (= 0.2.2)
|
53
|
-
pyu-ruby-sasl (~> 0.0.3.1)
|
54
|
-
rubyntlm (~> 0.1.1)
|
55
|
-
oa-more (0.2.2)
|
56
|
-
multi_json (~> 0.0.2)
|
57
|
-
oa-core (= 0.2.2)
|
58
|
-
rest-client (~> 1.6.0)
|
59
|
-
oa-oauth (0.2.2)
|
60
|
-
faraday (~> 0.6.1)
|
61
|
-
multi_json (~> 0.0.2)
|
62
|
-
nokogiri (~> 1.4.2)
|
63
|
-
oa-core (= 0.2.2)
|
64
|
-
oauth (~> 0.4.0)
|
65
|
-
oauth2 (~> 0.3.0)
|
66
|
-
oa-openid (0.2.2)
|
67
|
-
oa-core (= 0.2.2)
|
68
|
-
rack-openid (~> 1.2.0)
|
69
|
-
ruby-openid-apps-discovery
|
70
|
-
oauth (0.4.5)
|
71
|
-
oauth2 (0.3.0)
|
72
|
-
faraday (~> 0.6.0)
|
73
|
-
multi_json (~> 0.0.4)
|
74
|
-
omniauth (0.2.2)
|
75
|
-
oa-basic (= 0.2.2)
|
76
|
-
oa-core (= 0.2.2)
|
77
|
-
oa-enterprise (= 0.2.2)
|
78
|
-
oa-more (= 0.2.2)
|
79
|
-
oa-oauth (= 0.2.2)
|
80
|
-
oa-openid (= 0.2.2)
|
81
|
-
pyu-ruby-sasl (0.0.3.3)
|
82
|
-
rack (1.3.2)
|
83
|
-
rack-flash (0.1.2)
|
32
|
+
json (1.7.5)
|
33
|
+
multi_json (1.3.6)
|
34
|
+
oauth (0.4.7)
|
35
|
+
omniauth (1.1.1)
|
36
|
+
hashie (~> 1.2)
|
84
37
|
rack
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
38
|
+
omniauth-oauth (1.0.1)
|
39
|
+
oauth
|
40
|
+
omniauth (~> 1.0)
|
41
|
+
omniauth-twitter (0.0.13)
|
42
|
+
multi_json (~> 1.3)
|
43
|
+
omniauth-oauth (~> 1.0)
|
44
|
+
rack (1.4.1)
|
45
|
+
rack-flash3 (1.0.1)
|
46
|
+
rack
|
47
|
+
rack
|
48
|
+
rack-protection (1.2.0)
|
49
|
+
rack
|
50
|
+
rake (0.9.2.2)
|
51
|
+
rcov (0.9.11)
|
52
|
+
rdoc (3.12)
|
53
|
+
json (~> 1.4)
|
54
|
+
rspec (2.6.0)
|
55
|
+
rspec-core (~> 2.6.0)
|
56
|
+
rspec-expectations (~> 2.6.0)
|
57
|
+
rspec-mocks (~> 2.6.0)
|
58
|
+
rspec-core (2.6.4)
|
59
|
+
rspec-expectations (2.6.0)
|
60
|
+
diff-lcs (~> 1.1.2)
|
61
|
+
rspec-mocks (2.6.0)
|
62
|
+
simplecov (0.6.4)
|
63
|
+
multi_json (~> 1.0)
|
64
|
+
simplecov-html (~> 0.5.3)
|
65
|
+
simplecov-html (0.5.3)
|
66
|
+
sinatra (1.3.3)
|
67
|
+
rack (~> 1.3, >= 1.3.6)
|
68
|
+
rack-protection (~> 1.2)
|
69
|
+
tilt (~> 1.3, >= 1.3.3)
|
70
|
+
sqlite3 (1.3.6)
|
71
|
+
tilt (1.3.3)
|
72
|
+
uuidtools (2.1.3)
|
109
73
|
|
110
74
|
PLATFORMS
|
111
75
|
ruby
|
112
76
|
|
113
77
|
DEPENDENCIES
|
78
|
+
addressable
|
114
79
|
bundler (>= 1.0.0)
|
115
80
|
dm-core
|
116
81
|
dm-migrations
|
@@ -118,11 +83,13 @@ DEPENDENCIES
|
|
118
83
|
dm-sqlite-adapter
|
119
84
|
haml (>= 3.1.1)
|
120
85
|
jeweler (~> 1.6.2)
|
121
|
-
omniauth
|
122
|
-
|
123
|
-
|
86
|
+
omniauth
|
87
|
+
omniauth-twitter
|
88
|
+
rack-flash3
|
89
|
+
rcov (~> 0.9.11)
|
124
90
|
rdoc (>= 2.4.0)
|
125
|
-
|
91
|
+
rspec (~> 2.6.0)
|
92
|
+
simplecov (~> 0.6.4)
|
126
93
|
sinatra
|
127
94
|
sqlite3
|
128
95
|
uuidtools
|
data/Rakefile
CHANGED
@@ -32,14 +32,28 @@ Rake::TestTask.new(:test) do |test|
|
|
32
32
|
test.verbose = true
|
33
33
|
end
|
34
34
|
|
35
|
-
require '
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
require 'rspec/core'
|
36
|
+
require 'rspec/core/rake_task'
|
37
|
+
require 'rdoc/task'
|
38
|
+
|
39
|
+
desc "Run RSpec tests and produce coverage files (results viewable in coverage/index.html)"
|
40
|
+
RSpec::Core::RakeTask.new(:coverage) do |spec|
|
41
|
+
if RUBY_VERSION < '1.9'
|
42
|
+
spec.rcov_opts = [
|
43
|
+
'--exclude', 'spec',
|
44
|
+
'--exclude', 'lib/activefacts/tracer.rb',
|
45
|
+
'--exclude', 'gem/*'
|
46
|
+
]
|
47
|
+
spec.rcov = true
|
48
|
+
else
|
49
|
+
spec.rspec_opts = ['--require', 'simplecov_helper']
|
50
|
+
end
|
41
51
|
end
|
42
52
|
|
53
|
+
task :cov => :coverage
|
54
|
+
task :rcov => :coverage
|
55
|
+
task :simplecov => :coverage
|
56
|
+
|
43
57
|
task :default => :test
|
44
58
|
|
45
59
|
require 'rdoc/task'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/sinatra/omniauth.rb
CHANGED
@@ -127,6 +127,8 @@ module SinatraOmniAuth
|
|
127
127
|
# Register OmniAuth Strategies and keys for all providers:
|
128
128
|
use ::OmniAuth::Builder do
|
129
129
|
app.settings.omniauth.each do |a|
|
130
|
+
requires = a['require']
|
131
|
+
require requires if requires
|
130
132
|
provider = a['provider']
|
131
133
|
client_options = a[:client_options]
|
132
134
|
client_options = client_options ? {:client_options => client_options} : {}
|
@@ -135,7 +137,7 @@ module SinatraOmniAuth
|
|
135
137
|
else
|
136
138
|
name = a['name'].downcase.gsub(/ /,' ')
|
137
139
|
store = OpenID::Store::Filesystem.new(a['store']||'./tmp')
|
138
|
-
provider provider, store, :name => name, :identifier => a['identifier']
|
140
|
+
provider provider, :store => store, :name => name, :identifier => a['identifier']
|
139
141
|
end
|
140
142
|
end
|
141
143
|
end
|
data/sinatra_omniauth.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 = "1.
|
7
|
+
s.name = "sinatra_omniauth"
|
8
|
+
s.version = "1.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
11
|
+
s.authors = ["Clifford Heath"]
|
12
|
+
s.date = "2012-09-09"
|
13
|
+
s.description = "This Sinatra extension, derived from omniauth_pure by Marcus Proske, adds OmniAuth authorization to your Sinatra application, so your users can login using FaceBook, Twitter and many other authorization providers, as long as you supply the API keys. It uses DataMapper and HAML."
|
14
|
+
s.email = "clifford.heath@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -83,64 +83,73 @@ Gem::Specification.new do |s|
|
|
83
83
|
"test/test_sinatra_omniauth.rb",
|
84
84
|
"views/auth.haml"
|
85
85
|
]
|
86
|
-
s.homepage =
|
87
|
-
s.licenses = [
|
88
|
-
s.require_paths = [
|
89
|
-
s.rubygems_version =
|
90
|
-
s.summary =
|
86
|
+
s.homepage = "http://github.com/cjheath/sinatra_omniauth"
|
87
|
+
s.licenses = ["MIT"]
|
88
|
+
s.require_paths = ["lib"]
|
89
|
+
s.rubygems_version = "1.8.24"
|
90
|
+
s.summary = "A Sinatra extension that provides pure OmniAuth goodness to your application (with DataMapper)"
|
91
91
|
|
92
92
|
if s.respond_to? :specification_version then
|
93
93
|
s.specification_version = 3
|
94
94
|
|
95
95
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
96
96
|
s.add_runtime_dependency(%q<sinatra>, [">= 0"])
|
97
|
-
s.add_runtime_dependency(%q<omniauth>, ["
|
97
|
+
s.add_runtime_dependency(%q<omniauth>, [">= 0"])
|
98
|
+
s.add_runtime_dependency(%q<omniauth-twitter>, [">= 0"])
|
98
99
|
s.add_runtime_dependency(%q<dm-core>, [">= 0"])
|
100
|
+
s.add_runtime_dependency(%q<addressable>, [">= 0"])
|
99
101
|
s.add_runtime_dependency(%q<dm-migrations>, [">= 0"])
|
100
102
|
s.add_runtime_dependency(%q<dm-postgres-adapter>, [">= 0"])
|
101
103
|
s.add_runtime_dependency(%q<sqlite3>, [">= 0"])
|
102
|
-
s.add_runtime_dependency(%q<rack-
|
104
|
+
s.add_runtime_dependency(%q<rack-flash3>, [">= 0"])
|
103
105
|
s.add_runtime_dependency(%q<uuidtools>, [">= 0"])
|
104
106
|
s.add_runtime_dependency(%q<haml>, [">= 3.1.1"])
|
105
107
|
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
106
108
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
107
|
-
s.add_development_dependency(%q<rcov>, ["
|
109
|
+
s.add_development_dependency(%q<rcov>, ["~> 0.9.11"])
|
110
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0.6.4"])
|
108
111
|
s.add_development_dependency(%q<rdoc>, [">= 2.4.0"])
|
109
|
-
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
110
112
|
s.add_development_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
113
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
|
111
114
|
else
|
112
115
|
s.add_dependency(%q<sinatra>, [">= 0"])
|
113
|
-
s.add_dependency(%q<omniauth>, ["
|
116
|
+
s.add_dependency(%q<omniauth>, [">= 0"])
|
117
|
+
s.add_dependency(%q<omniauth-twitter>, [">= 0"])
|
114
118
|
s.add_dependency(%q<dm-core>, [">= 0"])
|
119
|
+
s.add_dependency(%q<addressable>, [">= 0"])
|
115
120
|
s.add_dependency(%q<dm-migrations>, [">= 0"])
|
116
121
|
s.add_dependency(%q<dm-postgres-adapter>, [">= 0"])
|
117
122
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
118
|
-
s.add_dependency(%q<rack-
|
123
|
+
s.add_dependency(%q<rack-flash3>, [">= 0"])
|
119
124
|
s.add_dependency(%q<uuidtools>, [">= 0"])
|
120
125
|
s.add_dependency(%q<haml>, [">= 3.1.1"])
|
121
126
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
122
127
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
123
|
-
s.add_dependency(%q<rcov>, ["
|
128
|
+
s.add_dependency(%q<rcov>, ["~> 0.9.11"])
|
129
|
+
s.add_dependency(%q<simplecov>, ["~> 0.6.4"])
|
124
130
|
s.add_dependency(%q<rdoc>, [">= 2.4.0"])
|
125
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
126
131
|
s.add_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
132
|
+
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
127
133
|
end
|
128
134
|
else
|
129
135
|
s.add_dependency(%q<sinatra>, [">= 0"])
|
130
|
-
s.add_dependency(%q<omniauth>, ["
|
136
|
+
s.add_dependency(%q<omniauth>, [">= 0"])
|
137
|
+
s.add_dependency(%q<omniauth-twitter>, [">= 0"])
|
131
138
|
s.add_dependency(%q<dm-core>, [">= 0"])
|
139
|
+
s.add_dependency(%q<addressable>, [">= 0"])
|
132
140
|
s.add_dependency(%q<dm-migrations>, [">= 0"])
|
133
141
|
s.add_dependency(%q<dm-postgres-adapter>, [">= 0"])
|
134
142
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
135
|
-
s.add_dependency(%q<rack-
|
143
|
+
s.add_dependency(%q<rack-flash3>, [">= 0"])
|
136
144
|
s.add_dependency(%q<uuidtools>, [">= 0"])
|
137
145
|
s.add_dependency(%q<haml>, [">= 3.1.1"])
|
138
146
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
139
147
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
140
|
-
s.add_dependency(%q<rcov>, ["
|
148
|
+
s.add_dependency(%q<rcov>, ["~> 0.9.11"])
|
149
|
+
s.add_dependency(%q<simplecov>, ["~> 0.6.4"])
|
141
150
|
s.add_dependency(%q<rdoc>, [">= 2.4.0"])
|
142
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
143
151
|
s.add_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
152
|
+
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
144
153
|
end
|
145
154
|
end
|
146
155
|
|
metadata
CHANGED
@@ -1,252 +1,315 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra_omniauth
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Clifford Heath
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 3
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
version: "0"
|
30
|
-
prerelease: false
|
31
|
-
type: :runtime
|
32
|
-
requirement: *id001
|
12
|
+
date: 2012-09-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
33
15
|
name: sinatra
|
34
|
-
|
35
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
36
17
|
none: false
|
37
|
-
requirements:
|
38
|
-
- -
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
41
|
-
segments:
|
42
|
-
- 0
|
43
|
-
- 2
|
44
|
-
- 2
|
45
|
-
version: 0.2.2
|
46
|
-
prerelease: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
47
22
|
type: :runtime
|
48
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
49
31
|
name: omniauth
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
segments:
|
58
|
-
- 0
|
59
|
-
version: "0"
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
60
39
|
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: omniauth-twitter
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
61
54
|
type: :runtime
|
62
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
63
|
name: dm-core
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
segments:
|
72
|
-
- 0
|
73
|
-
version: "0"
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
74
71
|
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: addressable
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
75
86
|
type: :runtime
|
76
|
-
requirement: *id004
|
77
|
-
name: dm-migrations
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
hash: 3
|
85
|
-
segments:
|
86
|
-
- 0
|
87
|
-
version: "0"
|
88
87
|
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: dm-migrations
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
89
102
|
type: :runtime
|
90
|
-
requirement: *id005
|
91
|
-
name: dm-postgres-adapter
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
|
-
requirements:
|
96
|
-
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
hash: 3
|
99
|
-
segments:
|
100
|
-
- 0
|
101
|
-
version: "0"
|
102
103
|
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: dm-postgres-adapter
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
103
118
|
type: :runtime
|
104
|
-
requirement: *id006
|
105
|
-
name: sqlite3
|
106
|
-
- !ruby/object:Gem::Dependency
|
107
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
|
-
requirements:
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
hash: 3
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
version: "0"
|
116
119
|
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: sqlite3
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
117
134
|
type: :runtime
|
118
|
-
requirement: *id007
|
119
|
-
name: rack-flash
|
120
|
-
- !ruby/object:Gem::Dependency
|
121
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
|
-
requirements:
|
124
|
-
- - ">="
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
hash: 3
|
127
|
-
segments:
|
128
|
-
- 0
|
129
|
-
version: "0"
|
130
135
|
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: rack-flash3
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
131
150
|
type: :runtime
|
132
|
-
requirement: *id008
|
133
|
-
name: uuidtools
|
134
|
-
- !ruby/object:Gem::Dependency
|
135
|
-
version_requirements: &id009 !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
|
-
requirements:
|
138
|
-
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
hash: 1
|
141
|
-
segments:
|
142
|
-
- 3
|
143
|
-
- 1
|
144
|
-
- 1
|
145
|
-
version: 3.1.1
|
146
151
|
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: uuidtools
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
147
166
|
type: :runtime
|
148
|
-
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
149
175
|
name: haml
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
segments:
|
158
|
-
- 1
|
159
|
-
- 0
|
160
|
-
- 0
|
161
|
-
version: 1.0.0
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: 3.1.1
|
182
|
+
type: :runtime
|
162
183
|
prerelease: false
|
163
|
-
|
164
|
-
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: 3.1.1
|
190
|
+
- !ruby/object:Gem::Dependency
|
165
191
|
name: bundler
|
166
|
-
|
167
|
-
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 1.0.0
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
168
201
|
none: false
|
169
|
-
requirements:
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 1.0.0
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: jeweler
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
170
211
|
- - ~>
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
hash: 11
|
173
|
-
segments:
|
174
|
-
- 1
|
175
|
-
- 6
|
176
|
-
- 2
|
212
|
+
- !ruby/object:Gem::Version
|
177
213
|
version: 1.6.2
|
178
|
-
prerelease: false
|
179
214
|
type: :development
|
180
|
-
requirement: *id011
|
181
|
-
name: jeweler
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
version_requirements: &id012 !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
|
-
requirements:
|
186
|
-
- - ">="
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
hash: 3
|
189
|
-
segments:
|
190
|
-
- 0
|
191
|
-
version: "0"
|
192
215
|
prerelease: false
|
193
|
-
|
194
|
-
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ~>
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 1.6.2
|
222
|
+
- !ruby/object:Gem::Dependency
|
195
223
|
name: rcov
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
segments:
|
204
|
-
- 2
|
205
|
-
- 4
|
206
|
-
- 0
|
207
|
-
version: 2.4.0
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ~>
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.9.11
|
230
|
+
type: :development
|
208
231
|
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ~>
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: 0.9.11
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: simplecov
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
242
|
+
requirements:
|
243
|
+
- - ~>
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: 0.6.4
|
209
246
|
type: :development
|
210
|
-
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ~>
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: 0.6.4
|
254
|
+
- !ruby/object:Gem::Dependency
|
211
255
|
name: rdoc
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
segments:
|
220
|
-
- 0
|
221
|
-
version: "0"
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
258
|
+
requirements:
|
259
|
+
- - ! '>='
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: 2.4.0
|
262
|
+
type: :development
|
222
263
|
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ! '>='
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: 2.4.0
|
270
|
+
- !ruby/object:Gem::Dependency
|
271
|
+
name: dm-sqlite-adapter
|
272
|
+
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
274
|
+
requirements:
|
275
|
+
- - ! '>='
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
223
278
|
type: :development
|
224
|
-
requirement: *id014
|
225
|
-
name: ruby-debug
|
226
|
-
- !ruby/object:Gem::Dependency
|
227
|
-
version_requirements: &id015 !ruby/object:Gem::Requirement
|
228
|
-
none: false
|
229
|
-
requirements:
|
230
|
-
- - ">="
|
231
|
-
- !ruby/object:Gem::Version
|
232
|
-
hash: 3
|
233
|
-
segments:
|
234
|
-
- 0
|
235
|
-
version: "0"
|
236
279
|
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ! '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
- !ruby/object:Gem::Dependency
|
287
|
+
name: rspec
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
290
|
+
requirements:
|
291
|
+
- - ~>
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: 2.6.0
|
237
294
|
type: :development
|
238
|
-
|
239
|
-
|
240
|
-
|
295
|
+
prerelease: false
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
298
|
+
requirements:
|
299
|
+
- - ~>
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: 2.6.0
|
302
|
+
description: This Sinatra extension, derived from omniauth_pure by Marcus Proske,
|
303
|
+
adds OmniAuth authorization to your Sinatra application, so your users can login
|
304
|
+
using FaceBook, Twitter and many other authorization providers, as long as you supply
|
305
|
+
the API keys. It uses DataMapper and HAML.
|
241
306
|
email: clifford.heath@gmail.com
|
242
307
|
executables: []
|
243
|
-
|
244
308
|
extensions: []
|
245
|
-
|
246
|
-
extra_rdoc_files:
|
309
|
+
extra_rdoc_files:
|
247
310
|
- LICENSE.txt
|
248
311
|
- README.rdoc
|
249
|
-
files:
|
312
|
+
files:
|
250
313
|
- .document
|
251
314
|
- Gemfile
|
252
315
|
- Gemfile.lock
|
@@ -313,37 +376,32 @@ files:
|
|
313
376
|
- test/test_sinatra_omniauth.rb
|
314
377
|
- views/auth.haml
|
315
378
|
homepage: http://github.com/cjheath/sinatra_omniauth
|
316
|
-
licenses:
|
379
|
+
licenses:
|
317
380
|
- MIT
|
318
381
|
post_install_message:
|
319
382
|
rdoc_options: []
|
320
|
-
|
321
|
-
require_paths:
|
383
|
+
require_paths:
|
322
384
|
- lib
|
323
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
385
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
324
386
|
none: false
|
325
|
-
requirements:
|
326
|
-
- -
|
327
|
-
- !ruby/object:Gem::Version
|
328
|
-
|
329
|
-
segments:
|
387
|
+
requirements:
|
388
|
+
- - ! '>='
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: '0'
|
391
|
+
segments:
|
330
392
|
- 0
|
331
|
-
|
332
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
393
|
+
hash: 1408424383056723258
|
394
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
395
|
none: false
|
334
|
-
requirements:
|
335
|
-
- -
|
336
|
-
- !ruby/object:Gem::Version
|
337
|
-
|
338
|
-
segments:
|
339
|
-
- 0
|
340
|
-
version: "0"
|
396
|
+
requirements:
|
397
|
+
- - ! '>='
|
398
|
+
- !ruby/object:Gem::Version
|
399
|
+
version: '0'
|
341
400
|
requirements: []
|
342
|
-
|
343
401
|
rubyforge_project:
|
344
|
-
rubygems_version: 1.8.
|
402
|
+
rubygems_version: 1.8.24
|
345
403
|
signing_key:
|
346
404
|
specification_version: 3
|
347
|
-
summary: A Sinatra extension that provides pure OmniAuth goodness to your application
|
405
|
+
summary: A Sinatra extension that provides pure OmniAuth goodness to your application
|
406
|
+
(with DataMapper)
|
348
407
|
test_files: []
|
349
|
-
|