remnant 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/remnant/rack.rb +2 -2
- data/lib/remnant/version.rb +1 -1
- data/remnant.gemspec +1 -8
- metadata +16 -110
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5637ea6e69ef66219cfdfca6ab1445d78689a4b5
|
4
|
+
data.tar.gz: 63b33b241cbd35c6e74ec1d35d9280f0615ca7f3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 961b7c02093f6b6cf2437130de7da18273fdf0c16db685a1b7783988d5c341e9e43ad96aa705f79fed0303ca26b0ad4b8c0fb82abb426dd8b358202fcc57d6fe
|
7
|
+
data.tar.gz: 4e0565a24b5d49f169bebd3dabc55b6b6301ceb3889a4fea01342322ad0cbadb1c3e6438512aadcb2f0a2c0f4b3ec24e102b1ed2bad19dc6720e2a56f4c53c43
|
data/lib/remnant/rack.rb
CHANGED
@@ -13,7 +13,7 @@ class Remnant
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
# only gc capture as dev
|
16
|
-
if env['rack.request.cookie_hash']['developer'] == '1'
|
16
|
+
if env['rack.request.cookie_hash'].is_a?(Hash) && env['rack.request.cookie_hash']['developer'] == '1'
|
17
17
|
::Remnant::GC.enable_stats
|
18
18
|
end
|
19
19
|
|
@@ -26,7 +26,7 @@ class Remnant
|
|
26
26
|
::Remnant.collect
|
27
27
|
|
28
28
|
# only gc capture as dev
|
29
|
-
if env['rack.request.cookie_hash']['developer'] == '1'
|
29
|
+
if env['rack.request.cookie_hash'].is_a?(Hash) && env['rack.request.cookie_hash']['developer'] == '1'
|
30
30
|
::Remnant::GC.clear_stats
|
31
31
|
end
|
32
32
|
|
data/lib/remnant/version.rb
CHANGED
data/remnant.gemspec
CHANGED
@@ -19,12 +19,5 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency 'statsd-ruby', '1.0.0'
|
23
|
-
|
24
|
-
s.add_development_dependency 'actionpack', '~> 2.3.8'
|
25
|
-
s.add_development_dependency 'activerecord', '~> 2.3.8'
|
26
|
-
s.add_development_dependency 'activesupport', '~> 2.3.8'
|
27
|
-
s.add_development_dependency 'rake'
|
28
|
-
s.add_development_dependency 'rspec'
|
29
|
-
s.add_development_dependency 'rr'
|
22
|
+
s.add_dependency 'statsd-ruby', '~> 1.0', '>= 1.0.0'
|
30
23
|
end
|
metadata
CHANGED
@@ -1,128 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remnant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- John 'asceth' Long
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: statsd-ruby
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0
|
22
|
-
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - '='
|
19
|
+
version: '1.0'
|
20
|
+
- - ">="
|
28
21
|
- !ruby/object:Gem::Version
|
29
22
|
version: 1.0.0
|
30
|
-
|
31
|
-
name: actionpack
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ~>
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 2.3.8
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 2.3.8
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: activerecord
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.3.8
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 2.3.8
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: activesupport
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 2.3.8
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 2.3.8
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rake
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: rspec
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ! '>='
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
102
|
-
type: :development
|
23
|
+
type: :runtime
|
103
24
|
prerelease: false
|
104
25
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: rr
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
26
|
requirements:
|
115
|
-
- -
|
27
|
+
- - "~>"
|
116
28
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
29
|
+
version: '1.0'
|
30
|
+
- - ">="
|
124
31
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
32
|
+
version: 1.0.0
|
126
33
|
description: Remnant - peering into your ruby apps and discovering statistics you
|
127
34
|
never knew could be so awful...
|
128
35
|
email:
|
@@ -131,7 +38,7 @@ executables: []
|
|
131
38
|
extensions: []
|
132
39
|
extra_rdoc_files: []
|
133
40
|
files:
|
134
|
-
- .rvmrc
|
41
|
+
- ".rvmrc"
|
135
42
|
- Gemfile
|
136
43
|
- Gemfile.lock
|
137
44
|
- LICENSE
|
@@ -165,27 +72,26 @@ files:
|
|
165
72
|
homepage: https://github.com/asceth/remnant
|
166
73
|
licenses:
|
167
74
|
- MIT
|
75
|
+
metadata: {}
|
168
76
|
post_install_message:
|
169
77
|
rdoc_options: []
|
170
78
|
require_paths:
|
171
79
|
- lib
|
172
80
|
required_ruby_version: !ruby/object:Gem::Requirement
|
173
|
-
none: false
|
174
81
|
requirements:
|
175
|
-
- -
|
82
|
+
- - ">="
|
176
83
|
- !ruby/object:Gem::Version
|
177
84
|
version: '0'
|
178
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
-
none: false
|
180
86
|
requirements:
|
181
|
-
- -
|
87
|
+
- - ">="
|
182
88
|
- !ruby/object:Gem::Version
|
183
89
|
version: '0'
|
184
90
|
requirements: []
|
185
91
|
rubyforge_project: remnant
|
186
|
-
rubygems_version:
|
92
|
+
rubygems_version: 2.2.2
|
187
93
|
signing_key:
|
188
|
-
specification_version:
|
94
|
+
specification_version: 4
|
189
95
|
summary: Rails statistical discoverer
|
190
96
|
test_files:
|
191
97
|
- spec/app/some/klass.rb
|