katgut 0.0.1

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 (73) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +107 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/javascripts/katgut/application.js +13 -0
  6. data/app/assets/stylesheets/katgut/application.css +15 -0
  7. data/app/controllers/katgut/application_controller.rb +5 -0
  8. data/app/controllers/katgut/rules_controller.rb +21 -0
  9. data/app/helpers/katgut/application_helper.rb +4 -0
  10. data/app/models/katgut/rule.rb +57 -0
  11. data/app/views/layouts/katgut/application.html.erb +14 -0
  12. data/config/routes.rb +3 -0
  13. data/db/migrate/20160704065128_create_katgut_rules.rb +13 -0
  14. data/lib/generators/katgut/initializer/USAGE +9 -0
  15. data/lib/generators/katgut/initializer/initializer_generator.rb +9 -0
  16. data/lib/generators/katgut/initializer/templates/initializer.rb +4 -0
  17. data/lib/katgut.rb +12 -0
  18. data/lib/katgut/config.rb +11 -0
  19. data/lib/katgut/engine.rb +14 -0
  20. data/lib/katgut/version.rb +3 -0
  21. data/lib/tasks/katgut_tasks.rake +4 -0
  22. data/public/katgut_success.html +14 -0
  23. data/spec/controllers/rules_controller_spec.rb +35 -0
  24. data/spec/dummy/README.rdoc +28 -0
  25. data/spec/dummy/Rakefile +6 -0
  26. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  28. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  29. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  30. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/spec/dummy/bin/bundle +3 -0
  32. data/spec/dummy/bin/rails +4 -0
  33. data/spec/dummy/bin/rake +4 -0
  34. data/spec/dummy/bin/setup +29 -0
  35. data/spec/dummy/config.ru +4 -0
  36. data/spec/dummy/config/application.rb +26 -0
  37. data/spec/dummy/config/boot.rb +5 -0
  38. data/spec/dummy/config/database.yml +25 -0
  39. data/spec/dummy/config/environment.rb +5 -0
  40. data/spec/dummy/config/environments/development.rb +41 -0
  41. data/spec/dummy/config/environments/production.rb +79 -0
  42. data/spec/dummy/config/environments/test.rb +42 -0
  43. data/spec/dummy/config/initializers/assets.rb +11 -0
  44. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  46. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/spec/dummy/config/initializers/inflections.rb +16 -0
  48. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  49. data/spec/dummy/config/initializers/session_store.rb +3 -0
  50. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/spec/dummy/config/locales/en.yml +23 -0
  52. data/spec/dummy/config/routes.rb +4 -0
  53. data/spec/dummy/config/secrets.yml +22 -0
  54. data/spec/dummy/db/development.sqlite3 +0 -0
  55. data/spec/dummy/db/schema.rb +26 -0
  56. data/spec/dummy/db/test.sqlite3 +0 -0
  57. data/spec/dummy/log/development.log +753 -0
  58. data/spec/dummy/log/test.log +6697 -0
  59. data/spec/dummy/public/404.html +67 -0
  60. data/spec/dummy/public/422.html +67 -0
  61. data/spec/dummy/public/500.html +66 -0
  62. data/spec/dummy/public/favicon.ico +0 -0
  63. data/spec/dummy/tmp/pids/server.pid +1 -0
  64. data/spec/factories/rules.rb +7 -0
  65. data/spec/integration/navigation_test.rb +8 -0
  66. data/spec/katgut_test.rb +7 -0
  67. data/spec/models/katgut/rule_spec.rb +67 -0
  68. data/spec/rails_helper.rb +30 -0
  69. data/spec/requests/rules_spec.rb +50 -0
  70. data/spec/spec_helper.rb +12 -0
  71. data/spec/support/factory_girl.rb +3 -0
  72. data/spec/test_helper.rb +21 -0
  73. metadata +241 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1 @@
1
+ 27548
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :rule, class: Katgut::Rule do
3
+ sequence(:source) {|n| "torsitsugi_test_#{n}" }
4
+ destination 'https://www.google.com/'
5
+ active true
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
8
+
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class KatgutTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Katgut
6
+ end
7
+ end
@@ -0,0 +1,67 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe Katgut::Rule, type: :model do
4
+ describe "validations" do
5
+ let(:rule) { build(:rule) }
6
+
7
+ it 'accept fulfilled object' do
8
+ expect(rule).to be_valid
9
+ end
10
+
11
+ it 'doesn\'t allow source-less record' do
12
+ rule.source = nil
13
+ expect(rule).not_to be_valid
14
+ end
15
+
16
+ it 'doesn\'t allow destination-less record' do
17
+ rule.destination = nil
18
+ expect(rule).not_to be_valid
19
+ end
20
+
21
+ it 'doesn\'t allow source col shorter than 5 characters' do
22
+ rule.source = 'test'
23
+ expect(rule).not_to be_valid
24
+ end
25
+
26
+ it 'doesn\'t allow special characters in source col' do
27
+ rule.source = '@@test@@'
28
+ expect(rule).not_to be_valid
29
+ end
30
+
31
+ it 'doesn\'t allow unsafe characters in destination col' do
32
+ rule.destination = '/test/<>'
33
+ expect(rule).not_to be_valid
34
+ end
35
+
36
+ it 'doesn\'t allow destination url in unallowed scheme' do
37
+ rule.destination = 'ftp://ftp.naist.jp'
38
+ expect(rule).not_to be_valid
39
+ end
40
+ end
41
+
42
+ describe "#regular_destination" do
43
+ context 'the destination url has a scheme specification' do
44
+ let(:rule) { build(:rule, destination: "https://httpbin.org/") }
45
+
46
+ it 'returns the destination as is' do
47
+ expect(rule.regular_destination).to eq "https://httpbin.org/"
48
+ end
49
+ end
50
+
51
+ context 'the destination url begins with slash' do
52
+ let(:rule) { build(:rule, destination: "/katgut_success.html") }
53
+
54
+ it 'returns the destination as is' do
55
+ expect(rule.regular_destination).to eq "/katgut_success.html"
56
+ end
57
+ end
58
+
59
+ context 'the destination begins with number/alphabet character' do
60
+ let(:rule) { build(:rule, destination: "httpbin.org/") }
61
+
62
+ it 'assumes the scheme is http' do
63
+ expect(rule.regular_destination).to eq "http://httpbin.org/"
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,30 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
+ require File.expand_path('../dummy/config/environment', __FILE__)
4
+ # Prevent database truncation if the environment is production
5
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
6
+ require 'spec_helper'
7
+ require 'rspec/rails'
8
+
9
+ ActiveRecord::Migration.maintain_test_schema!
10
+
11
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
12
+
13
+ DatabaseCleaner.strategy = :truncation
14
+
15
+ RSpec.configure do |config|
16
+ config.mock_with :rspec
17
+ config.use_transactional_fixtures = true
18
+
19
+ config.infer_spec_type_from_file_location!
20
+
21
+ config.filter_rails_from_backtrace!
22
+
23
+ config.before(:suite) do
24
+ DatabaseCleaner.clean
25
+ end
26
+
27
+ config.after(:each) do
28
+ DatabaseCleaner.clean
29
+ end
30
+ end
@@ -0,0 +1,50 @@
1
+ require 'rails_helper'
2
+
3
+ module Katgut
4
+ describe RulesController do
5
+ describe "GET /katgut/:id" do
6
+ context "the destination url begin with '/'" do
7
+ let!(:rule) { create(:rule, destination: "/katgut_success.html") }
8
+
9
+ it "interprets the destination as a same origin path and redirects to the path" do
10
+ get "/katgut/#{rule.source}"
11
+ expect(response).to redirect_to(rule.destination)
12
+ end
13
+ end
14
+
15
+ context "the destination url begin with scheme specification" do
16
+ let!(:rule) { create(:rule, destination: "https://httpbin.org/") }
17
+
18
+ it "interprets the destination as a FQDN and redirects to the url" do
19
+ get "/katgut/#{rule.source}"
20
+ expect(response).to redirect_to(rule.destination)
21
+ end
22
+ end
23
+
24
+ context "the destination url begin without scheme specification" do
25
+ let!(:rule) { create(:rule, destination: "httpbin.org/") }
26
+
27
+ it "assumes that the scheme is http" do
28
+ get "/katgut/#{rule.source}"
29
+ expect(response).to redirect_to("http://#{rule.destination}")
30
+ end
31
+ end
32
+
33
+ context "the source url is not found" do
34
+ it "redirects to the fall back path" do
35
+ get "/katgut/not-existing-source-keyword"
36
+ expect(response).to redirect_to(Katgut.config.fall_back_path)
37
+ end
38
+ end
39
+
40
+ context "appropriate rule exists, but not activated" do
41
+ let!(:rule) { create(:rule, destination: "https://httpbin.org/", active: false) }
42
+
43
+ it "redirects to the fall back path" do
44
+ get "/katgut/#{rule.source}"
45
+ expect(response).to redirect_to(Katgut.config.fall_back_path)
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,12 @@
1
+ require 'factory_girl_rails'
2
+ require 'database_cleaner'
3
+
4
+ RSpec.configure do |config|
5
+ config.expect_with :rspec do |expectations|
6
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
7
+ end
8
+
9
+ config.mock_with :rspec do |mocks|
10
+ mocks.verify_partial_doubles = true
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryGirl::Syntax::Methods
3
+ end
@@ -0,0 +1,21 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
7
+ require "rails/test_help"
8
+
9
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
10
+ # to be shown.
11
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
12
+
13
+ # Load support files
14
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ # Load fixtures from the engine
17
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
18
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
19
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
20
+ ActiveSupport::TestCase.fixtures :all
21
+ end
metadata ADDED
@@ -0,0 +1,241 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: katgut
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - HAMADA Kazuki
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 4.2.6
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 4.2.6
33
+ - !ruby/object:Gem::Dependency
34
+ name: sqlite3
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.3'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.3'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec-rails
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.4'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.4'
61
+ - !ruby/object:Gem::Dependency
62
+ name: factory_girl_rails
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '4.5'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '4.5'
75
+ - !ruby/object:Gem::Dependency
76
+ name: database_cleaner
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.5'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.5'
89
+ description: It Sutures a URL onto another with a redirection path
90
+ email:
91
+ - hamada.kazuki.mum@gmail.com
92
+ executables: []
93
+ extensions: []
94
+ extra_rdoc_files: []
95
+ files:
96
+ - MIT-LICENSE
97
+ - README.md
98
+ - Rakefile
99
+ - app/assets/javascripts/katgut/application.js
100
+ - app/assets/stylesheets/katgut/application.css
101
+ - app/controllers/katgut/application_controller.rb
102
+ - app/controllers/katgut/rules_controller.rb
103
+ - app/helpers/katgut/application_helper.rb
104
+ - app/models/katgut/rule.rb
105
+ - app/views/layouts/katgut/application.html.erb
106
+ - config/routes.rb
107
+ - db/migrate/20160704065128_create_katgut_rules.rb
108
+ - lib/generators/katgut/initializer/USAGE
109
+ - lib/generators/katgut/initializer/initializer_generator.rb
110
+ - lib/generators/katgut/initializer/templates/initializer.rb
111
+ - lib/katgut.rb
112
+ - lib/katgut/config.rb
113
+ - lib/katgut/engine.rb
114
+ - lib/katgut/version.rb
115
+ - lib/tasks/katgut_tasks.rake
116
+ - public/katgut_success.html
117
+ - spec/controllers/rules_controller_spec.rb
118
+ - spec/dummy/README.rdoc
119
+ - spec/dummy/Rakefile
120
+ - spec/dummy/app/assets/javascripts/application.js
121
+ - spec/dummy/app/assets/stylesheets/application.css
122
+ - spec/dummy/app/controllers/application_controller.rb
123
+ - spec/dummy/app/helpers/application_helper.rb
124
+ - spec/dummy/app/views/layouts/application.html.erb
125
+ - spec/dummy/bin/bundle
126
+ - spec/dummy/bin/rails
127
+ - spec/dummy/bin/rake
128
+ - spec/dummy/bin/setup
129
+ - spec/dummy/config.ru
130
+ - spec/dummy/config/application.rb
131
+ - spec/dummy/config/boot.rb
132
+ - spec/dummy/config/database.yml
133
+ - spec/dummy/config/environment.rb
134
+ - spec/dummy/config/environments/development.rb
135
+ - spec/dummy/config/environments/production.rb
136
+ - spec/dummy/config/environments/test.rb
137
+ - spec/dummy/config/initializers/assets.rb
138
+ - spec/dummy/config/initializers/backtrace_silencers.rb
139
+ - spec/dummy/config/initializers/cookies_serializer.rb
140
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
141
+ - spec/dummy/config/initializers/inflections.rb
142
+ - spec/dummy/config/initializers/mime_types.rb
143
+ - spec/dummy/config/initializers/session_store.rb
144
+ - spec/dummy/config/initializers/wrap_parameters.rb
145
+ - spec/dummy/config/locales/en.yml
146
+ - spec/dummy/config/routes.rb
147
+ - spec/dummy/config/secrets.yml
148
+ - spec/dummy/db/development.sqlite3
149
+ - spec/dummy/db/schema.rb
150
+ - spec/dummy/db/test.sqlite3
151
+ - spec/dummy/log/development.log
152
+ - spec/dummy/log/test.log
153
+ - spec/dummy/public/404.html
154
+ - spec/dummy/public/422.html
155
+ - spec/dummy/public/500.html
156
+ - spec/dummy/public/favicon.ico
157
+ - spec/dummy/tmp/pids/server.pid
158
+ - spec/factories/rules.rb
159
+ - spec/integration/navigation_test.rb
160
+ - spec/katgut_test.rb
161
+ - spec/models/katgut/rule_spec.rb
162
+ - spec/rails_helper.rb
163
+ - spec/requests/rules_spec.rb
164
+ - spec/spec_helper.rb
165
+ - spec/support/factory_girl.rb
166
+ - spec/test_helper.rb
167
+ homepage: https://github.com/oishi-kenko/katgut
168
+ licenses:
169
+ - MIT
170
+ metadata: {}
171
+ post_install_message:
172
+ rdoc_options: []
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubyforge_project:
187
+ rubygems_version: 2.5.1
188
+ signing_key:
189
+ specification_version: 4
190
+ summary: A rails plugin to transfer incomming request to another URL.
191
+ test_files:
192
+ - spec/controllers/rules_controller_spec.rb
193
+ - spec/dummy/app/assets/javascripts/application.js
194
+ - spec/dummy/app/assets/stylesheets/application.css
195
+ - spec/dummy/app/controllers/application_controller.rb
196
+ - spec/dummy/app/helpers/application_helper.rb
197
+ - spec/dummy/app/views/layouts/application.html.erb
198
+ - spec/dummy/bin/bundle
199
+ - spec/dummy/bin/rails
200
+ - spec/dummy/bin/rake
201
+ - spec/dummy/bin/setup
202
+ - spec/dummy/config/application.rb
203
+ - spec/dummy/config/boot.rb
204
+ - spec/dummy/config/database.yml
205
+ - spec/dummy/config/environment.rb
206
+ - spec/dummy/config/environments/development.rb
207
+ - spec/dummy/config/environments/production.rb
208
+ - spec/dummy/config/environments/test.rb
209
+ - spec/dummy/config/initializers/assets.rb
210
+ - spec/dummy/config/initializers/backtrace_silencers.rb
211
+ - spec/dummy/config/initializers/cookies_serializer.rb
212
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
213
+ - spec/dummy/config/initializers/inflections.rb
214
+ - spec/dummy/config/initializers/mime_types.rb
215
+ - spec/dummy/config/initializers/session_store.rb
216
+ - spec/dummy/config/initializers/wrap_parameters.rb
217
+ - spec/dummy/config/locales/en.yml
218
+ - spec/dummy/config/routes.rb
219
+ - spec/dummy/config/secrets.yml
220
+ - spec/dummy/config.ru
221
+ - spec/dummy/db/development.sqlite3
222
+ - spec/dummy/db/schema.rb
223
+ - spec/dummy/db/test.sqlite3
224
+ - spec/dummy/log/development.log
225
+ - spec/dummy/log/test.log
226
+ - spec/dummy/public/404.html
227
+ - spec/dummy/public/422.html
228
+ - spec/dummy/public/500.html
229
+ - spec/dummy/public/favicon.ico
230
+ - spec/dummy/Rakefile
231
+ - spec/dummy/README.rdoc
232
+ - spec/dummy/tmp/pids/server.pid
233
+ - spec/factories/rules.rb
234
+ - spec/integration/navigation_test.rb
235
+ - spec/katgut_test.rb
236
+ - spec/models/katgut/rule_spec.rb
237
+ - spec/rails_helper.rb
238
+ - spec/requests/rules_spec.rb
239
+ - spec/spec_helper.rb
240
+ - spec/support/factory_girl.rb
241
+ - spec/test_helper.rb