request_id 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a4b3c575d3873ba8064a9f810e09d200caef2950
4
+ data.tar.gz: e0906a43d479ce36ad68b6cdb1f061c129f9c805
5
+ SHA512:
6
+ metadata.gz: 07f9be9a618b8e89aca8c3cb1cefbadb8c2a7e817773dbb777fdc817f64dd27d4f793454b1b553b8c3d6abc95c4aff810d69a8ddfdcf50c0d1a31478ac2a9986
7
+ data.tar.gz: d0cfdf885577efed43a0d2baffb58287def22abf3e8f0710980a14aaaea73755c669cdb48120c64b80440ba0c364aeb4ffc9c02cd587201e12d145633c3a93be
@@ -1,4 +1,9 @@
1
1
  require 'request_id/version'
2
+ require 'request_id/sidekiq' if defined?(Sidekiq)
3
+
4
+ module Rack
5
+ autoload :RequestId, 'rack/request_id'
6
+ end
2
7
 
3
8
  module RequestId
4
9
  autoload :Configuration, 'request_id/configuration'
@@ -69,19 +74,3 @@ module RequestId
69
74
 
70
75
  end
71
76
  end
72
-
73
- module Rack
74
- autoload :RequestId, 'rack/request_id'
75
- end
76
-
77
- module Sidekiq
78
- module Middleware
79
- module Client
80
- autoload :RequestId, 'sidekiq/middleware/client/request_id'
81
- end
82
-
83
- module Server
84
- autoload :RequestId, 'sidekiq/middleware/server/request_id'
85
- end
86
- end
87
- end
@@ -0,0 +1,11 @@
1
+ module Sidekiq
2
+ module Middleware
3
+ module Client
4
+ autoload :RequestId, 'sidekiq/middleware/client/request_id'
5
+ end
6
+
7
+ module Server
8
+ autoload :RequestId, 'sidekiq/middleware/server/request_id'
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module RequestId
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
@@ -1,3 +1,6 @@
1
+ # Ensure the Sidekiq module is defined.
2
+ module Sidekiq; end
3
+
1
4
  require 'bundler/setup'
2
5
  Bundler.require :default, :test
3
6
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: request_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
4
+ version: 0.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Eric J. Holmes
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-13 00:00:00.000000000 Z
11
+ date: 2013-09-18 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,33 +27,29 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Classes for tracking request id
@@ -76,6 +69,7 @@ files:
76
69
  - lib/rack/request_id.rb
77
70
  - lib/request_id.rb
78
71
  - lib/request_id/configuration.rb
72
+ - lib/request_id/sidekiq.rb
79
73
  - lib/request_id/version.rb
80
74
  - lib/sidekiq/middleware/client/request_id.rb
81
75
  - lib/sidekiq/middleware/server/request_id.rb
@@ -89,33 +83,26 @@ files:
89
83
  homepage: https://github.com/remind101/request_id
90
84
  licenses:
91
85
  - MIT
86
+ metadata: {}
92
87
  post_install_message:
93
88
  rdoc_options: []
94
89
  require_paths:
95
90
  - lib
96
91
  required_ruby_version: !ruby/object:Gem::Requirement
97
- none: false
98
92
  requirements:
99
- - - ! '>='
93
+ - - '>='
100
94
  - !ruby/object:Gem::Version
101
95
  version: '0'
102
- segments:
103
- - 0
104
- hash: -4189853304360477906
105
96
  required_rubygems_version: !ruby/object:Gem::Requirement
106
- none: false
107
97
  requirements:
108
- - - ! '>='
98
+ - - '>='
109
99
  - !ruby/object:Gem::Version
110
100
  version: '0'
111
- segments:
112
- - 0
113
- hash: -4189853304360477906
114
101
  requirements: []
115
102
  rubyforge_project:
116
- rubygems_version: 1.8.23
103
+ rubygems_version: 2.0.3
117
104
  signing_key:
118
- specification_version: 3
105
+ specification_version: 4
119
106
  summary: Classes for tracking request id
120
107
  test_files:
121
108
  - spec/rack/request_id_spec.rb