padrino_bootstrap_forms 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/.travis.yml +14 -6
- data/Changes +5 -0
- data/Gemfile +1 -1
- data/README.markdown +7 -9
- data/gemfiles/padrino-0.11 +4 -0
- data/gemfiles/padrino-0.12 +4 -0
- data/gemfiles/padrino-0.13 +4 -0
- data/lib/bootstrap_forms.rb +4 -5
- data/padrino_bootstrap_forms.gemspec +7 -3
- data/spec/app/views/haml/bootstrap_actions_with_block.haml +1 -1
- data/spec/spec_helper.rb +13 -18
- data/spec/support/a_form_field.rb +4 -4
- data/spec/support/form_builder.rb +11 -11
- data/spec/support/form_tag_helpers.rb +9 -9
- metadata +110 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 027f59dbe9d9d280491fd4023a9a903456a3d2e7
|
4
|
+
data.tar.gz: 76fb740f1dc16732b8c2b5b34990f33c7f4ecb40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ece4f839bc79a8f798de09b48c9ee26262692124985e162ee381e8ac46ca11e0bafb78408cff5633269866bc895b637a1cb831fdbfce2c59d676cfcab932075
|
7
|
+
data.tar.gz: 7d57e820abbc1bee2a5fd1c1e4b52f96717944b53b0b0e07f203d2c6598c795a8bebb13cb3dd85f7fd6d370f1aa2e5344438b6dcc5f76b6e6cc016065cb9c70d
|
data/.travis.yml
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.8.7
|
4
|
-
- 1.9.2
|
5
3
|
- 1.9.3
|
4
|
+
- 2.0
|
5
|
+
- 2.1
|
6
|
+
- 2.2
|
7
|
+
- 2.3.0
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
9
|
+
before_install:
|
10
|
+
- gem update bundler
|
11
|
+
|
12
|
+
notifications:
|
13
|
+
email: false
|
14
|
+
|
15
|
+
gemfile:
|
16
|
+
- gemfiles/padrino-0.11
|
17
|
+
- gemfiles/padrino-0.12
|
18
|
+
- gemfiles/padrino-0.13
|
data/Changes
CHANGED
data/Gemfile
CHANGED
data/README.markdown
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
Padrino Bootstrap Forms
|
2
2
|
===============
|
3
3
|
|
4
|
-
[](http://travis-ci.org/sshaw/padrino_bootstrap_forms)
|
5
5
|
|
6
6
|
Padrino Bootstrap Forms is a port of [Seth Vargo's Bootstrap Forms for Rails](http://github.com/sethvargo/bootstrap_forms). Thanks Seth!
|
7
7
|
|
8
|
-
|
8
|
+
It currently renders forms using Bootstrap 2 markup.
|
9
9
|
|
10
10
|
Padrio Version
|
11
11
|
------------------------
|
@@ -18,16 +18,16 @@ Differences Between This & The Rails Version
|
|
18
18
|
* No `bootstrap` namespace for localization
|
19
19
|
* `@builder.error_messages` was removed and the Padrino version is not automatically called when there's an error
|
20
20
|
* Models with required attributes will not have the HTML5 `required` attribute automatically added to their `input`s
|
21
|
-
* The following helpers have been removed, as they are not available in Padrino
|
21
|
+
* The following helpers have been removed, as they are not available in Padrino
|
22
22
|
* `collection_select`
|
23
|
-
* `country_select`
|
23
|
+
* `country_select`
|
24
24
|
* `time_zone_select`
|
25
25
|
* `range_field`
|
26
26
|
* Various other additions made to `bootstrap_forms` after `v3`
|
27
27
|
|
28
28
|
Bootstrap 2.0 Compliant!
|
29
29
|
------------------------
|
30
|
-
A super special thanks to [vincenzor](https://github.com/vincenzor) for updating `bootstrap_forms` to comply with the new methods and features in Twitter Bootstrap 2.0.
|
30
|
+
A super special thanks to [vincenzor](https://github.com/vincenzor) for updating `bootstrap_forms` to comply with the new methods and features in Twitter Bootstrap 2.0.
|
31
31
|
|
32
32
|
Installation
|
33
33
|
------------
|
@@ -35,7 +35,7 @@ Add it to your `Gemfile`:
|
|
35
35
|
|
36
36
|
gem 'padrino_bootstrap_forms', :require => 'bootstrap_forms'
|
37
37
|
|
38
|
-
Don't forget to run the `bundle` command.
|
38
|
+
Don't forget to run the `bundle` command.
|
39
39
|
|
40
40
|
Register it with your application:
|
41
41
|
|
@@ -93,8 +93,6 @@ See description above...
|
|
93
93
|
= f.radio_buttons :published, { "Published" => true, "Unpublished" => false }
|
94
94
|
```
|
95
95
|
|
96
|
-
Ruby 1.8 doesn't guarantee hashes are ordered. If you care, pass in nested arrays or `ActiveSupport::OrderedHash`.
|
97
|
-
|
98
96
|
Uneditable Input
|
99
97
|
----------------
|
100
98
|
Bootstrap Forms adds another helper method that generates the necessary markup for uneditable inputs:
|
@@ -121,7 +119,7 @@ Bootstrap Forms also adds a default actions panel when you call `f.submit`:
|
|
121
119
|
```haml
|
122
120
|
= f.submit
|
123
121
|
```
|
124
|
-
|
122
|
+
|
125
123
|
generates:
|
126
124
|
|
127
125
|
```html
|
data/lib/bootstrap_forms.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
require 'active_support'
|
1
|
+
require 'active_support/core_ext/string/inflections'
|
2
|
+
require 'active_support/core_ext/module/delegation'
|
2
3
|
|
3
4
|
module BootstrapForms
|
4
|
-
|
5
|
-
|
6
|
-
autoload :FormBuilder
|
7
|
-
autoload :Helpers
|
5
|
+
autoload :FormBuilder, 'bootstrap_forms/form_builder'
|
6
|
+
autoload :Helpers, 'bootstrap_forms/helpers'
|
8
7
|
|
9
8
|
def self.registered(app)
|
10
9
|
app.helpers Helpers::FormHelper
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "padrino_bootstrap_forms"
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.1"
|
4
4
|
s.authors = ["Seth Vargo", "Skye Shaw"]
|
5
5
|
s.email = "skye.shaw@gmail.com"
|
6
6
|
s.homepage = "https://github.com/sshaw/padrino_bootstrap_forms"
|
@@ -8,6 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.description = <<-DESC
|
9
9
|
Padrino Bootstrap Forms is a port of Seth Vargo's Bootstrap Forms for Rails.
|
10
10
|
It makes Twitter's Bootstrap on Padrino easy to use by creating helpful form builders that minimize markup in your views.
|
11
|
+
Currently supports Bootstrap 2.
|
11
12
|
DESC
|
12
13
|
s.files = `git ls-files`.split("\n")
|
13
14
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -15,11 +16,14 @@ Gem::Specification.new do |s|
|
|
15
16
|
s.require_paths = ["lib"]
|
16
17
|
|
17
18
|
s.license = "MIT"
|
18
|
-
|
19
|
-
s.add_dependency "
|
19
|
+
# Will only work with 0.11, 0.12 >= 12.6 and 0.13 >= 0.13.2
|
20
|
+
s.add_dependency "padrino", "~> 0.11", "!= 0.12.0", "!= 0.12.1", "!= 0.12.2", "!= 0.12.3", "!= 0.12.4", "!= 0.12.5", "!= 0.13.0", "!= 0.13.1"
|
21
|
+
s.add_dependency "activesupport", "~> 3.1", "< 5"
|
20
22
|
s.add_development_dependency "rake"
|
21
23
|
s.add_development_dependency "slim"
|
24
|
+
s.add_development_dependency "erubis"
|
22
25
|
s.add_development_dependency "haml", "~> 4.0"
|
23
26
|
s.add_development_dependency "rack-test", "~> 0.6.1"
|
24
27
|
s.add_development_dependency "rspec", "~> 2.9"
|
28
|
+
s.add_development_dependency "test_xml", "~> 0.1.7"
|
25
29
|
end
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
= bootstrap_actions do
|
2
2
|
= bootstrap_cancel_tag "No!"
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "padrino"
|
2
2
|
require "padrino-helpers"
|
3
3
|
require "rack/test"
|
4
|
+
require "test_xml/spec"
|
4
5
|
require "bootstrap_forms"
|
5
6
|
require File.dirname(__FILE__) + "/app/app"
|
6
7
|
|
@@ -16,13 +17,7 @@ module SpecHelper
|
|
16
17
|
|
17
18
|
def req(format, view, q = {})
|
18
19
|
get "/#{format}/#{view}", q
|
19
|
-
|
20
|
-
# Only clean what looks like HTML. Makes any errors eaiser to trackdown.
|
21
|
-
body =~ /\A\s*<\w/ ? clean(body) : body
|
22
|
-
end
|
23
|
-
|
24
|
-
def clean(str)
|
25
|
-
str.gsub(/\s{2,}|\n/, "")
|
20
|
+
last_response.body
|
26
21
|
end
|
27
22
|
|
28
23
|
def control_group(klasses = nil)
|
@@ -30,17 +25,17 @@ module SpecHelper
|
|
30
25
|
klasses.unshift "control-group"
|
31
26
|
content_tag(:div, :class => klasses.join(" ")) { yield }
|
32
27
|
end
|
33
|
-
|
28
|
+
|
34
29
|
def controls
|
35
30
|
content_tag(:div, :class => "controls") { yield }
|
36
31
|
end
|
37
|
-
|
32
|
+
|
38
33
|
def build_control_group(name, field, options = {})
|
39
34
|
message = options.keys.find { |k| VALIDATION_STATES.include?(k) }
|
40
35
|
group_css = %w[control-group]
|
41
36
|
group_css << message.to_s if message
|
42
37
|
label_for = nil
|
43
|
-
|
38
|
+
|
44
39
|
if Hash === field
|
45
40
|
type = field.delete(:type) || "text"
|
46
41
|
fname = field.delete(:name) || "item[#{name}]"
|
@@ -62,38 +57,38 @@ module SpecHelper
|
|
62
57
|
|
63
58
|
if options[:prepend]
|
64
59
|
addons << content_tag(:span, options[:prepend], :class => "add-on")
|
65
|
-
addons_css << "input-prepend"
|
60
|
+
addons_css << "input-prepend"
|
66
61
|
end
|
67
62
|
|
68
63
|
addons << field
|
69
64
|
|
70
65
|
if options[:append]
|
71
66
|
addons << content_tag(:span, options[:append], :class => "add-on")
|
72
|
-
addons_css << "input-append"
|
67
|
+
addons_css << "input-append"
|
73
68
|
end
|
74
69
|
|
75
70
|
field = content_tag(:div, addons.html_safe, :class => addons_css.join(" "))
|
76
71
|
end
|
77
|
-
|
72
|
+
|
78
73
|
nodes << field
|
79
74
|
|
80
|
-
if options[:help_inline]
|
81
|
-
nodes << content_tag(:span, options[:help_inline], :class => "help-inline")
|
75
|
+
if options[:help_inline]
|
76
|
+
nodes << content_tag(:span, options[:help_inline], :class => "help-inline")
|
82
77
|
end
|
83
78
|
|
84
79
|
if message
|
85
|
-
nodes << content_tag(:span, options[message], :class => "help-inline")
|
80
|
+
nodes << content_tag(:span, options[message], :class => "help-inline")
|
86
81
|
end
|
87
82
|
|
88
83
|
if options[:help_block]
|
89
|
-
nodes << content_tag(:span, options[:help_block], :class => "help-block")
|
84
|
+
nodes << content_tag(:span, options[:help_block], :class => "help-block")
|
90
85
|
end
|
91
86
|
|
92
87
|
nodes.join("").html_safe
|
93
88
|
end
|
94
89
|
end
|
95
90
|
|
96
|
-
|
91
|
+
expected
|
97
92
|
end
|
98
93
|
end
|
99
94
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
shared_examples_for "a form field" do
|
2
2
|
it "renders the field" do
|
3
|
-
req(format, view).should
|
3
|
+
req(format, view).should equal_xml build_control_group(name, field)
|
4
4
|
end
|
5
|
-
|
5
|
+
|
6
6
|
[:help_inline, :help_block, :prepend, :append, :error, :success, :warning, :info].each do |option|
|
7
7
|
it "renders the field using the :#{option} option" do
|
8
|
-
req(format, "#{view}_with_#{option}").should
|
8
|
+
req(format, "#{view}_with_#{option}").should equal_xml build_control_group(name, field, option => option.to_s.titleize)
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
12
|
it "renders the field using the :prepend, :append, and :help_inline options" do
|
13
|
-
req(format, "#{view}_with_prepend_append_and_help_inline").should
|
13
|
+
req(format, "#{view}_with_prepend_append_and_help_inline").should equal_xml build_control_group(name, field, :prepend => "Prepend", :append => "Append", :help_inline => "Help Inline")
|
14
14
|
end
|
15
15
|
end
|
@@ -41,7 +41,7 @@ shared_examples "form builder" do
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
req(format, "radio_buttons").should
|
44
|
+
req(format, "radio_buttons").should equal_xml html
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -61,7 +61,7 @@ shared_examples "form builder" do
|
|
61
61
|
controls { check_box }
|
62
62
|
end
|
63
63
|
|
64
|
-
req(format, "check_box").should
|
64
|
+
req(format, "check_box").should equal_xml html
|
65
65
|
end
|
66
66
|
|
67
67
|
[:help_block, :help_inline].each do |option|
|
@@ -74,7 +74,7 @@ shared_examples "form builder" do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
req(format, "check_box_with_#{option}").should
|
77
|
+
req(format, "check_box_with_#{option}").should equal_xml html
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
@@ -86,7 +86,7 @@ shared_examples "form builder" do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
req(format, "check_box_with_#{state}").should
|
89
|
+
req(format, "check_box_with_#{state}").should equal_xml html
|
90
90
|
end
|
91
91
|
end
|
92
92
|
end
|
@@ -109,7 +109,7 @@ shared_examples "form builder" do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
-
req(format, "collection_check_boxes").should
|
112
|
+
req(format, "collection_check_boxes").should equal_xml html
|
113
113
|
end
|
114
114
|
|
115
115
|
it "renders the selected field as checked" do
|
@@ -119,17 +119,17 @@ shared_examples "form builder" do
|
|
119
119
|
end
|
120
120
|
end
|
121
121
|
|
122
|
-
req(format, "collection_check_boxes_with_checked").should
|
122
|
+
req(format, "collection_check_boxes_with_checked").should equal_xml html
|
123
123
|
end
|
124
124
|
|
125
125
|
it "renders the field using the :help_block option" do
|
126
126
|
html = control_group do
|
127
127
|
label_tag("Name", :class => "control-label", :for => nil) << controls do
|
128
128
|
check_box("Fofinho", "a") << check_box("Galinho", "b") << content_tag(:span, "Help Block", :class => "help-block")
|
129
|
-
end
|
129
|
+
end
|
130
130
|
end
|
131
131
|
|
132
|
-
req(format, "collection_check_boxes_with_help_block").should
|
132
|
+
req(format, "collection_check_boxes_with_help_block").should equal_xml html
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
@@ -141,7 +141,7 @@ shared_examples "form builder" do
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
|
144
|
-
req(format, "collection_radio_buttons").should
|
144
|
+
req(format, "collection_radio_buttons").should equal_xml html
|
145
145
|
end
|
146
146
|
|
147
147
|
it "renders the selected field as checked" do
|
@@ -151,14 +151,14 @@ shared_examples "form builder" do
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
-
req(format, "collection_radio_buttons_with_checked").should
|
154
|
+
req(format, "collection_radio_buttons_with_checked").should equal_xml html
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
158
158
|
def radio_button(name, value, checked = false)
|
159
159
|
options = { :value => value, :id => "item_name_#{value}"}
|
160
160
|
options[:checked] = "checked" if checked
|
161
|
-
|
161
|
+
|
162
162
|
content_tag(:label, :class => "radio") do
|
163
163
|
radio_button_tag("item[name]", options) << name
|
164
164
|
end
|
@@ -38,27 +38,27 @@ shared_examples "form tag helpers" do
|
|
38
38
|
|
39
39
|
describe "bootstrap_submit_tag" do
|
40
40
|
it "adds btn primary class" do
|
41
|
-
bootstrap_submit_tag.should
|
41
|
+
bootstrap_submit_tag.should equal_xml %|<input class="btn btn-primary" value="Submit" type="submit" />|
|
42
42
|
end
|
43
43
|
|
44
44
|
it "allows for custom classes" do
|
45
|
-
bootstrap_submit_tag(:class => "btn-large btn-success").should
|
45
|
+
bootstrap_submit_tag(:class => "btn-large btn-success").should equal_xml %|<input class="btn-large btn-success" value="Submit" type="submit" />|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
49
|
describe "bootstrap_actions" do
|
50
50
|
it "renders submit and cancel tags by default" do
|
51
|
-
req(format, "bootstrap_actions").should
|
51
|
+
req(format, "bootstrap_actions").should equal_xml %|<div class="form-actions"><input class="btn btn-primary" value="Submit" type="submit" /> <a class="btn cancel" href="javascript:history.go(-1)">Cancel</a></div>|
|
52
52
|
end
|
53
53
|
|
54
54
|
it "renders using content from the provided block" do
|
55
|
-
req(format, "bootstrap_actions_with_block").should
|
55
|
+
req(format, "bootstrap_actions_with_block").should equal_xml %|<div class="form-actions"><a class="btn cancel" href="javascript:history.go(-1)">No!</a></div>|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
59
|
describe "bootstrap_button_tag" do
|
60
60
|
it "adds btn primary class" do
|
61
|
-
bootstrap_submit_tag.should
|
61
|
+
bootstrap_submit_tag.should equal_xml %|<input class="btn btn-primary" value="Submit" type="submit" />|
|
62
62
|
end
|
63
63
|
|
64
64
|
it "allows for custom classes" do
|
@@ -68,19 +68,19 @@ shared_examples "form tag helpers" do
|
|
68
68
|
|
69
69
|
describe "bootstrap_cancel_tag" do
|
70
70
|
it "creates a link with the default href" do
|
71
|
-
bootstrap_cancel_tag.should
|
71
|
+
bootstrap_cancel_tag.should equal_xml %|<a class="btn cancel" href="javascript:history.go(-1)">Cancel</a>|
|
72
72
|
end
|
73
73
|
|
74
74
|
it "creates a link with the given back option" do
|
75
|
-
bootstrap_cancel_tag(:back => "/x").should
|
75
|
+
bootstrap_cancel_tag(:back => "/x").should equal_xml %|<a class="btn cancel" href="/x">Cancel</a>|
|
76
76
|
end
|
77
77
|
|
78
78
|
it "creates a link with the given text" do
|
79
|
-
bootstrap_cancel_tag("Back").should
|
79
|
+
bootstrap_cancel_tag("Back").should equal_xml %|<a class="btn cancel" href="javascript:history.go(-1)">Back</a>|
|
80
80
|
end
|
81
81
|
|
82
82
|
it "creates a link with custom classes" do
|
83
|
-
bootstrap_cancel_tag(:class => "btn-large my-cancel").should
|
83
|
+
bootstrap_cancel_tag(:class => "btn-large my-cancel").should equal_xml %|<a class="btn-large my-cancel" href="javascript:history.go(-1)">Cancel</a>|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino_bootstrap_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Vargo
|
@@ -9,122 +9,208 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: padrino
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0.11'
|
21
|
+
- - "!="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.12.0
|
24
|
+
- - "!="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.12.1
|
27
|
+
- - "!="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.12.2
|
30
|
+
- - "!="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.12.3
|
33
|
+
- - "!="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 0.12.4
|
36
|
+
- - "!="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 0.12.5
|
39
|
+
- - "!="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.13.0
|
42
|
+
- - "!="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.13.1
|
21
45
|
type: :runtime
|
22
46
|
prerelease: false
|
23
47
|
version_requirements: !ruby/object:Gem::Requirement
|
24
48
|
requirements:
|
25
|
-
- - ~>
|
49
|
+
- - "~>"
|
26
50
|
- !ruby/object:Gem::Version
|
27
51
|
version: '0.11'
|
52
|
+
- - "!="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.12.0
|
55
|
+
- - "!="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 0.12.1
|
58
|
+
- - "!="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.12.2
|
61
|
+
- - "!="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.12.3
|
64
|
+
- - "!="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 0.12.4
|
67
|
+
- - "!="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.12.5
|
70
|
+
- - "!="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 0.13.0
|
73
|
+
- - "!="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.13.1
|
28
76
|
- !ruby/object:Gem::Dependency
|
29
77
|
name: activesupport
|
30
78
|
requirement: !ruby/object:Gem::Requirement
|
31
79
|
requirements:
|
32
|
-
- - ~>
|
80
|
+
- - "~>"
|
33
81
|
- !ruby/object:Gem::Version
|
34
82
|
version: '3.1'
|
83
|
+
- - "<"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '5'
|
35
86
|
type: :runtime
|
36
87
|
prerelease: false
|
37
88
|
version_requirements: !ruby/object:Gem::Requirement
|
38
89
|
requirements:
|
39
|
-
- - ~>
|
90
|
+
- - "~>"
|
40
91
|
- !ruby/object:Gem::Version
|
41
92
|
version: '3.1'
|
93
|
+
- - "<"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '5'
|
42
96
|
- !ruby/object:Gem::Dependency
|
43
97
|
name: rake
|
44
98
|
requirement: !ruby/object:Gem::Requirement
|
45
99
|
requirements:
|
46
|
-
- -
|
100
|
+
- - ">="
|
47
101
|
- !ruby/object:Gem::Version
|
48
102
|
version: '0'
|
49
103
|
type: :development
|
50
104
|
prerelease: false
|
51
105
|
version_requirements: !ruby/object:Gem::Requirement
|
52
106
|
requirements:
|
53
|
-
- -
|
107
|
+
- - ">="
|
54
108
|
- !ruby/object:Gem::Version
|
55
109
|
version: '0'
|
56
110
|
- !ruby/object:Gem::Dependency
|
57
111
|
name: slim
|
58
112
|
requirement: !ruby/object:Gem::Requirement
|
59
113
|
requirements:
|
60
|
-
- -
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
type: :development
|
118
|
+
prerelease: false
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: erubis
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
61
129
|
- !ruby/object:Gem::Version
|
62
130
|
version: '0'
|
63
131
|
type: :development
|
64
132
|
prerelease: false
|
65
133
|
version_requirements: !ruby/object:Gem::Requirement
|
66
134
|
requirements:
|
67
|
-
- -
|
135
|
+
- - ">="
|
68
136
|
- !ruby/object:Gem::Version
|
69
137
|
version: '0'
|
70
138
|
- !ruby/object:Gem::Dependency
|
71
139
|
name: haml
|
72
140
|
requirement: !ruby/object:Gem::Requirement
|
73
141
|
requirements:
|
74
|
-
- - ~>
|
142
|
+
- - "~>"
|
75
143
|
- !ruby/object:Gem::Version
|
76
144
|
version: '4.0'
|
77
145
|
type: :development
|
78
146
|
prerelease: false
|
79
147
|
version_requirements: !ruby/object:Gem::Requirement
|
80
148
|
requirements:
|
81
|
-
- - ~>
|
149
|
+
- - "~>"
|
82
150
|
- !ruby/object:Gem::Version
|
83
151
|
version: '4.0'
|
84
152
|
- !ruby/object:Gem::Dependency
|
85
153
|
name: rack-test
|
86
154
|
requirement: !ruby/object:Gem::Requirement
|
87
155
|
requirements:
|
88
|
-
- - ~>
|
156
|
+
- - "~>"
|
89
157
|
- !ruby/object:Gem::Version
|
90
158
|
version: 0.6.1
|
91
159
|
type: :development
|
92
160
|
prerelease: false
|
93
161
|
version_requirements: !ruby/object:Gem::Requirement
|
94
162
|
requirements:
|
95
|
-
- - ~>
|
163
|
+
- - "~>"
|
96
164
|
- !ruby/object:Gem::Version
|
97
165
|
version: 0.6.1
|
98
166
|
- !ruby/object:Gem::Dependency
|
99
167
|
name: rspec
|
100
168
|
requirement: !ruby/object:Gem::Requirement
|
101
169
|
requirements:
|
102
|
-
- - ~>
|
170
|
+
- - "~>"
|
103
171
|
- !ruby/object:Gem::Version
|
104
172
|
version: '2.9'
|
105
173
|
type: :development
|
106
174
|
prerelease: false
|
107
175
|
version_requirements: !ruby/object:Gem::Requirement
|
108
176
|
requirements:
|
109
|
-
- - ~>
|
177
|
+
- - "~>"
|
110
178
|
- !ruby/object:Gem::Version
|
111
179
|
version: '2.9'
|
112
|
-
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: test_xml
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 0.1.7
|
187
|
+
type: :development
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 0.1.7
|
194
|
+
description: " Padrino Bootstrap Forms is a port of Seth Vargo's Bootstrap
|
113
195
|
Forms for Rails.\n It makes Twitter's Bootstrap on Padrino easy to use by
|
114
|
-
creating helpful form builders that minimize markup in your views.\n
|
196
|
+
creating helpful form builders that minimize markup in your views.\n\tCurrently
|
197
|
+
supports Bootstrap 2.\n"
|
115
198
|
email: skye.shaw@gmail.com
|
116
199
|
executables: []
|
117
200
|
extensions: []
|
118
201
|
extra_rdoc_files: []
|
119
202
|
files:
|
120
|
-
- .gitignore
|
121
|
-
- .rspec
|
122
|
-
- .travis.yml
|
203
|
+
- ".gitignore"
|
204
|
+
- ".rspec"
|
205
|
+
- ".travis.yml"
|
123
206
|
- Changes
|
124
207
|
- Gemfile
|
125
208
|
- LICENSE
|
126
209
|
- README.markdown
|
127
210
|
- Rakefile
|
211
|
+
- gemfiles/padrino-0.11
|
212
|
+
- gemfiles/padrino-0.12
|
213
|
+
- gemfiles/padrino-0.13
|
128
214
|
- lib/bootstrap_forms.rb
|
129
215
|
- lib/bootstrap_forms/form_builder.rb
|
130
216
|
- lib/bootstrap_forms/helpers.rb
|
@@ -992,17 +1078,17 @@ require_paths:
|
|
992
1078
|
- lib
|
993
1079
|
required_ruby_version: !ruby/object:Gem::Requirement
|
994
1080
|
requirements:
|
995
|
-
- -
|
1081
|
+
- - ">="
|
996
1082
|
- !ruby/object:Gem::Version
|
997
1083
|
version: '0'
|
998
1084
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
999
1085
|
requirements:
|
1000
|
-
- -
|
1086
|
+
- - ">="
|
1001
1087
|
- !ruby/object:Gem::Version
|
1002
1088
|
version: '0'
|
1003
1089
|
requirements: []
|
1004
1090
|
rubyforge_project:
|
1005
|
-
rubygems_version: 2.
|
1091
|
+
rubygems_version: 2.4.8
|
1006
1092
|
signing_key:
|
1007
1093
|
specification_version: 4
|
1008
1094
|
summary: Padrino Bootstrap Forms makes Twitter's Bootstrap on Padrino easy!
|