rails_layout 1.0.1 → 1.0.2

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: 344c355dc7579793e096b4731fcf3180dc013dbc
4
- data.tar.gz: 29a7570f22a064cc3f57084258fc96028dcf4386
3
+ metadata.gz: 2ec2fd9c8fca39ae938cc5fd6eb3914ef830fb55
4
+ data.tar.gz: 13b14a8b96df4b0d2f0345544998035d8fe6461a
5
5
  SHA512:
6
- metadata.gz: 007e63ab70a9d53591ba185a3aa3ebdc00ed04c871f95a67844d1f7fafa3ccea613e68292ebde550c0da2a937cf0b16ae2096087b78d780b1b56d1220e4a0ee1
7
- data.tar.gz: 70406d4f7e327dc175696d05c62c160fdbb37e6d1b5d514e8c2fe46a146998fa3175a0954e2dffbbe9b6750763f61813b0331a20d3696a4146ede52edb122b0b
6
+ metadata.gz: 4d3bac0eadadcb7ae241b09a7bf956bee0c62e5a842efa743421f20c6d1c5d71c6fe8b9ce0d877e4c48629b0e6d90f314d6c1d1531864517ecf57fb3def33f87
7
+ data.tar.gz: d37900378436c04fafc4b55d22eef5e7e16db0a41d20e6b59ffcb42e83c3ed97b5e06742b894780bb52c6dc91b89f6c2ea1671cbe706c06862ef7ea8674d821a
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .DS_Store
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 1.0.2 January 11, 2014
4
+
5
+ * don't include a custom 'name' field in the Devise views (fixes issue #12)
6
+
3
7
  h3. 1.0.1 January 9, 2014
4
8
 
5
9
  * generate Devise views (new account, edit account, forgot password)
@@ -401,9 +401,11 @@ Use the RailsLayout gem to generate Devise views with styling for Bootstrap or F
401
401
  The command will create (or replace) these files:
402
402
 
403
403
  * app/views/devise/sessions/new.html.erb
404
- * (TODO: more to come)
404
+ * app/views/devise/passwords/new.html.erb
405
+ * app/views/devise/registrations/edit.html.erb
406
+ * app/views/devise/registrations/new.html.erb
405
407
 
406
- Additionally, the command will append Sass mixins to accommodate Bootstrap or Foundation to the file:
408
+ Additionally, the command will update a file to append Sass mixins to accommodate Bootstrap or Foundation:
407
409
 
408
410
  * app/assets/stylesheets/framework_and_overrides.css.scss
409
411
 
@@ -2,10 +2,6 @@
2
2
  <h3>Edit <%= resource_name.to_s.humanize %></h3>
3
3
  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :role => 'form'}) do |f| %>
4
4
  <%= devise_error_messages! %>
5
- <div class="form-group">
6
- <%= f.label :name %>
7
- <%= f.text_field :name, :autofocus => true, class: 'form-control' %>
8
- </div>
9
5
  <div class="form-group">
10
6
  <%= f.label :email %>
11
7
  <%= f.email_field :email, class: 'form-control' %>
@@ -2,10 +2,6 @@
2
2
  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :role => 'form'}) do |f| %>
3
3
  <h3>Sign up</h3>
4
4
  <%= devise_error_messages! %>
5
- <div class="form-group">
6
- <%= f.label :name %>
7
- <%= f.text_field :name, :autofocus => true, class: 'form-control' %>
8
- </div>
9
5
  <div class="form-group">
10
6
  <%= f.label :email %>
11
7
  <%= f.email_field :email, class: 'form-control' %>
@@ -1,3 +1,3 @@
1
1
  module RailsLayout
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-09 00:00:00.000000000 Z
11
+ date: 2014-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,17 +52,13 @@ files:
52
52
  - LICENSE.txt
53
53
  - README.textile
54
54
  - Rakefile
55
- - lib/generators/.DS_Store
56
- - lib/generators/layout/devise/.DS_Store
57
55
  - lib/generators/layout/devise/devise_generator.rb
58
- - lib/generators/layout/devise/templates/.DS_Store
59
56
  - lib/generators/layout/devise/templates/bootstrap3.css.scss
60
57
  - lib/generators/layout/devise/templates/foundation5.css.scss
61
58
  - lib/generators/layout/devise/templates/passwords/new.html.erb
62
59
  - lib/generators/layout/devise/templates/registrations/edit.html.erb
63
60
  - lib/generators/layout/devise/templates/registrations/new.html.erb
64
61
  - lib/generators/layout/devise/templates/sessions/new.html.erb
65
- - lib/generators/layout/install/.DS_Store
66
62
  - lib/generators/layout/install/install_generator.rb
67
63
  - lib/generators/layout/install/templates/application.css.scss
68
64
  - lib/generators/layout/install/templates/application.js
@@ -124,7 +120,6 @@ files:
124
120
  - lib/generators/layout/install/templates/simple-navigation.html.haml
125
121
  - lib/generators/layout/install/templates/simple-navigation.html.slim
126
122
  - lib/generators/layout/install/templates/simple.css
127
- - lib/generators/layout/navigation/.DS_Store
128
123
  - lib/generators/layout/navigation/navigation_generator.rb
129
124
  - lib/generators/layout/navigation/templates/navigation_links.html.erb
130
125
  - lib/rails_layout.rb
Binary file