bootstrap_forms 1.0.5 → 2.0.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.
Files changed (58) hide show
  1. data/.gitignore +3 -0
  2. data/.travis.yml +4 -0
  3. data/Guardfile +7 -0
  4. data/Rakefile +18 -1
  5. data/bootstrap_forms.gemspec +8 -1
  6. data/lib/bootstrap_forms.rb +9 -1
  7. data/lib/bootstrap_forms/engine.rb +12 -2
  8. data/lib/bootstrap_forms/form_builder.rb +28 -84
  9. data/lib/bootstrap_forms/helpers.rb +7 -0
  10. data/lib/bootstrap_forms/{initializer.rb → helpers/form_helper.rb} +7 -9
  11. data/lib/bootstrap_forms/helpers/form_tag_helper.rb +76 -0
  12. data/lib/bootstrap_forms/helpers/wrappers.rb +92 -0
  13. data/spec/dummy/Rakefile +7 -0
  14. data/spec/dummy/app/assets/javascripts/application.js +5 -0
  15. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  16. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  17. data/spec/dummy/app/controllers/projects_controller.rb +5 -0
  18. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  19. data/spec/dummy/app/helpers/projects_helper.rb +2 -0
  20. data/spec/dummy/app/mailers/.gitkeep +0 -0
  21. data/spec/dummy/app/models/.gitkeep +0 -0
  22. data/spec/dummy/app/models/milestone.rb +3 -0
  23. data/spec/dummy/app/models/project.rb +4 -0
  24. data/spec/dummy/app/models/task.rb +3 -0
  25. data/spec/dummy/app/views/layouts/application.html.erb +11 -0
  26. data/spec/dummy/app/views/projects/new.html.erb +4 -0
  27. data/spec/dummy/config.ru +4 -0
  28. data/spec/dummy/config/application.rb +42 -0
  29. data/spec/dummy/config/boot.rb +10 -0
  30. data/spec/dummy/config/database.yml +25 -0
  31. data/spec/dummy/config/environment.rb +5 -0
  32. data/spec/dummy/config/environments/development.rb +27 -0
  33. data/spec/dummy/config/environments/production.rb +54 -0
  34. data/spec/dummy/config/environments/test.rb +39 -0
  35. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  36. data/spec/dummy/config/initializers/inflections.rb +10 -0
  37. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  38. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  39. data/spec/dummy/config/initializers/session_store.rb +8 -0
  40. data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
  41. data/spec/dummy/config/locales/en.yml +5 -0
  42. data/spec/dummy/config/routes.rb +59 -0
  43. data/spec/dummy/db/development.sqlite3 +0 -0
  44. data/spec/dummy/db/migrate/20110710143903_initial_tables.rb +23 -0
  45. data/spec/dummy/db/schema.rb +29 -0
  46. data/spec/dummy/db/test.sqlite3 +0 -0
  47. data/spec/dummy/log/development.log +0 -0
  48. data/spec/dummy/public/404.html +26 -0
  49. data/spec/dummy/public/422.html +26 -0
  50. data/spec/dummy/public/500.html +26 -0
  51. data/spec/dummy/public/favicon.ico +0 -0
  52. data/spec/dummy/script/rails +6 -0
  53. data/spec/dummy/test/functional/projects_controller_test.rb +7 -0
  54. data/spec/dummy/test/unit/helpers/projects_helper_test.rb +4 -0
  55. data/spec/dummy/tmp/cache/.gitkeep +0 -0
  56. data/spec/lib/bootstrap_forms/form_builder_spec.rb +180 -0
  57. data/spec/spec_helper.rb +20 -0
  58. metadata +198 -6
