dynoscale_ruby 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +23 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +119 -81
- data/dynoscale_ruby.gemspec +0 -1
- data/lib/dynoscale_ruby/recorder.rb +2 -2
- data/lib/dynoscale_ruby/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ae70638c0e3b13db20761df445d3c36f2b5fb92f0db80a8a42dac452d7ac0fe
|
|
4
|
+
data.tar.gz: 718c22206457e7a4efd646b19599780fbb98905f30e32b4683e8d4118602d43b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5377962fcbc5f461384c5a3f0ba361d891b1f626650479dfd76d44bc516f9c83e7a47d8e82502a641d5532f01265e19597d16c34439e818fa1842a82a61bd86e
|
|
7
|
+
data.tar.gz: f68481ffc35c1e8987c4cdb59ca08a141edc35f1b2f2514fc37041d73f1ceb4d7de71109ff45d008e6b9fa3f8c23972c1b13f2f147ef670d78ccae95f17527d0
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
- Update development and test dependencies to current releases (rake, rspec, sidekiq, resque, activesupport, and related gems)
|
|
6
|
+
- Align `DynoscaleRuby::VERSION` with the published gem version
|
|
7
|
+
|
|
8
|
+
## 1.0.4
|
|
9
|
+
|
|
10
|
+
- Fix issue 2
|
|
11
|
+
|
|
12
|
+
## 1.0.3
|
|
13
|
+
|
|
14
|
+
- Allow skipping the Dynoscale agent via `SKIP_DYNOSCALE_AGENT`
|
|
15
|
+
- Fix typo in middleware
|
|
16
|
+
|
|
17
|
+
## 1.0.2
|
|
18
|
+
|
|
19
|
+
- Handle nil current report
|
|
20
|
+
|
|
21
|
+
## 1.0.1
|
|
22
|
+
|
|
23
|
+
- Initial public release
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,106 +1,144 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dynoscale_ruby (1.0.
|
|
4
|
+
dynoscale_ruby (1.0.5)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
activemodel (
|
|
10
|
-
activesupport (=
|
|
11
|
-
activerecord (
|
|
12
|
-
activemodel (=
|
|
13
|
-
activesupport (=
|
|
14
|
-
|
|
15
|
-
activesupport (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
activemodel (8.1.4)
|
|
10
|
+
activesupport (= 8.1.4)
|
|
11
|
+
activerecord (8.1.4)
|
|
12
|
+
activemodel (= 8.1.4)
|
|
13
|
+
activesupport (= 8.1.4)
|
|
14
|
+
timeout (>= 0.4.0)
|
|
15
|
+
activesupport (8.1.4)
|
|
16
|
+
base64
|
|
17
|
+
bigdecimal
|
|
18
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
19
|
+
connection_pool (>= 2.2.5)
|
|
20
|
+
drb
|
|
21
|
+
i18n (>= 1.6, < 2)
|
|
22
|
+
json
|
|
23
|
+
logger (>= 1.4.2)
|
|
24
|
+
minitest (>= 5.1)
|
|
25
|
+
securerandom (>= 0.3)
|
|
26
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
27
|
+
uri (>= 0.13.1)
|
|
28
|
+
addressable (2.9.0)
|
|
29
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
30
|
+
base64 (0.3.0)
|
|
31
|
+
benchmark (0.5.0)
|
|
32
|
+
bigdecimal (4.1.3)
|
|
33
|
+
byebug (13.0.0)
|
|
34
|
+
reline (>= 0.6.0)
|
|
24
35
|
coderay (1.1.3)
|
|
25
|
-
concurrent-ruby (1.
|
|
26
|
-
connection_pool (
|
|
27
|
-
crack (0.
|
|
36
|
+
concurrent-ruby (1.3.8)
|
|
37
|
+
connection_pool (3.0.2)
|
|
38
|
+
crack (1.0.1)
|
|
39
|
+
bigdecimal
|
|
28
40
|
rexml
|
|
29
|
-
delayed_job (4.
|
|
30
|
-
activesupport (>= 3.0, <
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
delayed_job (4.2.0)
|
|
42
|
+
activesupport (>= 3.0, < 9.0)
|
|
43
|
+
benchmark
|
|
44
|
+
logger
|
|
45
|
+
delayed_job_active_record (4.1.11)
|
|
46
|
+
activerecord (>= 3.0, < 9.0)
|
|
33
47
|
delayed_job (>= 3.0, < 5)
|
|
34
|
-
diff-lcs (1.
|
|
35
|
-
|
|
36
|
-
|
|
48
|
+
diff-lcs (1.6.2)
|
|
49
|
+
drb (2.2.3)
|
|
50
|
+
hashdiff (1.2.1)
|
|
51
|
+
i18n (1.15.2)
|
|
37
52
|
concurrent-ruby (~> 1.0)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
io-console (0.9.4)
|
|
54
|
+
json (3.0.2)
|
|
55
|
+
logger (1.7.0)
|
|
56
|
+
method_source (1.1.0)
|
|
57
|
+
minitest (6.0.6)
|
|
58
|
+
drb (~> 2.0)
|
|
59
|
+
prism (~> 1.5)
|
|
60
|
+
mono_logger (1.1.2)
|
|
61
|
+
multi_json (1.21.2)
|
|
62
|
+
mustermann (3.1.1)
|
|
63
|
+
prism (1.9.0)
|
|
64
|
+
pry (0.16.0)
|
|
45
65
|
coderay (~> 1.1)
|
|
46
66
|
method_source (~> 1.0)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
rack
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
reline (>= 0.6.0)
|
|
68
|
+
pry-byebug (3.12.0)
|
|
69
|
+
byebug (~> 13.0)
|
|
70
|
+
pry (>= 0.13, < 0.17)
|
|
71
|
+
public_suffix (7.0.5)
|
|
72
|
+
que (2.4.1)
|
|
73
|
+
rack (3.2.7)
|
|
74
|
+
rack-protection (4.2.1)
|
|
75
|
+
base64 (>= 0.1.0)
|
|
76
|
+
logger (>= 1.6.0)
|
|
77
|
+
rack (>= 3.0.0, < 4)
|
|
78
|
+
rack-session (2.1.2)
|
|
79
|
+
base64 (>= 0.1.0)
|
|
80
|
+
rack (>= 3.0.0)
|
|
81
|
+
rake (13.4.2)
|
|
82
|
+
redis (6.0.0)
|
|
83
|
+
redis-client (= 0.30.1)
|
|
84
|
+
redis-client (0.30.1)
|
|
85
|
+
connection_pool
|
|
86
|
+
redis-namespace (1.11.0)
|
|
87
|
+
redis (>= 4)
|
|
88
|
+
reline (0.7.0)
|
|
89
|
+
io-console (~> 0.5)
|
|
90
|
+
resque (3.1.0)
|
|
91
|
+
base64 (~> 0.1)
|
|
92
|
+
logger
|
|
93
|
+
mono_logger (~> 1)
|
|
61
94
|
multi_json (~> 1.0)
|
|
95
|
+
redis (>= 4.0)
|
|
62
96
|
redis-namespace (~> 1.6)
|
|
63
|
-
sinatra (>= 0
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
rspec-
|
|
68
|
-
rspec-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
rspec-expectations (3.10.1)
|
|
97
|
+
sinatra (>= 2.0)
|
|
98
|
+
rexml (3.4.4)
|
|
99
|
+
rspec (3.13.2)
|
|
100
|
+
rspec-core (~> 3.13.0)
|
|
101
|
+
rspec-expectations (~> 3.13.0)
|
|
102
|
+
rspec-mocks (~> 3.13.0)
|
|
103
|
+
rspec-core (3.13.6)
|
|
104
|
+
rspec-support (~> 3.13.0)
|
|
105
|
+
rspec-expectations (3.13.5)
|
|
73
106
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
74
|
-
rspec-support (~> 3.
|
|
75
|
-
rspec-mocks (3.
|
|
107
|
+
rspec-support (~> 3.13.0)
|
|
108
|
+
rspec-mocks (3.13.8)
|
|
76
109
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
77
|
-
rspec-support (~> 3.
|
|
78
|
-
rspec-support (3.
|
|
79
|
-
|
|
80
|
-
sidekiq (
|
|
81
|
-
connection_pool (
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
110
|
+
rspec-support (~> 3.13.0)
|
|
111
|
+
rspec-support (3.13.7)
|
|
112
|
+
securerandom (0.4.1)
|
|
113
|
+
sidekiq (8.1.7)
|
|
114
|
+
connection_pool (>= 3.0.0)
|
|
115
|
+
json (>= 2.16.0)
|
|
116
|
+
logger (>= 1.7.0)
|
|
117
|
+
rack (>= 3.2.0)
|
|
118
|
+
redis-client (>= 0.29.0)
|
|
119
|
+
sinatra (4.2.1)
|
|
120
|
+
logger (>= 1.6.0)
|
|
121
|
+
mustermann (~> 3.0)
|
|
122
|
+
rack (>= 3.0.0, < 4)
|
|
123
|
+
rack-protection (= 4.2.1)
|
|
124
|
+
rack-session (>= 2.0.0, < 3)
|
|
89
125
|
tilt (~> 2.0)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
tzinfo (
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
webmock (3.14.0)
|
|
126
|
+
tilt (2.9.0)
|
|
127
|
+
timeout (0.6.1)
|
|
128
|
+
tzinfo (2.0.6)
|
|
129
|
+
concurrent-ruby (~> 1.0)
|
|
130
|
+
uri (1.1.1)
|
|
131
|
+
vcr (6.4.0)
|
|
132
|
+
webmock (3.26.4)
|
|
98
133
|
addressable (>= 2.8.0)
|
|
99
134
|
crack (>= 0.3.2)
|
|
100
135
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
101
136
|
|
|
102
137
|
PLATFORMS
|
|
138
|
+
ruby
|
|
103
139
|
x86_64-darwin-18
|
|
140
|
+
x86_64-linux
|
|
141
|
+
x86_64-linux-gnu
|
|
104
142
|
|
|
105
143
|
DEPENDENCIES
|
|
106
144
|
activesupport
|
|
@@ -109,7 +147,7 @@ DEPENDENCIES
|
|
|
109
147
|
dynoscale_ruby!
|
|
110
148
|
pry-byebug
|
|
111
149
|
que
|
|
112
|
-
rake
|
|
150
|
+
rake
|
|
113
151
|
resque
|
|
114
152
|
rspec (~> 3.0)
|
|
115
153
|
sidekiq (>= 5.0)
|
|
@@ -117,4 +155,4 @@ DEPENDENCIES
|
|
|
117
155
|
webmock
|
|
118
156
|
|
|
119
157
|
BUNDLED WITH
|
|
120
|
-
2.
|
|
158
|
+
2.4.20
|
data/dynoscale_ruby.gemspec
CHANGED
|
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
"source_code_uri" => "https://github.com/Mjolnir-Software/dynoscale_ruby",
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
spec.version = '1.0.3'
|
|
23
22
|
# Specify which files should be added to the gem when it is released.
|
|
24
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
25
24
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
@@ -20,7 +20,7 @@ module DynoscaleRuby
|
|
|
20
20
|
@@current_report ||= Report.new(current_time + REPORT_RECORDING_FREQ)
|
|
21
21
|
|
|
22
22
|
if queue_time
|
|
23
|
-
@@current_report
|
|
23
|
+
@@current_report&.add_measurement(current_time, queue_time, 'web', nil)
|
|
24
24
|
Logger.logger.debug "Web measurement #{current_time}, #{queue_time} recorded in report."
|
|
25
25
|
end
|
|
26
26
|
|
|
@@ -35,7 +35,7 @@ module DynoscaleRuby
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
@@reports ||= {}
|
|
38
|
-
@@reports[@@current_report
|
|
38
|
+
@@reports[@@current_report&.publish_timestamp] = @@current_report
|
|
39
39
|
@@reports.values
|
|
40
40
|
end
|
|
41
41
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dynoscale_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Abrahamsen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|
|
@@ -20,6 +20,7 @@ files:
|
|
|
20
20
|
- ".gitignore"
|
|
21
21
|
- ".rspec"
|
|
22
22
|
- ".travis.yml"
|
|
23
|
+
- CHANGELOG.md
|
|
23
24
|
- CODE_OF_CONDUCT.md
|
|
24
25
|
- Gemfile
|
|
25
26
|
- Gemfile.lock
|
|
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
67
68
|
- !ruby/object:Gem::Version
|
|
68
69
|
version: '0'
|
|
69
70
|
requirements: []
|
|
70
|
-
rubygems_version: 3.
|
|
71
|
+
rubygems_version: 3.4.20
|
|
71
72
|
signing_key:
|
|
72
73
|
specification_version: 4
|
|
73
74
|
summary: This gem is an agent for the Dynoscale Heroku add-on.
|