high_voltage 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/lib/high_voltage/version.rb +1 -1
  4. metadata +4 -99
  5. data/.gitignore +0 -7
  6. data/.travis.yml +0 -25
  7. data/Appraisals +0 -15
  8. data/Gemfile +0 -3
  9. data/Gemfile.lock +0 -114
  10. data/Rakefile +0 -24
  11. data/bin/setup +0 -12
  12. data/gemfiles/rails_4.2.gemfile +0 -7
  13. data/gemfiles/rails_5.0.gemfile +0 -8
  14. data/gemfiles/rails_5.1.gemfile +0 -8
  15. data/gemfiles/rails_5.2.gemfile +0 -8
  16. data/high_voltage.gemspec +0 -24
  17. data/spec/constraints/root_route_spec.rb +0 -29
  18. data/spec/controllers/alternative_finder_controller_spec.rb +0 -12
  19. data/spec/controllers/pages_controller_spec.rb +0 -113
  20. data/spec/controllers/subclassed_pages_controller_spec.rb +0 -34
  21. data/spec/fake_app.rb +0 -16
  22. data/spec/features/current_page_helper_spec.rb +0 -9
  23. data/spec/features/view_page_spec.rb +0 -9
  24. data/spec/fixtures/app/views/layouts/alternate.html.erb +0 -14
  25. data/spec/fixtures/app/views/layouts/application.html.erb +0 -14
  26. data/spec/fixtures/app/views/other/wrong.html.erb +0 -1
  27. data/spec/fixtures/app/views/other_pages/also_dir/also_nested.html.erb +0 -1
  28. data/spec/fixtures/app/views/other_pages/also_exists.html.erb +0 -1
  29. data/spec/fixtures/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb +0 -2
  30. data/spec/fixtures/app/views/pages/_partial.html.erb +0 -1
  31. data/spec/fixtures/app/views/pages/about.html.erb +0 -1
  32. data/spec/fixtures/app/views/pages/also_dir/also_nested.html.erb +0 -1
  33. data/spec/fixtures/app/views/pages/also_exists.html.erb +0 -1
  34. data/spec/fixtures/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb +0 -2
  35. data/spec/fixtures/app/views/pages/current_page_helper.html.erb +0 -1
  36. data/spec/fixtures/app/views/pages/dir/nested.html.erb +0 -1
  37. data/spec/fixtures/app/views/pages/exists.html.erb +0 -1
  38. data/spec/fixtures/app/views/pages/exists_but_references_nonexistent_partial.html.erb +0 -2
  39. data/spec/fixtures/app/views/pages/exists_without_html_extension.erb +0 -1
  40. data/spec/fixtures/app/views/pages/rot13.html.erb +0 -1
  41. data/spec/fixtures/app/views/pages/text.txt.erb +0 -1
  42. data/spec/fixtures/config/database.yml +0 -3
  43. data/spec/fixtures/config/routes.rb +0 -4
  44. data/spec/fixtures/public/pages/exists.html +0 -0
  45. data/spec/high_voltage/configuration_spec.rb +0 -31
  46. data/spec/high_voltage/page_collector_spec.rb +0 -40
  47. data/spec/high_voltage/page_finder_spec.rb +0 -98
  48. data/spec/high_voltage/page_spec.rb +0 -65
  49. data/spec/high_voltage_spec.rb +0 -11
  50. data/spec/integration/navigation_spec.rb +0 -7
  51. data/spec/minimal_spec_helper.rb +0 -5
  52. data/spec/requests/home_page_spec.rb +0 -13
  53. data/spec/routing/routes_spec.rb +0 -140
  54. data/spec/spec_helper.rb +0 -39
  55. data/spec/support/app/controllers/alternative_finder_controller.rb +0 -14
  56. data/spec/support/app/controllers/subclassed_pages_controller.rb +0 -3
  57. data/spec/support/http_method_shim.rb +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e5d4547d14d7066412de89e823fa98c24ba45337470092ee05873cbc7920dde
4
- data.tar.gz: 73e4c7f5894e6b96994a41fcfe3cb8473341619205189fa37045f157815a6cc8
3
+ metadata.gz: 581dd84388af49331c96af5de2b55321fb5fc035083d9cfa55ef9f2c3c5dde5c
4
+ data.tar.gz: b87ccea9df790246681fc54cf300c57293f8e0314a392707b2ae68db934a4b3d
5
5
  SHA512:
6
- metadata.gz: cd3907451f6c54304d5f26715a4ac2c547fe69d38e76a9d79ceceb9bfa24245b21e7ea3aace18416b8642db1c4b960cb4437a8606aa3829f1440bc91d8be64f6
7
- data.tar.gz: aab4d1361c88d8fc98800ea57ce684711b1a16f0a61597c44d2c3c96efeac773fa2a025335c27341a2c3920855c30d867913eb6a664f9a365c25b341676044e2
6
+ metadata.gz: 75fa3a267e8aea150876766e352a5541737474262b092c9280b6b3dd041c281ce3024f95386a9fd982a28674b6ab170f75f1d25b93128fdbcb15c0c946eaa225
7
+ data.tar.gz: 161f722e7586267e94e14a225e5a075bab86334359eecd5c67faf057633fd9f5175d2c6b1c690e4681dde0f853b158733f1a21406a0f528f42fd788c6d6e424a
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.1.2] - 2019-05-20
4
+
5
+ ### Fixed
6
+
7
+ + The previous release unintentionally included a `setup` script meant for
8
+ development only in the packaged gem. This has been removed.
9
+
3
10
  ## [3.1.1] - 2019-05-13
4
11
 
5
12
  ### Fixed
@@ -83,6 +90,7 @@
83
90
  + New RootRoute constraint.
84
91
  + Updated README, with new TravisCI url.
85
92
 
93
+ [3.1.2]: https://github.com/thoughtbot/high_voltage/compare/v3.1.1...v3.1.2
86
94
  [3.1.1]: https://github.com/thoughtbot/high_voltage/compare/v3.1.0...v3.1.1
87
95
  [3.1.0]: https://github.com/thoughtbot/high_voltage/compare/v3.0.0...v3.1.0
88
96
  [3.0.0]: https://github.com/thoughtbot/high_voltage/compare/v2.4.0...v3.0.0
@@ -1,3 +1,3 @@
1
1
  module HighVoltage
2
- VERSION = "3.1.1".freeze
2
+ VERSION = "3.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: high_voltage
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Jankowski
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2019-05-14 00:00:00.000000000 Z
19
+ date: 2019-05-20 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: activesupport
@@ -91,30 +91,17 @@ dependencies:
91
91
  description: Fire in the disco. Fire in the ... taco bell.
92
92
  email:
93
93
  - support@thoughtbot.com
94
- executables:
95
- - setup
94
+ executables: []
96
95
  extensions: []
97
96
  extra_rdoc_files: []
98
97
  files:
99
- - ".gitignore"
100
- - ".travis.yml"
101
- - Appraisals
102
98
  - CHANGELOG.md
103
99
  - CONTRIBUTING.md
104
- - Gemfile
105
- - Gemfile.lock
106
100
  - MIT-LICENSE
107
101
  - README.md
108
- - Rakefile
109
102
  - app/controllers/concerns/high_voltage/static_page.rb
110
103
  - app/controllers/high_voltage/pages_controller.rb
111
- - bin/setup
112
104
  - config/routes.rb
113
- - gemfiles/rails_4.2.gemfile
114
- - gemfiles/rails_5.0.gemfile
115
- - gemfiles/rails_5.1.gemfile
116
- - gemfiles/rails_5.2.gemfile
117
- - high_voltage.gemspec
118
105
  - lib/high_voltage.rb
119
106
  - lib/high_voltage/configuration.rb
120
107
  - lib/high_voltage/constraints/root_route.rb
@@ -125,47 +112,6 @@ files:
125
112
  - lib/high_voltage/route_drawers/default.rb
126
113
  - lib/high_voltage/route_drawers/root.rb
127
114
  - lib/high_voltage/version.rb
128
- - spec/constraints/root_route_spec.rb
129
- - spec/controllers/alternative_finder_controller_spec.rb
130
- - spec/controllers/pages_controller_spec.rb
131
- - spec/controllers/subclassed_pages_controller_spec.rb
132
- - spec/fake_app.rb
133
- - spec/features/current_page_helper_spec.rb
134
- - spec/features/view_page_spec.rb
135
- - spec/fixtures/app/views/layouts/alternate.html.erb
136
- - spec/fixtures/app/views/layouts/application.html.erb
137
- - spec/fixtures/app/views/other/wrong.html.erb
138
- - spec/fixtures/app/views/other_pages/also_dir/also_nested.html.erb
139
- - spec/fixtures/app/views/other_pages/also_exists.html.erb
140
- - spec/fixtures/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb
141
- - spec/fixtures/app/views/pages/_partial.html.erb
142
- - spec/fixtures/app/views/pages/about.html.erb
143
- - spec/fixtures/app/views/pages/also_dir/also_nested.html.erb
144
- - spec/fixtures/app/views/pages/also_exists.html.erb
145
- - spec/fixtures/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb
146
- - spec/fixtures/app/views/pages/current_page_helper.html.erb
147
- - spec/fixtures/app/views/pages/dir/nested.html.erb
148
- - spec/fixtures/app/views/pages/exists.html.erb
149
- - spec/fixtures/app/views/pages/exists_but_references_nonexistent_partial.html.erb
150
- - spec/fixtures/app/views/pages/exists_without_html_extension.erb
151
- - spec/fixtures/app/views/pages/rot13.html.erb
152
- - spec/fixtures/app/views/pages/text.txt.erb
153
- - spec/fixtures/config/database.yml
154
- - spec/fixtures/config/routes.rb
155
- - spec/fixtures/public/pages/exists.html
156
- - spec/high_voltage/configuration_spec.rb
157
- - spec/high_voltage/page_collector_spec.rb
158
- - spec/high_voltage/page_finder_spec.rb
159
- - spec/high_voltage/page_spec.rb
160
- - spec/high_voltage_spec.rb
161
- - spec/integration/navigation_spec.rb
162
- - spec/minimal_spec_helper.rb
163
- - spec/requests/home_page_spec.rb
164
- - spec/routing/routes_spec.rb
165
- - spec/spec_helper.rb
166
- - spec/support/app/controllers/alternative_finder_controller.rb
167
- - spec/support/app/controllers/subclassed_pages_controller.rb
168
- - spec/support/http_method_shim.rb
169
115
  homepage: http://github.com/thoughtbot/high_voltage
170
116
  licenses:
171
117
  - MIT
@@ -190,45 +136,4 @@ rubygems_version: 2.7.6.2
190
136
  signing_key:
191
137
  specification_version: 4
192
138
  summary: Simple static page rendering controller
