lookout-rack-utils 1.7.2 → 1.7.3

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
- ---
2
- SHA1:
3
- metadata.gz: 279f09eb60ddcd9ca6d38db3f49071f4069b0c04
4
- data.tar.gz: 5b9b468075aeca654a65b2c3077935dd39979e0a
5
- SHA512:
6
- metadata.gz: b29465a2e252a749c4fd8ec945c07b4b5881e09d0397447592673db6501ec4dc8e6b7f02e25a5e89bf4d90eaf7e5d5a6addd6a4cace7b5ac93c93a54a68f62b4
7
- data.tar.gz: 7597c905f207f7a9cc3721ffa69d84f9b2b23e7f9c457cee399b165a7347bc27356975102935d5d3e97f68d009d2aebbcfbba01a9cfd883664d63da463336f10
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e8791782408e3d3d1616e35b58516311f33cb9a3
4
+ data.tar.gz: 442cae22463e00ecb77170bd42fe697e290fe84c
5
+ SHA512:
6
+ metadata.gz: bd663570f1421211bd9d814104515d8c52032a0546a9906e2ac3c3e02dc477579f15df62dd6497d202da63a5e72890a8f0b39497e5e47f13b7cf67e8e510abd0
7
+ data.tar.gz: bd848e038099d5014d413edec6241e91ae174026b99ee99db95f69913b7977873fb42cf2a0e57da0f292733f6c5257e010dfc8c4f8c1de83189c0518551f20e8
@@ -22,17 +22,17 @@ module Lookout::Rack::Utils
22
22
  prefix = "dev.#{ENV['USER']}.#{prefix}"
23
23
  end
24
24
 
25
- Statsd.create_instance(:host => configatron.statsd.host,
26
- :port => configatron.statsd.port,
27
- :prefix => prefix)
25
+ ::Statsd.create_instance(:host => configatron.statsd.host,
26
+ :port => configatron.statsd.port,
27
+ :prefix => prefix)
28
28
  end
29
29
 
30
30
  def self.method_missing(meth, *args, &block)
31
- self.instance && Statsd.instance.send(meth, *args, &block)
31
+ self.instance && ::Statsd.instance.send(meth, *args, &block)
32
32
  end
33
33
 
34
34
  def self.respond_to?(method, include_private = false)
35
- super || (self.instance && Statsd.instance.respond_to?(method, include_private))
35
+ super || (self.instance && ::Statsd.instance.respond_to?(method, include_private))
36
36
  end
37
37
  end
38
38
  end
@@ -1,7 +1,7 @@
1
1
  module Lookout
2
2
  module Rack
3
3
  module Utils
4
- VERSION = "1.7.2"
4
+ VERSION = "1.7.3"
5
5
  end
6
6
  end
7
7
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_runtime_dependency "i18n"
29
29
 
30
30
  spec.add_dependency "rack", '>= 1.5.0'
31
- spec.add_dependency "rack-graphite"
31
+ spec.add_dependency "rack-graphite", '~> 1.1'
32
32
  spec.add_dependency "rack-requestash"
33
33
  spec.add_dependency "configatron", '~> 2.13'
34
34
  spec.add_dependency "log4r"
metadata CHANGED
@@ -1,205 +1,144 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: lookout-rack-utils
3
- version: !ruby/object:Gem::Version
4
- version: 1.7.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.7.3
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Ian Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-16 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-10-16 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
16
+ requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: "1.3"
20
21
  type: :development
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
28
25
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
26
+ requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - &id003
29
+ - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: "0"
34
32
  type: :development
35
33
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id002
35
+ - !ruby/object:Gem::Dependency
42
36
  name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
37
+ requirement: &id004 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - *id003
48
40
  type: :development
49
41
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
42
+ version_requirements: *id004
43
+ - !ruby/object:Gem::Dependency
56
44
  name: rack-test
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
45
+ requirement: &id005 !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - *id003
62
48
  type: :development
63
49
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *id005
51
+ - !ruby/object:Gem::Dependency
70
52
  name: sinatra
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
53
+ requirement: &id006 !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - *id003
76
56
  type: :development
77
57
  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
58
+ version_requirements: *id006
59
+ - !ruby/object:Gem::Dependency
84
60
  name: timecop
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
61
+ requirement: &id007 !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - *id003
90
64
  type: :development
91
65
  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
66
+ version_requirements: *id007
67
+ - !ruby/object:Gem::Dependency
98
68
  name: i18n
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
69
+ requirement: &id008 !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - *id003
104
72
  type: :runtime
105
73
  prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
74
+ version_requirements: *id008
75
+ - !ruby/object:Gem::Dependency
112
76
  name: rack
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
77
+ requirement: &id009 !ruby/object:Gem::Requirement
78
+ requirements:
115
79
  - - ">="
116
- - !ruby/object:Gem::Version
80
+ - !ruby/object:Gem::Version
117
81
  version: 1.5.0
118
82
  type: :runtime
119
83
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: 1.5.0
125
- - !ruby/object:Gem::Dependency
84
+ version_requirements: *id009
85
+ - !ruby/object:Gem::Dependency
126
86
  name: rack-graphite
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
87
+ requirement: &id010 !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ version: "1.1"
132
92
  type: :runtime
133
93
  prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
94
+ version_requirements: *id010
95
+ - !ruby/object:Gem::Dependency
140
96
  name: rack-requestash
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
97
+ requirement: &id011 !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - *id003
146
100
  type: :runtime
147
101
  prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
102
+ version_requirements: *id011
103
+ - !ruby/object:Gem::Dependency
154
104
  name: configatron
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '2.13'
105
+ requirement: &id012 !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: "2.13"
160
110
  type: :runtime
161
111
  prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '2.13'
167
- - !ruby/object:Gem::Dependency
112
+ version_requirements: *id012
113
+ - !ruby/object:Gem::Dependency
168
114
  name: log4r
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
115
+ requirement: &id013 !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - *id003
174
118
  type: :runtime
175
119
  prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
120
+ version_requirements: *id013
121
+ - !ruby/object:Gem::Dependency
182
122
  name: lookout-statsd
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
123
+ requirement: &id014 !ruby/object:Gem::Requirement
124
+ requirements:
185
125
  - - ">="
186
- - !ruby/object:Gem::Version
126
+ - !ruby/object:Gem::Version
187
127
  version: 0.7.0
188
128
  type: :runtime
189
129
  prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: 0.7.0
130
+ version_requirements: *id014
195
131
  description: A collection of rack utils.
196
- email:
132
+ email:
197
133
  - ian.smith@lookout.com
198
134
  executables: []
135
+
199
136
  extensions: []
137
+
200
138
  extra_rdoc_files: []
201
- files:
202
- - ".gitignore"
139
+
140
+ files:
141
+ - .gitignore
203
142
  - Gemfile
204
143
  - LICENSE.txt
205
144
  - README.md
@@ -219,31 +158,30 @@ files:
219
158
  - spec/subroute_spec.rb
220
159
  - spec/support/routehelpers.rb
221
160
  - spec/support/subroutehelpers.rb
222
- homepage: ''
223
- licenses:
161
+ homepage: ""
162
+ licenses:
224
163
  - MIT
225
164
  metadata: {}
165
+
226
166
  post_install_message:
227
167
  rdoc_options: []
228
- require_paths:
168
+
169
+ require_paths:
229
170
  - lib
230
- required_ruby_version: !ruby/object:Gem::Requirement
231
- requirements:
232
- - - ">="
233
- - !ruby/object:Gem::Version
234
- version: '0'
235
- required_rubygems_version: !ruby/object:Gem::Requirement
236
- requirements:
237
- - - ">="
238
- - !ruby/object:Gem::Version
239
- version: '0'
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - *id003
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - *id003
240
177
  requirements: []
178
+
241
179
  rubyforge_project:
242
- rubygems_version: 2.2.2
180
+ rubygems_version: 2.4.1
243
181
  signing_key:
244
182
  specification_version: 4
245
- summary: ''
246
- test_files:
183
+ summary: ""
184
+ test_files:
247
185
  - spec/graphite_spec.rb
248
186
  - spec/i18n_spec.rb
249
187
  - spec/log_spec.rb
@@ -251,4 +189,3 @@ test_files:
251
189
  - spec/subroute_spec.rb
252
190
  - spec/support/routehelpers.rb
253
191
  - spec/support/subroutehelpers.rb
254
- has_rdoc: