bootstrap-sass-extras 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +9 -0
  3. data/CHANGELOG.md +48 -5
  4. data/Gemfile +4 -1
  5. data/Gemfile.lock +147 -87
  6. data/README.md +142 -34
  7. data/Rakefile +11 -1
  8. data/app/helpers/badge_helper.rb +13 -0
  9. data/app/helpers/bootstrap_flash_helper.rb +18 -10
  10. data/app/helpers/bootstrap_viewport_meta_helper.rb +27 -0
  11. data/app/helpers/glyph_helper.rb +10 -7
  12. data/app/helpers/modal_helper.rb +19 -15
  13. data/app/helpers/nav_helper.rb +40 -0
  14. data/app/helpers/twitter_breadcrumbs_helper.rb +8 -2
  15. data/app/helpers/url_helper.rb +28 -0
  16. data/app/views/bootstrap_sass_extras/_breadcrumbs.html.erb +6 -0
  17. data/bootstrap-sass-extras.gemspec +1 -0
  18. data/lib/bootstrap-sass-extras/breadcrumbs.rb +57 -0
  19. data/lib/bootstrap-sass-extras/engine.rb +6 -0
  20. data/lib/bootstrap-sass-extras/version.rb +1 -1
  21. data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +1 -0
  22. data/lib/generators/bootstrap/layout/layout_generator.rb +1 -4
  23. data/lib/generators/bootstrap/layout/templates/layout.html.erb +39 -57
  24. data/lib/generators/bootstrap/layout/templates/layout.html.haml +27 -45
  25. data/lib/generators/bootstrap/layout/templates/layout.html.slim +27 -46
  26. data/lib/generators/bootstrap/partial/templates/_login.html.erb +6 -6
  27. data/lib/generators/bootstrap/themed/templates/_form.html.erb +11 -9
  28. data/lib/generators/bootstrap/themed/templates/_form.html.haml +9 -8
  29. data/lib/generators/bootstrap/themed/templates/_form.html.slim +9 -9
  30. data/lib/generators/bootstrap/themed/templates/edit.html.erb +2 -2
  31. data/lib/generators/bootstrap/themed/templates/edit.html.haml +2 -2
  32. data/lib/generators/bootstrap/themed/templates/edit.html.slim +2 -2
  33. data/lib/generators/bootstrap/themed/templates/index.html.erb +16 -14
  34. data/lib/generators/bootstrap/themed/templates/index.html.haml +11 -7
  35. data/lib/generators/bootstrap/themed/templates/index.html.slim +13 -11
  36. data/lib/generators/bootstrap/themed/templates/new.html.erb +2 -2
  37. data/lib/generators/bootstrap/themed/templates/new.html.haml +2 -2
  38. data/lib/generators/bootstrap/themed/templates/new.html.slim +3 -3
  39. data/lib/generators/bootstrap/themed/templates/show.html.erb +19 -17
  40. data/lib/generators/bootstrap/themed/templates/show.html.haml +12 -12
  41. data/lib/generators/bootstrap/themed/templates/show.html.slim +12 -11
  42. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.erb +9 -7
  43. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml +6 -5
  44. data/lib/generators/bootstrap/themed/templates/simple_form/_form.html.slim +6 -6
  45. data/spec/dummy/README.rdoc +15 -248
  46. data/spec/dummy/Rakefile +1 -2
  47. data/spec/dummy/app/assets/config/manifest.js +3 -0
  48. data/spec/dummy/app/{mailers/.gitkeep → assets/images/.keep} +0 -0
  49. data/spec/dummy/app/assets/javascripts/application.js +4 -6
  50. data/spec/dummy/app/assets/stylesheets/application.css +6 -4
  51. data/spec/dummy/app/controllers/application_controller.rb +3 -1
  52. data/spec/dummy/app/{models/.gitkeep → controllers/concerns/.keep} +0 -0
  53. data/spec/dummy/{lib/assets/.gitkeep → app/mailers/.keep} +0 -0
  54. data/spec/dummy/{log/.gitkeep → app/models/.keep} +0 -0
  55. data/spec/dummy/app/models/concerns/.keep +0 -0
  56. data/spec/dummy/app/views/application/_custom_breadcrumbs.html.erb +1 -0
  57. data/spec/dummy/app/views/layouts/application.html.erb +2 -2
  58. data/spec/dummy/bin/bundle +3 -0
  59. data/spec/dummy/bin/rails +4 -0
  60. data/spec/dummy/bin/rake +4 -0
  61. data/spec/dummy/bin/setup +29 -0
  62. data/spec/dummy/config.ru +2 -2
  63. data/spec/dummy/config/application.rb +1 -37
  64. data/spec/dummy/config/boot.rb +4 -9
  65. data/spec/dummy/config/database.yml +8 -8
  66. data/spec/dummy/config/environment.rb +3 -3
  67. data/spec/dummy/config/environments/development.rb +22 -18
  68. data/spec/dummy/config/environments/production.rb +46 -34
  69. data/spec/dummy/config/environments/test.rb +19 -14
  70. data/spec/dummy/config/initializers/assets.rb +11 -0
  71. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  72. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  73. data/spec/dummy/config/initializers/inflections.rb +6 -5
  74. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  75. data/spec/dummy/config/initializers/session_store.rb +1 -6
  76. data/spec/dummy/config/initializers/wrap_parameters.rb +6 -6
  77. data/spec/dummy/config/locales/en.yml +20 -2
  78. data/spec/dummy/config/routes.rb +23 -25
  79. data/spec/dummy/config/secrets.yml +22 -0
  80. data/spec/dummy/lib/assets/.keep +0 -0
  81. data/spec/dummy/log/.keep +0 -0
  82. data/spec/dummy/public/404.html +54 -13
  83. data/spec/dummy/public/422.html +54 -13
  84. data/spec/dummy/public/500.html +53 -12
  85. data/spec/helpers/badge_helper_spec.rb +16 -0
  86. data/spec/helpers/bootstrap_flash_helper_spec.rb +52 -12
  87. data/spec/helpers/bootstrap_viewport_meta_helper_spec.rb +17 -0
  88. data/spec/helpers/button_to_helper_spec.rb +33 -0
  89. data/spec/helpers/glyph_helper_spec.rb +15 -0
  90. data/spec/helpers/nav_helper_spec.rb +79 -0
  91. data/spec/helpers/twitter_breadcrumbs_helper_spec.rb +161 -0
  92. data/spec/spec_helper.rb +1 -1
  93. metadata +69 -30
  94. data/app/views/twitter-bootstrap/_breadcrumbs.html.erb +0 -14
  95. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  96. data/spec/dummy/script/rails +0 -6
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ describe BadgeHelper, :type => :helper do
4
+ describe "#badge" do
5
+ let(:html) { %(<span class="badge">%i</span>) }
6
+
7
+ it "returns proper output for badge count" do
8
+ badge(0).should == html % 0
9
+ badge(2).should == html % 2
10
+ end
11
+
12
+ it "returns nil for nil badge count" do
13
+ badge(nil).should be_nil
14
+ end
15
+ end
16
+ end
@@ -1,17 +1,57 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe BootstrapFlashHelper do
4
- describe "bootstrap_flash" do
3
+ describe BootstrapFlashHelper, :type => :helper do
4
+ describe "#bootstrap_flash" do
5
+ let(:html) { %(<div class="alert alert-%s alert-dismissable"><button name="button" type="button" class="close" data-dismiss="alert">&times;</button>%s</div>) }
5
6
 
