bootstrap-sass-extras 0.0.7 → 0.1.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.
- checksums.yaml +5 -5
- data/.travis.yml +7 -5
- data/CHANGELOG.md +27 -17
- data/Gemfile.lock +133 -104
- data/README.md +1 -0
- data/app/helpers/bootstrap_flash_helper.rb +1 -1
- data/app/helpers/nav_helper.rb +9 -2
- data/app/helpers/url_helper.rb +3 -0
- data/lib/bootstrap-sass-extras/breadcrumbs.rb +2 -2
- data/lib/bootstrap-sass-extras/version.rb +1 -1
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/config/application.rb +0 -3
- data/spec/helpers/button_to_helper_spec.rb +14 -0
- data/spec/helpers/nav_helper_spec.rb +23 -0
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 83b3f7ce19029b2f212c749c14e38b51c11ca5478e3f8a8a04494c8644880aa9
|
|
4
|
+
data.tar.gz: 45dc961f7f3616e4e933fb4231855f1c689f2764049e5f7b6ca1ca518fb4cb46
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab324f770c30db9789a28a3ee3f3956103ee456f030811f93233c5655fc856ffc5f9648fb1075bdb75461fc61dd0e0ecdaaa5902d9111fb352ad28276c8612a7
|
|
7
|
+
data.tar.gz: d9e551e802d1859661320e1ca9a2ef217c8ab64c92880110197421e8e7b999853ce4537acb632deaf596fca52a7347f9535ecc09a843310136584acb3a1b3b79
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,42 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Release 0.1.0
|
|
4
|
+
|
|
5
|
+
- Avoid dangerous calling of methods [@dlackty][]
|
|
6
|
+
- Fix Travis CI [@dlackty][]
|
|
7
|
+
- Add nav_to option to force active state [@sharshenov][]
|
|
8
|
+
- use `before_action` over `before_filter` [@cantonic][]
|
|
9
|
+
- Treat space-separated class names the same as arrays of class names in
|
|
10
|
+
button_to_with_bootstrap [@marcp][]
|
|
11
|
+
- Freeze ALERT_TYPES_MAP to save allocations
|
|
12
|
+
|
|
3
13
|
## Release 0.0.7
|
|
4
14
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
- Added the ability to specify a custom view path for breadcrumbs [@fredwu][]
|
|
16
|
+
- Put locale arg for String#pluralize in the view templates [@kayhide][]
|
|
17
|
+
- Fix .haml themed template show.html.haml [@mskubenich][]
|
|
18
|
+
- Augment button_to to generate the `btn` Bootstrap class. [@lowjoel][]
|
|
19
|
+
- Given the nav helper, generate the appropriate Bootstrap tabs markup.
|
|
20
|
+
[@lowjoel][]
|
|
21
|
+
- Allow pills and tabs to be used in the same manner. [@lowjoel][]
|
|
11
22
|
|
|
12
23
|
## Release 0.0.6
|
|
13
24
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
- Update to bootstrap 3.0
|
|
26
|
+
- Add a `badge(badge_count)` helper by [@pdobb][]
|
|
27
|
+
- Clean up codes by [@pdobb][]
|
|
17
28
|
|
|
18
29
|
## Release 0.0.5
|
|
19
30
|
|
|
20
|
-
|
|
21
|
-
|
|
31
|
+
- Adjust bootstrap_flash to match bootstrap alerts by [@jonwaghorn][]
|
|
32
|
+
- Rails Form Helper for Bootstrap META tag by [@dabit][]
|
|
22
33
|
|
|
23
34
|
## Release 0.0.4
|
|
24
35
|
|
|
25
|
-
|
|
36
|
+
- Fix BreadCrumbs Helper
|
|
26
37
|
|
|
27
38
|
## Release 0.0.3
|
|
28
39
|
|
|
29
|
-
|
|
30
|
-
|
|
40
|
+
- Add glyph, model and breadcrumbs helpers
|
|
41
|
+
- Update templates
|
|
31
42
|
|
|
32
43
|
## Release 0.0.2
|
|
33
44
|
|
|
34
|
-
|
|
45
|
+
- Add layout and views generators
|
|
35
46
|
|
|
36
47
|
## Release 0.0.1
|
|
37
48
|
|
|
38
|
-
|
|
39
|
-
|
|
49
|
+
- Initial version
|
|
40
50
|
|
|
41
51
|
[@lowjoel]: https://github.com/lowjoel
|
|
42
52
|
[@mskubenich]: https://github.com/mskubenich
|
data/Gemfile.lock
CHANGED
|
@@ -1,129 +1,158 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bootstrap-sass-extras (0.0
|
|
4
|
+
bootstrap-sass-extras (0.1.0)
|
|
5
5
|
rails (>= 3.1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: http://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
|
|
11
|
-
actionpack (=
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
actioncable (6.0.3.1)
|
|
11
|
+
actionpack (= 6.0.3.1)
|
|
12
|
+
nio4r (~> 2.0)
|
|
13
|
+
websocket-driver (>= 0.6.1)
|
|
14
|
+
actionmailbox (6.0.3.1)
|
|
15
|
+
actionpack (= 6.0.3.1)
|
|
16
|
+
activejob (= 6.0.3.1)
|
|
17
|
+
activerecord (= 6.0.3.1)
|
|
18
|
+
activestorage (= 6.0.3.1)
|
|
19
|
+
activesupport (= 6.0.3.1)
|
|
20
|
+
mail (>= 2.7.1)
|
|
21
|
+
actionmailer (6.0.3.1)
|
|
22
|
+
actionpack (= 6.0.3.1)
|
|
23
|
+
actionview (= 6.0.3.1)
|
|
24
|
+
activejob (= 6.0.3.1)
|
|
14
25
|
mail (~> 2.5, >= 2.5.4)
|
|
15
|
-
rails-dom-testing (~>
|
|
16
|
-
actionpack (
|
|
17
|
-
actionview (=
|
|
18
|
-
activesupport (=
|
|
19
|
-
rack (~>
|
|
20
|
-
rack-test (
|
|
21
|
-
rails-dom-testing (~>
|
|
22
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
rails-dom-testing (~> 2.0)
|
|
27
|
+
actionpack (6.0.3.1)
|
|
28
|
+
actionview (= 6.0.3.1)
|
|
29
|
+
activesupport (= 6.0.3.1)
|
|
30
|
+
rack (~> 2.0, >= 2.0.8)
|
|
31
|
+
rack-test (>= 0.6.3)
|
|
32
|
+
rails-dom-testing (~> 2.0)
|
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
34
|
+
actiontext (6.0.3.1)
|
|
35
|
+
actionpack (= 6.0.3.1)
|
|
36
|
+
activerecord (= 6.0.3.1)
|
|
37
|
+
activestorage (= 6.0.3.1)
|
|
38
|
+
activesupport (= 6.0.3.1)
|
|
39
|
+
nokogiri (>= 1.8.5)
|
|
40
|
+
actionview (6.0.3.1)
|
|
41
|
+
activesupport (= 6.0.3.1)
|
|
25
42
|
builder (~> 3.1)
|
|
26
|
-
|
|
27
|
-
rails-dom-testing (~>
|
|
28
|
-
rails-html-sanitizer (~> 1.
|
|
29
|
-
activejob (
|
|
30
|
-
activesupport (=
|
|
31
|
-
globalid (>= 0.3.
|
|
32
|
-
activemodel (
|
|
33
|
-
activesupport (=
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
erubi (~> 1.4)
|
|
44
|
+
rails-dom-testing (~> 2.0)
|
|
45
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
46
|
+
activejob (6.0.3.1)
|
|
47
|
+
activesupport (= 6.0.3.1)
|
|
48
|
+
globalid (>= 0.3.6)
|
|
49
|
+
activemodel (6.0.3.1)
|
|
50
|
+
activesupport (= 6.0.3.1)
|
|
51
|
+
activerecord (6.0.3.1)
|
|
52
|
+
activemodel (= 6.0.3.1)
|
|
53
|
+
activesupport (= 6.0.3.1)
|
|
54
|
+
activestorage (6.0.3.1)
|
|
55
|
+
actionpack (= 6.0.3.1)
|
|
56
|
+
activejob (= 6.0.3.1)
|
|
57
|
+
activerecord (= 6.0.3.1)
|
|
58
|
+
marcel (~> 0.3.1)
|
|
59
|
+
activesupport (6.0.3.1)
|
|
60
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
61
|
+
i18n (>= 0.7, < 2)
|
|
42
62
|
minitest (~> 5.1)
|
|
43
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
|
44
63
|
tzinfo (~> 1.1)
|
|
45
|
-
|
|
46
|
-
builder (3.2.
|
|
47
|
-
coderay (1.1.
|
|
48
|
-
concurrent-ruby (1.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
65
|
+
builder (3.2.4)
|
|
66
|
+
coderay (1.1.2)
|
|
67
|
+
concurrent-ruby (1.1.6)
|
|
68
|
+
crass (1.0.6)
|
|
69
|
+
diff-lcs (1.3)
|
|
70
|
+
erubi (1.9.0)
|
|
71
|
+
globalid (0.4.2)
|
|
72
|
+
activesupport (>= 4.2.0)
|
|
73
|
+
i18n (1.8.2)
|
|
74
|
+
concurrent-ruby (~> 1.0)
|
|
75
|
+
loofah (2.5.0)
|
|
76
|
+
crass (~> 1.0.2)
|
|
56
77
|
nokogiri (>= 1.5.9)
|
|
57
|
-
mail (2.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
78
|
+
mail (2.7.1)
|
|
79
|
+
mini_mime (>= 0.1.1)
|
|
80
|
+
marcel (0.3.3)
|
|
81
|
+
mimemagic (~> 0.3.2)
|
|
82
|
+
method_source (0.9.2)
|
|
83
|
+
mimemagic (0.3.5)
|
|
84
|
+
mini_mime (1.0.2)
|
|
85
|
+
mini_portile2 (2.4.0)
|
|
86
|
+
minitest (5.14.1)
|
|
87
|
+
nio4r (2.5.4)
|
|
88
|
+
nokogiri (1.10.9)
|
|
89
|
+
mini_portile2 (~> 2.4.0)
|
|
90
|
+
pry (0.12.2)
|
|
66
91
|
coderay (~> 1.1.0)
|
|
67
|
-
method_source (~> 0.
|
|
68
|
-
|
|
69
|
-
rack (1.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
rails-html-sanitizer (1.0
|
|
90
|
-
loofah (~> 2.
|
|
91
|
-
railties (
|
|
92
|
-
actionpack (=
|
|
93
|
-
activesupport (=
|
|
92
|
+
method_source (~> 0.9.0)
|
|
93
|
+
rack (2.2.2)
|
|
94
|
+
rack-test (1.1.0)
|
|
95
|
+
rack (>= 1.0, < 3)
|
|
96
|
+
rails (6.0.3.1)
|
|
97
|
+
actioncable (= 6.0.3.1)
|
|
98
|
+
actionmailbox (= 6.0.3.1)
|
|
99
|
+
actionmailer (= 6.0.3.1)
|
|
100
|
+
actionpack (= 6.0.3.1)
|
|
101
|
+
actiontext (= 6.0.3.1)
|
|
102
|
+
actionview (= 6.0.3.1)
|
|
103
|
+
activejob (= 6.0.3.1)
|
|
104
|
+
activemodel (= 6.0.3.1)
|
|
105
|
+
activerecord (= 6.0.3.1)
|
|
106
|
+
activestorage (= 6.0.3.1)
|
|
107
|
+
activesupport (= 6.0.3.1)
|
|
108
|
+
bundler (>= 1.3.0)
|
|
109
|
+
railties (= 6.0.3.1)
|
|
110
|
+
sprockets-rails (>= 2.0.0)
|
|
111
|
+
rails-dom-testing (2.0.3)
|
|
112
|
+
activesupport (>= 4.2.0)
|
|
113
|
+
nokogiri (>= 1.6)
|
|
114
|
+
rails-html-sanitizer (1.3.0)
|
|
115
|
+
loofah (~> 2.3)
|
|
116
|
+
railties (6.0.3.1)
|
|
117
|
+
actionpack (= 6.0.3.1)
|
|
118
|
+
activesupport (= 6.0.3.1)
|
|
119
|
+
method_source
|
|
94
120
|
rake (>= 0.8.7)
|
|
95
|
-
thor (>= 0.
|
|
96
|
-
rake (
|
|
97
|
-
rspec-core (3.
|
|
98
|
-
rspec-support (~> 3.
|
|
99
|
-
rspec-expectations (3.4
|
|
121
|
+
thor (>= 0.20.3, < 2.0)
|
|
122
|
+
rake (13.0.1)
|
|
123
|
+
rspec-core (3.8.2)
|
|
124
|
+
rspec-support (~> 3.8.0)
|
|
125
|
+
rspec-expectations (3.8.4)
|
|
100
126
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
101
|
-
rspec-support (~> 3.
|
|
102
|
-
rspec-mocks (3.
|
|
127
|
+
rspec-support (~> 3.8.0)
|
|
128
|
+
rspec-mocks (3.8.1)
|
|
103
129
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
104
|
-
rspec-support (~> 3.
|
|
105
|
-
rspec-rails (3.
|
|
106
|
-
actionpack (>= 3.0
|
|
107
|
-
activesupport (>= 3.0
|
|
108
|
-
railties (>= 3.0
|
|
109
|
-
rspec-core (~> 3.
|
|
110
|
-
rspec-expectations (~> 3.
|
|
111
|
-
rspec-mocks (~> 3.
|
|
112
|
-
rspec-support (~> 3.
|
|
113
|
-
rspec-support (3.
|
|
114
|
-
|
|
115
|
-
sprockets (3.5.2)
|
|
130
|
+
rspec-support (~> 3.8.0)
|
|
131
|
+
rspec-rails (3.8.2)
|
|
132
|
+
actionpack (>= 3.0)
|
|
133
|
+
activesupport (>= 3.0)
|
|
134
|
+
railties (>= 3.0)
|
|
135
|
+
rspec-core (~> 3.8.0)
|
|
136
|
+
rspec-expectations (~> 3.8.0)
|
|
137
|
+
rspec-mocks (~> 3.8.0)
|
|
138
|
+
rspec-support (~> 3.8.0)
|
|
139
|
+
rspec-support (3.8.2)
|
|
140
|
+
sprockets (4.0.2)
|
|
116
141
|
concurrent-ruby (~> 1.0)
|
|
117
142
|
rack (> 1, < 3)
|
|
118
|
-
sprockets-rails (3.
|
|
143
|
+
sprockets-rails (3.2.2)
|
|
119
144
|
actionpack (>= 4.0)
|
|
120
145
|
activesupport (>= 4.0)
|
|
121
146
|
sprockets (>= 3.0.0)
|
|
122
|
-
sqlite3 (1.
|
|
123
|
-
thor (0.
|
|
124
|
-
thread_safe (0.3.
|
|
125
|
-
tzinfo (1.2.
|
|
147
|
+
sqlite3 (1.4.1)
|
|
148
|
+
thor (1.0.1)
|
|
149
|
+
thread_safe (0.3.6)
|
|
150
|
+
tzinfo (1.2.7)
|
|
126
151
|
thread_safe (~> 0.1)
|
|
152
|
+
websocket-driver (0.7.3)
|
|
153
|
+
websocket-extensions (>= 0.1.0)
|
|
154
|
+
websocket-extensions (0.1.5)
|
|
155
|
+
zeitwerk (2.3.0)
|
|
127
156
|
|
|
128
157
|
PLATFORMS
|
|
129
158
|
ruby
|
|
@@ -135,4 +164,4 @@ DEPENDENCIES
|
|
|
135
164
|
sqlite3
|
|
136
165
|
|
|
137
166
|
BUNDLED WITH
|
|
138
|
-
1.
|
|
167
|
+
1.17.2
|
data/README.md
CHANGED
data/app/helpers/nav_helper.rb
CHANGED
|
@@ -21,10 +21,17 @@ module NavHelper
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def nav_to(name = nil, options = nil, html_options = nil, &block)
|
|
24
|
-
|
|
24
|
+
if block_given?
|
|
25
|
+
url_options, html_options = name, options
|
|
26
|
+
else
|
|
27
|
+
url_options = options
|
|
28
|
+
end
|
|
29
|
+
|
|
25
30
|
url_options ||= {}
|
|
26
31
|
|
|
27
|
-
|
|
32
|
+
active = html_options.try(:delete, :active)
|
|
33
|
+
active = current_page?(url_options) if active.nil?
|
|
34
|
+
tab_class = active ? 'active' : nil
|
|
28
35
|
|
|
29
36
|
content_tag(:li, role: 'presentation', class: tab_class) do
|
|
30
37
|
link_to(name, options, html_options, &block)
|
data/app/helpers/url_helper.rb
CHANGED
|
@@ -17,6 +17,9 @@ module UrlHelper
|
|
|
17
17
|
html_options[:class] ||= []
|
|
18
18
|
html_options[:class] = [*html_options[:class]]
|
|
19
19
|
|
|
20
|
+
# Expand space-separated class strings so that each has its own spot in the class array
|
|
21
|
+
html_options[:class] = html_options[:class].map { |c| c.split }.flatten
|
|
22
|
+
|
|
20
23
|
html_options[:class].unshift('btn') unless html_options[:class].include?('btn')
|
|
21
24
|
if html_options[:class].select { |cls| UrlHelper::BUTTON_CLASSES.include?(cls) }.empty?
|
|
22
25
|
html_options[:class] << 'btn-default'
|
|
@@ -10,7 +10,7 @@ module BootstrapSassExtras
|
|
|
10
10
|
module ClassMethods
|
|
11
11
|
def add_breadcrumb(name, url, options = {})
|
|
12
12
|
class_name = self.name
|
|
13
|
-
|
|
13
|
+
before_action options do |controller|
|
|
14
14
|
if name.is_a?(Symbol)
|
|
15
15
|
name = controller.send :translate_breadcrumb, name, class_name
|
|
16
16
|
end
|
|
@@ -24,7 +24,7 @@ module BootstrapSassExtras
|
|
|
24
24
|
def add_breadcrumb(name, url = '', options = {})
|
|
25
25
|
@breadcrumbs ||= []
|
|
26
26
|
name = translate_breadcrumb(name, self.class.name) if name.is_a?(Symbol)
|
|
27
|
-
url = send(url
|
|
27
|
+
url = send(url) if url.is_a?(Symbol)
|
|
28
28
|
@breadcrumbs << { name: name, url: url, options: options }
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -24,9 +24,6 @@ module Dummy
|
|
|
24
24
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
25
25
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
26
26
|
# config.i18n.default_locale = :de
|
|
27
|
-
|
|
28
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
|
29
|
-
config.active_record.raise_in_transactional_callbacks = true
|
|
30
27
|
end
|
|
31
28
|
end
|
|
32
29
|
|
|
@@ -15,5 +15,19 @@ describe UrlHelper, :type => :helper do
|
|
|
15
15
|
it "does not emit a default if a button type is specified" do
|
|
16
16
|
button_to("Test", "/test", class: 'btn-danger').should =~ pattern("Test", "btn-danger")
|
|
17
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
|
|
18
32
|
end
|
|
19
33
|
end
|
|
@@ -52,5 +52,28 @@ describe NavHelper, :type => :helper do
|
|
|
52
52
|
(pills class: 'nav-stacked').should == html
|
|
53
53
|
end
|
|
54
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
|
|
55
78
|
end
|
|
56
79
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap-sass-extras
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
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:
|
|
11
|
+
date: 2020-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -113,6 +113,7 @@ files:
|
|
|
113
113
|
- script/rails
|
|
114
114
|
- spec/dummy/README.rdoc
|
|
115
115
|
- spec/dummy/Rakefile
|
|
116
|
+
- spec/dummy/app/assets/config/manifest.js
|
|
116
117
|
- spec/dummy/app/assets/images/.keep
|
|
117
118
|
- spec/dummy/app/assets/javascripts/application.js
|
|
118
119
|
- spec/dummy/app/assets/stylesheets/application.css
|
|
@@ -164,7 +165,7 @@ files:
|
|
|
164
165
|
homepage: https://github.com/doabit/bootstrap-sass-extras
|
|
165
166
|
licenses: []
|
|
166
167
|
metadata: {}
|
|
167
|
-
post_install_message:
|
|
168
|
+
post_install_message:
|
|
168
169
|
rdoc_options: []
|
|
169
170
|
require_paths:
|
|
170
171
|
- lib
|
|
@@ -179,14 +180,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
179
180
|
- !ruby/object:Gem::Version
|
|
180
181
|
version: '0'
|
|
181
182
|
requirements: []
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
signing_key:
|
|
183
|
+
rubygems_version: 3.0.3
|
|
184
|
+
signing_key:
|
|
185
185
|
specification_version: 4
|
|
186
186
|
summary: bootstrap-sass extras.
|
|
187
187
|
test_files:
|
|
188
188
|
- spec/dummy/README.rdoc
|
|
189
189
|
- spec/dummy/Rakefile
|
|
190
|
+
- spec/dummy/app/assets/config/manifest.js
|
|
190
191
|
- spec/dummy/app/assets/images/.keep
|
|
191
192
|
- spec/dummy/app/assets/javascripts/application.js
|
|
192
193
|
- spec/dummy/app/assets/stylesheets/application.css
|