twitter-bootstrap-markup-rails 0.3.2.1 → 0.3.2.2
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.
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<table>
|
4
4
|
<tr>
|
5
5
|
<th>Version</th>
|
6
|
-
<td>v0.3.2.
|
6
|
+
<td>v0.3.2.2</td>
|
7
7
|
</tr>
|
8
8
|
<tr>
|
9
9
|
<th>Build Status</th>
|
@@ -27,7 +27,7 @@ This gem focuses on making it easier to use Twitter's Bootstrap 2.0. It's a coll
|
|
27
27
|
Add to your `Gemfile`:
|
28
28
|
|
29
29
|
```ruby
|
30
|
-
gem 'twitter-bootstrap-markup-rails', '0.3.2.
|
30
|
+
gem 'twitter-bootstrap-markup-rails', '0.3.2.2'
|
31
31
|
```
|
32
32
|
|
33
33
|
## Currently Supported
|
data/Rakefile
CHANGED
@@ -2,8 +2,18 @@
|
|
2
2
|
require "bundler/gem_tasks"
|
3
3
|
require 'rspec/core/rake_task'
|
4
4
|
require 'rake/testtask'
|
5
|
-
|
6
|
-
|
5
|
+
|
6
|
+
|
7
|
+
begin
|
8
|
+
require 'yard'
|
9
|
+
require 'yard/rake/yardoc_task'
|
10
|
+
desc 'Generate docs'
|
11
|
+
YARD::Rake::YardocTask.new do |t|
|
12
|
+
t.files = ['lib/**/*.rb']
|
13
|
+
end
|
14
|
+
rescue Exception
|
15
|
+
puts "No yard gem available"
|
16
|
+
end
|
7
17
|
|
8
18
|
task :default => :spec
|
9
19
|
|
@@ -11,22 +21,3 @@ desc 'Test the plugin.'
|
|
11
21
|
RSpec::Core::RakeTask.new('spec') do |t|
|
12
22
|
t.pattern = FileList['spec/**/*_spec.rb']
|
13
23
|
end
|
14
|
-
|
15
|
-
desc 'Generate docs'
|
16
|
-
YARD::Rake::YardocTask.new do |t|
|
17
|
-
t.files = ['lib/**/*.rb']
|
18
|
-
#t.options = ['--plugin', 'yard-tomdoc']
|
19
|
-
end
|
20
|
-
|
21
|
-
if RUBY_VERSION =~ /^1\.9/
|
22
|
-
desc "Code coverage detail"
|
23
|
-
task :simplecov do
|
24
|
-
ENV['COVERAGE'] = "true"
|
25
|
-
Rake::Task['spec'].execute
|
26
|
-
end
|
27
|
-
else
|
28
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
29
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
30
|
-
spec.rcov = true
|
31
|
-
end
|
32
|
-
end
|
@@ -22,7 +22,7 @@ module Twitter::Bootstrap::Markup::Rails::Helpers
|
|
22
22
|
).to_s
|
23
23
|
end
|
24
24
|
|
25
|
-
%w(success warning important notice).each do |type|
|
25
|
+
%w(success warning important notice info inverse).each do |type|
|
26
26
|
module_eval <<-EOF
|
27
27
|
def bootstrap_inline_label_#{type}_tag(message, options = {})
|
28
28
|
bootstrap_inline_label_tag(message, options.merge({ :type => "#{type}" }))
|
@@ -24,7 +24,7 @@ describe Twitter::Bootstrap::Markup::Rails::Helpers::InlineLabelHelpers do
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
%w(success warning important notice).each do |type|
|
27
|
+
%w(success warning important notice info inverse).each do |type|
|
28
28
|
describe "#inline_label_#{type}_tag" do
|
29
29
|
before do
|
30
30
|
@output_buffer = ''
|
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.2.
|
4
|
+
version: 0.3.2.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-10-
|
12
|
+
date: 2012-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -183,4 +183,3 @@ test_files:
|
|
183
183
|
- spec/support/bootstrap_navigation_macros.rb
|
184
184
|
- spec/support/bootstrap_spec_helper.rb
|
185
185
|
- spec/support/test_environment.rb
|
186
|
-
has_rdoc:
|