193
- test_files:
194
- - spec/constraints/root_route_spec.rb
195
- - spec/controllers/alternative_finder_controller_spec.rb
196
- - spec/controllers/pages_controller_spec.rb
197
- - spec/controllers/subclassed_pages_controller_spec.rb
198
- - spec/fake_app.rb
199
- - spec/features/current_page_helper_spec.rb
200
- - spec/features/view_page_spec.rb
201
- - spec/fixtures/app/views/layouts/alternate.html.erb
202
- - spec/fixtures/app/views/layouts/application.html.erb
203
- - spec/fixtures/app/views/other/wrong.html.erb
204
- - spec/fixtures/app/views/other_pages/also_dir/also_nested.html.erb
205
- - spec/fixtures/app/views/other_pages/also_exists.html.erb
206
- - spec/fixtures/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb
207
- - spec/fixtures/app/views/pages/_partial.html.erb
208
- - spec/fixtures/app/views/pages/about.html.erb
209
- - spec/fixtures/app/views/pages/also_dir/also_nested.html.erb
210
- - spec/fixtures/app/views/pages/also_exists.html.erb
211
- - spec/fixtures/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb
212
- - spec/fixtures/app/views/pages/current_page_helper.html.erb
213
- - spec/fixtures/app/views/pages/dir/nested.html.erb
214
- - spec/fixtures/app/views/pages/exists.html.erb
215
- - spec/fixtures/app/views/pages/exists_but_references_nonexistent_partial.html.erb
216
- - spec/fixtures/app/views/pages/exists_without_html_extension.erb
217
- - spec/fixtures/app/views/pages/rot13.html.erb
218
- - spec/fixtures/app/views/pages/text.txt.erb
219
- - spec/fixtures/config/database.yml
220
- - spec/fixtures/config/routes.rb
221
- - spec/fixtures/public/pages/exists.html
222
- - spec/high_voltage/configuration_spec.rb
223
- - spec/high_voltage/page_collector_spec.rb
224
- - spec/high_voltage/page_finder_spec.rb
225
- - spec/high_voltage/page_spec.rb
226
- - spec/high_voltage_spec.rb
227
- - spec/integration/navigation_spec.rb
228
- - spec/minimal_spec_helper.rb
229
- - spec/requests/home_page_spec.rb
230
- - spec/routing/routes_spec.rb
231
- - spec/spec_helper.rb
232
- - spec/support/app/controllers/alternative_finder_controller.rb
233
- - spec/support/app/controllers/subclassed_pages_controller.rb
234
- - spec/support/http_method_shim.rb
139
+ test_files: []
data/.gitignore DELETED
@@ -1,7 +0,0 @@
1
- .bundle/
2
- log/*.log
3
- pkg/
4
- *.swp
5
- *.gem
6
- gemfiles/*.lock
7
- spec/fixtures/log/*.log
@@ -1,25 +0,0 @@
1
- branches:
2
- only:
3
- - "master"
4
- gemfile:
5
- - gemfiles/rails_4.2.gemfile
6
- - gemfiles/rails_5.0.gemfile
7
- - gemfiles/rails_5.1.gemfile
8
- - gemfiles/rails_5.2.gemfile
9
- install:
10
- - "bin/setup"
11
- language:
12
- - ruby
13
- rvm:
14
- - 2.4.6
15
- - 2.5.5
16
- - 2.6.3
17
- script: 'bundle exec rake spec'
18
- notifications:
19
- email: false
20
- sudo: false
21
- cache: bundler
22
- matrix:
23
- allow_failures:
24
- - gemfile: gemfiles/rails_4.2.gemfile
25
- rvm: 2.6.3
data/Appraisals DELETED
@@ -1,15 +0,0 @@
1
- rails_versions = %w(
2
- 4.2
3
- 5.0
4
- 5.1
5
- 5.2
6
- )
7
-
8
- rails_versions.each do |version|
9
- appraise "rails_#{version}" do
10
- gem "rails", "~> #{version}.0"
11
- if Gem::Version.new(version) >= Gem::Version.new("5.0")
12
- gem "rails-controller-testing"
13
- end
14
- end
15
- end
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
@@ -1,114 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- high_voltage (3.1.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actionpack (5.2.3)
10
- actionview (= 5.2.3)
11
- activesupport (= 5.2.3)
12
- rack (~> 2.0)
13
- rack-test (>= 0.6.3)
14
- rails-dom-testing (~> 2.0)
15
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
16
- actionview (5.2.3)
17
- activesupport (= 5.2.3)
18
- builder (~> 3.1)
19
- erubi (~> 1.4)
20
- rails-dom-testing (~> 2.0)
21
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
22
- activesupport (5.2.3)
23
- concurrent-ruby (~> 1.0, >= 1.0.2)
24
- i18n (>= 0.7, < 2)
25
- minitest (~> 5.1)
26
- tzinfo (~> 1.1)
27
- addressable (2.6.0)
28
- public_suffix (>= 2.0.2, < 4.0)
29
- appraisal (2.2.0)
30
- bundler
31
- rake
32
- thor (>= 0.14.0)
33
- builder (3.2.3)
34
- capybara (3.19.1)
35
- addressable
36
- mini_mime (>= 0.1.3)
37
- nokogiri (~> 1.8)
38
- rack (>= 1.6.0)
39
- rack-test (>= 0.6.3)
40
- regexp_parser (~> 1.2)
41
- xpath (~> 3.2)
42
- coderay (1.1.2)
43
- concurrent-ruby (1.1.5)
44
- crass (1.0.4)
45
- diff-lcs (1.3)
46
- erubi (1.8.0)
47
- i18n (1.6.0)
48
- concurrent-ruby (~> 1.0)
49
- loofah (2.2.3)
50
- crass (~> 1.0.2)
51
- nokogiri (>= 1.5.9)
52
- method_source (0.9.2)
53
- mini_mime (1.0.1)
54
- mini_portile2 (2.4.0)
55
- minitest (5.11.3)
56
- nokogiri (1.10.3)
57
- mini_portile2 (~> 2.4.0)
58
- pry (0.12.2)
59
- coderay (~> 1.1.0)
60
- method_source (~> 0.9.0)
61
- public_suffix (3.0.3)
62
- rack (2.0.7)
63
- rack-test (1.1.0)
64
- rack (>= 1.0, < 3)
65
- rails-dom-testing (2.0.3)
66
- activesupport (>= 4.2.0)
67
- nokogiri (>= 1.6)
68
- rails-html-sanitizer (1.0.4)
69
- loofah (~> 2.2, >= 2.2.2)
70
- railties (5.2.3)
71
- actionpack (= 5.2.3)
72
- activesupport (= 5.2.3)
73
- method_source
74
- rake (>= 0.8.7)
75
- thor (>= 0.19.0, < 2.0)
76
- rake (12.3.2)
77
- regexp_parser (1.4.0)
78
- rspec-core (3.8.0)
79
- rspec-support (~> 3.8.0)
80
- rspec-expectations (3.8.3)
81
- diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.8.0)
83
- rspec-mocks (3.8.0)
84
- diff-lcs (>= 1.2.0, < 2.0)
85
- rspec-support (~> 3.8.0)
86
- rspec-rails (3.8.2)
87
- actionpack (>= 3.0)
88
- activesupport (>= 3.0)
89
- railties (>= 3.0)
90
- rspec-core (~> 3.8.0)
91
- rspec-expectations (~> 3.8.0)
92
- rspec-mocks (~> 3.8.0)
93
- rspec-support (~> 3.8.0)
94
- rspec-support (3.8.0)
95
- thor (0.20.3)
96
- thread_safe (0.3.6)
97
- tzinfo (1.2.5)
98
- thread_safe (~> 0.1)
99
- xpath (3.2.0)
100
- nokogiri (~> 1.8)
101
-
102
- PLATFORMS
103
- ruby
104
-
105
- DEPENDENCIES
106
- activesupport (>= 3.1.0)
107
- appraisal
108
- capybara
109
- high_voltage!
110
- pry
111
- rspec-rails (~> 3.5)
112
-
113
- BUNDLED WITH
114
- 1.17.3
data/Rakefile DELETED
@@ -1,24 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler/setup'
5
- require 'bundler/gem_tasks'
6
-
7
- require 'rake'
8
- require 'rspec/core/rake_task'
9
- require 'appraisal'
10
-
11
- RSpec::Core::RakeTask.new(:spec)
12
-
13
- desc 'Default'
14
- task :default do
15
- if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
16
- Rake::Task['spec'].invoke
17
- else
18
- Rake::Task['appraise'].invoke
19
- end
20
- end
21
-
22
- task :appraise do
23
- exec 'appraisal install && appraisal rake'
24
- end
data/bin/setup DELETED
@@ -1,12 +0,0 @@
1
- #!/bin/sh
2
-
3
- set -e
4
-
5
- # Install required gems, including Appraisal, which helps us test against
6
- # multiple Rails versions
7
- gem install bundler --version 1.17.3
8
- bundle _1.17.3_ check || bundle _1.17.3_ install
9
-
10
- if [ -z "$CI" ]; then
11
- bundle exec appraisal install
12
- fi
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 4.2.0"
6
-
7
- gemspec path: "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 5.0.0"
6
- gem "rails-controller-testing"
7
-
8
- gemspec path: "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 5.1.0"
6
- gem "rails-controller-testing"
7
-
8
- gemspec path: "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 5.2.0"
6
- gem "rails-controller-testing"
7
-
8
- gemspec path: "../"
@@ -1,24 +0,0 @@
1
- $:.push File.expand_path("../lib", __FILE__)
2
- require "high_voltage/version"
3
-
4
- Gem::Specification.new do |s|
5
- s.name = 'high_voltage'
6
- s.version = HighVoltage::VERSION.dup
7
- s.authors = ['Matt Jankowski', 'Dan Croak', 'Nick Quaranto', 'Chad Pytel', 'Joe Ferris', 'J. Edward Dewyea', 'Tammer Saleh', 'Mike Burns', 'Tristan Dunn']
8
- s.email = ['support@thoughtbot.com']
9
- s.homepage = 'http://github.com/thoughtbot/high_voltage'
10
- s.summary = 'Simple static page rendering controller'
11
- s.description = 'Fire in the disco. Fire in the ... taco bell.'
12
- s.license = 'MIT'
13
-
14
- s.files = `git ls-files`.split("\n")
15
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
- s.require_paths = ["lib"]
18
-
19
- s.add_development_dependency('activesupport', '>= 3.1.0')
20
- s.add_development_dependency('appraisal')
21
- s.add_development_dependency('capybara')
22
- s.add_development_dependency('pry')
23
- s.add_development_dependency('rspec-rails', '~> 3.5')
24
- end