bootstrap_form 2.1.1 → 2.2.0

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.
@@ -10,3 +10,10 @@ Rails.backtrace_cleaner.remove_silencers!
10
10
 
11
11
  # Load support files
12
12
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
13
+
14
+ def setup_test_fixture
15
+ @user = User.new(email: 'steve@example.com', password: 'secret', comments: 'my comment')
16
+ @builder = BootstrapForm::FormBuilder.new(:user, @user, self, {})
17
+ @horizontal_builder = BootstrapForm::FormBuilder.new(:user, @user, self, { layout: :horizontal, label_col: "col-sm-2", control_col: "col-sm-10" })
18
+ I18n.backend.store_translations(:en, {activerecord: {help: {user: {password: "A good password should be at least six characters long"}}}})
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Potenza
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-20 00:00:00.000000000 Z
12
+ date: 2014-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -72,7 +72,13 @@ files:
72
72
  - lib/bootstrap_form/helpers/bootstrap.rb
73
73
  - lib/bootstrap_form/helpers/nested_form.rb
74
74
  - lib/bootstrap_form/version.rb
75
+ - test/bootstrap_checkbox_test.rb
76
+ - test/bootstrap_fields_test.rb
77
+ - test/bootstrap_form_group_test.rb
75
78
  - test/bootstrap_form_test.rb
79
+ - test/bootstrap_other_components_test.rb
80
+ - test/bootstrap_radio_button_test.rb
81
+ - test/bootstrap_selects_test.rb
76
82
  - test/dummy/Gemfile
77
83
  - test/dummy/Gemfile.lock
78
84
  - test/dummy/README.rdoc
@@ -111,7 +117,6 @@ files:
111
117
  - test/dummy/db/schema.rb
112
118
  - test/dummy/db/seeds.rb
113
119
  - test/dummy/db/test.sqlite3
114
- - test/dummy/log/development.log
115
120
  - test/dummy/log/test.log
116
121
  - test/dummy/public/404.html
117
122
  - test/dummy/public/422.html
@@ -149,7 +154,13 @@ specification_version: 4
149
154
  summary: Rails form builder that makes it easy to style forms using Twitter Bootstrap
150
155
  3+
151
156
  test_files:
157
+ - test/bootstrap_checkbox_test.rb
158
+ - test/bootstrap_fields_test.rb
159
+ - test/bootstrap_form_group_test.rb
152
160
  - test/bootstrap_form_test.rb
161
+ - test/bootstrap_other_components_test.rb
162
+ - test/bootstrap_radio_button_test.rb
163
+ - test/bootstrap_selects_test.rb
153
164
  - test/dummy/app/assets/javascripts/application.js
154
165
  - test/dummy/app/assets/stylesheets/application.css
155
166
  - test/dummy/app/controllers/application_controller.rb
@@ -186,7 +197,6 @@ test_files:
186
197
  - test/dummy/db/test.sqlite3
187
198
  - test/dummy/Gemfile
188
199
  - test/dummy/Gemfile.lock
189
- - test/dummy/log/development.log
190
200
  - test/dummy/log/test.log
191
201
  - test/dummy/public/404.html
192
202
  - test/dummy/public/422.html
File without changes