active_record_stats 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NzliZjQ1NTM0NTc1MTE4OTVlZDkzM2M0NDUxYTlkODVjMWFlYjI1YQ==
5
- data.tar.gz: !binary |-
6
- NTM4YzllODgxYjM1ZWI0MmUzYjdkODFkYWJhYjIzNTUyZWY0MWNhNA==
2
+ SHA1:
3
+ metadata.gz: b7e8f1b766895e6691b96e361716eb154819a20d
4
+ data.tar.gz: 68a944e6bd8d963a8303bcbf662d50c6d5b02fbb
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzlmMDY3NDVhNGJjYmIyYWFjM2YyY2NhZmQ0ZTU4Y2I5MmU2MzlkZDI1NDEw
10
- N2Y5OThhMTc3M2NiNDYyZTgyMjM3MzU4ODNhNjhhMThkYWJiN2RkYTRiZjcx
11
- MzBhNDViMWZiODY4NTFkZmUzMDllZTk4ZTU0ZWE3ZDk0ODQxZTg=
12
- data.tar.gz: !binary |-
13
- ZmEzNWE3Y2JmNjIyYTA4YzFmMzRkMWEwMTBiMTFlMjkyMTM1NzVkN2QxZGU5
14
- OTkxYmI0Y2MzZWZhNWRkZjJiNTdhYWUyODE3N2I1ZGJkM2MzY2VkYjYzM2I1
15
- MWFkNTFlODM4ZWZlZTk5OGZjMTM0OTRmOTAyMDY1NTg2MjJkZWU=
6
+ metadata.gz: 81fa87f738712b12f95a518efbf7b3f0ad8fb37a521b31e5d36c053298bffa77a59e638190f6aad56409164530db0a1f6496689f5e7ecac2abb54fe8a3d46669
7
+ data.tar.gz: 2cae2cb8be591a94cc977c4d646ff8a6548e3ef819a65d1ba8a11d97afbcac5c645c9251a83c1539e6a0cf8d15d64d5e7d7e4b5cff278ef0f5d4d19743e536a5
@@ -26,7 +26,7 @@ module ActiveRecordStats
26
26
  }
27
27
 
28
28
  gather_runtime = ->(_name, _started_at, _finished_at, _unique_id, payload) {
29
- db_time = payload[:db_runtime]
29
+ db_time = payload.fetch(:db_runtime) { 0 }
30
30
  }
31
31
 
32
32
  subs = [
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordStats
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,159 +1,159 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Hargraves
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-06 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: statsd-instrument
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.0'
34
- - - ! '>='
34
+ - - ">="
35
35
  - !ruby/object:Gem::Version
36
36
  version: 2.0.4
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ~>
41
+ - - "~>"
42
42
  - !ruby/object:Gem::Version
43
43
  version: '2.0'
44
- - - ! '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.0.4
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.11'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.11'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ~>
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '10.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ~>
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '10.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '3.0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ~>
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: pry
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ~>
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0.10'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ~>
100
+ - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0.10'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: coveralls
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ~>
107
+ - - "~>"
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0.8'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - ~>
114
+ - - "~>"
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0.8'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: pg
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ~>
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0.18'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ~>
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0.18'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: actionpack
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ! '>='
135
+ - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - ! '>='
142
+ - - ">="
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: rack-test
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ~>
149
+ - - "~>"
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0.6'
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - ~>
156
+ - - "~>"
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0.6'
159
159
  description: ActiveRecord instrumentation for Rails, Resque and Sidekiq
@@ -163,11 +163,11 @@ executables: []
163
163
  extensions: []
164
164
  extra_rdoc_files: []
165
165
  files:
166
- - .gitignore
167
- - .rspec
168
- - .ruby-version
169
- - .simplecov
170
- - .travis.yml
166
+ - ".gitignore"
167
+ - ".rspec"
168
+ - ".ruby-version"
169
+ - ".simplecov"
170
+ - ".travis.yml"
171
171
  - Gemfile
172
172
  - LICENSE.txt
173
173
  - README.md
@@ -190,12 +190,12 @@ require_paths:
190
190
  - lib
191
191
  required_ruby_version: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ! '>='
193
+ - - ">="
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  requirements:
198
- - - ! '>='
198
+ - - ">="
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  requirements: []