6
- it "should return flash message" do
7
- stub!(:flash).and_return({:warning => "Update Success!"})
8
- bootstrap_flash.should == "<div class=\"alert alert-warning\"><a class=\"close\" data-dismiss=\"alert\">&times;</a>Update Success!</div>"
9
- end
7
+ def flash_test(input, output)
8
+ allow(self).to receive(:flash).and_return(input)
9
+ bootstrap_flash.should == html % output.to_a.flatten
10
+ end
10
11
 
11
- it "should return alert-success message when use notice message" do
12
- stub!(:flash).and_return({:notice => "Update Success!"})
13
- bootstrap_flash.should == "<div class=\"alert alert-notice\"><a class=\"close\" data-dismiss=\"alert\">&times;</a>Update Success!</div>"
14
- end
12
+ it "returns alert-warning when sent a :warning message" do
13
+ message = "Update Warning!"
14
+ flash_test({ warning: message }, { warning: message })
15
+ end
15
16
 
16
- end
17
- end
17
+ it "returns alert-success when sent a :notice message" do
18
+ message = "Update Success!"
19
+ flash_test({ notice: message }, { success: message })
20
+ end
21
+
22
+ it "returns alert-danger when sent an :error message" do
23
+ message = "Update Failed!"
24
+ flash_test({ error: message }, { danger: message })
25
+ end
26
+
27
+ it "returns alert-danger when sent an :alert message" do
28
+ message = "Update Alert!"
29
+ flash_test({ alert: message }, { danger: message })
30
+ end
31
+
32
+ it "returns alert-info when sent a info message" do
33
+ message = "Update Information!"
34
+ flash_test({ info: message }, { info: message })
35
+ end
36
+
37
+ it "returns custom type when sent an unknown message" do
38
+ message = "Update Unknown!"
39
+ flash_test({ undefined: message }, { undefined: message })
40
+ end
41
+
42
+ it "properly handles string types" do
43
+ message = "String to Symbol Test."
44
+ flash_test({ "info" => message }, { info: message })
45
+ end
46
+
47
+ it "returns nil when sent a blank message" do
48
+ allow(self).to receive(:flash).and_return(notice: "")
49
+ bootstrap_flash.should be_nil
50
+ end
51
+
52
+ it "returns nil when message doesn't have an implicit conversion to String" do
53
+ allow(self).to receive(:flash).and_return(notice: true)
54
+ bootstrap_flash.should be_nil
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ describe BootstrapViewportMetaHelper, :type => :helper do
4
+ describe :bootstrap_viewport_meta do
5
+ context "no arguments" do
6
+ it "should return the default viewport meta tag" do
7
+ viewport_meta_tag.should =="<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\" />"
8
+ end
9
+ end
10
+
11
+ context "with arguments" do
12
+ it "should return the viewport meta tag with the specified options" do
13
+ viewport_meta_tag(initial_scale: "2.0").should =="<meta name=\"viewport\" content=\"width=device-width,initial-scale=2.0\" />"
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,33 @@
1
+ require 'spec_helper'
2
+
3
+ describe UrlHelper, :type => :helper do
4
+ describe "#button_to" do
5
+ def pattern(label, class_)
6
+ Regexp.new(Regexp.escape(html % [class_, label]))
7
+ end
8
+
9
+ let(:html) { %(<input class="btn %s" type="submit" value="%s" />) }
10
+
11
+ it "emits proper classes to style buttons" do
12
+ button_to("Test", "/test").should =~ pattern("Test", "btn-default")
13
+ end
14
+
15
+ it "does not emit a default if a button type is specified" do
16
+ button_to("Test", "/test", class: 'btn-danger').should =~ pattern("Test", "btn-danger")
17
+ end
18
+
19
+ it "does not emit a default if a button type is specified in a space-separated class" do
20
+ button_to("Test", "/test", class: 'xyz btn-primary').should =~ pattern("Test", "xyz btn-primary")
21
+ end
22
+
23
+ context "with arrays of classes" do
24
+ it "does not emit a default if a button type is specified as one of an array of classes" do
25
+ button_to("Test", "/test", class: ['xyz', 'btn-primary']).should =~ pattern("Test", "xyz btn-primary")
26
+ end
27
+
28
+ it "does not emit a default if a button type is specified within a space-separated class" do
29
+ button_to("Test", "/test", class: ['xyz btn-primary']).should =~ pattern("Test", "xyz btn-primary")
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe GlyphHelper, :type => :helper do
4
+ describe "#glyph" do
5
+ let(:html) { %(<span class="glyphicon glyphicon-%s"></span>) }
6
+
7
+ it "returns proper output for one glyphicon" do
8
+ glyph(:test).should == html % "test"
9
+ end
10
+
11
+ it "returns proper output for more than one glyphicon" do
12
+ glyph(:test1, :test2).should == "#{html % "test1"}#{html % "test2"}"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,79 @@
1
+ require 'spec_helper'
2
+
3
+ describe NavHelper, :type => :helper do
4
+ describe "#tabs" do
5
+ before do
6
+ def self.current_page?(path)
7
+ path == '/'
8
+ end
9
+ end
10
+
11
+ let(:html) {
12
+ <<-TABS.strip_heredoc
13
+ <ul class="nav nav-tabs">
14
+ <li role="presentation" class="active"><a href="/">Name</a></li>
15
+ <li role="presentation"><a href="/profile">Profile</a></li>
16
+ </ul>
17
+ TABS
18
+ }
19
+
20
+ it "generates the correct link" do
21
+ (nav do
22
+ concat "\n "
23
+ concat (nav_to 'Name', '/')
24
+ concat "\n "
25
+ concat (nav_to '/profile' do
26
+ 'Profile'
27
+ end)
28
+ concat "\n"
29
+ end + "\n").should == html
30
+ end
31
+
32
+ context "when a type of navigation is specified" do
33
+ let(:html) { '<ul class="nav nav-pills"></ul>' }
34
+
35
+ it "generates the correct link" do
36
+ (nav class: 'nav-pills').should == html
37
+ end
38
+ end
39
+
40
+ context "when the navigation type helper is used" do
41
+ let(:html) { '<ul class="nav nav-tabs"></ul>' }
42
+
43
+ it "generates the correct link" do
44
+ (tabs).should == html
45
+ end
46
+ end
47
+
48
+ context "when a stacked nav is used" do
49
+ let(:html) { '<ul class="nav nav-stacked nav-pills"></ul>' }
50
+
51
+ it "generates the correct link" do
52
+ (pills class: 'nav-stacked').should == html
53
+ end
54
+ end
55
+
56
+ context "when nav tab_class given" do
57
+ let(:html) {
58
+ <<-TABS.strip_heredoc
59
+ <ul class="nav nav-tabs">
60
+ <li role="presentation"><a href="/">Name</a></li>
61
+ <li role="presentation" class="active"><a href="/profile">Profile</a></li>
62
+ </ul>
63
+ TABS
64
+ }
65
+
66
+ it "generates the correct tabs" do
67
+ (nav do
68
+ concat "\n "
69
+ concat (nav_to 'Name', '/', active: false)
70
+ concat "\n "
71
+ concat (nav_to '/profile', active: true do
72
+ 'Profile'
73
+ end)
74
+ concat "\n"
75
+ end + "\n").should == html
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,161 @@
1
+ require 'spec_helper'
2
+
3
+ describe TwitterBreadcrumbsHelper, :type => :helper do
4
+ describe "given one breadcrumb" do
5
+ before do
6
+ controller.send(:add_breadcrumb, "Name", "URL")
7
+ end
8
+
9
+ describe "#render_breadcrumbs" do
10
+ let(:html) {
11
+ <<-BREADCRUMBS.strip_heredoc
12
+ <ol class="breadcrumb">
13
+ <li class="active">Name</li>
14
+ </ol>
15
+ BREADCRUMBS
16
+ }
17
+
18
+ it "returns bootstrap-style breadcrumbs html" do
19
+ helper.render_breadcrumbs.should == html
20
+ end
21
+
22
+ describe "given a block" do
23
+ it "returns breadcrumbs wrapped in the captured block" do
24
+ helper.render_breadcrumbs do |crumbs|
25
+ helper.content_tag(:div, crumbs)
26
+ end.should == "<div>#{html}</div>"
27
+ end
28
+ end
29
+ end
30
+
31
+ describe "#breadcrumbs?" do
32
+ it "returns true" do
33
+ helper.breadcrumbs?.should be_truthy
34
+ end
35
+ end
36
+
37
+ describe "#breadcrumb_names" do
38
+ it "returns an array of breadcrumb names" do
39
+ helper.breadcrumb_names.should == ["Name"]
40
+ controller.send(:breadcrumb_names).should == ["Name"]
41
+ end
42
+ end
43
+
44
+ describe "#last_breadcrumb_name" do
45
+ it "returns a breadcrumb name" do
46
+ helper.last_breadcrumb_name.should == "Name"
47
+ controller.send(:last_breadcrumb_name).should == "Name"
48
+ end
49
+ end
50
+
51
+ describe "#clear_breadcrumbs" do
52
+ it "empties all existing breadcrumbs" do
53
+ helper.breadcrumbs?.should be_truthy
54
+ controller.send(:clear_breadcrumbs)
55
+ helper.breadcrumbs?.should be_falsey
56
+ end
57
+ end
58
+ end
59
+
60
+ describe "given two breadcrumbs" do
61
+ before do
62
+ controller.send(:add_breadcrumb, "Name1", "URL1")
63
+ controller.send(:add_breadcrumb, "Name2", "URL2")
64
+ end
65
+
66
+ describe "#render_breadcrumbs" do
67
+ let(:html) {
68
+ <<-BREADCRUMBS.strip_heredoc
69
+ <ol class="breadcrumb">
70
+ <li><a href="URL1">Name1</a></li>
71
+ <li class="active">Name2</li>
72
+ </ol>
73
+ BREADCRUMBS
74
+ }
75
+
76
+ it "returns bootstrap-style breadcrumbs html" do
77
+ helper.render_breadcrumbs.should == html
78
+ end
79
+
80
+ describe "given a block" do
81
+ it "returns breadcrumbs wrapped in the captured block" do
82
+ helper.render_breadcrumbs do |crumbs|
83
+ helper.content_tag(:div, crumbs)
84
+ end.should == "<div>#{html}</div>"
85
+ end
86
+ end
87
+
88
+ describe "custom breadcrumbs view" do
89
+ let(:html) { "Custom Breadcrumbs Loaded\n" }
90
+
91
+ it "returns the custom breadcrumbs view content" do
92
+ helper.render_breadcrumbs(partial: 'application/custom_breadcrumbs').should == html
93
+ end
94
+ end
95
+ end
96
+
97
+ describe "#breadcrumbs?" do
98
+ it "returns true" do
99
+ helper.breadcrumbs?.should be_truthy
100
+ controller.send(:breadcrumbs?).should be_truthy
101
+ end
102
+ end
103
+
104
+ describe "#breadcrumb_names" do
105
+ it "returns an array of breadcrumb names" do
106
+ helper.breadcrumb_names.should == ["Name1", "Name2"]
107
+ controller.send(:breadcrumb_names).should == ["Name1", "Name2"]
108
+ end
109
+ end
110
+
111
+ describe "#last_breadcrumb_name" do
112
+ it "returns a breadcrumb name" do
113
+ helper.last_breadcrumb_name.should == "Name2"
114
+ controller.send(:last_breadcrumb_name).should == "Name2"
115
+ end
116
+ end
117
+
118
+ describe "#clear_breadcrumbs" do
119
+ it "empties all existing breadcrumbs" do
120
+ helper.breadcrumbs?.should be_truthy
121
+ controller.send(:clear_breadcrumbs)
122
+ helper.breadcrumbs?.should be_falsey
123
+ end
124
+ end
125
+ end
126
+
127
+ describe "given no breadcrumbs" do
128
+ describe "#render_breadcrumbs" do
129
+ it "returns nil" do
130
+ helper.render_breadcrumbs.should be_nil
131
+ end
132
+
133
+ describe "given a block" do
134
+ it "returns nil" do
135
+ helper.render_breadcrumbs { |crumbs| "No #{crumbs} here!" }.should be_nil
136
+ end
137
+ end
138
+ end
139
+
140
+ describe "#breadcrumbs?" do
141
+ it "returns false" do
142
+ helper.breadcrumbs?.should be_falsey
143
+ controller.send(:breadcrumbs?).should be_falsey
144
+ end
145
+ end
146
+
147
+ describe "#breadcrumb_names" do
148
+ it "returns an empty array" do
149
+ helper.breadcrumb_names.should == []
150
+ controller.send(:breadcrumb_names).should == []
151
+ end
152
+ end
153
+
154
+ describe "#last_breadcrumb_name" do
155
+ it "returns nil" do
156
+ helper.last_breadcrumb_name.should be_nil
157
+ controller.send(:last_breadcrumb_name).should be_nil
158
+ end
159
+ end
160
+ end
161
+ end
@@ -1,7 +1,7 @@
1
1
  ENV["RAILS_ENV"] ||= 'test'
2
2
  require File.expand_path("../dummy/config/environment", __FILE__)
3
3
  require 'rspec/rails'
4
- require 'rspec/autorun'
4
+ # require 'rspec/autorun'
5
5
 
6
6
  RSpec.configure do |config|
7
7
  config.fixture_path = "#{::Rails.root}/spec/fixtures"
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-sass-extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-18 00:00:00.000000000 Z
11
+ date: 2020-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: bootstrap-sass extras.
@@ -59,21 +59,27 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .rspec
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".travis.yml"
64
65
  - CHANGELOG.md
65
66
  - Gemfile
66
67
  - Gemfile.lock
67
68
  - MIT-LICENSE
68
69
  - README.md
69
70
  - Rakefile
71
+ - app/helpers/badge_helper.rb
70
72
  - app/helpers/bootstrap_flash_helper.rb
73
+ - app/helpers/bootstrap_viewport_meta_helper.rb
71
74
  - app/helpers/glyph_helper.rb
72
75
  - app/helpers/modal_helper.rb
76
+ - app/helpers/nav_helper.rb
73
77
  - app/helpers/twitter_breadcrumbs_helper.rb
74
- - app/views/twitter-bootstrap/_breadcrumbs.html.erb
78
+ - app/helpers/url_helper.rb
79
+ - app/views/bootstrap_sass_extras/_breadcrumbs.html.erb
75
80
  - bootstrap-sass-extras.gemspec
76
81
  - lib/bootstrap-sass-extras.rb
82
+ - lib/bootstrap-sass-extras/breadcrumbs.rb
77
83
  - lib/bootstrap-sass-extras/engine.rb
78
84
  - lib/bootstrap-sass-extras/version.rb
79
85
  - lib/generators/bootstrap/install/install_generator.rb
@@ -107,13 +113,22 @@ files:
107
113
  - script/rails
108
114
  - spec/dummy/README.rdoc
109
115
  - spec/dummy/Rakefile
116
+ - spec/dummy/app/assets/config/manifest.js
117
+ - spec/dummy/app/assets/images/.keep
110
118
  - spec/dummy/app/assets/javascripts/application.js
111
119
  - spec/dummy/app/assets/stylesheets/application.css
112
120
  - spec/dummy/app/controllers/application_controller.rb
121
+ - spec/dummy/app/controllers/concerns/.keep
113
122
  - spec/dummy/app/helpers/application_helper.rb
114
- - spec/dummy/app/mailers/.gitkeep
115
- - spec/dummy/app/models/.gitkeep
123
+ - spec/dummy/app/mailers/.keep
124
+ - spec/dummy/app/models/.keep
125
+ - spec/dummy/app/models/concerns/.keep
126
+ - spec/dummy/app/views/application/_custom_breadcrumbs.html.erb
116
127
  - spec/dummy/app/views/layouts/application.html.erb
128
+ - spec/dummy/bin/bundle
129
+ - spec/dummy/bin/rails
130
+ - spec/dummy/bin/rake
131
+ - spec/dummy/bin/setup
117
132
  - spec/dummy/config.ru
118
133
  - spec/dummy/config/application.rb
119
134
  - spec/dummy/config/boot.rb
@@ -122,56 +137,72 @@ files:
122
137
  - spec/dummy/config/environments/development.rb
123
138
  - spec/dummy/config/environments/production.rb
124
139
  - spec/dummy/config/environments/test.rb
140
+ - spec/dummy/config/initializers/assets.rb
125
141
  - spec/dummy/config/initializers/backtrace_silencers.rb
142
+ - spec/dummy/config/initializers/cookies_serializer.rb
143
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
126
144
  - spec/dummy/config/initializers/inflections.rb
127
145
  - spec/dummy/config/initializers/mime_types.rb
128
- - spec/dummy/config/initializers/secret_token.rb
129
146
  - spec/dummy/config/initializers/session_store.rb
130
147
  - spec/dummy/config/initializers/wrap_parameters.rb
131
148
  - spec/dummy/config/locales/en.yml
132
149
  - spec/dummy/config/routes.rb
133
- - spec/dummy/lib/assets/.gitkeep
134
- - spec/dummy/log/.gitkeep
150
+ - spec/dummy/config/secrets.yml
151
+ - spec/dummy/lib/assets/.keep
152
+ - spec/dummy/log/.keep
135
153
  - spec/dummy/public/404.html
