booties 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +172 -0
  3. data/Rakefile +5 -4
  4. data/app/controllers/booties/application_controller.rb +4 -1
  5. data/app/helpers/booties/application_helper.rb +3 -26
  6. data/app/helpers/booties/badge_helper.rb +6 -3
  7. data/app/helpers/booties/breadcrumb_helper.rb +29 -0
  8. data/app/helpers/booties/button_helper.rb +10 -8
  9. data/app/helpers/booties/dropdown_helper.rb +71 -0
  10. data/app/helpers/booties/flag_helper.rb +7 -4
  11. data/app/helpers/booties/modal_helper.rb +4 -1
  12. data/app/helpers/booties/panel_helper.rb +3 -1
  13. data/app/helpers/booties/popover_helper.rb +28 -19
  14. data/app/helpers/booties/tooltip_helper.rb +12 -8
  15. data/config/routes.rb +2 -0
  16. data/lib/booties.rb +3 -1
  17. data/lib/booties/engine.rb +7 -1
  18. data/lib/booties/modal.rb +13 -12
  19. data/lib/booties/panel.rb +21 -18
  20. data/lib/booties/utils.rb +8 -10
  21. data/lib/booties/version.rb +3 -1
  22. data/lib/tasks/booties_tasks.rake +2 -0
  23. data/test/dummy/Rakefile +1 -1
  24. data/test/dummy/app/assets/javascripts/application.js +0 -13
  25. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  26. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  27. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  28. data/test/dummy/app/controllers/application_controller.rb +0 -4
  29. data/test/dummy/app/controllers/samples_controller.rb +28 -0
  30. data/test/dummy/app/jobs/application_job.rb +2 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +9 -11
  32. data/test/dummy/app/views/samples/badges.html.erb +2 -0
  33. data/test/dummy/app/views/{home → samples}/breadcrumbs.html.erb +2 -1
  34. data/test/dummy/app/views/samples/buttons.html.erb +2 -0
  35. data/test/dummy/app/views/samples/dropdowns.html.erb +6 -0
  36. data/test/dummy/app/views/samples/flags.html.erb +2 -0
  37. data/test/dummy/app/views/samples/modals.html.erb +12 -0
  38. data/test/dummy/app/views/samples/panels.html.erb +14 -0
  39. data/test/dummy/app/views/samples/popovers.html.erb +9 -0
  40. data/test/dummy/app/views/samples/tooltips.html.erb +3 -0
  41. data/test/dummy/bin/bundle +1 -1
  42. data/test/dummy/bin/rails +1 -1
  43. data/test/dummy/bin/setup +17 -13
  44. data/test/dummy/bin/update +28 -0
  45. data/test/dummy/config.ru +2 -1
  46. data/test/dummy/config/application.rb +13 -12
  47. data/test/dummy/config/boot.rb +2 -2
  48. data/test/dummy/config/environment.rb +1 -1
  49. data/test/dummy/config/environments/development.rb +24 -16
  50. data/test/dummy/config/environments/production.rb +23 -28
  51. data/test/dummy/config/environments/test.rb +5 -11
  52. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  53. data/test/dummy/config/initializers/content_security_policy.rb +25 -0
  54. data/test/dummy/config/initializers/cookies_serializer.rb +2 -0
  55. data/test/dummy/config/initializers/wrap_parameters.rb +6 -1
  56. data/test/dummy/config/locales/en.yml +10 -0
  57. data/test/dummy/config/puma.rb +34 -0
  58. data/test/dummy/config/routes.rb +16 -8
  59. data/test/dummy/config/spring.rb +6 -0
  60. data/test/dummy/log/test.log +11202 -19551
  61. data/test/dummy/public/404.html +6 -6
  62. data/test/dummy/public/422.html +6 -6
  63. data/test/dummy/public/500.html +6 -6
  64. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  65. data/test/dummy/public/apple-touch-icon.png +0 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/33/33EUCQBNqL6TOaGyMFn9wz2v39pHMJ4LOUUFUteIHHM.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +2 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7Q/7Q2gtOOyCVPFrfYz4KjmXJsM_m8Yra4MjgsQmfVGxZY.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8c/8cROjTzeZZQaOFNLPKGuMtXO7EHxNfiEa72qt65UoF4.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/F6/F6RhC2MbCvVanNZZe44hqlJNKAdIrH4NUzRxj5N2_EQ.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fc/FcMeZRcfG4LrhIhl3xrAg3EhSZInU4efHmUrjIs4keE.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/H3/H3dfPRbxbWIB6dQXrQ6xA9nDJqy4dOq1ujslocGVY9U.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LK/LKisVDbQmzgRQKdFoNH5tRbTr72CrlM_2q7MZczv2Pg.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +3 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pc/Pce9HMZhc6XmsNfLUN84Enw7mySJ7ZYzys9mXmCVXqA.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Po/PoftKmjB8lzW06EMKeru1CsqVtULc0MsiTysT2JNqvU.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Su/SuILTE3Es0N_r-36Ddu2E6h49WcwH_-RsZyG4SPwKFQ.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cJ/cJG59MHf0x4qJKYES0pa0nLpOFpFF7YwrrvIVKIixyA.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fw/fwPYklzExHPpgeuv53ew_8OIpJVRyaHj2Jtj2JP9j5A.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jc/jc_TR7ZZTSFDDRKdgc-KnZskUESr2rLOqcYZej83LvU.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rV/rVy4-idUuK0Va9FLw3G8pYeZFwJAwmvs_bQcbq6_Cd0.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rY/rYyeRvy3oIuNfWeDhoriNlAlVjN4Wg4A3_9_OTDFin4.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYFbDrMNElXwgmisit50aNXJvRU2zlIFk5g-EJ1CQTc.cache +0 -0
  84. data/test/helpers/booties/badge_helper_test.rb +7 -5
  85. data/test/helpers/booties/breadcrumb_helper_test.rb +13 -0
  86. data/test/helpers/booties/button_helper_test.rb +14 -12
  87. data/test/helpers/booties/dropdown_helper_test.rb +43 -0
  88. data/test/helpers/booties/flag_helper_test.rb +7 -5
  89. data/test/helpers/booties/modal_helper_test.rb +9 -7
  90. data/test/helpers/booties/panel_helper_test.rb +4 -2
  91. data/test/helpers/booties/popover_helper_test.rb +33 -42
  92. data/test/helpers/booties/tooltip_helper_test.rb +19 -40
  93. data/test/integration/samples_test.rb +103 -0
  94. data/test/lib/booties/modal_test.rb +193 -0
  95. data/test/{booties → lib/booties}/panel_test.rb +40 -22
  96. data/test/lib/booties/utils_test.rb +41 -0
  97. data/test/stub_view.rb +14 -7
  98. data/test/test_helper.rb +10 -11
  99. metadata +124 -98
  100. data/app/assets/javascripts/booties/application.js +0 -13
  101. data/app/assets/stylesheets/booties/application.css +0 -15
  102. data/test/booties/modal_test.rb +0 -170
  103. data/test/booties/utils_test.rb +0 -26
  104. data/test/dummy/README.rdoc +0 -28
  105. data/test/dummy/app/assets/javascripts/home.js +0 -2
  106. data/test/dummy/app/assets/stylesheets/home.css +0 -4
  107. data/test/dummy/app/controllers/home_controller.rb +0 -25
  108. data/test/dummy/app/helpers/home_helper.rb +0 -2
  109. data/test/dummy/app/views/home/badge.html.erb +0 -3
  110. data/test/dummy/app/views/home/button.html.erb +0 -2
  111. data/test/dummy/app/views/home/flag.html.erb +0 -5
  112. data/test/dummy/app/views/home/modal.html.erb +0 -16
  113. data/test/dummy/app/views/home/panel.html.erb +0 -25
  114. data/test/dummy/app/views/home/popover.html.erb +0 -7
  115. data/test/dummy/app/views/home/tooltip.html.erb +0 -7
  116. data/test/dummy/config/initializers/assets.rb +0 -11
  117. data/test/dummy/config/initializers/session_store.rb +0 -3
  118. data/test/dummy/config/locales/booties.yml +0 -4
  119. data/test/dummy/config/secrets.yml +0 -22
  120. data/test/dummy/log/development.log +0 -420
  121. data/test/dummy/test/controllers/home_controller_test.rb +0 -108
  122. data/test/helpers/booties/application_helper_test.rb +0 -11
  123. 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
