shoulda_generator 1.3.4 → 1.3.5

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/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 3
2
+ :patch: 2
3
3
  :major: 0
4
4
  :minor: 2
@@ -1,11 +1,9 @@
1
- %h1
2
- = t("Editing")
3
- <%= singular_name.humanize %>
1
+ %h1 Editing <%= singular_name.humanize %>
4
2
 
5
3
  - form_for(@<%= singular_name %>) do |form|
6
4
  = render :partial => 'form', :locals => {:form => form}
7
- %p= form.submit t('update')
5
+ %p= form.submit 'Update'
8
6
 
9
7
  %p
10
- = link_to t('show'), @<%= singular_name %>
11
- = link_to t('back'), <%= plural_name %>_path
8
+ = link_to 'Show', @<%= singular_name %>
9
+ = link_to 'Back', <%= plural_name %>_path
@@ -1,6 +1,4 @@
1
- %h1
2
- = t("Listing")
3
- <%= plural_name.humanize %>
1
+ %h1 Listing <%= plural_name.humanize %>
4
2
 
5
3
  %table
6
4
  %tr
@@ -13,8 +11,8 @@
13
11
  <% for attribute in attributes -%>
14
12
  %td= h <%= singular_name %>.<%= attribute.name %>
15
13
  <% end -%>
16
- %td= link_to t('show'), <%= singular_name %>
17
- %td= link_to t('edit'), edit_<%= singular_name %>_path(<%= singular_name %>)
18
- %td= link_to t('destroy'), <%= singular_name %>, :confirm => t('sure destroy'), :method => :delete
14
+ %td= link_to 'Show', <%= singular_name %>
15
+ %td= link_to 'Edit', edit_<%= singular_name %>_path(<%= singular_name %>)
16
+ %td= link_to 'Destroy', <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete
19
17
 
20
- %p= link_to (t('new') + '<%= singular_name.humanize %>', new_<%= singular_name %>_path)
18
+ %p= link_to 'New <%= singular_name.humanize %>', new_<%= singular_name %>_path
@@ -1,9 +1,7 @@
1
- %h1
2
- = t("New")
3
- <%= singular_name.humanize %>
1
+ %h1 New <%= singular_name.humanize %>
4
2
 
5
3
  - form_for(@<%= singular_name %>) do |form|
6
4
  = render :partial => 'form', :locals => {:form => form}
7
- %p= form.submit t("create")
5
+ %p= form.submit "Create"
8
6
 
9
- %p= link_to t('back'), <%= plural_name %>_path
7
+ %p= link_to 'Back', <%= plural_name %>_path
@@ -5,6 +5,6 @@
5
5
  <% end -%>
6
6
 
7
7
  %p
8
- = link_to t('edit'), edit_<%= singular_name %>_path(@<%= singular_name %>)
8
+ = link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>)
9
9
  |
10
- = link_to t('back'), <%= plural_name %>_path
10
+ = link_to 'Back', <%= plural_name %>_path
metadata CHANGED
@@ -5,13 +5,12 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 4
9
- version: 1.3.4
8
+ - 5
9
+ version: 1.3.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Josh Nichols
13
13
  - Martijn Storck
14
- - Luis Prill Sempere
15
14
  autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
@@ -21,7 +20,7 @@ default_executable:
21
20
  dependencies: []
22
21
 
23
22
  description: Generators which create tests using shoulda
24
- email: ovantu@gmail.com
23
+ email: josh@technicalpickles.com
25
24
  executables: []
26
25
 
27
26
  extensions: []
@@ -84,7 +83,7 @@ files:
84
83
  - test/stolen_from_railties.rb
85
84
  - test/test_helper.rb
86
85
  has_rdoc: true
87
- homepage: http://github.com/LuNiPriSe/shoulda_generator
86
+ homepage: http://github.com/technicalpickles/shoulda_generator
88
87
  licenses: []
89
88
 
90
89
  post_install_message: