lhc-core-interceptors 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +40 -0
- data/Gemfile +11 -0
- data/README.md +108 -0
- data/Rakefile +25 -0
- data/lhc-core-interceptors.gemspec +31 -0
- data/lib/lhc-core-interceptors.rb +2 -0
- data/lib/lhc-core-interceptors/auth.rb +11 -0
- data/lib/lhc-core-interceptors/caching.rb +57 -0
- data/lib/lhc-core-interceptors/monitoring.rb +50 -0
- data/lib/lhc-core-interceptors/version.rb +3 -0
- data/spec/auth/bearer_spec.rb +19 -0
- data/spec/caching/main_spec.rb +53 -0
- data/spec/caching/parameters_spec.rb +24 -0
- data/spec/caching/to_cache_spec.rb +17 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +14 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +34 -0
- data/spec/dummy/config/environments/production.rb +75 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +56 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/.gitkeep +0 -0
- data/spec/monitoring/main_spec.rb +65 -0
- data/spec/rails_helper.rb +4 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/support/cleanup_configuration.rb +18 -0
- metadata +249 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 6ec5455a72e6acfecbc8b8d1af51e556ce7a4911103e7615e26662db929e59ecb466cd4a648fda1c915f71cb54c83ff6bdd75e1b61e83127b6f04e796cc8197f
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 5fd8fc274f9e2e42a1f5cf08ae3dd66d3302f13180b5052f84f7efd99cf0db59a4daa2696a88425407be2a844d80a898e1d39c2aeb28b664d1a43e0cad18edbc
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
File without changes
|
File without changes
|
@@ -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
|
File without changes
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
describe LHC::Monitoring do
|
4
|
+
|
5
|
+
let(:stub) { stub_request(:get, 'http://local.ch').to_return(status: 200, body: 'The Website') }
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
LHC.config.interceptors = [LHC::Monitoring]
|
9
|
+
Rails.cache.clear
|
10
|
+
LHC.config.endpoint(:local, 'http://local.ch')
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'does not report anything if no statsd is configured' do
|
14
|
+
stub
|
15
|
+
LHC.get(:local) # and also does not crash ;)
|
16
|
+
end
|
17
|
+
|
18
|
+
context 'statsd configured' do
|
19
|
+
|
20
|
+
module Statsd
|
21
|
+
def self.count(path, value)
|
22
|
+
end
|
23
|
+
def self.timing(path, value)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
before(:each) do
|
28
|
+
LHC::Monitoring.statsd = Statsd
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'reports trial, response and timing by default ' do
|
32
|
+
stub
|
33
|
+
expect(Statsd).to receive(:count).with('lhc.dummy.test.local_ch.get.count', 1)
|
34
|
+
expect(Statsd).to receive(:count).with('lhc.dummy.test.local_ch.get.200', 1)
|
35
|
+
expect(Statsd).to receive(:timing).with('lhc.dummy.test.local_ch.get.time', anything)
|
36
|
+
LHC.get(:local)
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'does not report timing when response failed' do
|
40
|
+
stub_request(:get, 'http://local.ch').to_return(status: 500)
|
41
|
+
expect(Statsd).to receive(:count).with('lhc.dummy.test.local_ch.get.count', 1)
|
42
|
+
expect(Statsd).to receive(:count).with('lhc.dummy.test.local_ch.get.500', 1)
|
43
|
+
expect(Statsd).not_to receive(:timing)
|
44
|
+
expect{ LHC.get(:local) }.to raise_error LHC::ServerError
|
45
|
+
end
|
46
|
+
|
47
|
+
it 'reports timeout instead of status code if response timed out' do
|
48
|
+
stub_request(:get, 'http://local.ch').to_timeout
|
49
|
+
expect(Statsd).to receive(:count).with('lhc.dummy.test.local_ch.get.count', 1)
|
50
|
+
expect(Statsd).to receive(:count).with('lhc.dummy.test.local_ch.get.timeout', 1)
|
51
|
+
expect(Statsd).not_to receive(:timing)
|
52
|
+
expect{ LHC.get(:local) }.to raise_error LHC::Timeout
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'allows to set the stats key for request' do
|
56
|
+
stub
|
57
|
+
expect(Statsd).to receive(:count).with('defined_key.count', 1)
|
58
|
+
expect(Statsd).to receive(:count).with('defined_key.200', 1)
|
59
|
+
expect(Statsd).to receive(:timing).with('defined_key.time', anything)
|
60
|
+
LHC.get(:local, monitoring_key: 'defined_key')
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,249 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lhc-core-interceptors
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- local.ch
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: lhc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.0.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: typhoeus
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.7.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.7.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: geminabox
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: A set of useful interceptors to use with LHC (like caching, monitoring
|
112
|
+
etc.)
|
113
|
+
email:
|
114
|
+
- ws-operations@local.ch
|
115
|
+
executables: []
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- ".gitignore"
|
120
|
+
- Gemfile
|
121
|
+
- README.md
|
122
|
+
- Rakefile
|
123
|
+
- lhc-core-interceptors.gemspec
|
124
|
+
- lib/lhc-core-interceptors.rb
|
125
|
+
- lib/lhc-core-interceptors/auth.rb
|
126
|
+
- lib/lhc-core-interceptors/caching.rb
|
127
|
+
- lib/lhc-core-interceptors/monitoring.rb
|
128
|
+
- lib/lhc-core-interceptors/version.rb
|
129
|
+
- spec/auth/bearer_spec.rb
|
130
|
+
- spec/caching/main_spec.rb
|
131
|
+
- spec/caching/parameters_spec.rb
|
132
|
+
- spec/caching/to_cache_spec.rb
|
133
|
+
- spec/dummy/README.rdoc
|
134
|
+
- spec/dummy/Rakefile
|
135
|
+
- spec/dummy/app/assets/images/.keep
|
136
|
+
- spec/dummy/app/assets/javascripts/application.js
|
137
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
138
|
+
- spec/dummy/app/controllers/application_controller.rb
|
139
|
+
- spec/dummy/app/controllers/concerns/.keep
|
140
|
+
- spec/dummy/app/helpers/application_helper.rb
|
141
|
+
- spec/dummy/app/mailers/.keep
|
142
|
+
- spec/dummy/app/models/.keep
|
143
|
+
- spec/dummy/app/models/concerns/.keep
|
144
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
145
|
+
- spec/dummy/bin/bundle
|
146
|
+
- spec/dummy/bin/rails
|
147
|
+
- spec/dummy/bin/rake
|
148
|
+
- spec/dummy/config.ru
|
149
|
+
- spec/dummy/config/application.rb
|
150
|
+
- spec/dummy/config/boot.rb
|
151
|
+
- spec/dummy/config/environment.rb
|
152
|
+
- spec/dummy/config/environments/development.rb
|
153
|
+
- spec/dummy/config/environments/production.rb
|
154
|
+
- spec/dummy/config/environments/test.rb
|
155
|
+
- spec/dummy/config/initializers/assets.rb
|
156
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
157
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
158
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
159
|
+
- spec/dummy/config/initializers/inflections.rb
|
160
|
+
- spec/dummy/config/initializers/mime_types.rb
|
161
|
+
- spec/dummy/config/initializers/session_store.rb
|
162
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
163
|
+
- spec/dummy/config/locales/en.yml
|
164
|
+
- spec/dummy/config/routes.rb
|
165
|
+
- spec/dummy/config/secrets.yml
|
166
|
+
- spec/dummy/lib/assets/.keep
|
167
|
+
- spec/dummy/log/.keep
|
168
|
+
- spec/dummy/public/404.html
|
169
|
+
- spec/dummy/public/422.html
|
170
|
+
- spec/dummy/public/500.html
|
171
|
+
- spec/dummy/public/favicon.ico
|
172
|
+
- spec/dummy/tmp/cache/.gitkeep
|
173
|
+
- spec/monitoring/main_spec.rb
|
174
|
+
- spec/rails_helper.rb
|
175
|
+
- spec/spec_helper.rb
|
176
|
+
- spec/support/cleanup_configuration.rb
|
177
|
+
homepage: https://github.com/local-ch/lhc-core-interceptors
|
178
|
+
licenses: []
|
179
|
+
metadata: {}
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 1.9.2
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
requirements:
|
195
|
+
- Ruby >= 1.9.2
|
196
|
+
rubyforge_project:
|
197
|
+
rubygems_version: 2.2.2
|
198
|
+
signing_key:
|
199
|
+
specification_version: 4
|
200
|
+
summary: A set of interceptors
|
201
|
+
test_files:
|
202
|
+
- spec/auth/bearer_spec.rb
|
203
|
+
- spec/caching/main_spec.rb
|
204
|
+
- spec/caching/parameters_spec.rb
|
205
|
+
- spec/caching/to_cache_spec.rb
|
206
|
+
- spec/dummy/README.rdoc
|
207
|
+
- spec/dummy/Rakefile
|
208
|
+
- spec/dummy/app/assets/images/.keep
|
209
|
+
- spec/dummy/app/assets/javascripts/application.js
|
210
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
211
|
+
- spec/dummy/app/controllers/application_controller.rb
|
212
|
+
- spec/dummy/app/controllers/concerns/.keep
|
213
|
+
- spec/dummy/app/helpers/application_helper.rb
|
214
|
+
- spec/dummy/app/mailers/.keep
|
215
|
+
- spec/dummy/app/models/.keep
|
216
|
+
- spec/dummy/app/models/concerns/.keep
|
217
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
218
|
+
- spec/dummy/bin/bundle
|
219
|
+
- spec/dummy/bin/rails
|
220
|
+
- spec/dummy/bin/rake
|
221
|
+
- spec/dummy/config.ru
|
222
|
+
- spec/dummy/config/application.rb
|
223
|
+
- spec/dummy/config/boot.rb
|
224
|
+
- spec/dummy/config/environment.rb
|
225
|
+
- spec/dummy/config/environments/development.rb
|
226
|
+
- spec/dummy/config/environments/production.rb
|
227
|
+
- spec/dummy/config/environments/test.rb
|
228
|
+
- spec/dummy/config/initializers/assets.rb
|
229
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
230
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
231
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
232
|
+
- spec/dummy/config/initializers/inflections.rb
|
233
|
+
- spec/dummy/config/initializers/mime_types.rb
|
234
|
+
- spec/dummy/config/initializers/session_store.rb
|
235
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
236
|
+
- spec/dummy/config/locales/en.yml
|
237
|
+
- spec/dummy/config/routes.rb
|
238
|
+
- spec/dummy/config/secrets.yml
|
239
|
+
- spec/dummy/lib/assets/.keep
|
240
|
+
- spec/dummy/log/.keep
|
241
|
+
- spec/dummy/public/404.html
|
242
|
+
- spec/dummy/public/422.html
|
243
|
+
- spec/dummy/public/500.html
|
244
|
+
- spec/dummy/public/favicon.ico
|
245
|
+
- spec/dummy/tmp/cache/.gitkeep
|
246
|
+
- spec/monitoring/main_spec.rb
|
247
|
+
- spec/rails_helper.rb
|
248
|
+
- spec/spec_helper.rb
|
249
|
+
- spec/support/cleanup_configuration.rb
|