stage 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/stage/version.rb CHANGED
@@ -2,7 +2,7 @@ module Stage #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 4
5
+ TINY = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -11,7 +11,7 @@ module Merb
11
11
  <%= " " * counter %> if @action_name == "show"
12
12
  <%= " " * counter %> @<%= resource_name %>.<%= attr.first %>
13
13
  <%= " " * counter %> else
14
- <%= " " * counter %> text_field :name => "<%=resource_name%>[<%= attr.first %>]"
14
+ <%= " " * counter %> text_field :name => "<%=resource_name%>[<%= attr.first %>]", :value => @<%= resource_name %>.<%= attr.first %>
15
15
  <%= " " * counter %> end
16
16
  <%= " " * counter %> end
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone