booties 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +172 -0
- data/Rakefile +5 -4
- data/app/controllers/booties/application_controller.rb +4 -1
- data/app/helpers/booties/application_helper.rb +3 -26
- data/app/helpers/booties/badge_helper.rb +6 -3
- data/app/helpers/booties/breadcrumb_helper.rb +29 -0
- data/app/helpers/booties/button_helper.rb +10 -8
- data/app/helpers/booties/dropdown_helper.rb +71 -0
- data/app/helpers/booties/flag_helper.rb +7 -4
- data/app/helpers/booties/modal_helper.rb +4 -1
- data/app/helpers/booties/panel_helper.rb +3 -1
- data/app/helpers/booties/popover_helper.rb +28 -19
- data/app/helpers/booties/tooltip_helper.rb +12 -8
- data/config/routes.rb +2 -0
- data/lib/booties.rb +3 -1
- data/lib/booties/engine.rb +7 -1
- data/lib/booties/modal.rb +13 -12
- data/lib/booties/panel.rb +21 -18
- data/lib/booties/utils.rb +8 -10
- data/lib/booties/version.rb +3 -1
- data/lib/tasks/booties_tasks.rake +2 -0
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/channels/application_cable/channel.rb +4 -0
- data/test/dummy/app/channels/application_cable/connection.rb +4 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -4
- data/test/dummy/app/controllers/samples_controller.rb +28 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +9 -11
- data/test/dummy/app/views/samples/badges.html.erb +2 -0
- data/test/dummy/app/views/{home → samples}/breadcrumbs.html.erb +2 -1
- data/test/dummy/app/views/samples/buttons.html.erb +2 -0
- data/test/dummy/app/views/samples/dropdowns.html.erb +6 -0
- data/test/dummy/app/views/samples/flags.html.erb +2 -0
- data/test/dummy/app/views/samples/modals.html.erb +12 -0
- data/test/dummy/app/views/samples/panels.html.erb +14 -0
- data/test/dummy/app/views/samples/popovers.html.erb +9 -0
- data/test/dummy/app/views/samples/tooltips.html.erb +3 -0
- data/test/dummy/bin/bundle +1 -1
- data/test/dummy/bin/rails +1 -1
- data/test/dummy/bin/setup +17 -13
- data/test/dummy/bin/update +28 -0
- data/test/dummy/config.ru +2 -1
- data/test/dummy/config/application.rb +13 -12
- data/test/dummy/config/boot.rb +2 -2
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +24 -16
- data/test/dummy/config/environments/production.rb +23 -28
- data/test/dummy/config/environments/test.rb +5 -11
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/content_security_policy.rb +25 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +6 -1
- data/test/dummy/config/locales/en.yml +10 -0
- data/test/dummy/config/puma.rb +34 -0
- data/test/dummy/config/routes.rb +16 -8
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/log/test.log +11202 -19551
- data/test/dummy/public/404.html +6 -6
- data/test/dummy/public/422.html +6 -6
- data/test/dummy/public/500.html +6 -6
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/33/33EUCQBNqL6TOaGyMFn9wz2v39pHMJ4LOUUFUteIHHM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/7Q/7Q2gtOOyCVPFrfYz4KjmXJsM_m8Yra4MjgsQmfVGxZY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8c/8cROjTzeZZQaOFNLPKGuMtXO7EHxNfiEa72qt65UoF4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/F6/F6RhC2MbCvVanNZZe44hqlJNKAdIrH4NUzRxj5N2_EQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fc/FcMeZRcfG4LrhIhl3xrAg3EhSZInU4efHmUrjIs4keE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/H3/H3dfPRbxbWIB6dQXrQ6xA9nDJqy4dOq1ujslocGVY9U.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/LK/LKisVDbQmzgRQKdFoNH5tRbTr72CrlM_2q7MZczv2Pg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pc/Pce9HMZhc6XmsNfLUN84Enw7mySJ7ZYzys9mXmCVXqA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Po/PoftKmjB8lzW06EMKeru1CsqVtULc0MsiTysT2JNqvU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Su/SuILTE3Es0N_r-36Ddu2E6h49WcwH_-RsZyG4SPwKFQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cJ/cJG59MHf0x4qJKYES0pa0nLpOFpFF7YwrrvIVKIixyA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fw/fwPYklzExHPpgeuv53ew_8OIpJVRyaHj2Jtj2JP9j5A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jc/jc_TR7ZZTSFDDRKdgc-KnZskUESr2rLOqcYZej83LvU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rV/rVy4-idUuK0Va9FLw3G8pYeZFwJAwmvs_bQcbq6_Cd0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rY/rYyeRvy3oIuNfWeDhoriNlAlVjN4Wg4A3_9_OTDFin4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYFbDrMNElXwgmisit50aNXJvRU2zlIFk5g-EJ1CQTc.cache +0 -0
- data/test/helpers/booties/badge_helper_test.rb +7 -5
- data/test/helpers/booties/breadcrumb_helper_test.rb +13 -0
- data/test/helpers/booties/button_helper_test.rb +14 -12
- data/test/helpers/booties/dropdown_helper_test.rb +43 -0
- data/test/helpers/booties/flag_helper_test.rb +7 -5
- data/test/helpers/booties/modal_helper_test.rb +9 -7
- data/test/helpers/booties/panel_helper_test.rb +4 -2
- data/test/helpers/booties/popover_helper_test.rb +33 -42
- data/test/helpers/booties/tooltip_helper_test.rb +19 -40
- data/test/integration/samples_test.rb +103 -0
- data/test/lib/booties/modal_test.rb +193 -0
- data/test/{booties → lib/booties}/panel_test.rb +40 -22
- data/test/lib/booties/utils_test.rb +41 -0
- data/test/stub_view.rb +14 -7
- data/test/test_helper.rb +10 -11
- metadata +124 -98
- data/app/assets/javascripts/booties/application.js +0 -13
- data/app/assets/stylesheets/booties/application.css +0 -15
- data/test/booties/modal_test.rb +0 -170
- data/test/booties/utils_test.rb +0 -26
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/app/assets/javascripts/home.js +0 -2
- data/test/dummy/app/assets/stylesheets/home.css +0 -4
- data/test/dummy/app/controllers/home_controller.rb +0 -25
- data/test/dummy/app/helpers/home_helper.rb +0 -2
- data/test/dummy/app/views/home/badge.html.erb +0 -3
- data/test/dummy/app/views/home/button.html.erb +0 -2
- data/test/dummy/app/views/home/flag.html.erb +0 -5
- data/test/dummy/app/views/home/modal.html.erb +0 -16
- data/test/dummy/app/views/home/panel.html.erb +0 -25
- data/test/dummy/app/views/home/popover.html.erb +0 -7
- data/test/dummy/app/views/home/tooltip.html.erb +0 -7
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/locales/booties.yml +0 -4
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/log/development.log +0 -420
- data/test/dummy/test/controllers/home_controller_test.rb +0 -108
- data/test/helpers/booties/application_helper_test.rb +0 -11
- data/test/integration/navigation_test.rb +0 -9
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'test_helper'
|
4
|
+
|
5
|
+
module Booties
|
6
|
+
class TestUtils < Minitest::Test
|
7
|
+
def test_merge_classes_with_arrays
|
8
|
+
assert_equal %w[a b c], Utils.merge_classes(%w[a b], %w[b c])
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_merge_classes_with_strings
|
12
|
+
assert_equal %w[a b c], Utils.merge_classes('a b ', ' b c')
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_merge_classes_with_arrays_and_strings
|
16
|
+
assert_equal %w[a b c], Utils.merge_classes(%w[a b], 'b c')
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_merge_classes_with_one_nil_argument
|
20
|
+
assert_equal %w[a b], Utils.merge_classes('a b', nil)
|
21
|
+
assert_equal %w[a b], Utils.merge_classes(nil, 'a b')
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_merge_classes_with_nil_arguments
|
25
|
+
assert_nil Utils.merge_classes(nil, nil)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_merge_more_than_two_class_sets
|
29
|
+
assert_equal %w[a b c d], Utils.merge_classes('a b', 'b c', 'c d')
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_merge_classes_is_module_function
|
33
|
+
cls = Class.new do
|
34
|
+
include Utils
|
35
|
+
public :merge_classes
|
36
|
+
end
|
37
|
+
|
38
|
+
assert_respond_to cls.new, :merge_classes
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/test/stub_view.rb
CHANGED
@@ -1,15 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class StubView
|
2
4
|
def button_tag(content, options = nil, &block)
|
3
5
|
content_tag :button, content, options, &block
|
4
6
|
end
|
5
7
|
|
6
|
-
def capture(*args
|
7
|
-
|
8
|
+
def capture(*args)
|
9
|
+
yield(*args)
|
8
10
|
end
|
9
11
|
|
10
|
-
def content_tag(tag,
|
11
|
-
|
12
|
-
|
12
|
+
def content_tag(tag, content_or_opts, opts = nil, &block)
|
13
|
+
if block_given?
|
14
|
+
content = capture(&block)
|
15
|
+
opts = content_or_opts
|
16
|
+
else
|
17
|
+
content = content_or_opts
|
18
|
+
end
|
19
|
+
"<#{[tag, *attributes(opts)].join(' ')}>#{content}</#{tag}>"
|
13
20
|
end
|
14
21
|
|
15
22
|
def raw(content)
|
@@ -26,10 +33,10 @@ class StubView
|
|
26
33
|
def attributes(prefix = nil, **attrs)
|
27
34
|
prefix = "#{prefix}-" if prefix
|
28
35
|
attrs.reject { |_, value| value.nil? }.flat_map do |key, value|
|
29
|
-
if Hash
|
36
|
+
if value.is_a?(Hash)
|
30
37
|
attributes key, value
|
31
38
|
else
|
32
|
-
%
|
39
|
+
%(#{prefix}#{key}="#{Array(value).compact.join(' ')}")
|
33
40
|
end
|
34
41
|
end
|
35
42
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,25 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Configure Rails Environment
|
2
|
-
ENV[
|
4
|
+
ENV['RAILS_ENV'] = 'test'
|
3
5
|
|
4
|
-
require File.expand_path(
|
5
|
-
require
|
6
|
+
require File.expand_path('dummy/config/environment.rb', __dir__)
|
7
|
+
require 'rails/test_help'
|
6
8
|
|
7
9
|
require 'pry'
|
8
|
-
|
9
10
|
require 'minitest/focus'
|
10
|
-
require 'minitest/reporters'
|
11
|
-
|
12
|
-
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
|
13
11
|
|
14
12
|
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
15
13
|
# to be shown.
|
16
14
|
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
17
15
|
|
18
|
-
#
|
19
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
20
|
-
|
16
|
+
# rubocop:disable Metrics/LineLength
|
21
17
|
# Load fixtures from the engine
|
22
18
|
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
23
|
-
ActiveSupport::TestCase.fixture_path = File.expand_path(
|
19
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path('fixtures', __dir__)
|
20
|
+
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
21
|
+
ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + '/files'
|
24
22
|
ActiveSupport::TestCase.fixtures :all
|
25
23
|
end
|
24
|
+
# rubocop:enable Metrics/LineLength
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: booties
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Parker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,28 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.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
|
-
version: '
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: appraisal
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
26
|
+
version: '5.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +53,7 @@ dependencies:
|
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: pry-rails
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - ">="
|
@@ -81,7 +67,7 @@ dependencies:
|
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: rubocop
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - ">="
|
@@ -102,13 +88,14 @@ extensions: []
|
|
102
88
|
extra_rdoc_files: []
|
103
89
|
files:
|
104
90
|
- MIT-LICENSE
|
91
|
+
- README.md
|
105
92
|
- Rakefile
|
106
|
-
- app/assets/javascripts/booties/application.js
|
107
|
-
- app/assets/stylesheets/booties/application.css
|
108
93
|
- app/controllers/booties/application_controller.rb
|
109
94
|
- app/helpers/booties/application_helper.rb
|
110
95
|
- app/helpers/booties/badge_helper.rb
|
96
|
+
- app/helpers/booties/breadcrumb_helper.rb
|
111
97
|
- app/helpers/booties/button_helper.rb
|
98
|
+
- app/helpers/booties/dropdown_helper.rb
|
112
99
|
- app/helpers/booties/flag_helper.rb
|
113
100
|
- app/helpers/booties/modal_helper.rb
|
114
101
|
- app/helpers/booties/panel_helper.rb
|
@@ -123,32 +110,30 @@ files:
|
|
123
110
|
- lib/booties/utils.rb
|
124
111
|
- lib/booties/version.rb
|
125
112
|
- lib/tasks/booties_tasks.rake
|
126
|
-
- test/booties/modal_test.rb
|
127
|
-
- test/booties/panel_test.rb
|
128
|
-
- test/booties/utils_test.rb
|
129
|
-
- test/dummy/README.rdoc
|
130
113
|
- test/dummy/Rakefile
|
131
114
|
- test/dummy/app/assets/javascripts/application.js
|
132
|
-
- test/dummy/app/assets/javascripts/home.js
|
133
115
|
- test/dummy/app/assets/stylesheets/application.css
|
134
|
-
- test/dummy/app/
|
116
|
+
- test/dummy/app/channels/application_cable/channel.rb
|
117
|
+
- test/dummy/app/channels/application_cable/connection.rb
|
135
118
|
- test/dummy/app/controllers/application_controller.rb
|
136
|
-
- test/dummy/app/controllers/
|
119
|
+
- test/dummy/app/controllers/samples_controller.rb
|
137
120
|
- test/dummy/app/helpers/application_helper.rb
|
138
|
-
- test/dummy/app/
|
139
|
-
- test/dummy/app/views/home/badge.html.erb
|
140
|
-
- test/dummy/app/views/home/breadcrumbs.html.erb
|
141
|
-
- test/dummy/app/views/home/button.html.erb
|
142
|
-
- test/dummy/app/views/home/flag.html.erb
|
143
|
-
- test/dummy/app/views/home/modal.html.erb
|
144
|
-
- test/dummy/app/views/home/panel.html.erb
|
145
|
-
- test/dummy/app/views/home/popover.html.erb
|
146
|
-
- test/dummy/app/views/home/tooltip.html.erb
|
121
|
+
- test/dummy/app/jobs/application_job.rb
|
147
122
|
- test/dummy/app/views/layouts/application.html.erb
|
123
|
+
- test/dummy/app/views/samples/badges.html.erb
|
124
|
+
- test/dummy/app/views/samples/breadcrumbs.html.erb
|
125
|
+
- test/dummy/app/views/samples/buttons.html.erb
|
126
|
+
- test/dummy/app/views/samples/dropdowns.html.erb
|
127
|
+
- test/dummy/app/views/samples/flags.html.erb
|
128
|
+
- test/dummy/app/views/samples/modals.html.erb
|
129
|
+
- test/dummy/app/views/samples/panels.html.erb
|
130
|
+
- test/dummy/app/views/samples/popovers.html.erb
|
131
|
+
- test/dummy/app/views/samples/tooltips.html.erb
|
148
132
|
- test/dummy/bin/bundle
|
149
133
|
- test/dummy/bin/rails
|
150
134
|
- test/dummy/bin/rake
|
151
135
|
- test/dummy/bin/setup
|
136
|
+
- test/dummy/bin/update
|
152
137
|
- test/dummy/config.ru
|
153
138
|
- test/dummy/config/application.rb
|
154
139
|
- test/dummy/config/boot.rb
|
@@ -156,34 +141,56 @@ files:
|
|
156
141
|
- test/dummy/config/environments/development.rb
|
157
142
|
- test/dummy/config/environments/production.rb
|
158
143
|
- test/dummy/config/environments/test.rb
|
159
|
-
- test/dummy/config/initializers/
|
144
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
160
145
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
146
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
161
147
|
- test/dummy/config/initializers/cookies_serializer.rb
|
162
148
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
163
149
|
- test/dummy/config/initializers/inflections.rb
|
164
150
|
- test/dummy/config/initializers/mime_types.rb
|
165
|
-
- test/dummy/config/initializers/session_store.rb
|
166
151
|
- test/dummy/config/initializers/wrap_parameters.rb
|
167
|
-
- test/dummy/config/locales/booties.yml
|
168
152
|
- test/dummy/config/locales/en.yml
|
153
|
+
- test/dummy/config/puma.rb
|
169
154
|
- test/dummy/config/routes.rb
|
170
|
-
- test/dummy/config/
|
171
|
-
- test/dummy/log/development.log
|
155
|
+
- test/dummy/config/spring.rb
|
172
156
|
- test/dummy/log/test.log
|
173
157
|
- test/dummy/public/404.html
|
174
158
|
- test/dummy/public/422.html
|
175
159
|
- test/dummy/public/500.html
|
160
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
161
|
+
- test/dummy/public/apple-touch-icon.png
|
176
162
|
- test/dummy/public/favicon.ico
|
177
|
-
- test/dummy/
|
178
|
-
- test/
|
163
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/33/33EUCQBNqL6TOaGyMFn9wz2v39pHMJ4LOUUFUteIHHM.cache
|
164
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
|
165
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/7Q/7Q2gtOOyCVPFrfYz4KjmXJsM_m8Yra4MjgsQmfVGxZY.cache
|
166
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/8c/8cROjTzeZZQaOFNLPKGuMtXO7EHxNfiEa72qt65UoF4.cache
|
167
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/F6/F6RhC2MbCvVanNZZe44hqlJNKAdIrH4NUzRxj5N2_EQ.cache
|
168
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Fc/FcMeZRcfG4LrhIhl3xrAg3EhSZInU4efHmUrjIs4keE.cache
|
169
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/H3/H3dfPRbxbWIB6dQXrQ6xA9nDJqy4dOq1ujslocGVY9U.cache
|
170
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/LK/LKisVDbQmzgRQKdFoNH5tRbTr72CrlM_2q7MZczv2Pg.cache
|
171
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
|
172
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Pc/Pce9HMZhc6XmsNfLUN84Enw7mySJ7ZYzys9mXmCVXqA.cache
|
173
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Po/PoftKmjB8lzW06EMKeru1CsqVtULc0MsiTysT2JNqvU.cache
|
174
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Su/SuILTE3Es0N_r-36Ddu2E6h49WcwH_-RsZyG4SPwKFQ.cache
|
175
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/cJ/cJG59MHf0x4qJKYES0pa0nLpOFpFF7YwrrvIVKIixyA.cache
|
176
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/fw/fwPYklzExHPpgeuv53ew_8OIpJVRyaHj2Jtj2JP9j5A.cache
|
177
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/jc/jc_TR7ZZTSFDDRKdgc-KnZskUESr2rLOqcYZej83LvU.cache
|
178
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rV/rVy4-idUuK0Va9FLw3G8pYeZFwJAwmvs_bQcbq6_Cd0.cache
|
179
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rY/rYyeRvy3oIuNfWeDhoriNlAlVjN4Wg4A3_9_OTDFin4.cache
|
180
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYFbDrMNElXwgmisit50aNXJvRU2zlIFk5g-EJ1CQTc.cache
|
179
181
|
- test/helpers/booties/badge_helper_test.rb
|
182
|
+
- test/helpers/booties/breadcrumb_helper_test.rb
|
180
183
|
- test/helpers/booties/button_helper_test.rb
|
184
|
+
- test/helpers/booties/dropdown_helper_test.rb
|
181
185
|
- test/helpers/booties/flag_helper_test.rb
|
182
186
|
- test/helpers/booties/modal_helper_test.rb
|
183
187
|
- test/helpers/booties/panel_helper_test.rb
|
184
188
|
- test/helpers/booties/popover_helper_test.rb
|
185
189
|
- test/helpers/booties/tooltip_helper_test.rb
|
186
|
-
- test/integration/
|
190
|
+
- test/integration/samples_test.rb
|
191
|
+
- test/lib/booties/modal_test.rb
|
192
|
+
- test/lib/booties/panel_test.rb
|
193
|
+
- test/lib/booties/utils_test.rb
|
187
194
|
- test/stub_view.rb
|
188
195
|
- test/test_helper.rb
|
189
196
|
homepage: https://github.com/jparker/booties
|
@@ -198,79 +205,98 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
205
|
requirements:
|
199
206
|
- - ">="
|
200
207
|
- !ruby/object:Gem::Version
|
201
|
-
version: '2.
|
208
|
+
version: '2.3'
|
202
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
210
|
requirements:
|
204
211
|
- - ">="
|
205
212
|
- !ruby/object:Gem::Version
|
206
213
|
version: '0'
|
207
214
|
requirements: []
|
208
|
-
|
209
|
-
rubygems_version: 2.6.4
|
215
|
+
rubygems_version: 3.0.2
|
210
216
|
signing_key:
|
211
217
|
specification_version: 4
|
212
218
|
summary: Rails view helpers for Twitter Bootstrap.
|
213
219
|
test_files:
|
214
|
-
- test/
|
215
|
-
- test/
|
216
|
-
- test/
|
217
|
-
- test/dummy/
|
218
|
-
- test/dummy/
|
219
|
-
- test/dummy/
|
220
|
-
- test/dummy/
|
220
|
+
- test/dummy/log/test.log
|
221
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Su/SuILTE3Es0N_r-36Ddu2E6h49WcwH_-RsZyG4SPwKFQ.cache
|
222
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/H3/H3dfPRbxbWIB6dQXrQ6xA9nDJqy4dOq1ujslocGVY9U.cache
|
223
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
|
224
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYFbDrMNElXwgmisit50aNXJvRU2zlIFk5g-EJ1CQTc.cache
|
225
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/jc/jc_TR7ZZTSFDDRKdgc-KnZskUESr2rLOqcYZej83LvU.cache
|
226
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/8c/8cROjTzeZZQaOFNLPKGuMtXO7EHxNfiEa72qt65UoF4.cache
|
227
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Pc/Pce9HMZhc6XmsNfLUN84Enw7mySJ7ZYzys9mXmCVXqA.cache
|
228
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rY/rYyeRvy3oIuNfWeDhoriNlAlVjN4Wg4A3_9_OTDFin4.cache
|
229
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Fc/FcMeZRcfG4LrhIhl3xrAg3EhSZInU4efHmUrjIs4keE.cache
|
230
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Po/PoftKmjB8lzW06EMKeru1CsqVtULc0MsiTysT2JNqvU.cache
|
231
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
|
232
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/7Q/7Q2gtOOyCVPFrfYz4KjmXJsM_m8Yra4MjgsQmfVGxZY.cache
|
233
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/fw/fwPYklzExHPpgeuv53ew_8OIpJVRyaHj2Jtj2JP9j5A.cache
|
234
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/cJ/cJG59MHf0x4qJKYES0pa0nLpOFpFF7YwrrvIVKIixyA.cache
|
235
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/LK/LKisVDbQmzgRQKdFoNH5tRbTr72CrlM_2q7MZczv2Pg.cache
|
236
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/33/33EUCQBNqL6TOaGyMFn9wz2v39pHMJ4LOUUFUteIHHM.cache
|
237
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/F6/F6RhC2MbCvVanNZZe44hqlJNKAdIrH4NUzRxj5N2_EQ.cache
|
238
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rV/rVy4-idUuK0Va9FLw3G8pYeZFwJAwmvs_bQcbq6_Cd0.cache
|
239
|
+
- test/dummy/config.ru
|
240
|
+
- test/dummy/Rakefile
|
241
|
+
- test/dummy/app/controllers/samples_controller.rb
|
221
242
|
- test/dummy/app/controllers/application_controller.rb
|
222
|
-
- test/dummy/app/controllers/home_controller.rb
|
223
243
|
- test/dummy/app/helpers/application_helper.rb
|
224
|
-
- test/dummy/app/
|
225
|
-
- test/dummy/app/views/
|
226
|
-
- test/dummy/app/views/
|
227
|
-
- test/dummy/app/views/
|
228
|
-
- test/dummy/app/views/
|
229
|
-
- test/dummy/app/views/
|
230
|
-
- test/dummy/app/views/
|
231
|
-
- test/dummy/app/views/
|
232
|
-
- test/dummy/app/views/
|
244
|
+
- test/dummy/app/views/samples/flags.html.erb
|
245
|
+
- test/dummy/app/views/samples/dropdowns.html.erb
|
246
|
+
- test/dummy/app/views/samples/panels.html.erb
|
247
|
+
- test/dummy/app/views/samples/popovers.html.erb
|
248
|
+
- test/dummy/app/views/samples/breadcrumbs.html.erb
|
249
|
+
- test/dummy/app/views/samples/modals.html.erb
|
250
|
+
- test/dummy/app/views/samples/tooltips.html.erb
|
251
|
+
- test/dummy/app/views/samples/badges.html.erb
|
252
|
+
- test/dummy/app/views/samples/buttons.html.erb
|
233
253
|
- test/dummy/app/views/layouts/application.html.erb
|
254
|
+
- test/dummy/app/channels/application_cable/channel.rb
|
255
|
+
- test/dummy/app/channels/application_cable/connection.rb
|
256
|
+
- test/dummy/app/jobs/application_job.rb
|
257
|
+
- test/dummy/app/assets/javascripts/application.js
|
258
|
+
- test/dummy/app/assets/stylesheets/application.css
|
234
259
|
- test/dummy/bin/bundle
|
235
|
-
- test/dummy/bin/rails
|
236
260
|
- test/dummy/bin/rake
|
261
|
+
- test/dummy/bin/update
|
237
262
|
- test/dummy/bin/setup
|
238
|
-
- test/dummy/
|
239
|
-
- test/dummy/
|
240
|
-
- test/dummy/
|
241
|
-
- test/dummy/
|
242
|
-
- test/dummy/
|
243
|
-
- test/dummy/
|
244
|
-
- test/dummy/
|
263
|
+
- test/dummy/bin/rails
|
264
|
+
- test/dummy/public/500.html
|
265
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
266
|
+
- test/dummy/public/apple-touch-icon.png
|
267
|
+
- test/dummy/public/422.html
|
268
|
+
- test/dummy/public/favicon.ico
|
269
|
+
- test/dummy/public/404.html
|
270
|
+
- test/dummy/config/locales/en.yml
|
245
271
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
272
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
273
|
+
- test/dummy/config/initializers/mime_types.rb
|
274
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
275
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
246
276
|
- test/dummy/config/initializers/cookies_serializer.rb
|
247
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
248
277
|
- test/dummy/config/initializers/inflections.rb
|
249
|
-
- test/dummy/config/initializers/
|
250
|
-
- test/dummy/config/
|
251
|
-
- test/dummy/config/
|
252
|
-
- test/dummy/config/
|
253
|
-
- test/dummy/config/
|
278
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
279
|
+
- test/dummy/config/application.rb
|
280
|
+
- test/dummy/config/puma.rb
|
281
|
+
- test/dummy/config/boot.rb
|
282
|
+
- test/dummy/config/environment.rb
|
254
283
|
- test/dummy/config/routes.rb
|
255
|
-
- test/dummy/config/
|
256
|
-
- test/dummy/config.
|
257
|
-
- test/dummy/
|
258
|
-
- test/dummy/
|
259
|
-
- test/
|
260
|
-
- test/
|
261
|
-
- test/
|
262
|
-
- test/dummy/public/favicon.ico
|
263
|
-
- test/dummy/Rakefile
|
264
|
-
- test/dummy/README.rdoc
|
265
|
-
- test/dummy/test/controllers/home_controller_test.rb
|
266
|
-
- test/helpers/booties/application_helper_test.rb
|
267
|
-
- test/helpers/booties/badge_helper_test.rb
|
284
|
+
- test/dummy/config/environments/test.rb
|
285
|
+
- test/dummy/config/environments/production.rb
|
286
|
+
- test/dummy/config/environments/development.rb
|
287
|
+
- test/dummy/config/spring.rb
|
288
|
+
- test/integration/samples_test.rb
|
289
|
+
- test/stub_view.rb
|
290
|
+
- test/helpers/booties/tooltip_helper_test.rb
|
268
291
|
- test/helpers/booties/button_helper_test.rb
|
292
|
+
- test/helpers/booties/popover_helper_test.rb
|
293
|
+
- test/helpers/booties/badge_helper_test.rb
|
294
|
+
- test/helpers/booties/breadcrumb_helper_test.rb
|
295
|
+
- test/helpers/booties/dropdown_helper_test.rb
|
296
|
+
- test/helpers/booties/panel_helper_test.rb
|
269
297
|
- test/helpers/booties/flag_helper_test.rb
|
270
298
|
- test/helpers/booties/modal_helper_test.rb
|
271
|
-
- test/helpers/booties/panel_helper_test.rb
|
272
|
-
- test/helpers/booties/popover_helper_test.rb
|
273
|
-
- test/helpers/booties/tooltip_helper_test.rb
|
274
|
-
- test/integration/navigation_test.rb
|
275
|
-
- test/stub_view.rb
|
276
299
|
- test/test_helper.rb
|
300
|
+
- test/lib/booties/panel_test.rb
|
301
|
+
- test/lib/booties/utils_test.rb
|
302
|
+
- test/lib/booties/modal_test.rb
|