136
154
  - spec/dummy/public/422.html
137
155
  - spec/dummy/public/500.html
138
156
  - spec/dummy/public/favicon.ico
139
- - spec/dummy/script/rails
157
+ - spec/helpers/badge_helper_spec.rb
140
158
  - spec/helpers/bootstrap_flash_helper_spec.rb
159
+ - spec/helpers/bootstrap_viewport_meta_helper_spec.rb
160
+ - spec/helpers/button_to_helper_spec.rb
161
+ - spec/helpers/glyph_helper_spec.rb
162
+ - spec/helpers/nav_helper_spec.rb
163
+ - spec/helpers/twitter_breadcrumbs_helper_spec.rb
141
164
  - spec/spec_helper.rb
142
165
  homepage: https://github.com/doabit/bootstrap-sass-extras
143
166
  licenses: []
144
167
  metadata: {}
145
- post_install_message:
168
+ post_install_message:
146
169
  rdoc_options: []
147
170
  require_paths:
148
171
  - lib
149
172
  required_ruby_version: !ruby/object:Gem::Requirement
150
173
  requirements:
151
- - - '>='
174
+ - - ">="
152
175
  - !ruby/object:Gem::Version
153
176
  version: '0'
154
177
  required_rubygems_version: !ruby/object:Gem::Requirement
