sinatra_omniauth 1.1.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -6
- data/Gemfile.lock +99 -110
- data/Rakefile +8 -39
- data/VERSION +1 -1
- data/lib/sinatra/omniauth.rb +3 -1
- data/sinatra_omniauth.gemspec +33 -70
- metadata +242 -226
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9b901156f27bf2c3b8c44b380b9b71de2dc6424c3a6e50d97c3867402b15e9bb
|
4
|
+
data.tar.gz: bde3038b42763801a576043a3c532b7d595bfa7e8b233b2f6f064950a1bbc8a0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9949541f7ea137b3c2ffc93c64469893cd812e8dd825c653c25b2766f4b79d4804c2199ff922b6a55aa7de30cc0154695ee6a2bcfcafda26ee2dfdaec74448ff
|
7
|
+
data.tar.gz: 48ebe5b60223ec5b44e0cb4091b2d8c87ddb426d120947106abe3f9fcbba4eaa5a21e4b9d39b61104aa414076b62915e3b6d92dd33ec617f9e935ef4ce0c5e65
|
data/Gemfile
CHANGED
@@ -1,21 +1,22 @@
|
|
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
|
-
gem '
|
16
|
-
gem '
|
17
|
-
gem 'rcov', '>= 0'
|
17
|
+
gem 'rcov', '~>0.9.11', :platforms => [:jruby, :mri_18], :require => false
|
18
|
+
gem 'simplecov', '~>0.6.4', :platforms => :mri_19, :require => false
|
18
19
|
gem 'rdoc', '>= 2.4.0'
|
19
|
-
gem 'ruby-debug'
|
20
20
|
gem 'dm-sqlite-adapter'
|
21
|
+
gem 'rspec', '~>3'
|
21
22
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,128 +1,117 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.
|
5
|
-
|
6
|
-
data_objects (0.10.
|
4
|
+
addressable (2.8.1)
|
5
|
+
public_suffix (>= 2.0.2, < 6.0)
|
6
|
+
data_objects (0.10.17)
|
7
7
|
addressable (~> 2.1)
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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)
|
8
|
+
diff-lcs (1.5.0)
|
9
|
+
dm-core (1.2.1)
|
10
|
+
addressable (~> 2.3)
|
11
|
+
dm-do-adapter (1.2.0)
|
12
|
+
data_objects (~> 0.10.6)
|
13
|
+
dm-core (~> 1.2.0)
|
14
|
+
dm-migrations (1.2.0)
|
15
|
+
dm-core (~> 1.2.0)
|
16
|
+
dm-postgres-adapter (1.2.0)
|
17
|
+
dm-do-adapter (~> 1.2.0)
|
18
|
+
do_postgres (~> 0.10.6)
|
19
|
+
dm-sqlite-adapter (1.2.0)
|
20
|
+
dm-do-adapter (~> 1.2.0)
|
21
|
+
do_sqlite3 (~> 0.10.6)
|
22
|
+
do_postgres (0.10.17)
|
23
|
+
data_objects (= 0.10.17)
|
24
|
+
do_sqlite3 (0.10.17)
|
25
|
+
data_objects (= 0.10.17)
|
26
|
+
haml (6.1.1)
|
27
|
+
temple (>= 0.8.2)
|
28
|
+
thor
|
29
|
+
tilt
|
30
|
+
hashie (5.0.0)
|
31
|
+
multi_json (1.15.0)
|
32
|
+
mustermann (3.0.0)
|
33
|
+
ruby2_keywords (~> 0.0.1)
|
34
|
+
oauth (1.1.0)
|
35
|
+
oauth-tty (~> 1.0, >= 1.0.1)
|
36
|
+
snaky_hash (~> 2.0)
|
37
|
+
version_gem (~> 1.1)
|
38
|
+
oauth-tty (1.0.5)
|
39
|
+
version_gem (~> 1.1, >= 1.1.1)
|
40
|
+
omniauth (2.1.1)
|
41
|
+
hashie (>= 3.4.6)
|
42
|
+
rack (>= 2.2.3)
|
43
|
+
rack-protection
|
44
|
+
omniauth-oauth (1.2.0)
|
45
|
+
oauth
|
46
|
+
omniauth (>= 1.0, < 3)
|
47
|
+
omniauth-twitter (1.4.0)
|
48
|
+
omniauth-oauth (~> 1.1)
|
84
49
|
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
|
-
|
50
|
+
psych (5.1.0)
|
51
|
+
stringio
|
52
|
+
public_suffix (5.0.1)
|
53
|
+
rack (2.2.6.3)
|
54
|
+
rack-flash3 (1.0.5)
|
55
|
+
rack
|
56
|
+
rack-protection (3.0.5)
|
57
|
+
rack
|
58
|
+
rcov (0.9.11)
|
59
|
+
rdoc (6.5.0)
|
60
|
+
psych (>= 4.0.0)
|
61
|
+
rspec (3.12.0)
|
62
|
+
rspec-core (~> 3.12.0)
|
63
|
+
rspec-expectations (~> 3.12.0)
|
64
|
+
rspec-mocks (~> 3.12.0)
|
65
|
+
rspec-core (3.12.1)
|
66
|
+
rspec-support (~> 3.12.0)
|
67
|
+
rspec-expectations (3.12.2)
|
68
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
+
rspec-support (~> 3.12.0)
|
70
|
+
rspec-mocks (3.12.3)
|
71
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
+
rspec-support (~> 3.12.0)
|
73
|
+
rspec-support (3.12.0)
|
74
|
+
ruby2_keywords (0.0.5)
|
75
|
+
simplecov (0.6.4)
|
76
|
+
multi_json (~> 1.0)
|
77
|
+
simplecov-html (~> 0.5.3)
|
78
|
+
simplecov-html (0.5.3)
|
79
|
+
sinatra (3.0.5)
|
80
|
+
mustermann (~> 3.0)
|
81
|
+
rack (~> 2.2, >= 2.2.4)
|
82
|
+
rack-protection (= 3.0.5)
|
83
|
+
tilt (~> 2.0)
|
84
|
+
snaky_hash (2.0.1)
|
85
|
+
hashie
|
86
|
+
version_gem (~> 1.1, >= 1.1.1)
|
87
|
+
sqlite3 (1.6.1-x86_64-darwin)
|
88
|
+
stringio (3.0.5)
|
89
|
+
temple (0.10.0)
|
90
|
+
thor (1.2.1)
|
91
|
+
tilt (2.1.0)
|
92
|
+
uuidtools (2.2.0)
|
93
|
+
version_gem (1.1.1)
|
109
94
|
|
110
95
|
PLATFORMS
|
111
|
-
|
96
|
+
x86_64-darwin-18
|
112
97
|
|
113
98
|
DEPENDENCIES
|
114
|
-
|
99
|
+
addressable
|
115
100
|
dm-core
|
116
101
|
dm-migrations
|
117
102
|
dm-postgres-adapter
|
118
103
|
dm-sqlite-adapter
|
119
104
|
haml (>= 3.1.1)
|
120
|
-
|
121
|
-
omniauth
|
122
|
-
rack-
|
123
|
-
rcov
|
105
|
+
omniauth
|
106
|
+
omniauth-twitter
|
107
|
+
rack-flash3
|
108
|
+
rcov (~> 0.9.11)
|
124
109
|
rdoc (>= 2.4.0)
|
125
|
-
|
110
|
+
rspec (~> 3)
|
111
|
+
simplecov (~> 0.6.4)
|
126
112
|
sinatra
|
127
113
|
sqlite3
|
128
114
|
uuidtools
|
115
|
+
|
116
|
+
BUNDLED WITH
|
117
|
+
2.3.16
|
data/Rakefile
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'bundler'
|
5
|
+
require 'bundler/gem_tasks'
|
6
|
+
require 'rspec/core/rake_task'
|
5
7
|
begin
|
6
8
|
Bundler.setup(:default, :development)
|
7
9
|
rescue Bundler::BundlerError => e
|
@@ -9,45 +11,12 @@ rescue Bundler::BundlerError => e
|
|
9
11
|
$stderr.puts "Run `bundle install` to install missing gems"
|
10
12
|
exit e.status_code
|
11
13
|
end
|
12
|
-
require 'rake'
|
13
14
|
|
14
|
-
require '
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
gem.summary = %Q{A Sinatra extension that provides pure OmniAuth goodness to your application (with DataMapper)}
|
21
|
-
gem.description = %Q{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.}
|
22
|
-
gem.email = "clifford.heath@gmail.com"
|
23
|
-
gem.authors = ["Clifford Heath"]
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
27
|
-
|
28
|
-
require 'rake/testtask'
|
29
|
-
Rake::TestTask.new(:test) do |test|
|
30
|
-
test.libs << 'lib' << 'test'
|
31
|
-
test.pattern = 'test/**/test_*.rb'
|
32
|
-
test.verbose = true
|
33
|
-
end
|
34
|
-
|
35
|
-
require 'rcov/rcovtask'
|
36
|
-
Rcov::RcovTask.new do |test|
|
37
|
-
test.libs << 'test'
|
38
|
-
test.pattern = 'test/**/test_*.rb'
|
39
|
-
test.verbose = true
|
40
|
-
test.rcov_opts << '--exclude "gems/*"'
|
41
|
-
end
|
42
|
-
|
43
|
-
task :default => :test
|
15
|
+
#require 'rake/testtask'
|
16
|
+
#Rake::TestTask.new(:test) do |test|
|
17
|
+
# test.libs << 'lib' << 'test'
|
18
|
+
# test.pattern = 'test/**/test_*.rb'
|
19
|
+
# test.verbose = true
|
20
|
+
#end
|
44
21
|
|
45
22
|
require 'rdoc/task'
|
46
|
-
RDoc::Task.new do |rdoc|
|
47
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
48
|
-
|
49
|
-
rdoc.rdoc_dir = 'rdoc'
|
50
|
-
rdoc.title = "sinatra_omniauth #{version}"
|
51
|
-
rdoc.rdoc_files.include('README*')
|
52
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
53
|
-
end
|
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
@@ -1,22 +1,24 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
5
2
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "sinatra_omniauth"
|
5
|
+
spec.version = "1.3.0"
|
6
|
+
spec.authors = ["Clifford Heath"]
|
7
|
+
spec.email = "clifford.heath@gmail.com"
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
spec.date = "2023-03-11"
|
10
|
+
spec.summary = "A Sinatra extension that provides pure OmniAuth goodness to your application (with DataMapper)"
|
11
|
+
spec.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."
|
12
|
+
spec.homepage = "http://github.com/cjheath/sinatra_omniauth"
|
13
|
+
spec.licenses = ["MIT"]
|
14
|
+
spec.require_paths = ["lib"]
|
15
|
+
|
16
|
+
spec.extra_rdoc_files = [
|
16
17
|
"LICENSE.txt",
|
17
18
|
"README.rdoc"
|
18
19
|
]
|
19
|
-
|
20
|
+
|
21
|
+
spec.files = [
|
20
22
|
".document",
|
21
23
|
"Gemfile",
|
22
24
|
"Gemfile.lock",
|
@@ -83,64 +85,25 @@ Gem::Specification.new do |s|
|
|
83
85
|
"test/test_sinatra_omniauth.rb",
|
84
86
|
"views/auth.haml"
|
85
87
|
]
|
86
|
-
s.homepage = %q{http://github.com/cjheath/sinatra_omniauth}
|
87
|
-
s.licenses = [%q{MIT}]
|
88
|
-
s.require_paths = [%q{lib}]
|
89
|
-
s.rubygems_version = %q{1.8.5}
|
90
|
-
s.summary = %q{A Sinatra extension that provides pure OmniAuth goodness to your application (with DataMapper)}
|
91
88
|
|
92
|
-
|
93
|
-
|
89
|
+
spec.add_runtime_dependency(%q<sinatra>, [">= 0"])
|
90
|
+
spec.add_runtime_dependency(%q<omniauth>, [">= 0"])
|
91
|
+
spec.add_runtime_dependency(%q<omniauth-twitter>, [">= 0"])
|
92
|
+
spec.add_runtime_dependency(%q<dm-core>, [">= 0"])
|
93
|
+
spec.add_runtime_dependency(%q<addressable>, [">= 0"])
|
94
|
+
spec.add_runtime_dependency(%q<dm-migrations>, [">= 0"])
|
95
|
+
spec.add_runtime_dependency(%q<dm-postgres-adapter>, [">= 0"])
|
96
|
+
spec.add_runtime_dependency(%q<sqlite3>, [">= 0"])
|
97
|
+
spec.add_runtime_dependency(%q<rack-flash3>, [">= 0"])
|
98
|
+
spec.add_runtime_dependency(%q<uuidtools>, [">= 0"])
|
99
|
+
spec.add_runtime_dependency(%q<haml>, [">= 3.1.1"])
|
94
100
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
s.add_runtime_dependency(%q<rack-flash>, [">= 0"])
|
103
|
-
s.add_runtime_dependency(%q<uuidtools>, [">= 0"])
|
104
|
-
s.add_runtime_dependency(%q<haml>, [">= 3.1.1"])
|
105
|
-
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
106
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
107
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
108
|
-
s.add_development_dependency(%q<rdoc>, [">= 2.4.0"])
|
109
|
-
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
110
|
-
s.add_development_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
111
|
-
else
|
112
|
-
s.add_dependency(%q<sinatra>, [">= 0"])
|
113
|
-
s.add_dependency(%q<omniauth>, ["~> 0.2.2"])
|
114
|
-
s.add_dependency(%q<dm-core>, [">= 0"])
|
115
|
-
s.add_dependency(%q<dm-migrations>, [">= 0"])
|
116
|
-
s.add_dependency(%q<dm-postgres-adapter>, [">= 0"])
|
117
|
-
s.add_dependency(%q<sqlite3>, [">= 0"])
|
118
|
-
s.add_dependency(%q<rack-flash>, [">= 0"])
|
119
|
-
s.add_dependency(%q<uuidtools>, [">= 0"])
|
120
|
-
s.add_dependency(%q<haml>, [">= 3.1.1"])
|
121
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
122
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
123
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
124
|
-
s.add_dependency(%q<rdoc>, [">= 2.4.0"])
|
125
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
126
|
-
s.add_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
127
|
-
end
|
128
|
-
else
|
129
|
-
s.add_dependency(%q<sinatra>, [">= 0"])
|
130
|
-
s.add_dependency(%q<omniauth>, ["~> 0.2.2"])
|
131
|
-
s.add_dependency(%q<dm-core>, [">= 0"])
|
132
|
-
s.add_dependency(%q<dm-migrations>, [">= 0"])
|
133
|
-
s.add_dependency(%q<dm-postgres-adapter>, [">= 0"])
|
134
|
-
s.add_dependency(%q<sqlite3>, [">= 0"])
|
135
|
-
s.add_dependency(%q<rack-flash>, [">= 0"])
|
136
|
-
s.add_dependency(%q<uuidtools>, [">= 0"])
|
137
|
-
s.add_dependency(%q<haml>, [">= 3.1.1"])
|
138
|
-
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
139
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
140
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
141
|
-
s.add_dependency(%q<rdoc>, [">= 2.4.0"])
|
142
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
143
|
-
s.add_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
144
|
-
end
|
101
|
+
spec.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
102
|
+
spec.add_development_dependency(%q<rcov>, ["~> 0.9.11"])
|
103
|
+
spec.add_development_dependency(%q<simplecov>, ["~> 0.6.4"])
|
104
|
+
spec.add_development_dependency(%q<rdoc>, [">= 2.4.0"])
|
105
|
+
spec.add_development_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
106
|
+
spec.add_development_dependency(%q<rspec>, ["~> 3.12"])
|
107
|
+
spec.add_development_dependency(%q<rake>, [">= 11"])
|
145
108
|
end
|
146
109
|
|
metadata
CHANGED
@@ -1,253 +1,279 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra_omniauth
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Clifford Heath
|
14
|
-
autorequire:
|
8
|
+
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
requirements:
|
11
|
+
date: 2023-03-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sinatra
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
24
17
|
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
version: "0"
|
30
|
-
prerelease: false
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
31
20
|
type: :runtime
|
32
|
-
requirement: *id001
|
33
|
-
name: sinatra
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
hash: 19
|
41
|
-
segments:
|
42
|
-
- 0
|
43
|
-
- 2
|
44
|
-
- 2
|
45
|
-
version: 0.2.2
|
46
21
|
prerelease: false
|
47
|
-
|
48
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
49
28
|
name: omniauth
|
50
|
-
|
51
|
-
|
52
|
-
none: false
|
53
|
-
requirements:
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
54
31
|
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
- 0
|
59
|
-
version: "0"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
60
35
|
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: omniauth-twitter
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
61
48
|
type: :runtime
|
62
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
63
56
|
name: dm-core
|
64
|
-
|
65
|
-
|
66
|
-
none: false
|
67
|
-
requirements:
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
68
59
|
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
- 0
|
73
|
-
version: "0"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
74
63
|
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: addressable
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
75
76
|
type: :runtime
|
76
|
-
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
77
84
|
name: dm-migrations
|
78
|
-
|
79
|
-
|
80
|
-
none: false
|
81
|
-
requirements:
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
82
87
|
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
segments:
|
86
|
-
- 0
|
87
|
-
version: "0"
|
88
|
-
prerelease: false
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
89
90
|
type: :runtime
|
90
|
-
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
91
98
|
name: dm-postgres-adapter
|
92
|
-
|
93
|
-
|
94
|
-
none: false
|
95
|
-
requirements:
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
96
101
|
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
segments:
|
100
|
-
- 0
|
101
|
-
version: "0"
|
102
|
-
prerelease: false
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
103
104
|
type: :runtime
|
104
|
-
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
105
112
|
name: sqlite3
|
106
|
-
|
107
|
-
|
108
|
-
none: false
|
109
|
-
requirements:
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
110
115
|
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
version: "0"
|
116
|
-
prerelease: false
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
117
118
|
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
119
|
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rack-flash3
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
131
132
|
type: :runtime
|
132
|
-
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
133
140
|
name: uuidtools
|
134
|
-
|
135
|
-
|
136
|
-
none: false
|
137
|
-
requirements:
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
138
143
|
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
|
141
|
-
segments:
|
142
|
-
- 3
|
143
|
-
- 1
|
144
|
-
- 1
|
145
|
-
version: 3.1.1
|
146
|
-
prerelease: false
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
147
146
|
type: :runtime
|
148
|
-
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
149
154
|
name: haml
|
150
|
-
|
151
|
-
|
152
|
-
none: false
|
153
|
-
requirements:
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
154
157
|
- - ">="
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
|
157
|
-
|
158
|
-
- 1
|
159
|
-
- 0
|
160
|
-
- 0
|
161
|
-
version: 1.0.0
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 3.1.1
|
160
|
+
type: :runtime
|
162
161
|
prerelease: false
|
163
|
-
|
164
|
-
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 3.1.1
|
167
|
+
- !ruby/object:Gem::Dependency
|
165
168
|
name: bundler
|
166
|
-
|
167
|
-
|
168
|
-
none: false
|
169
|
-
requirements:
|
170
|
-
- - ~>
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
hash: 11
|
173
|
-
segments:
|
174
|
-
- 1
|
175
|
-
- 6
|
176
|
-
- 2
|
177
|
-
version: 1.6.2
|
178
|
-
prerelease: false
|
179
|
-
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:
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
186
171
|
- - ">="
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
|
189
|
-
segments:
|
190
|
-
- 0
|
191
|
-
version: "0"
|
192
|
-
prerelease: false
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.0.0
|
193
174
|
type: :development
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
version_requirements: &id013 !ruby/object:Gem::Requirement
|
198
|
-
none: false
|
199
|
-
requirements:
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
200
178
|
- - ">="
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.0.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rcov
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.9.11
|
188
|
+
type: :development
|
208
189
|
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.9.11
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: simplecov
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 0.6.4
|
209
202
|
type: :development
|
210
|
-
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.6.4
|
209
|
+
- !ruby/object:Gem::Dependency
|
211
210
|
name: rdoc
|
212
|
-
|
213
|
-
|
214
|
-
none: false
|
215
|
-
requirements:
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
216
213
|
- - ">="
|
217
|
-
- !ruby/object:Gem::Version
|
218
|
-
|
219
|
-
|
220
|
-
- 0
|
221
|
-
version: "0"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 2.4.0
|
216
|
+
type: :development
|
222
217
|
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 2.4.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: dm-sqlite-adapter
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
223
230
|
type: :development
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
version_requirements: &id015 !ruby/object:Gem::Requirement
|
228
|
-
none: false
|
229
|
-
requirements:
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
230
234
|
- - ">="
|
231
|
-
- !ruby/object:Gem::Version
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rspec
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '3.12'
|
244
|
+
type: :development
|
236
245
|
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '3.12'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rake
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '11'
|
237
258
|
type: :development
|
238
|
-
|
239
|
-
|
240
|
-
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '11'
|
265
|
+
description: This Sinatra extension, derived from omniauth_pure by Marcus Proske,
|
266
|
+
adds OmniAuth authorization to your Sinatra application, so your users can login
|
267
|
+
using FaceBook, Twitter and many other authorization providers, as long as you supply
|
268
|
+
the API keys. It uses DataMapper and HAML.
|
241
269
|
email: clifford.heath@gmail.com
|
242
270
|
executables: []
|
243
|
-
|
244
271
|
extensions: []
|
245
|
-
|
246
|
-
extra_rdoc_files:
|
272
|
+
extra_rdoc_files:
|
247
273
|
- LICENSE.txt
|
248
274
|
- README.rdoc
|
249
|
-
files:
|
250
|
-
- .document
|
275
|
+
files:
|
276
|
+
- ".document"
|
251
277
|
- Gemfile
|
252
278
|
- Gemfile.lock
|
253
279
|
- LICENSE.txt
|
@@ -313,37 +339,27 @@ files:
|
|
313
339
|
- test/test_sinatra_omniauth.rb
|
314
340
|
- views/auth.haml
|
315
341
|
homepage: http://github.com/cjheath/sinatra_omniauth
|
316
|
-
licenses:
|
342
|
+
licenses:
|
317
343
|
- MIT
|
318
|
-
|
344
|
+
metadata: {}
|
345
|
+
post_install_message:
|
319
346
|
rdoc_options: []
|
320
|
-
|
321
|
-
require_paths:
|
347
|
+
require_paths:
|
322
348
|
- lib
|
323
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
324
|
-
|
325
|
-
requirements:
|
349
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
350
|
+
requirements:
|
326
351
|
- - ">="
|
327
|
-
- !ruby/object:Gem::Version
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
version: "0"
|
332
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
|
-
none: false
|
334
|
-
requirements:
|
352
|
+
- !ruby/object:Gem::Version
|
353
|
+
version: '0'
|
354
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
355
|
+
requirements:
|
335
356
|
- - ">="
|
336
|
-
- !ruby/object:Gem::Version
|
337
|
-
|
338
|
-
segments:
|
339
|
-
- 0
|
340
|
-
version: "0"
|
357
|
+
- !ruby/object:Gem::Version
|
358
|
+
version: '0'
|
341
359
|
requirements: []
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
summary: A Sinatra extension that provides pure OmniAuth goodness to your application (with DataMapper)
|
360
|
+
rubygems_version: 3.2.22
|
361
|
+
signing_key:
|
362
|
+
specification_version: 4
|
363
|
+
summary: A Sinatra extension that provides pure OmniAuth goodness to your application
|
364
|
+
(with DataMapper)
|
348
365
|
test_files: []
|
349
|
-
|