@@ -0,0 +1,29 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended to check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(:version => 20110710143903) do
14
+
15
+ create_table "milestones", :force => true do |t|
16
+ t.integer "task_id"
17
+ t.string "name"
18
+ end
19
+
20
+ create_table "projects", :force => true do |t|
21
+ t.string "name"
22
+ end
23
+
24
+ create_table "tasks", :force => true do |t|
25
+ t.integer "project_id"
26
+ t.string "name"
27
+ end
28
+
29
+ end
Binary file
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class ProjectsControllerTest < ActionController::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class ProjectsHelperTest < ActionView::TestCase
4
+ end
File without changes
@@ -0,0 +1,180 @@
1
+ require "spec_helper"
2
+
3
+ describe "BootstrapForms::FormBuilder" do
4
+ context "given a setup builder" do
5
+ before(:each) do
6
+ @project = Project.new
7
+ @template = ActionView::Base.new
8
+ @template.output_buffer = ""
9
+ @builder = BootstrapForms::FormBuilder.new(:item, @project, @template, {}, proc {})
10
+ end
11
+
12
+ describe "with no options" do
13
+ describe "error_messages" do
14
+ it "returns empty string without errors" do
15
+ @builder.error_messages.should == ""
16
+ end
17
+
18
+ context "with errors" do
19
+ before(:each) do
20
+ @project.errors.add("name")
21
+ @result = @builder.error_messages
22
+ end
23
+
24
+ it "is wrapped in error div" do
25
+ @result.should match /^<div class="alert alert-block alert-error validation-errors">.*<\/div>$/
26
+ end
27
+
28
+ it "has a list with errors" do
29
+ @result.should match /<ul><li>Name is invalid<\/li><\/ul>/
30
+ end
31
+
32
+ it "has error title" do
33
+ @result.should match /<h4 class="alert-heading">#{I18n.t('bootstrap_forms.errors.header', :model => Project.model_name.human)}<\/h4>/
34
+ end
35
+
36
+ it "has error message on field" do
37
+ @builder.text_field("name").should == "<div class=\"control-group error\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"help-inline\">Name is invalid</span></div></div>"
38
+ end
39
+
40
+ it "joins passed error message and validation errors with ', '" do
41
+ @builder.text_field("name", :error => 'This is an error!').should == "<div class=\"control-group error\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"help-inline\">This is an error!, Name is invalid</span></div></div>"
42
+ end
43
+ end
44
+ end
45
+
46
+ describe "text_area" do
47
+ before(:each) do
48
+ @result = @builder.text_area "name"
49
+ end
50
+
51
+ it "has textarea input" do
52
+ @result.should match /textarea/
53
+ end
54
+ end
55
+
56
+ describe "check_box" do
57
+ it "generates wrapped input" do
58
+ @builder.check_box("name").should == "<div class=\"control-group\"><div class=\"controls\"><label class=\"checkbox\" for=\"item_name\"><input name=\"item[name]\" type=\"hidden\" value=\"0\" /><input id=\"item_name\" name=\"item[name]\" type=\"checkbox\" value=\"1\" />Name</label></div></div>"
59
+ end
60
+
61
+ it "allows custom label" do
62
+ @builder.check_box("name", :label => "custom label").should match /custom label<\/label>/
63
+ end
64
+ end
65
+
66
+ describe "radio_buttons" do
67
+ it "doesn't use field_options from previously generated field" do
68
+ @builder.text_field :name, :label => 'Heading', :help_inline => 'Inline help', :help_block => 'Block help'
69
+ @builder.radio_buttons(:name, {"One"=>"1", "Two"=>"2"}).should == "<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><label class=\"radio\" for=\"item_name_1\"><input id=\"item_name_1\" name=\"item[name]\" type=\"radio\" value=\"1\" />One</label><label class=\"radio\" for=\"item_name_2\"><input id=\"item_name_2\" name=\"item[name]\" type=\"radio\" value=\"2\" />Two</label></div></div>"
70
+ end
71
+
72
+ it "sets field_options" do
73
+ @builder.radio_buttons(:name, {"One" => "1", "Two" => "2"})
74
+ @builder.instance_variable_get("@field_options").should == {:error => nil}
75
+ end
76
+
77
+ it "generates wrapped input" do
78
+ @builder.radio_buttons(:name, {"One" => "1", "Two" => "2"}).should == "<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><label class=\"radio\" for=\"item_name_1\"><input id=\"item_name_1\" name=\"item[name]\" type=\"radio\" value=\"1\" />One</label><label class=\"radio\" for=\"item_name_2\"><input id=\"item_name_2\" name=\"item[name]\" type=\"radio\" value=\"2\" />Two</label></div></div>"
79
+ end
80
+
81
+ it "allows custom label" do
82
+ @builder.radio_buttons(:name, {"One" => "1", "Two" => "2"}, {:label => "custom label"}).should match /custom label<\/label>/
83
+ end
84
+ end
85
+
86
+ (%w{email file number password range search text url }.map{|field| ["#{field}_field",field]} + [["telephone_field", "tel"], ["phone_field", "tel"]]).each do |field, type|
87
+ describe "#{field}" do
88
+ context "result" do
89
+ before(:each) do
90
+ @result = @builder.send(field, "name")
91
+ end
92
+
93
+ it "is wrapped" do
94
+ @result.should match /^<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name<\/label><div class=\"controls\">.*<\/div><\/div>$/
95
+ end
96
+
97
+ it "has an input of type: #{type}" do
98
+ @result.should match /<input.*type=["#{type}"]/
99
+ end
100
+ end # result
101
+
102
+ context "call expectations" do
103
+ %w(control_group_div label_field input_div extras).map(&:to_sym).each do |method|
104
+ it "calls #{method}" do
105
+ @builder.should_receive(method).and_return("")
106
+ end
107
+ end
108
+
109
+ after(:each) do
110
+ @builder.send(field, "name")
111
+ end
112
+ end # call expectations
113
+
114
+ end # field
115
+ end # fields
116
+ end # no options
117
+
118
+ describe "extras" do
119
+ context "text_field" do
120
+ it "adds span for inline help" do
121
+ @builder.text_field(:name, :help_inline => 'help me!').should == "<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"help-inline\">help me!</span></div></div>"
122
+ end
123
+
124
+ it "adds help block" do
125
+ @builder.text_field(:name, :help_block => 'help me!').should == "<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><p class=\"help-block\">help me!</p></div></div>"
126
+ end
127
+
128
+ it "adds error message and class" do
129
+ @builder.text_field(:name, :error => 'This is an error!').should == "<div class=\"control-group error\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"help-inline\">This is an error!</span></div></div>"
130
+ end
131
+
132
+ it "adds success message and class" do
133
+ @builder.text_field(:name, :success => 'This checked out OK').should == "<div class=\"control-group success\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"help-inline\">This checked out OK</span></div></div>"
134
+ end
135
+
136
+ it "adds warning message and class" do
137
+ @builder.text_field(:name, :warning => 'Take a look at this...').should == "<div class=\"control-group warning\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"help-inline\">Take a look at this...</span></div></div>"
138
+ end
139
+
140
+ it "prepends passed text" do
141
+ @builder.text_field(:name, :prepend => '@').should == "<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><div class=\"input-prepend\"><span class=\"add-on\">@</span><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /></div></div></div>"
142
+ end
143
+
144
+ it "appends passed text" do
145
+ @builder.text_field(:name, :append => '@').should == "<div class=\"control-group\"><label class=\"control-label\" for=\"item_name\">Name</label><div class=\"controls\"><div class=\"input-append\"><input id=\"item_name\" name=\"item[name]\" size=\"30\" type=\"text\" /><span class=\"add-on\">@</span></div></div></div>"
146
+ end
147
+ end
148
+ end # extras
149
+
150
+ describe "form actions" do
151
+ context "actions" do
152
+ it "adds additional block content" do
153
+ @builder.actions do
154
+ @builder.submit
155
+ end.should == "<div class=\"form-actions\"><input class=\"btn btn-primary\" name=\"commit\" type=\"submit\" value=\"Create Project\" /></div>"
156
+ end
157
+ end
158
+
159
+ context "submit" do
160
+ it "adds btn primary class" do
161
+ @builder.submit.should == "<input class=\"btn btn-primary\" name=\"commit\" type=\"submit\" value=\"Create Project\" />"
162
+ end
163
+ end
164
+
165
+ context "button" do
166
+ it "adds btn primary class" do
167
+ @builder.submit.should == "<input class=\"btn btn-primary\" name=\"commit\" type=\"submit\" value=\"Create Project\" />"
168
+ end
169
+ end
170
+
171
+ context "cancel" do
172
+ it "creates link with correct class" do
173
+ @builder.should_receive(:link_to).with(I18n.t('bootstrap_forms.buttons.cancel'), :back, :class => 'btn cancel').and_return("")
174
+ @builder.cancel
175
+ end
176
+ end
177
+ end # actions
178
+ end # setup builder
179
+
180
+ end
@@ -0,0 +1,20 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper.rb"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
8
+
9
+ require 'rspec/rails'
10
+ require 'capybara/rspec'
11
+
12
+ require File.expand_path(File.join(File.dirname(__FILE__), '../lib/bootstrap_forms'))
13
+
14
+ RSpec.configure do |config|
15
+ config.treat_symbols_as_metadata_keys_with_true_values = true
16
+ config.run_all_when_everything_filtered = true
17
+ config.filter_run :focus
18
+ end
19
+
20
+ Rails.backtrace_cleaner.remove_silencers!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-20 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-04-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec-rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.9.0
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.9.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: capybara
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 1.1.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.1.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 3.2.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 3.2.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: guard-rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: sqlite3
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
14
110
  description: Bootstrap Forms makes Twitter's Bootstrap on Rails easy to use by creating