155
178
  requirements:
156
- - - '>='
179
+ - - ">="
157
180
  - !ruby/object:Gem::Version
158
181
  version: '0'
159
182
  requirements: []
160
- rubyforge_project:
161
- rubygems_version: 2.0.0
162
- signing_key:
183
+ rubygems_version: 3.0.3
184
+ signing_key:
163
185
  specification_version: 4
164
186
  summary: bootstrap-sass extras.
165
187
  test_files:
166
188
  - spec/dummy/README.rdoc
167
189
  - spec/dummy/Rakefile
190
+ - spec/dummy/app/assets/config/manifest.js
191
+ - spec/dummy/app/assets/images/.keep
168
192
  - spec/dummy/app/assets/javascripts/application.js
169
193
  - spec/dummy/app/assets/stylesheets/application.css
170
194
  - spec/dummy/app/controllers/application_controller.rb
195
+ - spec/dummy/app/controllers/concerns/.keep
171
196
  - spec/dummy/app/helpers/application_helper.rb
172
- - spec/dummy/app/mailers/.gitkeep
173
- - spec/dummy/app/models/.gitkeep
197
+ - spec/dummy/app/mailers/.keep
198
+ - spec/dummy/app/models/.keep
199
+ - spec/dummy/app/models/concerns/.keep
200
+ - spec/dummy/app/views/application/_custom_breadcrumbs.html.erb
174
201
  - spec/dummy/app/views/layouts/application.html.erb
202
+ - spec/dummy/bin/bundle
203
+ - spec/dummy/bin/rails
204
+ - spec/dummy/bin/rake
205
+ - spec/dummy/bin/setup
175
206
  - spec/dummy/config.ru
176
207
  - spec/dummy/config/application.rb
177
208
  - spec/dummy/config/boot.rb
@@ -180,20 +211,28 @@ test_files:
180
211
  - spec/dummy/config/environments/development.rb
181
212
  - spec/dummy/config/environments/production.rb
182
213
  - spec/dummy/config/environments/test.rb
214
+ - spec/dummy/config/initializers/assets.rb
183
215
  - spec/dummy/config/initializers/backtrace_silencers.rb
216
+ - spec/dummy/config/initializers/cookies_serializer.rb
217
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
184
218
  - spec/dummy/config/initializers/inflections.rb
185
219
  - spec/dummy/config/initializers/mime_types.rb
186
- - spec/dummy/config/initializers/secret_token.rb
187
220
  - spec/dummy/config/initializers/session_store.rb
188
221
  - spec/dummy/config/initializers/wrap_parameters.rb
189
222
  - spec/dummy/config/locales/en.yml
190
223
  - spec/dummy/config/routes.rb
191
- - spec/dummy/lib/assets/.gitkeep
192
- - spec/dummy/log/.gitkeep
224
+ - spec/dummy/config/secrets.yml
225
+ - spec/dummy/lib/assets/.keep
226
+ - spec/dummy/log/.keep
193
227
  - spec/dummy/public/404.html
194
228
  - spec/dummy/public/422.html
195
229
  - spec/dummy/public/500.html
196
230
  - spec/dummy/public/favicon.ico
197
- - spec/dummy/script/rails
231
+ - spec/helpers/badge_helper_spec.rb
198
232
  - spec/helpers/bootstrap_flash_helper_spec.rb
233
+ - spec/helpers/bootstrap_viewport_meta_helper_spec.rb
234
+ - spec/helpers/button_to_helper_spec.rb
235
+ - spec/helpers/glyph_helper_spec.rb
236
+ - spec/helpers/nav_helper_spec.rb
237
+ - spec/helpers/twitter_breadcrumbs_helper_spec.rb
199
238
  - spec/spec_helper.rb