trailer 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.circleci/config.yml +116 -0
- data/.env.example +6 -0
- data/.gitignore +14 -0
- data/.rspec +3 -0
- data/.rubocop.yml +263 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +8 -0
- data/README.md +407 -0
- data/Rakefile +8 -0
- data/bin/console +19 -0
- data/bin/setup +8 -0
- data/certs/daveperrett.pem +25 -0
- data/lib/trailer.rb +40 -0
- data/lib/trailer/concern.rb +89 -0
- data/lib/trailer/configuration.rb +46 -0
- data/lib/trailer/middleware/rack.rb +24 -0
- data/lib/trailer/middleware/sidekiq.rb +20 -0
- data/lib/trailer/railtie.rb +19 -0
- data/lib/trailer/recorder.rb +53 -0
- data/lib/trailer/storage/cloud_watch.rb +99 -0
- data/lib/trailer/utility.rb +60 -0
- data/lib/trailer/version.rb +5 -0
- data/trailer.gemspec +47 -0
- metadata +277 -0
- metadata.gz.sig +0 -0
data/trailer.gemspec
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'trailer/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'trailer'
|
9
|
+
spec.version = Trailer::VERSION
|
10
|
+
spec.authors = ['Dave Perrett']
|
11
|
+
spec.email = ['hello@daveperrett.com']
|
12
|
+
spec.summary = 'Application tracing for distributed services'
|
13
|
+
spec.description = 'Provides a framework for tracing events within a service, or across multiple services.'
|
14
|
+
spec.homepage = 'https://github.com/Shuttlerock/trailer'
|
15
|
+
spec.required_ruby_version = '>= 2.6.0'
|
16
|
+
spec.licenses = ['MIT']
|
17
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
18
|
+
|
19
|
+
# Signing information.
|
20
|
+
# See https://guides.rubygems.org/security/
|
21
|
+
spec.cert_chain = ['certs/daveperrett.pem']
|
22
|
+
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $PROGRAM_NAME.end_with?('gem')
|
23
|
+
|
24
|
+
# Specify which files should be added to the gem when it is released.
|
25
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
26
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
27
|
+
`git ls-files -z`.split("\x0").reject { |file| file.match(%r{^(test|spec|features)/}) }
|
28
|
+
end
|
29
|
+
spec.bindir = 'exe'
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |file| File.basename(file) }
|
31
|
+
spec.require_paths = ['lib']
|
32
|
+
|
33
|
+
spec.add_dependency 'aws-sdk-cloudwatchlogs', '~> 1.34'
|
34
|
+
spec.add_dependency 'concurrent-ruby', '~> 1.1'
|
35
|
+
spec.add_dependency 'request_store', '~> 1.2'
|
36
|
+
spec.add_dependency 'request_store-sidekiq', '~> 0.1'
|
37
|
+
|
38
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
39
|
+
spec.add_development_dependency 'bundler-audit', '~> 0.7'
|
40
|
+
spec.add_development_dependency 'bundler-leak', '~> 0.2'
|
41
|
+
spec.add_development_dependency 'dotenv', '~> 2.7'
|
42
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
43
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
44
|
+
spec.add_development_dependency 'rubocop', '~> 0.89'
|
45
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.7'
|
46
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 1.43'
|
47
|
+
end
|
metadata
ADDED
@@ -0,0 +1,277 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: trailer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
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xvQGRhdmVwZXJyZXR0LmNvbTAgBgNVHRIEGTAXgRVo
|
27
|
+
ZWxsb0BkYXZlcGVycmV0dC5jb20wDQYJKoZIhvcNAQELBQADggGBAI3TepwbjOiP
|
28
|
+
WiVf1P+mWktyuBFgPt2rAU+/dgT4q6UBGAsQLmzVe+Na5jx0XLRw29P6xODGpZKY
|
29
|
+
I/hluXuKyousxrGF7ObVdAMLpJBBhUf7ItXxNvmxE1OXhiThzKNu3SUBD9E4S+An
|
30
|
+
u1HMQW/F307IxNQdjSM/M0G6KDhbwjy99biysmbCMRzQNJNv/fZshhIfgaAegrnG
|
31
|
+
Rdrwjlth7RvkIs4YLZyr0x0OlvfN0qHnAlKZA8ZAtt11hA0ooSHuRUcgYL7Fwzlk
|
32
|
+
VQEIGqqdRT88oMOkP4gJXOZA0VQ9BsKa0FWqm+uSXJQURp5up9zL9I61kbI5HbqO
|
33
|
+
L6psY9/rXNft9LABlmYpgAjV85LM5g53E6QVZqeXANljpJSvsFiVh1W+4YGGAleo
|
34
|
+
3Um/SScB6alBpv/eTa/qPXa+S84pZDU6kFDasnH7GEl6jYlVxZbzpHUIvkDIOp5J
|
35
|
+
6O1XOcLc39AfX5etu1WZ+wx3xUzux0oqS6rXcl63HmuKe8Son7RqJQ==
|
36
|
+
-----END CERTIFICATE-----
|
37
|
+
date: 2020-08-27 00:00:00.000000000 Z
|
38
|
+
dependencies:
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: aws-sdk-cloudwatchlogs
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - "~>"
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.34'
|
46
|
+
type: :runtime
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1.34'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: concurrent-ruby
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '1.1'
|
60
|
+
type: :runtime
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '1.1'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: request_store
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.2'
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '1.2'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: request_store-sidekiq
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0.1'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0.1'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: bundler
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.17'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '1.17'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: bundler-audit
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0.7'
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0.7'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: bundler-leak
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0.2'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - "~>"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0.2'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: dotenv
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - "~>"
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '2.7'
|
144
|
+
type: :development
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - "~>"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '2.7'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: rake
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - "~>"
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '13.0'
|
158
|
+
type: :development
|
159
|
+
prerelease: false
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '13.0'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: rspec
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '3.0'
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '3.0'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: rubocop
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0.89'
|
186
|
+
type: :development
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0.89'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: rubocop-performance
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '1.7'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '1.7'
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: rubocop-rspec
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '1.43'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '1.43'
|
221
|
+
description: Provides a framework for tracing events within a service, or across multiple
|
222
|
+
services.
|
223
|
+
email:
|
224
|
+
- hello@daveperrett.com
|
225
|
+
executables: []
|
226
|
+
extensions: []
|
227
|
+
extra_rdoc_files: []
|
228
|
+
files:
|
229
|
+
- ".circleci/config.yml"
|
230
|
+
- ".env.example"
|
231
|
+
- ".gitignore"
|
232
|
+
- ".rspec"
|
233
|
+
- ".rubocop.yml"
|
234
|
+
- ".travis.yml"
|
235
|
+
- CHANGELOG.md
|
236
|
+
- Gemfile
|
237
|
+
- README.md
|
238
|
+
- Rakefile
|
239
|
+
- bin/console
|
240
|
+
- bin/setup
|
241
|
+
- certs/daveperrett.pem
|
242
|
+
- lib/trailer.rb
|
243
|
+
- lib/trailer/concern.rb
|
244
|
+
- lib/trailer/configuration.rb
|
245
|
+
- lib/trailer/middleware/rack.rb
|
246
|
+
- lib/trailer/middleware/sidekiq.rb
|
247
|
+
- lib/trailer/railtie.rb
|
248
|
+
- lib/trailer/recorder.rb
|
249
|
+
- lib/trailer/storage/cloud_watch.rb
|
250
|
+
- lib/trailer/utility.rb
|
251
|
+
- lib/trailer/version.rb
|
252
|
+
- trailer.gemspec
|
253
|
+
homepage: https://github.com/Shuttlerock/trailer
|
254
|
+
licenses:
|
255
|
+
- MIT
|
256
|
+
metadata:
|
257
|
+
allowed_push_host: https://rubygems.org
|
258
|
+
post_install_message:
|
259
|
+
rdoc_options: []
|
260
|
+
require_paths:
|
261
|
+
- lib
|
262
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ">="
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: 2.6.0
|
267
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
requirements: []
|
273
|
+
rubygems_version: 3.0.3
|
274
|
+
signing_key:
|
275
|
+
specification_version: 4
|
276
|
+
summary: Application tracing for distributed services
|
277
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|