lazy-head-gen 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lazy-head-gen.gemspec +1 -1
- data/lib/lazy-head-gen/templates/admin_controller_test.rb.tt +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lazy-head-gen.gemspec
CHANGED
@@ -153,7 +153,7 @@ describe "Admin::<%= @controller if @controller %>Controller" do
|
|
153
153
|
@<%= @singular %>_count = <%= @model %>.count
|
154
154
|
@<%= @singular %>_hash = {}
|
155
155
|
|
156
|
-
key_and_value = get_key_and_value(
|
156
|
+
key_and_value = get_key_and_value(@<%= @singular %>)
|
157
157
|
if key_and_value[0] and key_and_value[1]
|
158
158
|
@key = key_and_value[0]
|
159
159
|
@value = key_and_value[1]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy-head-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stuart Chinery
|