bootswatch_rails 3.2.0.33 → 3.2.0.34

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4773bcd616609782472a683efee64e5db8f92989
4
- data.tar.gz: b985c56427dd68603366fc51685b99b03de851f2
3
+ metadata.gz: 5388ed8014195ad8437d496c3d7209aa6464f28e
4
+ data.tar.gz: b4c239dc6982e966fbe6f97558e2cc8225b6ae02
5
5
  SHA512:
6
- metadata.gz: bbb8e5d2b303a86aaeacadf1744ab664ba8c7f16fad81a438685e59da389e285437273384c895bc9579de59b96b49cc66060e98b7aad56b72d815624f908bebd
7
- data.tar.gz: 58b0224470162fb97ef7e4ebdb85594466ac7583c92bd1570ad28a2e7cce20284522c3f50bfd99dc77f350455463ddf1eb091ad2859e5e8837e6ab28533a79ec
6
+ metadata.gz: 6d0b32d97444ed1c2985d8b1dabd00e7b9ec86128c9909266412e8feabcfb210a2d58931c9b7f83e322a062e489d9f85cf9083fea016fb57fe613e068add08e2
7
+ data.tar.gz: 022b69b8708593e4c9d0340e8bf31ab8555552b8b2fb62e6de56ee13bd36418402cd55562de5a305759da83d70a521e38a8cae7fe3e28af7495e067bef72b358
@@ -1,6 +1,6 @@
1
1
  module BootswatchRails
2
2
  BOOTSTRAP = "3.2.0"
3
- VERSION = "3.2.0.33"
3
+ VERSION = "3.2.0.34"
4
4
  FONT_AWESOME = "4.2.0"
5
5
 
6
6
  THEMES = [:amelia, :cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
@@ -5,9 +5,11 @@ module BootswatchRails
5
5
  class SorceryGenerator < ActiveRecord::Generators::Base
6
6
  desc "Install authentication (with Sorcery) and (optional) authorization."
7
7
  argument :name, type: :string, default: "user",
8
- banner: "user model (default 'user')"
8
+ banner: "name of the user model"
9
9
  class_option :picture, type: :boolean, default: false,
10
10
  desc: 'Add picture to user (needs carrierwave)'
11
+ class_option :gravatar, type: :boolean, default: false,
12
+ desc: 'Add Gravatar image to user (uses email)'
11
13
  class_option :authorization, type: :boolean, default: true,
12
14
  desc: 'Add dynamic athorization on top of authentication'
13
15
  class_option :user_activation, type: :boolean, default: false,
@@ -51,15 +53,20 @@ module BootswatchRails
51
53
  template "picture_uploader.rb", "app/uploaders/picture_uploader.rb"
52
54
  end
53
55
 
56
+ def add_gravatar
57
+ return unless options.gravatar?
58
+ template "gravatar_helper.rb", "app/helpers/gravatar_helper.rb"
59
+ end
60
+
54
61
  def add_mailer
55
- return unless reset_password?
62
+ return unless options.reset_password?
56
63
  template "user_mailer.rb", "app/mailers/#{mailer_name}.rb"
57
64
  template "reset_password_email.html.erb", "app/views/#{mailer_name}/reset_password_email.html.erb"
58
65
  end
59
66
 
60
67
  def add_controllers
61
68
  template "users_controller.rb", "app/controllers/#{table_name}_controller.rb"
62
- return unless authorization?
69
+ return unless options.authorization?
63
70
  # TODO
64
71
  # template "roles_controller.rb", "app/controllers/roles_controller.rb"
65
72
  # template "assignments_controller.rb", "app/controllers/assignments_controller.rb"
@@ -68,7 +75,7 @@ module BootswatchRails
68
75
 
69
76
  def add_views
70
77
  views = %w[edit _form index log_in new show]
71
- views += %w[password change] if reset_password?
78
+ views += %w[password change] if options.reset_password?
72
79
  views.each do |view|
73
80
  template "#{view}.html.erb", "app/views/#{table_name}/#{view}.html.erb"
74
81
  end
@@ -87,7 +94,7 @@ module BootswatchRails
87
94
  lines << [
88
95
  " get 'password'",
89
96
  " post 'reset'"
90
- ] if reset_password?
97
+ ] if options.reset_password?
91
98
  lines << [
92
99
  " end"
93
100
  ]
@@ -97,7 +104,7 @@ module BootswatchRails
97
104
  " patch 'refresh'",
98
105
  " put 'refresh'",
99
106
  " end"
100
- ] if reset_password?
107
+ ] if options.reset_password?
101
108
  lines << [
102
109
  " end",
103
110
  " get '/login' => '#{table_name}#log_in', as: :login, format: false",
@@ -139,63 +146,19 @@ module BootswatchRails
139
146
 
140
147
  protected
141
148
 
142
- def has_picture?
143
- options.picture?
144
- end
145
-
146
- def authorization?
147
- options.authorization?
148
- end
149
-
150
- def user_activation?
151
- options.user_activation?
152
- end
153
-
154
- def reset_password?
155
- options.reset_password?
156
- end
157
-
158
- def remember_me?
159
- options.remember_me?
160
- end
161
-
162
- def session_timeout?
163
- options.session_timeout?
164
- end
165
-
166
- def brute_force_protection?
167
- options.brute_force_protection?
168
- end
169
-
170
- def http_basic_auth?
171
- options.http_basic_auth?
172
- end
173
-
174
- def activity_logging?
175
- options.activity_logging?
176
- end
177
-
178
- def external?
179
- options.external?
180
- end
181
-
182
149
  def submodules
183
150
  modules = []
184
- modules << ":user_activation" if user_activation?
185
- modules << ":reset_password" if reset_password?
186
- modules << ":remember_me" if remember_me?
187
- modules << ":session_timeout" if session_timeout?
188
- modules << ":brute_force_protection" if brute_force_protection?
189
- modules << ":http_basic_auth" if http_basic_auth?
190
- modules << ":activity_logging" if activity_logging?
191
- modules << ":external" if external?
151
+ modules << ":user_activation" if options.user_activation?
152
+ modules << ":reset_password" if options.reset_password?
153
+ modules << ":remember_me" if options.remember_me?
154
+ modules << ":session_timeout" if options.session_timeout?
155
+ modules << ":brute_force_protection" if options.brute_force_protection?
156
+ modules << ":http_basic_auth" if options.http_basic_auth?
157
+ modules << ":activity_logging" if options.activity_logging?
158
+ modules << ":external" if options.external?
192
159
  modules.join(', ')
193
160
  end
194
161
 
195
- def layout
196
- options.layout
197
- end
198
-
199
162
  def migration_name
200
163
  "create_#{table_name}"
201
164
  end
@@ -212,6 +175,7 @@ module BootswatchRails
212
175
  text = ":email, :name, :phone, :comment, :theme, " +
213
176
  ":active, :sysadm, :password, :password_confirmation"
214
177
  text += ", :picture, :picture_cache" if options.picture?
178
+ text
215
179
  end
216
180
  end
217
181
  end
@@ -5,7 +5,7 @@
5
5
  <%%= f.input :name %>
6
6
  <%%= f.input :phone %>
7
7
  <%%= f.input :comment %>
8
- <%- if has_picture? -%>
8
+ <%- if options.picture? -%>
9
9
  <%%= f.input :picture %>
10
10
  <%%= f.input :picture_cache, as: :hidden %>
11
11
  <%%- if @<%= name %>.picture? -%>
@@ -1,4 +1,4 @@
1
1
  class Assignment < ActiveRecord::Base
2
- belongs_to :user
2
+ belongs_to :<%= name %>
3
3
  belongs_to :role
4
4
  end
@@ -0,0 +1,6 @@
1
+ module GravatarHelper
2
+ def gravatar_url(<%= name %>, size)
3
+ gravatar_id = Digest::MD5::hexdigest(<%= name %>.email).downcase
4
+ "http://gravatar.com/avatar/#{gravatar_id}.png?s=#{size}&d=mm"
5
+ end
6
+ end
@@ -7,8 +7,11 @@
7
7
  <br>
8
8
  <%%= t('activerecord.attributes.<%= name %>.phone') %></th>
9
9
  <th><%%= t('activerecord.attributes.<%= name %>.comment') %></th>
10
- <%- if has_picture? -%>
10
+ <%- if options.picture? -%>
11
11
  <th><%%= t('activerecord.attributes.<%= name %>.picture') %></th>
12
+ <%- end -%>
13
+ <%- if options.gravatar? -%>
14
+ <th><%%= t('activerecord.attributes.<%= name %>.gravatar') %></th>
12
15
  <%- end -%>
13
16
  <th><%%= t('activerecord.attributes.<%= name %>.active') %>
14
17
  <br>
@@ -28,10 +31,15 @@
28
31
  <td>
29
32
  <%%= <%= name %>.comment %>
30
33
  </td>
31
- <%- if has_picture? -%>
34
+ <%- if options.picture? -%>
32
35
  <td>
33
36
  <%%= image_tag(<%= name %>.picture_url(:thumb).to_s) %>
34
37
  </td>
38
+ <%- end -%>
39
+ <%- if options.gravatar? -%>
40
+ <td>
41
+ <%%= image_tag(gravatar_url(<%= name %>, 100)) %>
42
+ </td>
35
43
  <%- end -%>
36
44
  <td>
37
45
  <%%= <%= name %>.active ? t('simple_form.yes') : t('simple_form.no') %>
@@ -9,25 +9,25 @@ Rails.application.config.sorcery.configure do |config|
9
9
  # config.not_authenticated_action = :not_authenticated
10
10
  # config.save_return_to_url = true
11
11
  # config.cookie_domain = nil
12
- <%- if session_timeout? -%>
12
+ <%- if options.session_timeout? -%>
13
13
 
14
14
  # -- session_timeout --
15
15
  # config.session_timeout = 3600
16
16
  # config.session_timeout_from_last_action = false
17
17
  <%- end -%>
18
- <%- if http_basic_auth? -%>
18
+ <%- if options.http_basic_auth? -%>
19
19
 
20
20
  # -- http_basic_auth --
21
21
  # config.controller_to_realm_map = { "application" => "Application" }
22
22
  <%- end -%>
23
- <%- if activity_logging? -%>
23
+ <%- if options.activity_logging? -%>
24
24
 
25
25
  # -- activity_logging --
26
26
  # config.register_login_time = true
27
27
  # config.register_logout_time = true
28
28
  # config.register_last_activity_time = true
29
29
  <%- end -%>
30
- <%- if external? -%>
30
+ <%- if options.external? -%>
31
31
 
32
32
  # -- external --
33
33
  # config.external_providers = []
@@ -49,7 +49,7 @@ Rails.application.config.sorcery.configure do |config|
49
49
  # user.custom_encryption_provider = nil
50
50
  # user.encryption_algorithm = :bcrypt
51
51
  # user.subclasses_inherit_config = false
52
- <%- if user_activation? -%>
52
+ <%- if options.user_activation? -%>
53
53
 
54
54
  # -- user_activation --
55
55
  # user.activation_state_attribute_name = :activation_state
@@ -62,7 +62,7 @@ Rails.application.config.sorcery.configure do |config|
62
62
  # user.activation_success_email_method_name = :activation_success_email
63
63
  # user.prevent_non_active_users_to_login = true
64
64
  <%- end -%>
65
- <%- if reset_password? -%>
65
+ <%- if options.reset_password? -%>
66
66
 
67
67
  # -- reset_password --
68
68
  # user.reset_password_token_attribute_name = :reset_password_token
@@ -74,13 +74,13 @@ Rails.application.config.sorcery.configure do |config|
74
74
  # user.reset_password_expiration_period = nil
75
75
  # user.reset_password_time_between_emails = 300
76
76
  <%- end -%>
77
- <%- if remember_me? -%>
77
+ <%- if options.remember_me? -%>
78
78
 
79
79
  # -- remember_me --
80
80
  # user.remember_me_httponly = true
81
81
  # user.remember_me_for = 604800
82
82
  <%- end -%>
83
- <%- if brute_force_protection? -%>
83
+ <%- if options.brute_force_protection? -%>
84
84
 
85
85
  # -- brute_force_protection --
86
86
  # user.failed_logins_count_attribute_name = :failed_logins_count
@@ -92,7 +92,7 @@ Rails.application.config.sorcery.configure do |config|
92
92
  # user.unlock_token_mailer_disabled = false
93
93
  # user.unlock_token_mailer = nil
94
94
  <%- end -%>
95
- <%- if activity_logging? -%>
95
+ <%- if options.activity_logging? -%>
96
96
 
97
97
  # -- activity_logging --
98
98
  # user.last_login_at_attribute_name = :last_login_at
@@ -100,7 +100,7 @@ Rails.application.config.sorcery.configure do |config|
100
100
  # user.last_activity_at_attribute_name = :last_activity_at
101
101
  # user.activity_timeout = 600
102
102
  <%- end -%>
103
- <%- if external? -%>
103
+ <%- if options.external? -%>
104
104
 
105
105
  # -- external --
106
106
  # user.authentications_class = nil
@@ -5,12 +5,12 @@
5
5
 
6
6
  <%%= f.input :email, autofocus: true %>
7
7
  <%%= f.input :password %>
8
- <%- if remember_me? -%>
8
+ <%- if options.remember_me? -%>
9
9
  <%%= f.input :remember_me %>
10
10
  <%- end -%>
11
11
 
12
12
  <%%= f.button :submit, t('sorcery.submit'), class: 'btn btn-primary' %>
13
- <%- if reset_password? -%>
13
+ <%- if options.reset_password? -%>
14
14
  <%%= link_to t('sorcery.reset.forgot'), password_<%= table_name %>_path, class: 'btn btn-default' %>
15
15
  <%- end -%>
16
16
  <%% end %>
@@ -1,5 +1,5 @@
1
1
  class Role < ActiveRecord::Base
2
2
  has_many :assignments
3
- has_many :users, through: :assignments
3
+ has_many :<%= table_name %>, through: :assignments
4
4
  has_many :abilities
5
5
  end
@@ -18,13 +18,19 @@
18
18
  <td><%%= t('activerecord.attributes.<%= name %>.comment') %></td>
19
19
  <td><%%= raw(@<%= name %>.comment) %></td>
20
20
  </tr>
21
- <%- if has_picture? -%>
22
- <%%- if @<%= name %>.picture.present? -%>
21
+ <%- if options.picture? -%>
22
+ <%%- if @<%= name %>.picture? -%>
23
23
  <tr>
24
24
  <td><%%= t('activerecord.attributes.<%= name %>.picture') %></td>
25
- <td><%%= image_tag(@<%= name %>.picture_url(:avatar)) %></td>
25
+ <td><%%= image_tag(<%= name %>.picture_url(:avatar).to_s) %></td>
26
26
  </tr>
27
27
  <%%- end -%>
28
+ <%- end -%>
29
+ <%- if options.gravatar? -%>
30
+ <tr>
31
+ <td><%%= t('activerecord.attributes.<%= name %>.gravatar') %></td>
32
+ <td><%%= image_tag(gravatar_url(@<%= name %>, 200)) %></td>
33
+ </tr>
28
34
  <%- end -%>
29
35
  <tr>
30
36
  <td><%%= t('activerecord.attributes.<%= name %>.theme') %></td>
@@ -38,7 +44,7 @@
38
44
  <td><%%= t('activerecord.attributes.<%= name %>.sysadm') %></td>
39
45
  <td><%%= @<%= name %>.sysadm ? t('simple_form.yes') : t('simple_form.no') %></td>
40
46
  </tr>
41
- <%- if activity_logging? -%>
47
+ <%- if options.activity_logging? -%>
42
48
  <%%- if @<%= name %>.last_login_at.present? -%>
43
49
  <tr>
44
50
  <td><%%= t('activerecord.attributes.<%= name %>.last_login_at') %></td>
@@ -50,13 +56,13 @@
50
56
  </tr>
51
57
  <%%- end -%>
52
58
  <%- end -%>
53
- <%- if brute_force_protection? -%>
59
+ <%- if options.brute_force_protection? -%>
54
60
  <tr>
55
61
  <td><%%= t('activerecord.attributes.<%= name %>.failed_logins_count') %></td>
56
62
  <td><%%= @<%= name %>.failed_logins_count %></td>
57
63
  </tr>
58
64
  <%- end -%>
59
- <%- if activity_logging? -%>
65
+ <%- if options.activity_logging? -%>
60
66
  <%%- if @<%= name %>.last_logout_at.present? -%>
61
67
  <tr>
62
68
  <td><%%= t('activerecord.attributes.<%= name %>.last_logout_at') %></td>
@@ -70,7 +76,7 @@
70
76
  </tr>
71
77
  <%%- end -%>
72
78
  <%- end -%>
73
- <%- if brute_force_protection? -%>
79
+ <%- if options.brute_force_protection? -%>
74
80
  <%%- if @<%= name %>.lock_expires_at.present? -%>
75
81
  <tr>
76
82
  <td><%%= t('activerecord.attributes.<%= name %>.lock_expires_at') %></td>
@@ -6,7 +6,7 @@ de:
6
6
  sign_up: "Benutzerkonto anlegen"
7
7
  header: "Login für interne Benutzer"
8
8
  submit: "Login"
9
- <%- if reset_password? -%>
9
+ <%- if options.reset_password? -%>
10
10
  reset:
11
11
  forgot: "Kennwort vergessen?"
12
12
  header: "Kennwort anfordern"
@@ -34,7 +34,7 @@ de:
34
34
  <%= name %>:
35
35
  one: "Benutzer"
36
36
  other: "Benutzer"
37
- <%- if authorization? -%>
37
+ <%- if options.authorization? -%>
38
38
  role:
39
39
  one: "Rolle"
40
40
  other: "Rollen"
@@ -51,24 +51,27 @@ de:
51
51
  name: "Name"
52
52
  phone: "Telefon"
53
53
  comment: "Bemerkung"
54
- <%- if has_picture? -%>
54
+ <%- if options.picture? -%>
55
55
  picture: "Bild"
56
+ <%- end -%>
57
+ <%- if options.gravatar? -%>
58
+ gravatar: "Gravatar"
56
59
  <%- end -%>
57
60
  theme: "Oberfläche"
58
61
  active: "Aktiv"
59
62
  sysadm: "SysAdmin"
60
63
  password: "Kennwort"
61
64
  password_confirmation: "Kennwort wiederholen"
62
- <%- if remember_me? -%>
65
+ <%- if options.remember_me? -%>
63
66
  remember_me: "Angemeldet bleiben"
64
67
  <%- end -%>
65
- <%- if activity_logging? -%>
68
+ <%- if options.activity_logging? -%>
66
69
  last_login_at: "Letzte Anmeldung"
67
70
  last_logout_at: "Letzte Abmeldung"
68
71
  last_activity_at: "Letzte Aktivität"
69
72
  last_login_from_ip_address: "Letzte IP-Adresse"
70
73
  <%- end -%>
71
- <%- if brute_force_protection? -%>
74
+ <%- if options.brute_force_protection? -%>
72
75
  failed_logins_count: "Fehlversuche Anmeldung"
73
76
  lock_expires_at: "Gesperrt bis"
74
77
  <%- end -%>
@@ -5,7 +5,7 @@ class <%= migration_name.camelize %> < ActiveRecord::Migration
5
5
  t.string :name
6
6
  t.string :phone
7
7
  t.text :comment
8
- <%- if has_picture? -%>
8
+ <%- if options.picture? -%>
9
9
  t.string :picture
10
10
  <%- end -%>
11
11
  t.integer :theme, default: BootswatchRails::DEFAULT
@@ -14,27 +14,27 @@ class <%= migration_name.camelize %> < ActiveRecord::Migration
14
14
 
15
15
  t.string :crypted_password, null: false
16
16
  t.string :salt, null: false
17
- <%- if user_activation? -%>
17
+ <%- if options.user_activation? -%>
18
18
  t.string :activation_state, default: nil
19
19
  t.string :activation_token, default: nil
20
20
  t.datetime :activation_token_expires_at, default: nil
21
21
  <%- end -%>
22
- <%- if reset_password? -%>
22
+ <%- if options.reset_password? -%>
23
23
  t.string :reset_password_token, default: nil
24
24
  t.datetime :reset_password_token_expires_at, default: nil
25
25
  t.datetime :reset_password_email_sent_at, default: nil
26
26
  <%- end -%>
27
- <%- if remember_me? -%>
27
+ <%- if options.remember_me? -%>
28
28
  t.boolean :remember_me
29
29
  t.string :remember_me_token, default: nil
30
30
  t.datetime :remember_me_token_expires_at, default: nil
31
31
  <%- end -%>
32
- <%- if brute_force_protection? -%>
32
+ <%- if options.brute_force_protection? -%>
33
33
  t.integer :failed_logins_count, default: 0
34
34
  t.datetime :lock_expires_at, default: nil
35
35
  t.string :unlock_token, default: nil
36
36
  <%- end -%>
37
- <%- if activity_logging? -%>
37
+ <%- if options.activity_logging? -%>
38
38
  t.datetime :last_login_at, default: nil
39
39
  t.datetime :last_logout_at, default: nil
40
40
  t.datetime :last_activity_at, default: nil
@@ -46,19 +46,19 @@ class <%= migration_name.camelize %> < ActiveRecord::Migration
46
46
 
47
47
  add_index :<%= table_name %>, :email, unique: true
48
48
  add_index :<%= table_name %>, :sysadm
49
- <%- if user_activation? -%>
49
+ <%- if options.user_activation? -%>
50
50
  add_index :<%= table_name %>, :activation_token
51
51
  <%- end -%>
52
- <%- if reset_password? -%>
52
+ <%- if options.reset_password? -%>
53
53
  add_index :<%= table_name %>, :reset_password_token
54
54
  <%- end -%>
55
- <%- if remember_me? -%>
55
+ <%- if options.remember_me? -%>
56
56
  add_index :<%= table_name %>, :remember_me_token
57
57
  <%- end -%>
58
- <%- if brute_force_protection? -%>
58
+ <%- if options.brute_force_protection? -%>
59
59
  add_index :<%= table_name %>, :unlock_token
60
60
  <%- end -%>
61
- <%- if activity_logging? -%>
61
+ <%- if options.activity_logging? -%>
62
62
  add_index :<%= table_name %>, [:last_logout_at, :last_activity_at]
63
63
  <%- end -%>
64
64
  end
@@ -10,7 +10,7 @@ class <%= class_name %> < ActiveRecord::Base
10
10
  has_many :roles, through: :assignments
11
11
  has_many :abilities, through: :roles
12
12
 
13
- <%- if has_picture? -%>
13
+ <%- if options.picture? -%>
14
14
  mount_uploader :picture, PictureUploader
15
15
 
16
16
  <%- end -%>
@@ -56,14 +56,14 @@ class <%= controller_name.camelize %> < ApplicationController
56
56
  # GET /<%= table_name %>/log_in
57
57
  def log_in
58
58
  @<%= name %> = <%= class_name %>.new
59
- render layout: '<%= layout %>'
59
+ render layout: '<%= options.layout %>'
60
60
  end
61
61
 
62
62
  # POST /<%= table_name %>/access
63
63
  def access
64
64
  @<%= name %> = <%= class_name %>.find_by email: params[:<%= name %>][:email]
65
65
  if @<%= name %>.present? and @<%= name %>.active
66
- <%- if remember_me? -%>
66
+ <%- if options.remember_me? -%>
67
67
  @<%= name %> = login(params[:<%= name %>][:email], params[:<%= name %>][:password], params[:<%= name %>][:remember_me])
68
68
  <%- else -%>
69
69
  @<%= name %> = login(params[:<%= name %>][:email], params[:<%= name %>][:password])
@@ -77,12 +77,12 @@ class <%= controller_name.camelize %> < ApplicationController
77
77
  redirect_to log_in_users_path, alert: t('sorcery.failed')
78
78
  end
79
79
  end
80
- <%- if reset_password? -%>
80
+ <%- if options.reset_password? -%>
81
81
 
82
82
  # GET /<%= table_name %>/password
83
83
  def password
84
84
  @<%= name %> = <%= class_name %>.new
85
- render layout: '<%= layout %>'
85
+ render layout: '<%= options.layout %>'
86
86
  end
87
87
 
88
88
  # POST /<%= table_name %>/reset
@@ -104,7 +104,7 @@ class <%= controller_name.camelize %> < ApplicationController
104
104
  not_authenticated
105
105
  return
106
106
  end
107
- render layout: '<%= layout %>'
107
+ render layout: '<%= options.layout %>'
108
108
  end
109
109
 
110
110
  # PATCH/PUT /<%= table_name %>/token/refresh
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.2.0.33
4
+ version: 3.2.0.34
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-10-21 00:00:00.000000000 Z
11
+ date: 2014-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -129,6 +129,7 @@ files:
129
129
  - lib/generators/bootswatch_rails/sorcery/templates/assignment_model.rb
130
130
  - lib/generators/bootswatch_rails/sorcery/templates/change.html.erb
131
131
  - lib/generators/bootswatch_rails/sorcery/templates/edit.html.erb
132
+ - lib/generators/bootswatch_rails/sorcery/templates/gravatar_helper.rb
132
133
  - lib/generators/bootswatch_rails/sorcery/templates/index.html.erb
133
134
  - lib/generators/bootswatch_rails/sorcery/templates/initializer.rb
134
135
  - lib/generators/bootswatch_rails/sorcery/templates/log_in.html.erb