twitter-bootstrap-markup-rails 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CONTRIBUTORS.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Contributors
2
2
 
3
- Daniel Jabbour, https://github.com/djabbour
4
- Carlos Vilhena, https://github.com/carvil
5
- Cristian Bica, https://github.com/cristianbica
6
- Ryan Feng, https://github.com/rfeng
3
+ Daniel Jabbour, https://github.com/djabbour
4
+ Carlos Vilhena, https://github.com/carvil
5
+ Cristian Bica, https://github.com/cristianbica
6
+ Ryan Feng, https://github.com/rfeng
7
+ Kai Schlichting, https://github.com/lacco
data/Gemfile CHANGED
@@ -2,3 +2,14 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in bootstrap-rails.gemspec
4
4
  gemspec
5
+
6
+ group :development do
7
+ gem "rails"
8
+ gem "rspec-rails"
9
+ gem "rspec_tag_matchers"
10
+ gem "rake"
11
+ gem "yard"
12
+ gem "redcarpet"
13
+ gem "yard-tomdoc"
14
+ gem "simple-navigation"
15
+ end
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <table>
4
4
  <tr>
5
5
  <th>Version</th>
6
- <td>v0.3.1</td>
6
+ <td>v0.3.2</td>
7
7
  </tr>
8
8
  <tr>
9
9
  <th>Build Status</th>
@@ -26,7 +26,9 @@ This gem focuses on making it easier to use Twitter's Bootstrap 2.0. It's a coll
26
26
 
27
27
  Add to your `Gemfile`:
28
28
 
29
- gem 'twitter-bootstrap-markup-rails', '0.3.1'
29
+ ```ruby
30
+ gem 'twitter-bootstrap-markup-rails', '0.3.2'
31
+ ```
30
32
 
31
33
  ## Currently Supported
32
34
 
@@ -45,141 +47,163 @@ Documentation is available on [RubyDoc](http://rubydoc.info/github/pusewicz/twit
45
47
  Examples
46
48
  ---
47
49
 
48
- Render Alert in your view:
50
+ ### Rendering Alert
49
51
 
50
- bootstrap_alert_tag("Hello!")
51
- # => '<div class="alert"><a class="close">×</a>Hello!</div>'
52
+ ```ruby
53
+ bootstrap_alert_tag("Hello!")
54
+ # => '<div class="alert"><a class="close">×</a>Hello!</div>'
55
+ ```
52
56
 
53
- Render Info Block Alert in your view:
57
+ ### Rendering Info Block Alert
54
58
 
55
- bootstrap_alert_info_block_tag("Hello!")
56
- # => '<div class="alert alert-block alert-info"><a class="close">×</a>Hello!</div>'
59
+ ```ruby
60
+ bootstrap_alert_info_block_tag("Hello!")
61
+ # => '<div class="alert alert-block alert-info"><a class="close">×</a>Hello!</div>'
62
+ ```
57
63
 
58
64
  Same with basic helper:
59
65
 
60
- bootstrap_alert_tag("Hello!", :block => true, :type => "info")
61
- # => '<div class="alert alert-block alert-info"><a class="close">×</a>Hello!</div>'
66
+ ```ruby
67
+ bootstrap_alert_tag("Hello!", :block => true, :type => "info")
68
+ # => '<div class="alert alert-block alert-info"><a class="close">×</a>Hello!</div>'
69
+ ```
62
70
 
63
71
  Add Alert heading:
64
72
 
65
- bootstrap_alert_tag("Hello!", :heading => "Hola!")
66
- # => '<div class="alert"><a class="close">×</a><strong>Hola!</strong>Hello!</div>'
73
+ ```ruby
74
+ bootstrap_alert_tag("Hello!", :heading => "Hola!")
75
+ # => '<div class="alert"><a class="close">×</a><strong>Hola!</strong>Hello!</div>'
76
+ ```
67
77
 
68
- Notice Inline Label:
78
+ ### Notice Inline Label
69
79
 
70
- bootstrap_inline_label_notice_tag("Info")
71
- # => '<span class="label notice">Info</span>'
80
+ ```ruby
81
+ bootstrap_inline_label_notice_tag("Info")
82
+ # => '<span class="label notice">Info</span>'
83
+ ```
72
84
 
73
- Buttons:
85
+ ### Buttons
74
86
 
75
- bootstrap_button("Button Text", "#")
76
- # => '<a class="btn" href="#">Button Text</a>'
87
+ ```ruby
88
+ bootstrap_button("Button Text", "#")
89
+ # => '<a class="btn" href="#">Button Text</a>'
90
+ ```
77
91
 
78
- Dropdown Buttons:
92
+ ### Dropdown Buttons
79
93
 
80
- ```
94
+ ```ruby
81
95
  bootstrap_button_dropdown do |b|
82
96
  b.bootstrap_button "Button Title", "#"
83
97
  b.link_to "First Dropdown Item", @item
84
98
  b.link_to "Second Dropdown Item", @item2
85
99
  end
86
- # => '<div class="btn-group">
87
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
88
- Button Title
89
- <span class="caret"></span>
90
- </a>
91
- <ul class="dropdown-menu">
92
- <!-- dropdown menu links -->
93
- </ul>
94
- </div>'
100
+ # => '<div class="btn-group">
101
+ # <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
102
+ # Button Title
103
+ # <span class="caret"></span>
104
+ # </a>
105
+ # <ul class="dropdown-menu">
106
+ # <!-- dropdown menu links -->
107
+ # </ul>
108
+ # </div>'
95
109
  ```
96
110
 
97
- Navigation lists:
98
-
99
- Basic tabs example:
100
-
101
- bootstrap_navigation do |nav|
102
- nav.link_to "Nav1", "/link1", :active_nav => true
103
- nav.link_to "Nav2", "/link2"
104
- end
105
- # => <ul class="nav nav-tabs">
106
- <li class="active">
107
- <a href="/link1">Nav1</a>
108
- </li>
109
- <li>
110
- <a href="/link2">Nav2</a>
111
- </li>
112
- </ul>
113
-
114
- Basic pills example:
115
-
116
- bootstrap_navigation(:type => "pills") do |nav|
117
- nav.link_to "Nav1", "/link1"
118
- nav.link_to "Nav2", "/link2", :active_nav => true
119
- end
120
- # => <ul class="nav nav-pills">
121
- <li>
122
- <a href="/link1">Nav1</a>
123
- </li>
124
- <li class="active">
125
- <a href="/link2">Nav2</a>
126
- </li>
127
- </ul>
128
-
129
- Stacked tabs example:
130
-
131
- bootstrap_navigation(:type => "tabs", :stacked => true) do |nav|
132
- nav.link_to "Nav1", "/link1", :active_nav => true
133
- nav.link_to "Nav2", "/link2"
134
- end
135
- # => <ul class="nav nav-tabs nav-stacked">
136
- <li class="active">
137
- <a href="/link1">Nav1</a>
138
- </li>
139
- <li>
140
- <a href="/link2">Nav2</a>
141
- </li>
142
- </ul>
143
-
144
- Stacked pills example:
145
-
146
- bootstrap_navigation(:type => "pills", :stacked => true) do |nav|
147
- nav.link_to "Nav1", "/link1"
148
- nav.link_to "Nav2", "/link2", :active_nav => true
149
- end
150
- # => <ul class="nav nav-pills nav-stacked">
151
- <li>
152
- <a href="/link1">Nav1</a>
153
- </li>
154
- <li class="active">
155
- <a href="/link2">Nav2</a>
156
- </li>
157
- </ul>
158
-
159
- Modal popup example:
160
-
161
- bootstrap_modal(dom_id: 'a_dom_id', fade: true, header_title: "I'm a bootstrap modal popup") do |modal|
162
- modal.body do |c|
163
- c.content_tag :div, "the body"
164
- end
165
- modal.footer do |f|
166
- f.bootstrap_button "Save", "/link1", :type => 'btn-primary'
167
- f.bootstrap_button "Cancel", "/link2"
168
- end
169
- end
170
- # => <div class="modal fade" id="a_dom_id">
171
- <div class="modal-header">
172
- <a class="close" data-dismiss="modal">&times</a>
173
- <h3>I'm a bootstrap modal popup</h3>
174
- </div>
175
- <div class="modal-body">
176
- <div>the body</div>
177
- </div>
178
- <div class="modal-footer">
179
- <a class="btn btn-primary" href="/link1">Save</a>
180
- <a class="btn" href="/link2">Cancel</a></div>
181
- </div>
182
- </div>
111
+ ### Navigation lists
112
+
113
+ ### Basic tabs example
114
+
115
+ ```ruby
116
+ bootstrap_navigation do |nav|
117
+ nav.link_to "Nav1", "/link1", :active_nav => true
118
+ nav.link_to "Nav2", "/link2"
119
+ end
120
+ # => '<ul class="nav nav-tabs">
121
+ # <li class="active">
122
+ # <a href="/link1">Nav1</a>
123
+ # </li>
124
+ # <li>
125
+ # <a href="/link2">Nav2</a>
126
+ # </li>
127
+ # </ul>'
128
+ ```
129
+
130
+ ### Basic pills example
131
+
132
+ ```ruby
133
+ bootstrap_navigation(:type => "pills") do |nav|
134
+ nav.link_to "Nav1", "/link1"
135
+ nav.link_to "Nav2", "/link2", :active_nav => true
136
+ end
137
+ # => '<ul class="nav nav-pills">
138
+ # <li>
139
+ # <a href="/link1">Nav1</a>
140
+ # </li>
141
+ # <li class="active">
142
+ # <a href="/link2">Nav2</a>
143
+ # </li>
144
+ # </ul>'
145
+ ```
146
+
147
+ ### Stacked tabs example
148
+
149
+ ```ruby
150
+ bootstrap_navigation(:type => "tabs", :stacked => true) do |nav|
151
+ nav.link_to "Nav1", "/link1", :active_nav => true
152
+ nav.link_to "Nav2", "/link2"
153
+ end
154
+ # => '<ul class="nav nav-tabs nav-stacked">
155
+ # <li class="active">
156
+ # <a href="/link1">Nav1</a>
157
+ # </li>
158
+ # <li>
159
+ # <a href="/link2">Nav2</a>
160
+ # </li>
161
+ # </ul>'
162
+ ```
163
+
164
+ ### Stacked pills example
165
+
166
+ ```ruby
167
+ bootstrap_navigation(:type => "pills", :stacked => true) do |nav|
168
+ nav.link_to "Nav1", "/link1"
169
+ nav.link_to "Nav2", "/link2", :active_nav => true
170
+ end
171
+ # => '<ul class="nav nav-pills nav-stacked">
172
+ # <li>
173
+ # <a href="/link1">Nav1</a>
174
+ # </li>
175
+ # <li class="active">
176
+ # <a href="/link2">Nav2</a>
177
+ # </li>
178
+ # </ul>'
179
+ ```
180
+
181
+ ### Modal popup example
182
+
183
+ ```ruby
184
+ bootstrap_modal(dom_id: 'a_dom_id', fade: true, header_title: "I'm a bootstrap modal popup") do |modal|
185
+ modal.body do |c|
186
+ c.content_tag :div, "the body"
187
+ end
188
+ modal.footer do |f|
189
+ f.bootstrap_button "Save", "/link1", :type => 'btn-primary'
190
+ f.bootstrap_button "Cancel", "/link2"
191
+ end
192
+ end
193
+ # => '<div class="modal fade" id="a_dom_id">
194
+ # <div class="modal-header">
195
+ # <a class="close" data-dismiss="modal">&times</a>
196
+ # <h3>I'm a bootstrap modal popup</h3>
197
+ # </div>
198
+ # <div class="modal-body">
199
+ # <div>the body</div>
200
+ # </div>
201
+ # <div class="modal-footer">
202
+ # <a class="btn btn-primary" href="/link1">Save</a>
203
+ # <a class="btn" href="/link2">Cancel</a></div>
204
+ # </div>
205
+ # </div>'
206
+ ```
183
207
 
184
208
  Plugins
185
209
  ---
@@ -188,7 +212,15 @@ Plugins
188
212
 
189
213
  If you are using `simple-navigation` gem you can use the navigation renderer like this:
190
214
 
191
- render_navigation(level: 1..2, renderer: :bootstrap_topbar_list, expand_all: true)
215
+ In your initializer:
216
+
217
+ ```ruby
218
+ SimpleNavigation.register_renderer :bootstrap_topbar_list => SimpleNavigation::Renderer::BootstrapTopbarList
219
+ ```
220
+
221
+ ```ruby
222
+ render_navigation(level: 1..2, renderer: :bootstrap_topbar_list, expand_all: true)
223
+ ```
192
224
 
193
225
  Contributing
194
226
  ---
@@ -1,17 +1,11 @@
1
1
  module Twitter::Bootstrap::Markup::Rails::Components
2
2
  class Button < Base
3
- attr_reader :text
4
-
5
- def initialize(text, link, options = {})
6
- super
7
- @text = text
8
- @link = link
9
- end
3
+ include ActionView::Helpers::UrlHelper
10
4
 
11
5
  def to_s
12
6
  html_text = ""
13
7
  html_text << build_icon.html_safe << ' ' if options[:icon]
14
- html_text << text
8
+ html_text << (options[:text].respond_to?(:call) ? options[:text].call : options[:text]).to_s
15
9
  html_text << ' ' << build_caret.html_safe if options[:dropdown]
16
10
 
17
11
  output_buffer << content_tag(:a, html_text.html_safe, build_tag_options).html_safe
@@ -21,6 +15,8 @@ module Twitter::Bootstrap::Markup::Rails::Components
21
15
  private
22
16
  def default_options
23
17
  {
18
+ :text => nil,
19
+ :link => "#",
24
20
  :class => "btn",
25
21
  :type => [],
26
22
  :disabled => false,
@@ -35,7 +31,7 @@ module Twitter::Bootstrap::Markup::Rails::Components
35
31
  classes = [options[:class]]
36
32
 
37
33
  if options[:type].is_a?(Array)
38
- classes = classes | options[:type].map{|c| c.to_s}
34
+ classes = classes | options[:type].map { |c| c.to_s }
39
35
  else
40
36
  classes << options[:type]
41
37
  end
@@ -57,10 +53,14 @@ module Twitter::Bootstrap::Markup::Rails::Components
57
53
  end
58
54
 
59
55
  def build_tag_options
60
- ops = {:href => @link, :class => build_class}
56
+ ops = { :href => build_link, :class => build_class }
61
57
  ops[:"data-toggle"] = 'dropdown' if options[:dropdown]
62
58
  ops[:id] = options[:id] if options[:id]
63
59
  ops.reverse_merge(options[:html_options])
64
60
  end
61
+
62
+ def build_link
63
+ url_for(options[:link]) if options[:link].present?
64
+ end
65
65
  end
66
- end
66
+ end
@@ -13,7 +13,7 @@ module Twitter::Bootstrap::Markup::Rails::Components
13
13
  html=''
14
14
  html << build_dropdown
15
15
 
16
- html << content_tag(:ul, :class => 'dropdown-menu') do
16
+ html << content_tag(:ul, build_menu_html_options) do
17
17
  menu = ''
18
18
  @elements.each do |e|
19
19
  menu << content_tag(:li, e.to_s)
@@ -29,7 +29,10 @@ module Twitter::Bootstrap::Markup::Rails::Components
29
29
  private
30
30
  def default_options
31
31
  {
32
- :html_options => {}
32
+ :html_options => {},
33
+ :split => false,
34
+ :button_options => {},
35
+ :menu_html_options => {}
33
36
  }
34
37
  end
35
38
 
@@ -39,13 +42,27 @@ module Twitter::Bootstrap::Markup::Rails::Components
39
42
  classes.join(" ")
40
43
  end
41
44
 
45
+ def build_menu_html_options
46
+ classes = %w(dropdown-menu)
47
+ classes << options[:menu_html_options][:class] if options[:menu_html_options][:class]
48
+
49
+ options[:menu_html_options].merge(:class => classes.join(" "))
50
+ end
51
+
42
52
  def build_dropdown
43
53
  html = ''
44
54
 
45
55
  if @elements.size > 0
46
56
  dropdown = @elements.shift
47
- dropdown.options[:dropdown] = true
57
+ dropdown.options.merge!(options[:button_options])
58
+ dropdown.options[:dropdown] = !options[:split]
59
+
48
60
  html << dropdown.to_s
61
+
62
+ if options[:split]
63
+ caret = Button.new({:dropdown => true}.merge(options[:button_options]))
64
+ html << caret.to_s
65
+ end
49
66
  end
50
67
 
51
68
  html
@@ -20,12 +20,20 @@ module Twitter::Bootstrap::Markup::Rails::Helpers
20
20
  #
21
21
  # bootstrap_button 'Search', '#', :type => 'btn-primary', :icon => 'icon-search'
22
22
  #
23
- def bootstrap_button(text, link, options = {})
24
- Twitter::Bootstrap::Markup::Rails::Components::Button.new(
25
- text,
26
- link,
27
- options
28
- ).to_s
23
+ def bootstrap_button(*args, &block)
24
+ options = args.extract_options!
25
+
26
+ if block_given?
27
+ options[:text] = block
28
+ elsif args.present?
29
+ options[:text] = args.shift
30
+ end
31
+
32
+ if args.present?
33
+ options[:link] = args.shift
34
+ end
35
+
36
+ Twitter::Bootstrap::Markup::Rails::Components::Button.new(options).to_s
29
37
  end
30
38
 
31
39
  # Render a dropdown button
@@ -1,8 +1,6 @@
1
1
  # Renders an ItemContainer as a <ul> element and its containing items as <li> elements.
2
2
  # Prepared to use inside the topbar of Twitter Bootstrap http://twitter.github.com/bootstrap/#navigation
3
3
  #
4
- # Source: https://gist.github.com/1550309
5
- #
6
4
  # Examples
7
5
  #
8
6
  # render_navigation(level: 1..2, renderer: :bootstrap_topbar_list, expand_all: true)
@@ -43,7 +41,9 @@ class SimpleNavigation::Renderer::BootstrapTopbarList < SimpleNavigation::Render
43
41
  if item.url.nil?
44
42
  content_tag('span', item.name, link_options_for(item).except(:method))
45
43
  else
46
- link_to(item.name, item.url, link_options_for(item))
44
+ name = item.name
45
+ name += ' <span class="caret"></span>' if include_sub_navigation?(item)
46
+ link_to(name, item.url, link_options_for(item))
47
47
  end
48
48
  end
49
49
 
@@ -54,6 +54,9 @@ class SimpleNavigation::Renderer::BootstrapTopbarList < SimpleNavigation::Render
54
54
  link_options = item.html_options[:link] || {}
55
55
  opts = special_options.merge(link_options)
56
56
  opts[:class] = [link_options[:class], item.selected_class, dropdown_link_class(item)].flatten.compact.join(' ')
57
+ if include_sub_navigation?(item) && !options[:is_subnavigation]
58
+ opts['data-toggle'] = 'dropdown'
59
+ end
57
60
  opts.delete(:class) if opts[:class].nil? || opts[:class] == ''
58
61
  opts
59
62
  end
@@ -2,7 +2,7 @@ module Twitter
2
2
  module Bootstrap
3
3
  module Markup
4
4
  module Rails
5
- VERSION = "0.3.1"
5
+ VERSION = "0.3.2"
6
6
  end
7
7
  end
8
8
  end
@@ -61,6 +61,16 @@ describe Twitter::Bootstrap::Markup::Rails::Helpers::ButtonHelpers do
61
61
  concat bootstrap_button("Text", "#", :html_options => {:target => "_top"})
62
62
  output_buffer.should have_tag("a[target='_top']")
63
63
  end
64
+
65
+ it "should accept a block instead of text" do
66
+ concat bootstrap_button("#"){"<span class='content'>Text</span>"}
67
+ output_buffer.should have_tag("a span.content")
68
+ end
69
+
70
+ it "should set href to '#' if link is not given" do
71
+ concat bootstrap_button
72
+ output_buffer.should have_tag("a[href='#']")
73
+ end
64
74
  end
65
75
 
66
76
 
@@ -98,5 +108,43 @@ describe Twitter::Bootstrap::Markup::Rails::Helpers::ButtonHelpers do
98
108
 
99
109
  output_buffer.should have_tag('div.btn-group.foo')
100
110
  end
111
+
112
+ it "should build a split dropdown if split=true" do
113
+ build_bootstrap_button_dropdown(:split => true) do |d|
114
+ d.bootstrap_button "Button Text", "#", :class => "foo"
115
+ d.link_to "This", "#"
116
+ end
117
+
118
+ output_buffer.should have_tag('div.btn-group') do |div|
119
+ div.should have_tag('a.foo')
120
+ div.should have_tag('a.dropdown-toggle')
121
+ # Ensure that a.foo and a.dropdown-toggle are two different links
122
+ div.should_not have_tag('a.foo.dropdown-toggle')
123
+ div.should have_tag('ul.dropdown-menu a')
124
+ end
125
+ end
126
+
127
+ it "should pass button_options to its buttons" do
128
+ build_bootstrap_button_dropdown(:split => true, :button_options => {:type => "btn-success"}) do |d|
129
+ d.bootstrap_button "Button Text", "#", :class => "foo"
130
+ d.link_to "This", "#"
131
+ end
132
+
133
+ output_buffer.should have_tag('div.btn-group') do |div|
134
+ div.should have_tag('a.foo.btn-success')
135
+ div.should have_tag('a.dropdown-toggle.btn-success')
136
+ end
137
+ end
138
+
139
+ it "should properly merge menu_html_options" do
140
+ build_bootstrap_button_dropdown(:menu_html_options => {:class => "pull-right"}) do |d|
141
+ d.bootstrap_button "Button Text", "#", :class => "foo"
142
+ d.link_to "This", "#"
143
+ end
144
+
145
+ output_buffer.should have_tag('div.btn-group') do |div|
146
+ div.should have_tag('ul.dropdown-menu.pull-right')
147
+ end
148
+ end
101
149
  end
102
150
  end
@@ -17,14 +17,4 @@ Gem::Specification.new do |gem|
17
17
  gem.platform = Gem::Platform::RUBY
18
18
 
19
19
  gem.add_dependency "railties", "~> 3.0"
20
- gem.add_development_dependency "rails", "~> 3.0"
21
- gem.add_development_dependency "rspec-rails", "~> 2.10"
22
- gem.add_development_dependency "rspec_tag_matchers", ">= 1.0"
23
- gem.add_development_dependency "rake"
24
- gem.add_development_dependency 'yard'
25
- gem.add_development_dependency 'redcarpet'
26
- gem.add_development_dependency 'yard-tomdoc'
27
- gem.add_development_dependency 'simple-navigation'
28
- gem.add_development_dependency RUBY_VERSION =~ /^1\.9/ ? "simplecov" : "rcov"
29
20
  end
30
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootstrap-markup-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-30 00:00:00.000000000 Z
12
+ date: 2012-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -27,150 +27,6 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.0'
30
- - !ruby/object:Gem::Dependency
31
- name: rails
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '3.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: '3.0'
46
- - !ruby/object:Gem::Dependency
47
- name: rspec-rails
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: '2.10'
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: '2.10'
62
- - !ruby/object:Gem::Dependency
63
- name: rspec_tag_matchers
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '1.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: '1.0'
78
- - !ruby/object:Gem::Dependency
79
- name: rake
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: yard
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'
110
- - !ruby/object:Gem::Dependency
111
- name: redcarpet
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: yard-tomdoc
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- - !ruby/object:Gem::Dependency
143
- name: simple-navigation
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- - !ruby/object:Gem::Dependency
159
- name: simplecov
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
30
  description: Ruby on Rails helpers for Bootstrap 2.0 - HTML, CSS, and JS toolkit from
175
31
  Twitter
176
32
  email:
@@ -253,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
109
  version: '0'
254
110
  requirements: []
255
111
  rubyforge_project:
256
- rubygems_version: 1.8.24
112
+ rubygems_version: 1.8.23
257
113
  signing_key:
258
114
  specification_version: 3
259
115
  summary: Ruby on Rails helpers for Bootstrap 2.0 - HTML, CSS, and JS toolkit from