scout_apm-sampling 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +25 -7
- data/.gitignore +1 -0
- data/lib/scout_apm/sampling/version.rb +1 -1
- data/scout_apm-sampling.gemspec +9 -4
- metadata +8 -8
- data/Gemfile.lock +0 -102
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be65bcb74efaafa14b946cddb21b714b78c78700df1bb54faae9529daae7f5b3
|
4
|
+
data.tar.gz: d47680515a89beb9b8c1b084526a965f37b7ca65593cf684c602b6e69d7da2e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bf80f1f77045146dd36014cc9a62170d0e84013fcb87430ed194cdb83d4cfe2e1964bec5ea2dd716f89f68fe040e317eff2314fe2abfe712aa9cfe1a4532e13
|
7
|
+
data.tar.gz: 4819088d022a8228979585bbb8267e1211dac14c531414a2ac5f50f0cdf9b3de9ec2a42f60ffb5e7f6dd961f7b6b5d4e5a158bc559e134493bd9e3e05ae1daac
|
data/.github/workflows/main.yml
CHANGED
@@ -4,15 +4,33 @@ on: [push, pull_request]
|
|
4
4
|
|
5
5
|
jobs:
|
6
6
|
build:
|
7
|
+
strategy:
|
8
|
+
fail-fast: false
|
9
|
+
matrix:
|
10
|
+
ruby:
|
11
|
+
- 2.5
|
12
|
+
- 2.6
|
13
|
+
- 2.7
|
14
|
+
- 3.0
|
15
|
+
- 3.1
|
16
|
+
rails:
|
17
|
+
- 6.0.0
|
18
|
+
- 6.1.0
|
19
|
+
include:
|
20
|
+
- ruby: 2.7
|
21
|
+
rails: 7.0.0
|
22
|
+
- ruby: 3.0
|
23
|
+
rails: 7.0.0
|
24
|
+
- ruby: 3.1
|
25
|
+
rails: 7.0.0
|
26
|
+
env:
|
27
|
+
RAILS_VERSION: "~> ${{ matrix.rails }}"
|
7
28
|
runs-on: ubuntu-latest
|
8
29
|
steps:
|
9
30
|
- uses: actions/checkout@v2
|
10
|
-
-
|
11
|
-
uses: ruby/setup-ruby@v1
|
31
|
+
- uses: ruby/setup-ruby@v1
|
12
32
|
with:
|
13
|
-
ruby-version:
|
33
|
+
ruby-version: ${{ matrix.ruby }}
|
34
|
+
bundler-cache: true
|
14
35
|
- name: Run the default task
|
15
|
-
run:
|
16
|
-
gem install bundler
|
17
|
-
bundle install
|
18
|
-
bundle exec rake
|
36
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/scout_apm-sampling.gemspec
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
require_relative "lib/scout_apm/sampling/version"
|
2
2
|
|
3
|
+
# This environment variable is set on CI to facilitate testing with multiple
|
4
|
+
# versions of Rails.
|
5
|
+
RAILS_DEPENDENCY_VERSION = ENV.fetch("RAILS_VERSION", ">= 6.0")
|
6
|
+
|
3
7
|
Gem::Specification.new do |spec|
|
4
8
|
spec.name = "scout_apm-sampling"
|
5
9
|
spec.version = ScoutApm::Sampling::VERSION
|
@@ -9,10 +13,11 @@ Gem::Specification.new do |spec|
|
|
9
13
|
spec.summary = "Providing an out-of-the-box sampling feature to scout_apm gem"
|
10
14
|
spec.homepage = "https://github.com/sikachu/scout_apm-sampling"
|
11
15
|
spec.license = "MIT"
|
12
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
16
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0") # rubocop:disable Gemspec/RequiredRubyVersion
|
13
17
|
|
14
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
15
19
|
spec.metadata["source_code_uri"] = spec.homepage
|
20
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
16
21
|
|
17
22
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
18
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
@@ -21,9 +26,9 @@ Gem::Specification.new do |spec|
|
|
21
26
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
22
27
|
spec.require_paths = ["lib"]
|
23
28
|
|
24
|
-
spec.add_dependency "actionpack",
|
25
|
-
spec.add_dependency "activejob",
|
26
|
-
spec.add_dependency "scout_apm"
|
29
|
+
spec.add_dependency "actionpack", RAILS_DEPENDENCY_VERSION
|
30
|
+
spec.add_dependency "activejob", RAILS_DEPENDENCY_VERSION
|
31
|
+
spec.add_dependency "scout_apm"
|
27
32
|
|
28
33
|
spec.add_development_dependency "minitest-reporters"
|
29
34
|
spec.add_development_dependency "mocha"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm-sampling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prem Sichanugrist
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: scout_apm
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest-reporters
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,6 @@ files:
|
|
106
106
|
- ".rubocop.yml"
|
107
107
|
- CODE_OF_CONDUCT.md
|
108
108
|
- Gemfile
|
109
|
-
- Gemfile.lock
|
110
109
|
- LICENSE.txt
|
111
110
|
- README.md
|
112
111
|
- Rakefile
|
@@ -124,6 +123,7 @@ licenses:
|
|
124
123
|
metadata:
|
125
124
|
homepage_uri: https://github.com/sikachu/scout_apm-sampling
|
126
125
|
source_code_uri: https://github.com/sikachu/scout_apm-sampling
|
126
|
+
rubygems_mfa_required: 'true'
|
127
127
|
post_install_message:
|
128
128
|
rdoc_options: []
|
129
129
|
require_paths:
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.3.3
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Providing an out-of-the-box sampling feature to scout_apm gem
|
data/Gemfile.lock
DELETED
@@ -1,102 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
scout_apm-sampling (1.0.0)
|
5
|
-
actionpack (>= 6.0)
|
6
|
-
activejob (>= 6.0)
|
7
|
-
scout_apm (~> 4.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
actionpack (6.1.3)
|
13
|
-
actionview (= 6.1.3)
|
14
|
-
activesupport (= 6.1.3)
|
15
|
-
rack (~> 2.0, >= 2.0.9)
|
16
|
-
rack-test (>= 0.6.3)
|
17
|
-
rails-dom-testing (~> 2.0)
|
18
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
-
actionview (6.1.3)
|
20
|
-
activesupport (= 6.1.3)
|
21
|
-
builder (~> 3.1)
|
22
|
-
erubi (~> 1.4)
|
23
|
-
rails-dom-testing (~> 2.0)
|
24
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
-
activejob (6.1.3)
|
26
|
-
activesupport (= 6.1.3)
|
27
|
-
globalid (>= 0.3.6)
|
28
|
-
activesupport (6.1.3)
|
29
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
30
|
-
i18n (>= 1.6, < 2)
|
31
|
-
minitest (>= 5.1)
|
32
|
-
tzinfo (~> 2.0)
|
33
|
-
zeitwerk (~> 2.3)
|
34
|
-
ansi (1.5.0)
|
35
|
-
ast (2.4.2)
|
36
|
-
builder (3.2.4)
|
37
|
-
concurrent-ruby (1.1.8)
|
38
|
-
crass (1.0.6)
|
39
|
-
erubi (1.10.0)
|
40
|
-
globalid (0.4.2)
|
41
|
-
activesupport (>= 4.2.0)
|
42
|
-
i18n (1.8.9)
|
43
|
-
concurrent-ruby (~> 1.0)
|
44
|
-
loofah (2.9.0)
|
45
|
-
crass (~> 1.0.2)
|
46
|
-
nokogiri (>= 1.5.9)
|
47
|
-
minitest (5.14.4)
|
48
|
-
minitest-reporters (1.4.3)
|
49
|
-
ansi
|
50
|
-
builder
|
51
|
-
minitest (>= 5.0)
|
52
|
-
ruby-progressbar
|
53
|
-
mocha (1.12.0)
|
54
|
-
nokogiri (1.11.1-x86_64-darwin)
|
55
|
-
racc (~> 1.4)
|
56
|
-
parallel (1.20.1)
|
57
|
-
parser (3.0.0.0)
|
58
|
-
ast (~> 2.4.1)
|
59
|
-
racc (1.5.2)
|
60
|
-
rack (2.2.3)
|
61
|
-
rack-test (1.1.0)
|
62
|
-
rack (>= 1.0, < 3)
|
63
|
-
rails-dom-testing (2.0.3)
|
64
|
-
activesupport (>= 4.2.0)
|
65
|
-
nokogiri (>= 1.6)
|
66
|
-
rails-html-sanitizer (1.3.0)
|
67
|
-
loofah (~> 2.3)
|
68
|
-
rainbow (3.0.0)
|
69
|
-
rake (13.0.3)
|
70
|
-
regexp_parser (2.1.1)
|
71
|
-
rexml (3.2.4)
|
72
|
-
rubocop (1.10.0)
|
73
|
-
parallel (~> 1.10)
|
74
|
-
parser (>= 3.0.0.0)
|
75
|
-
rainbow (>= 2.2.2, < 4.0)
|
76
|
-
regexp_parser (>= 1.8, < 3.0)
|
77
|
-
rexml
|
78
|
-
rubocop-ast (>= 1.2.0, < 2.0)
|
79
|
-
ruby-progressbar (~> 1.7)
|
80
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
81
|
-
rubocop-ast (1.4.1)
|
82
|
-
parser (>= 2.7.1.5)
|
83
|
-
ruby-progressbar (1.11.0)
|
84
|
-
scout_apm (4.0.4)
|
85
|
-
parser
|
86
|
-
tzinfo (2.0.4)
|
87
|
-
concurrent-ruby (~> 1.0)
|
88
|
-
unicode-display_width (2.0.0)
|
89
|
-
zeitwerk (2.4.2)
|
90
|
-
|
91
|
-
PLATFORMS
|
92
|
-
x86_64-darwin-19
|
93
|
-
|
94
|
-
DEPENDENCIES
|
95
|
-
minitest-reporters
|
96
|
-
mocha
|
97
|
-
rake (~> 13.0)
|
98
|
-
rubocop (~> 1.7)
|
99
|
-
scout_apm-sampling!
|
100
|
-
|
101
|
-
BUNDLED WITH
|
102
|
-
2.2.11
|