15
111
  helpful form builders that minimize markup in your views.
16
112
  email: sethvargo@gmail.com
@@ -19,7 +115,10 @@ extensions: []
19
115
  extra_rdoc_files: []
20
116
  files:
21
117
  - .gitignore
118
+ - .rspec
119
+ - .travis.yml
22
120
  - Gemfile
121
+ - Guardfile
23
122
  - LICENSE
24
123
  - README.markdown
25
124
  - Rakefile
@@ -29,7 +128,55 @@ files:
29
128
  - lib/bootstrap_forms.rb
30
129
  - lib/bootstrap_forms/engine.rb
31
130
  - lib/bootstrap_forms/form_builder.rb
32
- - lib/bootstrap_forms/initializer.rb
131
+ - lib/bootstrap_forms/helpers.rb
132
+ - lib/bootstrap_forms/helpers/form_helper.rb
133
+ - lib/bootstrap_forms/helpers/form_tag_helper.rb
134
+ - lib/bootstrap_forms/helpers/wrappers.rb
135
+ - spec/dummy/Rakefile
136
+ - spec/dummy/app/assets/javascripts/application.js
137
+ - spec/dummy/app/assets/stylesheets/application.css
138
+ - spec/dummy/app/controllers/application_controller.rb
139
+ - spec/dummy/app/controllers/projects_controller.rb
140
+ - spec/dummy/app/helpers/application_helper.rb
141
+ - spec/dummy/app/helpers/projects_helper.rb
142
+ - spec/dummy/app/mailers/.gitkeep
143
+ - spec/dummy/app/models/.gitkeep
144
+ - spec/dummy/app/models/milestone.rb
145
+ - spec/dummy/app/models/project.rb
146
+ - spec/dummy/app/models/task.rb
147
+ - spec/dummy/app/views/layouts/application.html.erb
148
+ - spec/dummy/app/views/projects/new.html.erb
149
+ - spec/dummy/config.ru
150
+ - spec/dummy/config/application.rb
151
+ - spec/dummy/config/boot.rb
152
+ - spec/dummy/config/database.yml
153
+ - spec/dummy/config/environment.rb
154
+ - spec/dummy/config/environments/development.rb
155
+ - spec/dummy/config/environments/production.rb
156
+ - spec/dummy/config/environments/test.rb
157
+ - spec/dummy/config/initializers/backtrace_silencers.rb
158
+ - spec/dummy/config/initializers/inflections.rb
159
+ - spec/dummy/config/initializers/mime_types.rb
160
+ - spec/dummy/config/initializers/secret_token.rb
161
+ - spec/dummy/config/initializers/session_store.rb
162
+ - spec/dummy/config/initializers/wrap_parameters.rb
163
+ - spec/dummy/config/locales/en.yml
164
+ - spec/dummy/config/routes.rb
165
+ - spec/dummy/db/development.sqlite3
166
+ - spec/dummy/db/migrate/20110710143903_initial_tables.rb
167
+ - spec/dummy/db/schema.rb
168
+ - spec/dummy/db/test.sqlite3
169
+ - spec/dummy/log/development.log
170
+ - spec/dummy/public/404.html
171
+ - spec/dummy/public/422.html
172
+ - spec/dummy/public/500.html
173
+ - spec/dummy/public/favicon.ico
174
+ - spec/dummy/script/rails
175
+ - spec/dummy/test/functional/projects_controller_test.rb
176
+ - spec/dummy/test/unit/helpers/projects_helper_test.rb
177
+ - spec/dummy/tmp/cache/.gitkeep
178
+ - spec/lib/bootstrap_forms/form_builder_spec.rb
179
+ - spec/spec_helper.rb
33
180
  homepage: https://github.com/sethvargo/bootstrap_forms
34
181
  licenses: []
35
182
  post_install_message:
@@ -50,8 +197,53 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
197
  version: '0'
51
198
  requirements: []
52
199
  rubyforge_project:
53
- rubygems_version: 1.8.15
200
+ rubygems_version: 1.8.21
54
201
  signing_key:
55
202
  specification_version: 3
56
203
  summary: Bootstrap Forms makes Twitter's Bootstrap on Rails easy!
57
- test_files: []
204
+ test_files:
205
+ - spec/dummy/Rakefile
206
+ - spec/dummy/app/assets/javascripts/application.js
207
+ - spec/dummy/app/assets/stylesheets/application.css
208
+ - spec/dummy/app/controllers/application_controller.rb
209
+ - spec/dummy/app/controllers/projects_controller.rb
210
+ - spec/dummy/app/helpers/application_helper.rb
211
+ - spec/dummy/app/helpers/projects_helper.rb
212
+ - spec/dummy/app/mailers/.gitkeep
213
+ - spec/dummy/app/models/.gitkeep
214
+ - spec/dummy/app/models/milestone.rb
215
+ - spec/dummy/app/models/project.rb
216
+ - spec/dummy/app/models/task.rb
217
+ - spec/dummy/app/views/layouts/application.html.erb
218
+ - spec/dummy/app/views/projects/new.html.erb
219
+ - spec/dummy/config.ru
220
+ - spec/dummy/config/application.rb
221
+ - spec/dummy/config/boot.rb
222
+ - spec/dummy/config/database.yml
223
+ - spec/dummy/config/environment.rb
224
+ - spec/dummy/config/environments/development.rb
225
+ - spec/dummy/config/environments/production.rb
226
+ - spec/dummy/config/environments/test.rb
227
+ - spec/dummy/config/initializers/backtrace_silencers.rb
228
+ - spec/dummy/config/initializers/inflections.rb
229
+ - spec/dummy/config/initializers/mime_types.rb
230
+ - spec/dummy/config/initializers/secret_token.rb
231
+ - spec/dummy/config/initializers/session_store.rb
232
+ - spec/dummy/config/initializers/wrap_parameters.rb
233
+ - spec/dummy/config/locales/en.yml
234
+ - spec/dummy/config/routes.rb
235
+ - spec/dummy/db/development.sqlite3
236
+ - spec/dummy/db/migrate/20110710143903_initial_tables.rb
237
+ - spec/dummy/db/schema.rb
238
+ - spec/dummy/db/test.sqlite3
239
+ - spec/dummy/log/development.log
240
+ - spec/dummy/public/404.html
241
+ - spec/dummy/public/422.html
242
+ - spec/dummy/public/500.html
243
+ - spec/dummy/public/favicon.ico
244
+ - spec/dummy/script/rails
245
+ - spec/dummy/test/functional/projects_controller_test.rb
246
+ - spec/dummy/test/unit/helpers/projects_helper_test.rb
247
+ - spec/dummy/tmp/cache/.gitkeep
248
+ - spec/lib/bootstrap_forms/form_builder_spec.rb
249
+ - spec/spec_helper.rb