foyer 0.0.1 → 0.1.0
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.
- checksums.yaml +8 -8
- data/.rspec +1 -0
- data/LICENSE.txt +1 -1
- data/Rakefile +5 -0
- data/foyer.gemspec +3 -0
- data/lib/foyer/controller/helpers.rb +55 -0
- data/lib/foyer/engine.rb +9 -0
- data/lib/foyer/omniauth_callbacks_controller.rb +18 -0
- data/lib/foyer/rails.rb +17 -0
- data/lib/foyer/test_helpers.rb +11 -0
- data/lib/foyer/version.rb +1 -1
- data/lib/foyer.rb +19 -2
- data/spec/controllers/authenticated_controller_spec.rb +36 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/authenticated_controller.rb +9 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/sessions_controller.rb +11 -0
- data/spec/dummy/app/controllers/unauthenticated_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +340 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/foyer/controller/helpers_spec.rb +36 -0
- data/spec/foyer/omniauth_callbacks_controller_spec.rb +23 -0
- data/spec/integration/authenticate_via_route_constraint_spec.rb +28 -0
- data/spec/spec_helper.rb +15 -0
- metadata +121 -3
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foyer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Nochlin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rails
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '4.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ~>
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '4.0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: bundler
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -38,6 +52,20 @@ dependencies:
|
|
|
38
52
|
- - ! '>='
|
|
39
53
|
- !ruby/object:Gem::Version
|
|
40
54
|
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rspec-rails
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ~>
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 3.0.0.beta
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ~>
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 3.0.0.beta
|
|
41
69
|
description: Authentication layer for OmniAuth
|
|
42
70
|
email:
|
|
43
71
|
- jason@gaggleamp.com
|
|
@@ -46,13 +74,61 @@ extensions: []
|
|
|
46
74
|
extra_rdoc_files: []
|
|
47
75
|
files:
|
|
48
76
|
- .gitignore
|
|
77
|
+
- .rspec
|
|
49
78
|
- Gemfile
|
|
50
79
|
- LICENSE.txt
|
|
51
80
|
- README.md
|
|
52
81
|
- Rakefile
|
|
53
82
|
- foyer.gemspec
|
|
54
83
|
- lib/foyer.rb
|
|
84
|
+
- lib/foyer/controller/helpers.rb
|
|
85
|
+
- lib/foyer/engine.rb
|
|
86
|
+
- lib/foyer/omniauth_callbacks_controller.rb
|
|
87
|
+
- lib/foyer/rails.rb
|
|
88
|
+
- lib/foyer/test_helpers.rb
|
|
55
89
|
- lib/foyer/version.rb
|
|
90
|
+
- spec/controllers/authenticated_controller_spec.rb
|
|
91
|
+
- spec/dummy/app/assets/images/.keep
|
|
92
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
93
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
94
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
95
|
+
- spec/dummy/app/controllers/authenticated_controller.rb
|
|
96
|
+
- spec/dummy/app/controllers/concerns/.keep
|
|
97
|
+
- spec/dummy/app/controllers/sessions_controller.rb
|
|
98
|
+
- spec/dummy/app/controllers/unauthenticated_controller.rb
|
|
99
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
100
|
+
- spec/dummy/app/mailers/.keep
|
|
101
|
+
- spec/dummy/app/models/.keep
|
|
102
|
+
- spec/dummy/app/models/concerns/.keep
|
|
103
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
104
|
+
- spec/dummy/config.ru
|
|
105
|
+
- spec/dummy/config/application.rb
|
|
106
|
+
- spec/dummy/config/boot.rb
|
|
107
|
+
- spec/dummy/config/database.yml
|
|
108
|
+
- spec/dummy/config/environment.rb
|
|
109
|
+
- spec/dummy/config/environments/development.rb
|
|
110
|
+
- spec/dummy/config/environments/production.rb
|
|
111
|
+
- spec/dummy/config/environments/test.rb
|
|
112
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
113
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
114
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
115
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
116
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
117
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
118
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
119
|
+
- spec/dummy/config/locales/en.yml
|
|
120
|
+
- spec/dummy/config/routes.rb
|
|
121
|
+
- spec/dummy/log/.keep
|
|
122
|
+
- spec/dummy/log/development.log
|
|
123
|
+
- spec/dummy/log/test.log
|
|
124
|
+
- spec/dummy/public/404.html
|
|
125
|
+
- spec/dummy/public/422.html
|
|
126
|
+
- spec/dummy/public/500.html
|
|
127
|
+
- spec/dummy/public/favicon.ico
|
|
128
|
+
- spec/foyer/controller/helpers_spec.rb
|
|
129
|
+
- spec/foyer/omniauth_callbacks_controller_spec.rb
|
|
130
|
+
- spec/integration/authenticate_via_route_constraint_spec.rb
|
|
131
|
+
- spec/spec_helper.rb
|
|
56
132
|
homepage: ''
|
|
57
133
|
licenses:
|
|
58
134
|
- MIT
|
|
@@ -77,5 +153,47 @@ rubygems_version: 2.2.1
|
|
|
77
153
|
signing_key:
|
|
78
154
|
specification_version: 4
|
|
79
155
|
summary: Authentication layer for OmniAuth
|
|
80
|
-
test_files:
|
|
156
|
+
test_files:
|
|
157
|
+
- spec/controllers/authenticated_controller_spec.rb
|
|
158
|
+
- spec/dummy/app/assets/images/.keep
|
|
159
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
160
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
161
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
162
|
+
- spec/dummy/app/controllers/authenticated_controller.rb
|
|
163
|
+
- spec/dummy/app/controllers/concerns/.keep
|
|
164
|
+
- spec/dummy/app/controllers/sessions_controller.rb
|
|
165
|
+
- spec/dummy/app/controllers/unauthenticated_controller.rb
|
|
166
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
167
|
+
- spec/dummy/app/mailers/.keep
|
|
168
|
+
- spec/dummy/app/models/.keep
|
|
169
|
+
- spec/dummy/app/models/concerns/.keep
|
|
170
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
171
|
+
- spec/dummy/config.ru
|
|
172
|
+
- spec/dummy/config/application.rb
|
|
173
|
+
- spec/dummy/config/boot.rb
|
|
174
|
+
- spec/dummy/config/database.yml
|
|
175
|
+
- spec/dummy/config/environment.rb
|
|
176
|
+
- spec/dummy/config/environments/development.rb
|
|
177
|
+
- spec/dummy/config/environments/production.rb
|
|
178
|
+
- spec/dummy/config/environments/test.rb
|
|
179
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
180
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
181
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
182
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
183
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
184
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
185
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
186
|
+
- spec/dummy/config/locales/en.yml
|
|
187
|
+
- spec/dummy/config/routes.rb
|
|
188
|
+
- spec/dummy/log/.keep
|
|
189
|
+
- spec/dummy/log/development.log
|
|
190
|
+
- spec/dummy/log/test.log
|
|
191
|
+
- spec/dummy/public/404.html
|
|
192
|
+
- spec/dummy/public/422.html
|
|
193
|
+
- spec/dummy/public/500.html
|
|
194
|
+
- spec/dummy/public/favicon.ico
|
|
195
|
+
- spec/foyer/controller/helpers_spec.rb
|
|
196
|
+
- spec/foyer/omniauth_callbacks_controller_spec.rb
|
|
197
|
+
- spec/integration/authenticate_via_route_constraint_spec.rb
|
|
198
|
+
- spec/spec_helper.rb
|
|
81
199
|
has_rdoc:
|