gitlab-labkit 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d919fa4752324f93efc91b81d0ad700dac81988219ee5c9644dff15bb895d346
4
- data.tar.gz: 1fb117e24ae71099aae9c9d9983f0075f6b5a19ca8d344a0e83ceef0a5d45e5b
3
+ metadata.gz: 427b29fcb43592d13da97f2cb071e0ada987b214d5dd8e5c3f94828e1b86b8a3
4
+ data.tar.gz: 903f153844848e8afb87cf18425926251c6b515a9f0f1bed960717b9242fdabc
5
5
  SHA512:
6
- metadata.gz: 8ed25dcd8ce2a723732a65aedd666af035af7c68717bcceec18d82af8a4eb60852e29a034c97fa252c73071a254075de93e7108cf21f319de0e32aae15464b4b
7
- data.tar.gz: c802b193c9533b871b98e6f84c04d8670de366cc88bd0c66aea2df17a30f20ce85f34509c3107d35c6af004fa34ea78a6441bd751a5e305c900fde3db4e2027b
6
+ metadata.gz: 516bf1f97994171fc3081acfc6e802a485266456033f22093c8c75788b25842bfb81d5be45060a866434df83f5ce6e707ce21ec78fb37843a2bd6f645f70a1cb
7
+ data.tar.gz: 101fe75e2de783e67cb93012a24f52b9a9acdb832906eadfa7f74580fbb26385517f82cf75fa451905431125f56425a4f149adf620594888a1ebdbc71ea998b6
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'gitlab-labkit'
6
- spec.version = '0.0.5'
6
+ spec.version = '0.0.6'
7
7
  spec.authors = ['Andrew Newdigate']
8
8
  spec.email = ['andrew@gitlab.com']
9
9
 
@@ -15,14 +15,14 @@ Gem::Specification.new do |spec|
15
15
  spec.require_paths = ["lib"]
16
16
  spec.required_ruby_version = '>= 2.3.0'
17
17
 
18
+ spec.add_runtime_dependency 'actionpack', '~> 5'
18
19
  spec.add_runtime_dependency 'activesupport', '~> 5'
19
20
  spec.add_runtime_dependency 'grpc', '~> 1.15'
20
21
  spec.add_runtime_dependency 'jaeger-client', '~> 0.10'
21
22
  spec.add_runtime_dependency 'opentracing', '~> 0.4'
22
- spec.add_runtime_dependency 'rack', '~> 2.0'
23
- spec.add_runtime_dependency 'rails', '~> 5.0'
24
23
 
25
24
  spec.add_development_dependency 'gitlab-styles', '~> 2.4'
25
+ spec.add_development_dependency 'rack', '~> 2.0'
26
26
  spec.add_development_dependency 'rake', '~> 12.3'
27
27
  spec.add_development_dependency 'rspec', '~> 3.6.0'
28
28
  spec.add_development_dependency 'rspec-parameterized', '~> 0.4'
data/lib/gitlab-labkit.rb CHANGED
@@ -1,3 +1,6 @@
1
+ # https://guides.rubyonrails.org/active_support_core_extensions.html
2
+ require 'active_support/all'
3
+
1
4
  # rubocop:disable Naming/FileName
2
5
  module Labkit
3
6
  autoload :Correlation, 'labkit/correlation'
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'opentracing'
4
- require 'rails'
4
+ require 'active_support/all'
5
+ require 'action_dispatch'
5
6
 
6
7
  module Labkit
7
8
  module Tracing
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-labkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newdigate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-18 00:00:00.000000000 Z
11
+ date: 2019-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: activesupport
14
+ name: actionpack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
@@ -25,89 +25,89 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: grpc
28
+ name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.15'
33
+ version: '5'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.15'
40
+ version: '5'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jaeger-client
42
+ name: grpc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.10'
47
+ version: '1.15'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.10'
54
+ version: '1.15'
55
55
  - !ruby/object:Gem::Dependency
56
- name: opentracing
56
+ name: jaeger-client
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.4'
61
+ version: '0.10'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.4'
68
+ version: '0.10'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rack
70
+ name: opentracing
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.0'
75
+ version: '0.4'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.0'
82
+ version: '0.4'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rails
84
+ name: gitlab-styles
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '5.0'
90
- type: :runtime
89
+ version: '2.4'
90
+ type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '5.0'
96
+ version: '2.4'
97
97
  - !ruby/object:Gem::Dependency
98
- name: gitlab-styles
98
+ name: rack
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.4'
103
+ version: '2.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.4'
110
+ version: '2.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement