bootswatch_rails 3.3.0.8 → 3.3.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e0145d5ed16656879de71aa2ed5df5156c2625
|
4
|
+
data.tar.gz: 772da748daac1ea085a426501925b6be39bd2c1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11858b8ab8926896515d4601c38681a09eb43345e1d8b59a6cec96204b47b8818b4d99c6cf6a2e24ffb71c8156754f021992d8b30884cde0ecd9755576ae21ef
|
7
|
+
data.tar.gz: 11ba33bf4688b95c78aefee94046ee6a171dbee2b0114d56c069f040ae887fc4cb302b40a5e16fc109fb66a3c05f8c650a168884ab845f3f699e6070ef5be173
|
@@ -2,7 +2,7 @@ module BootswatchRails
|
|
2
2
|
BOOTSTRAP = "3.3.0"
|
3
3
|
BOOTSWATCH = "3.3.0"
|
4
4
|
FONT_AWESOME = "4.2.0"
|
5
|
-
VERSION = "3.3.0.
|
5
|
+
VERSION = "3.3.0.9"
|
6
6
|
|
7
7
|
THEMES = [:cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
|
8
8
|
DEFAULT = 0
|
@@ -12,6 +12,8 @@ module BootswatchRails
|
|
12
12
|
desc: 'Add Gravatar image to user (uses email)'
|
13
13
|
class_option :authority, type: :boolean, default: false,
|
14
14
|
desc: 'Add athorization (requires authority gem)'
|
15
|
+
class_option :root_route_login, type: :boolean, default: false,
|
16
|
+
desc: 'Sets the root route to the login page'
|
15
17
|
class_option :add_attr, type: :array, banner: "FIELD[:TYPE][:INDEX] ...",
|
16
18
|
desc: 'Setup additional attributes for user model'
|
17
19
|
class_option :user_activation, type: :boolean, default: false,
|
@@ -93,7 +95,12 @@ module BootswatchRails
|
|
93
95
|
" end"
|
94
96
|
] if options.reset_password?
|
95
97
|
lines << [
|
96
|
-
" end"
|
98
|
+
" end"
|
99
|
+
]
|
100
|
+
lines << [
|
101
|
+
" root '#{table_name}#log_in'"
|
102
|
+
] if options.root_route_login?
|
103
|
+
lines << [
|
97
104
|
" get '/login' => '#{table_name}#log_in', as: :login, format: false",
|
98
105
|
" get '/logout' => '#{table_name}#log_out', as: :logout, format: false",
|
99
106
|
""
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootswatch_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.0.
|
4
|
+
version: 3.3.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Volker Wiegand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|