thincloud-authentication 0.1.3 → 0.1.4
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.
data/README.md
CHANGED
|
@@ -62,6 +62,15 @@ The following must be true for `thincloud-authentication` to operate properly:
|
|
|
62
62
|
The `Thincloud::Authentication` module accepts a `configure` block with options to customize the engine behavior.
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
### Layouts
|
|
66
|
+
|
|
67
|
+
Set the `layout` option to customize the layout used by all thincloud-authentication views:
|
|
68
|
+
|
|
69
|
+
```ruby
|
|
70
|
+
Thincloud::Authentication.configure do |config|
|
|
71
|
+
config.layout = "other"
|
|
72
|
+
end
|
|
73
|
+
|
|
65
74
|
### Mailers
|
|
66
75
|
|
|
67
76
|
Set the `mailer_sender` option to customize the "From" address of the emails sent from the system:
|
|
@@ -11,9 +11,10 @@ module Thincloud
|
|
|
11
11
|
|
|
12
12
|
# Public: Configuration options for the Thincloud::Authentication module
|
|
13
13
|
class Configuration
|
|
14
|
-
attr_accessor :providers, :mailer_sender
|
|
14
|
+
attr_accessor :layout, :providers, :mailer_sender
|
|
15
15
|
|
|
16
16
|
def initialize
|
|
17
|
+
@layout = "application"
|
|
17
18
|
@providers = {}
|
|
18
19
|
@mailer_sender = "app@example.com"
|
|
19
20
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thincloud-authentication
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -268,7 +268,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
268
268
|
version: '0'
|
|
269
269
|
segments:
|
|
270
270
|
- 0
|
|
271
|
-
hash:
|
|
271
|
+
hash: 3656149340938148571
|
|
272
272
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
273
|
none: false
|
|
274
274
|
requirements:
|
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
277
277
|
version: '0'
|
|
278
278
|
segments:
|
|
279
279
|
- 0
|
|
280
|
-
hash:
|
|
280
|
+
hash: 3656149340938148571
|
|
281
281
|
requirements: []
|
|
282
282
|
rubyforge_project:
|
|
283
283
|
rubygems_version: 1.8.24
|