formtastic 1.1.0.beta → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +15 -3
- data/generators/formtastic/templates/formtastic.rb +2 -1
- metadata +6 -9
data/README.textile
CHANGED
@@ -81,13 +81,25 @@ h2. A Note About Rails 3 Support
|
|
81
81
|
|
82
82
|
Formtastic 1.0 only supports the latest stable Rails 2.x. We're maintaining a rails3 branch which aims to provide both Rails 2.x and 3.x support, which is targeted for the 1.1 release around the same time Rails 3.0 final ships.
|
83
83
|
|
84
|
-
|
84
|
+
A 1.1.0.beta gem is now available on RubyGems.org, so install that with the --pre option:
|
85
85
|
|
86
86
|
<pre>
|
87
|
-
gem
|
87
|
+
gem install formtastic --pre
|
88
88
|
</pre>
|
89
89
|
|
90
|
-
|
90
|
+
Or bundle it in your Gemfile:
|
91
|
+
|
92
|
+
<pre>
|
93
|
+
gem 'formtastic', '1.1.0.beta'
|
94
|
+
</pre>
|
95
|
+
|
96
|
+
You can also live on the edge and track our rails3 branch in your Gemfile with the :git and :branch options:
|
97
|
+
|
98
|
+
<pre>
|
99
|
+
gem 'formtastic', :git => "git://github.com/justinfrench/formtastic.git", :branch => "rails3"
|
100
|
+
</pre>
|
101
|
+
|
102
|
+
Please be aware that Rails 3 is still under heavy development (even in the RCs), as is Formtastic, so our beta gems and the rails3 branch is very much "on the edge", just like Rails. If you find compatibility issues with Rails 2 or 3, please report them on Github.
|
91
103
|
|
92
104
|
|
93
105
|
h2. Installation under Rails 2.x
|
@@ -5,7 +5,8 @@
|
|
5
5
|
# Formtastic::SemanticFormBuilder.default_text_area_height = 5
|
6
6
|
|
7
7
|
# Should all fields be considered "required" by default?
|
8
|
-
#
|
8
|
+
# Rails 2 only, ignored by Rails 3 because it will never fall back to this default.
|
9
|
+
# Defaults to true.
|
9
10
|
# Formtastic::SemanticFormBuilder.all_fields_required_by_default = true
|
10
11
|
|
11
12
|
# Should select fields have a blank option/prompt by default?
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formtastic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
|
10
|
-
version: 1.1.0.beta
|
9
|
+
version: 1.1.0
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Justin French
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-08
|
17
|
+
date: 2010-09-08 00:00:00 +10:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -172,13 +171,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
171
|
version: "0"
|
173
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
173
|
requirements:
|
175
|
-
- - "
|
174
|
+
- - ">="
|
176
175
|
- !ruby/object:Gem::Version
|
177
176
|
segments:
|
178
|
-
-
|
179
|
-
|
180
|
-
- 1
|
181
|
-
version: 1.3.1
|
177
|
+
- 0
|
178
|
+
version: "0"
|
182
179
|
requirements: []
|
183
180
|
|
184
181
|
rubyforge_project:
|