stage 0.1.6 → 0.1.7

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.
Files changed (3) hide show
  1. data/lib/stage/version.rb +1 -1
  2. data/website/index.txt +2 -2
  3. metadata +1 -1
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 = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.txt CHANGED
@@ -136,7 +136,7 @@ As you can see, there are <model>_<field>_value methods. These are
136
136
  if @action_name == "show"
137
137
  @page.title
138
138
  else
139
- text_field :name => "page[title]"
139
+ text_field :name => "page[title]", :value => @page.title
140
140
  end
141
141
  end
142
142
 
@@ -144,7 +144,7 @@ As you can see, there are <model>_<field>_value methods. These are
144
144
  if @action_name == "show"
145
145
  @page.content
146
146
  else
147
- text_field :name => "page[content]"
147
+ text_field :name => "page[content]", :value => @page.content
148
148
  end
149
149
  end
150
150
  end
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone