formtastic-bootstrap 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -102,7 +102,7 @@ made to generate the HTML expected by Bootstrap while still generating the rich
102
102
 
103
103
  Bootstrap is somewhat incomplete, and in a few cases an inference needed to be drawn to determine a course of action. If you disagree with any of these choices, feel free to let me know.
104
104
 
105
- (At some point, this gem may also provide some additional CSS to cover cases left unaddressed by Bootstrap, but its obvious what should be done. That's not going to happen any time soon though!)
105
+ The gem also provides some "shim" CSS where Bootstrap is missing styles provided Formtastic.
106
106
 
107
107
  ### Other
108
108
 
@@ -139,7 +139,7 @@ If you're filing a bug, thank you! Secondly, in the report please include:
139
139
  * Fork the project
140
140
  * Start a feature/bugfix branch
141
141
  * Commit and push until you are happy with your contribution
142
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
142
+ * Make sure to add tests for it and to run the test suite. **If you don't have tests, I won't accept the pull.** If you need help with this, please ask.
143
143
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
144
144
 
145
145
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "formtastic-bootstrap"
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matthew Bellantoni"]
12
- s.date = "2011-12-01"
12
+ s.date = "2011-12-08"
13
13
  s.description = "Formtastic form builder to generate Twitter Bootstrap-friendly markup."
14
14
  s.email = "mjbellantoni@yahoo.com"
15
15
  s.extra_rdoc_files = [
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  "formtastic-bootstrap.gemspec",
29
29
  "lib/action_view/helpers/text_field_date_helper.rb",
30
30
  "lib/formtastic-bootstrap.rb",
31
+ "lib/formtastic-bootstrap/engine.rb",
31
32
  "lib/formtastic-bootstrap/form_builder.rb",
32
33
  "lib/formtastic-bootstrap/helpers.rb",
33
34
  "lib/formtastic-bootstrap/helpers/buttons_helper.rb",
@@ -88,7 +89,8 @@ Gem::Specification.new do |s|
88
89
  "spec/spec_helper.rb",
89
90
  "spec/support/custom_macros.rb",
90
91
  "spec/support/depracation.rb",
91
- "spec/support/formtastic_spec_helper.rb"
92
+ "spec/support/formtastic_spec_helper.rb",
93
+ "vendor/assets/stylesheets/formtastic-bootstrap.css"
92
94
  ]
93
95
  s.homepage = "http://github.com/mjbellantoni/formtastic-bootstrap"
94
96
  s.licenses = ["MIT"]
@@ -1,4 +1,5 @@
1
1
  require "formtastic"
2
+ require "formtastic-bootstrap/engine" if defined?(::Rails) # For tests
2
3
  require "formtastic-bootstrap/helpers"
3
4
  require "formtastic-bootstrap/inputs"
4
5
  require "formtastic-bootstrap/form_builder"
@@ -0,0 +1,4 @@
1
+ module FormtasticBootstrap
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ .hidden {
2
+ display: none;
3
+ }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: formtastic-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.2
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matthew Bellantoni
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-12-01 00:00:00 Z
13
+ date: 2011-12-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: formtastic
@@ -110,6 +110,7 @@ files:
110
110
  - formtastic-bootstrap.gemspec
111
111
  - lib/action_view/helpers/text_field_date_helper.rb
112
112
  - lib/formtastic-bootstrap.rb
113
+ - lib/formtastic-bootstrap/engine.rb
113
114
  - lib/formtastic-bootstrap/form_builder.rb
114
115
  - lib/formtastic-bootstrap/helpers.rb
115
116
  - lib/formtastic-bootstrap/helpers/buttons_helper.rb
@@ -171,6 +172,7 @@ files:
171
172
  - spec/support/custom_macros.rb
172
173
  - spec/support/depracation.rb
173
174
  - spec/support/formtastic_spec_helper.rb
175
+ - vendor/assets/stylesheets/formtastic-bootstrap.css
174
176
  homepage: http://github.com/mjbellantoni/formtastic-bootstrap
175
177
  licenses:
176
178
  - MIT
@@ -184,7 +186,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
186
  requirements:
185
187
  - - ">="
186
188
  - !ruby/object:Gem::Version
187
- hash: 3880003414607105780
189
+ hash: 590107616495540574
188
190
  segments:
189
191
  - 0
190
192
  version: "0"