auther 1.1.0 → 1.2.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +3 -1
- data/lib/auther/engine.rb +8 -8
- data/lib/auther/version.rb +1 -1
- metadata +8 -8
- metadata.gz.sig +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98f97c242fb1e0ce4bb8b86105692557df24e4b9
|
4
|
+
data.tar.gz: ca16c0813966c536e347366e9899acefcfab666a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2775da83a612d96b4411537077150c440c95b12b60d07f3f8e79bfcddb44651e030aafc8c984c92867f53a27051c2a2dbd434e931a61702e3662d48266ec8f24
|
7
|
+
data.tar.gz: c224366a29f6f11ad2aad9cc03ae4d9ba72e21f42ddc434bec7091e37feb4cf8d248e18762c9290e99abe9a253e897b6494b46413d321a8ac425b65deb05173b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
[](http://badge.fury.io/rb/auther)
|
4
4
|
[](https://codeclimate.com/github/bkuhlmann/auther)
|
5
|
+
[](https://gemnasium.com/bkuhlmann/auther)
|
5
6
|
[](http://travis-ci.org/bkuhlmann/auther)
|
7
|
+
[](https://coveralls.io/r/bkuhlmann/auther)
|
6
8
|
|
7
9
|
Provides simple, form-based authentication for apps that need security but don't want to deal with the clunky UI
|
8
10
|
of HTTP Basic Authentication or something as heavyweight as [Devise](https://github.com/plataformatec/devise). It
|
@@ -36,7 +38,7 @@ making for a pleasent user experience.
|
|
36
38
|
For a secure install, type the following from the command line (recommended):
|
37
39
|
|
38
40
|
gem cert --add <(curl -Ls http://www.redalchemist.com/gem-public.pem)
|
39
|
-
gem install auther -
|
41
|
+
gem install auther --trust-policy HighSecurity
|
40
42
|
|
41
43
|
...or, for an insecure install, type the following (not recommended):
|
42
44
|
|
data/lib/auther/engine.rb
CHANGED
@@ -5,16 +5,16 @@ module Auther
|
|
5
5
|
# Set defaults. Can be overwritten in app config.
|
6
6
|
config.auther_settings = {}
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
initializer "auther.initialize" do |app|
|
9
|
+
# Add jQuery assets.
|
10
|
+
jquery_gem_path = Gem.loaded_specs["jquery-rails"].full_gem_path
|
11
|
+
app.config.assets.paths << "#{jquery_gem_path}/vendor/assets/javascripts"
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
# Add Zurb Foundation assets.
|
14
|
+
foundation_gem_path = Gem.loaded_specs["foundation-rails"].full_gem_path
|
15
|
+
app.config.assets.paths << "#{foundation_gem_path}/vendor/assets/stylesheets"
|
16
|
+
app.config.assets.paths << "#{foundation_gem_path}/vendor/assets/javascripts"
|
16
17
|
|
17
|
-
initializer "auther.initialize" do |app|
|
18
18
|
# Configure log filter parameters.
|
19
19
|
app.config.filter_parameters += [:login, :password]
|
20
20
|
|
data/lib/auther/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auther
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
SJpzzzZ8gO6BKn4fhd+ENNQ333Qy3nuNk07TVIaNnlgeHhowUDuD9T7Z8Lka0pt3
|
31
31
|
4PteiTppsf0SSVAM9zSO5IuFngXMRwWgvjOfXE70f43RDuUVTCSyylc=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2014-
|
33
|
+
date: 2014-04-08 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: pry-byebug
|
@@ -136,14 +136,14 @@ dependencies:
|
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: '5.
|
139
|
+
version: '5.2'
|
140
140
|
type: :runtime
|
141
141
|
prerelease: false
|
142
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: '5.
|
146
|
+
version: '5.2'
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: rake
|
149
149
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,7 +201,7 @@ dependencies:
|
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
- !ruby/object:Gem::Dependency
|
204
|
-
name:
|
204
|
+
name: rspec-rails
|
205
205
|
requirement: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
207
|
- - ">="
|
@@ -215,7 +215,7 @@ dependencies:
|
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: '0'
|
217
217
|
- !ruby/object:Gem::Dependency
|
218
|
-
name:
|
218
|
+
name: rb-fsevent
|
219
219
|
requirement: !ruby/object:Gem::Requirement
|
220
220
|
requirements:
|
221
221
|
- - ">="
|
@@ -229,7 +229,7 @@ dependencies:
|
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
- !ruby/object:Gem::Dependency
|
232
|
-
name:
|
232
|
+
name: guard-rspec
|
233
233
|
requirement: !ruby/object:Gem::Requirement
|
234
234
|
requirements:
|
235
235
|
- - ">="
|
@@ -243,7 +243,7 @@ dependencies:
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
|
-
name:
|
246
|
+
name: coveralls
|
247
247
|
requirement: !ruby/object:Gem::Requirement
|
248
248
|
requirements:
|
249
249
|
- - ">="
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
�
|
3
|
-
|
1
|
+
C�J@��e>L�WS._�ZF��IS0�0n�*A!X~�v2��hj�G�u�j�/�b�&�
|
2
|
+
;O��D�2��v�O�8��%���#��IEan̸(A�]\���=�+��
|
3
|
+
B��Ŭ&�m�!�LA;�;��@N�E��aq��n�o��~���
|