@@ -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, &block)
7
- block.call(*args)
8
+ def capture(*args)
9
+ yield(*args)
8
10
  end
9
11
 
10
- def content_tag(tag, content, options = nil, &block)
11
- options, content = content, capture(&block) if options.nil?
12
- "<#{[tag, *attributes(options)].join ' '}>#{content}</#{tag}>"
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 === value
36
+ if value.is_a?(Hash)
30
37
  attributes key, value
31
38
  else
32
- %Q{#{prefix}#{key}="#{Array(value).compact.join(' ')}"}
39
+ %(#{prefix}#{key}="#{Array(value).compact.join(' ')}")
33
40
  end
34
41
  end
35
42
  end
@@ -1,25 +1,24 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
4
+ ENV['RAILS_ENV'] = 'test'
3
5
 
4
- require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
- require "rails/test_help"
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
- # Load support files
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("../fixtures", __FILE__)
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.1.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: 2016-06-02 00:00:00.000000000 Z
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: '4.1'
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: '4.1'
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: minitest-reporters
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: pry-rails
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/assets/stylesheets/home.css
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/home_controller.rb
119
+ - test/dummy/app/controllers/samples_controller.rb
137
120
  - test/dummy/app/helpers/application_helper.rb
138
- - test/dummy/app/helpers/home_helper.rb
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/assets.rb
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/secrets.yml
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/test/controllers/home_controller_test.rb
178
- - test/helpers/booties/application_helper_test.rb
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/navigation_test.rb
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.1'
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
- rubyforge_project:
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/booties/modal_test.rb
215
- - test/booties/panel_test.rb
216
- - test/booties/utils_test.rb
217
- - test/dummy/app/assets/javascripts/application.js
218
- - test/dummy/app/assets/javascripts/home.js
219
- - test/dummy/app/assets/stylesheets/application.css
220
- - test/dummy/app/assets/stylesheets/home.css
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/helpers/home_helper.rb
225
- - test/dummy/app/views/home/badge.html.erb
226
- - test/dummy/app/views/home/breadcrumbs.html.erb
227
- - test/dummy/app/views/home/button.html.erb
228
- - test/dummy/app/views/home/flag.html.erb
229
- - test/dummy/app/views/home/modal.html.erb
230
- - test/dummy/app/views/home/panel.html.erb
231
- - test/dummy/app/views/home/popover.html.erb
232
- - test/dummy/app/views/home/tooltip.html.erb
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/config/application.rb
239
- - test/dummy/config/boot.rb
240
- - test/dummy/config/environment.rb
241
- - test/dummy/config/environments/development.rb
242
- - test/dummy/config/environments/production.rb
243
- - test/dummy/config/environments/test.rb
244
- - test/dummy/config/initializers/assets.rb
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/mime_types.rb
250
- - test/dummy/config/initializers/session_store.rb
251
- - test/dummy/config/initializers/wrap_parameters.rb
252
- - test/dummy/config/locales/booties.yml
253
- - test/dummy/config/locales/en.yml
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/secrets.yml
256
- - test/dummy/config.ru
257
- - test/dummy/log/development.log
258
- - test/dummy/log/test.log
259
- - test/dummy/public/404.html
260
- - test/dummy/public/422.html
261
- - test/dummy/public/500.html
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