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: 65a1cfebe4eb371e582a7a03a8a6a9f33bc10b7a
4
- data.tar.gz: 9c0c9c2add093c274128c7a3af02605c3bab5286
3
+ metadata.gz: 35e0145d5ed16656879de71aa2ed5df5156c2625
4
+ data.tar.gz: 772da748daac1ea085a426501925b6be39bd2c1f
5
5
  SHA512:
6
- metadata.gz: 7d86be7ba15d83cd862e4bb8d4fe958097c1f4563fc46277b570b2f6f015d037649c101643a63fbb8325c10bb4d4a3558355705a425c391cf6b8599891a2af5a
7
- data.tar.gz: a041d29723ad3511d9da22a1b81666eaf647895889c675a267da94afaad3b36e8638641c5a7471959b6fbd09f92376d4b647e579d808af87a73b2866928522f3
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.8"
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.8
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-10 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties