gem_bench 2.0.5 → 2.0.6
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +162 -4
- data/LICENSE.md +11 -0
- data/README.md +410 -347
- data/lib/gem_bench/gemfile_line_tokenizer.rb +9 -9
- data/lib/gem_bench/jersey.rb +0 -0
- data/lib/gem_bench/player.rb +1 -1
- data/lib/gem_bench/scout.rb +1 -1
- data/lib/gem_bench/strict_version_gem.rb +1 -1
- data/lib/gem_bench/strict_version_requirement.rb +0 -0
- data/lib/gem_bench/team.rb +4 -5
- data/lib/gem_bench/version.rb +7 -2
- data/lib/gem_bench.rb +6 -6
- data/sig/gem_bench.rbs +6 -0
- data.tar.gz.sig +0 -0
- metadata +150 -90
- metadata.gz.sig +0 -0
- data/CODE_OF_CONDUCT.md +0 -133
- data/CONTRIBUTING.md +0 -60
- data/LICENSE.txt +0 -21
- data/SECURITY.md +0 -14
|
@@ -6,9 +6,9 @@ module GemBench
|
|
|
6
6
|
class GemfileLineTokenizer
|
|
7
7
|
GEM_REGEX = /\A\s*gem\s+([^#]*).*\Z/.freeze # run against gem lines like: "gem 'aftership', # Ruby SDK of AfterShip API."
|
|
8
8
|
# HEREDOC support? (?<op_heredoc><<[~-]?[A-Z0-9_]+\.?[a-z0-9_]+)
|
|
9
|
-
OP_QUO_REG_PROC = lambda { |idx = nil| /((?<op_quo#{idx}>['"]{1})|(?<op_pct_q#{idx}>%[Qq]?[
|
|
9
|
+
OP_QUO_REG_PROC = lambda { |idx = nil| /((?<op_quo#{idx}>['"]{1})|(?<op_pct_q#{idx}>%[Qq]?[(\[{]{1})|(?<op_heredoc><<[~-]?[A-Z0-9_]+\.?[a-z0-9_]+))/x }
|
|
10
10
|
# No close for the heredoc, as it will be on a different line...
|
|
11
|
-
CL_QUO_REG_PROC = lambda { |idx = nil| /((?<cl_quo#{idx}>['"])|(?<cl_pct_q#{idx}>[
|
|
11
|
+
CL_QUO_REG_PROC = lambda { |idx = nil| /((?<cl_quo#{idx}>['"])|(?<cl_pct_q#{idx}>[)\]}]{1}))/x }
|
|
12
12
|
GEM_NAME_REGEX = /\A\s*gem\s+#{OP_QUO_REG_PROC.call.source}(?<name>[^'")]*)#{CL_QUO_REG_PROC.call.source}?.*\Z/.freeze # run against gem lines like: "gem 'aftership', # Ruby SDK of AfterShip API."
|
|
13
13
|
VERSION_CONSTRAINT = /#{OP_QUO_REG_PROC.call.source}(?<version>[^'")]*)#{CL_QUO_REG_PROC.call.source}/.freeze
|
|
14
14
|
GEMFILE_HASH_CONFIG_KEY_REGEX_PROC = lambda { |key|
|
|
@@ -59,7 +59,7 @@ module GemBench
|
|
|
59
59
|
pct_q: true,
|
|
60
60
|
# We could try to support HEREDOC via parsing the lines following in all_lines, but... ugh.
|
|
61
61
|
heredoc: false,
|
|
62
|
-
unknown: false
|
|
62
|
+
unknown: false
|
|
63
63
|
}.freeze
|
|
64
64
|
attr_reader :line
|
|
65
65
|
attr_reader :relevant_lines, :is_gem, :all_lines, :index, :tokens, :version_type, :name, :parse_success, :valid
|
|
@@ -170,7 +170,7 @@ module GemBench
|
|
|
170
170
|
enhance_version(
|
|
171
171
|
line.match(VERSION_PATH),
|
|
172
172
|
:path,
|
|
173
|
-
:path
|
|
173
|
+
:path
|
|
174
174
|
)
|
|
175
175
|
end
|
|
176
176
|
|
|
@@ -182,7 +182,7 @@ module GemBench
|
|
|
182
182
|
enhance_version(
|
|
183
183
|
line.match(VERSION_GIT),
|
|
184
184
|
:git,
|
|
185
|
-
:git
|
|
185
|
+
:git
|
|
186
186
|
)
|
|
187
187
|
end
|
|
188
188
|
|
|
@@ -209,7 +209,7 @@ module GemBench
|
|
|
209
209
|
enhance_version(
|
|
210
210
|
line.match(matcher),
|
|
211
211
|
:github,
|
|
212
|
-
:github
|
|
212
|
+
:github
|
|
213
213
|
)
|
|
214
214
|
end
|
|
215
215
|
|
|
@@ -224,7 +224,7 @@ module GemBench
|
|
|
224
224
|
enhance_version(
|
|
225
225
|
line.match(VERSION_GIT_REF),
|
|
226
226
|
:ref,
|
|
227
|
-
:git_ref
|
|
227
|
+
:git_ref
|
|
228
228
|
)
|
|
229
229
|
end
|
|
230
230
|
|
|
@@ -236,7 +236,7 @@ module GemBench
|
|
|
236
236
|
enhance_version(
|
|
237
237
|
line.match(VERSION_GIT_TAG),
|
|
238
238
|
:tag,
|
|
239
|
-
:git_tag
|
|
239
|
+
:git_tag
|
|
240
240
|
)
|
|
241
241
|
end
|
|
242
242
|
|
|
@@ -248,7 +248,7 @@ module GemBench
|
|
|
248
248
|
enhance_version(
|
|
249
249
|
line.match(VERSION_GIT_BRANCH),
|
|
250
250
|
:branch,
|
|
251
|
-
:git_branch
|
|
251
|
+
:git_branch
|
|
252
252
|
)
|
|
253
253
|
end
|
|
254
254
|
|
data/lib/gem_bench/jersey.rb
CHANGED
|
File without changes
|
data/lib/gem_bench/player.rb
CHANGED
data/lib/gem_bench/scout.rb
CHANGED
|
@@ -6,7 +6,7 @@ module GemBench
|
|
|
6
6
|
attr_reader :gem_paths, :gemfile_path, :gemfile_lines, :gemfile_trash, :loaded_gems
|
|
7
7
|
|
|
8
8
|
def initialize(check_gemfile: nil, **options)
|
|
9
|
-
@check_gemfile = check_gemfile.nil?
|
|
9
|
+
@check_gemfile = check_gemfile.nil? || check_gemfile
|
|
10
10
|
@gemfile_path = options.fetch(:gemfile_path, "#{Dir.pwd}/Gemfile")
|
|
11
11
|
gem_lookup_paths_from_bundler
|
|
12
12
|
gem_lines_from_gemfile
|
|
File without changes
|
data/lib/gem_bench/team.rb
CHANGED
|
@@ -36,6 +36,7 @@ module GemBench
|
|
|
36
36
|
]
|
|
37
37
|
# A comment preceding the require: false anywhere on the line should not be considered an active require: false
|
|
38
38
|
extend Forwardable
|
|
39
|
+
|
|
39
40
|
def_delegators :@scout, :gem_paths, :gemfile_path, :check_gemfile?, :loaded_gems
|
|
40
41
|
attr_reader :scout, :look_for_regex
|
|
41
42
|
attr_accessor :all,
|
|
@@ -56,7 +57,7 @@ module GemBench
|
|
|
56
57
|
@benching = @check_type == :bench
|
|
57
58
|
@scout = GemBench::Scout.new(
|
|
58
59
|
check_gemfile: options.fetch(:check_gemfile, benching?),
|
|
59
|
-
gemfile_path: options.fetch(:gemfile_path, "#{Dir.pwd}/Gemfile")
|
|
60
|
+
gemfile_path: options.fetch(:gemfile_path, "#{Dir.pwd}/Gemfile")
|
|
60
61
|
)
|
|
61
62
|
@exclude_file_pattern_regex_proc = options[:exclude_file_pattern_regex_proc].respond_to?(:call) ? options[:exclude_file_pattern_regex_proc] : GemBench::EXCLUDE_FILE_PATTERN_REGEX_PROC
|
|
62
63
|
# Among the loaded gems there may be some that did not need to be.
|
|
@@ -78,9 +79,7 @@ module GemBench
|
|
|
78
79
|
end
|
|
79
80
|
puts "[GemBench] Will search for gems in #{gem_paths.inspect}\n#{if benching?
|
|
80
81
|
check_gemfile? ? "[GemBench] Will check Gemfile at #{gemfile_path}.\n" : "[GemBench] No Gemfile found.\n"
|
|
81
|
-
|
|
82
|
-
""
|
|
83
|
-
end}#{bad_ideas ? "[GemBench] Will show bad ideas. Be Careful.\n" : ""}[GemBench] Detected #{all.length} loaded gems#{exclusions}"
|
|
82
|
+
end}#{"[GemBench] Will show bad ideas. Be Careful.\n" if bad_ideas}[GemBench] Detected #{all.length} loaded gems#{exclusions}"
|
|
84
83
|
compare_gemfile if benching? && check_gemfile?
|
|
85
84
|
self.print if verbose
|
|
86
85
|
end
|
|
@@ -199,7 +198,7 @@ module GemBench
|
|
|
199
198
|
player = GemBench::Player.new({
|
|
200
199
|
name: player_data[0],
|
|
201
200
|
version: player_data[1],
|
|
202
|
-
exclude_file_pattern: exclude_file_pattern
|
|
201
|
+
exclude_file_pattern: exclude_file_pattern
|
|
203
202
|
})
|
|
204
203
|
check(player)
|
|
205
204
|
add_to_roster(player)
|
data/lib/gem_bench/version.rb
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module GemBench
|
|
2
|
-
# Version
|
|
4
|
+
# Version namespace for this gem.
|
|
3
5
|
module Version
|
|
4
|
-
|
|
6
|
+
# Current gem version.
|
|
7
|
+
VERSION = "2.0.6"
|
|
5
8
|
end
|
|
9
|
+
# Current gem version exposed at the traditional constant location.
|
|
10
|
+
VERSION = Version::VERSION # Traditional Constant Location
|
|
6
11
|
end
|
data/lib/gem_bench.rb
CHANGED
|
@@ -3,13 +3,13 @@ require "version_gem"
|
|
|
3
3
|
require "bundler" # This gem utilizes bundler as a tool.
|
|
4
4
|
|
|
5
5
|
# this library
|
|
6
|
-
require_relative "gem_bench/version"
|
|
7
6
|
require_relative "gem_bench/scout"
|
|
8
7
|
require_relative "gem_bench/player"
|
|
9
8
|
require_relative "gem_bench/team"
|
|
10
9
|
require_relative "gem_bench/gemfile_line_tokenizer"
|
|
11
10
|
require_relative "gem_bench/strict_version_gem"
|
|
12
11
|
require_relative "gem_bench/strict_version_requirement"
|
|
12
|
+
require_relative "gem_bench/version"
|
|
13
13
|
|
|
14
14
|
module GemBench
|
|
15
15
|
USAGE = "[GemBench] Usage: Require another gem in this session to evaluate it.\n\tExample:\n\t\trequire 'rails'\n\t\tGemBench.check({verbose: true})\n"
|
|
@@ -22,13 +22,13 @@ module GemBench
|
|
|
22
22
|
DO_NOT_SCAN = []
|
|
23
23
|
PLAYER_STATES = {
|
|
24
24
|
starter: :starter,
|
|
25
|
-
bench: :bench
|
|
25
|
+
bench: :bench
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
class << self
|
|
29
29
|
def check(verbose: false, gemfile_path: nil)
|
|
30
30
|
options = {
|
|
31
|
-
verbose: verbose
|
|
31
|
+
verbose: verbose
|
|
32
32
|
}
|
|
33
33
|
options[:gemfile_path] = gemfile_path if gemfile_path
|
|
34
34
|
GemBench::Team.new(**options)
|
|
@@ -36,7 +36,7 @@ module GemBench
|
|
|
36
36
|
|
|
37
37
|
def versions_present?(verbose: false, gemfile_path: nil)
|
|
38
38
|
options = {
|
|
39
|
-
verbose: verbose
|
|
39
|
+
verbose: verbose
|
|
40
40
|
}
|
|
41
41
|
options[:gemfile_path] = gemfile_path if gemfile_path
|
|
42
42
|
GemBench::StrictVersionRequirement.new(**options).versions_present?
|
|
@@ -44,7 +44,7 @@ module GemBench
|
|
|
44
44
|
|
|
45
45
|
def list_missing_version_constraints(verbose: false, gemfile_path: nil)
|
|
46
46
|
options = {
|
|
47
|
-
verbose: verbose
|
|
47
|
+
verbose: verbose
|
|
48
48
|
}
|
|
49
49
|
options[:gemfile_path] = gemfile_path if gemfile_path
|
|
50
50
|
GemBench::StrictVersionRequirement.new(**options).list_missing_version_constraints
|
|
@@ -57,7 +57,7 @@ module GemBench
|
|
|
57
57
|
options = {
|
|
58
58
|
verbose: verbose,
|
|
59
59
|
look_for_regex: look_for_regex,
|
|
60
|
-
exclude_file_pattern_regex_proc: exclude_file_pattern_regex_proc
|
|
60
|
+
exclude_file_pattern_regex_proc: exclude_file_pattern_regex_proc
|
|
61
61
|
}
|
|
62
62
|
options[:gemfile_path] = gemfile_path if gemfile_path
|
|
63
63
|
GemBench::Team.new(**options)
|
data/sig/gem_bench.rbs
ADDED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gem_bench
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Peter Boling
|
|
8
|
-
|
|
7
|
+
- Peter H. Boling
|
|
8
|
+
- John Joseph Bachir
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
|
13
13
|
MIIEgDCCAuigAwIBAgIBATAN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:Gem::Dependency
|
|
42
42
|
name: bundler
|
|
@@ -61,7 +61,7 @@ dependencies:
|
|
|
61
61
|
version: '1.1'
|
|
62
62
|
- - ">="
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: 1.1.
|
|
64
|
+
version: 1.1.17
|
|
65
65
|
type: :runtime
|
|
66
66
|
prerelease: false
|
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -71,43 +71,57 @@ dependencies:
|
|
|
71
71
|
version: '1.1'
|
|
72
72
|
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: 1.1.
|
|
74
|
+
version: 1.1.17
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
|
-
name:
|
|
76
|
+
name: kettle-dev
|
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
79
|
- - "~>"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '
|
|
81
|
+
version: '3.1'
|
|
82
82
|
- - ">="
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
|
-
version:
|
|
84
|
+
version: 3.1.29
|
|
85
85
|
type: :development
|
|
86
86
|
prerelease: false
|
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
|
88
88
|
requirements:
|
|
89
89
|
- - "~>"
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
|
-
version: '
|
|
91
|
+
version: '3.1'
|
|
92
92
|
- - ">="
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version:
|
|
94
|
+
version: 3.1.29
|
|
95
95
|
- !ruby/object:Gem::Dependency
|
|
96
|
-
name:
|
|
96
|
+
name: bundler-audit
|
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
99
|
- - "~>"
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: 0.
|
|
101
|
+
version: 0.9.3
|
|
102
102
|
type: :development
|
|
103
103
|
prerelease: false
|
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
|
105
105
|
requirements:
|
|
106
106
|
- - "~>"
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: 0.
|
|
108
|
+
version: 0.9.3
|
|
109
109
|
- !ruby/object:Gem::Dependency
|
|
110
|
-
name:
|
|
110
|
+
name: rake
|
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
|
112
|
+
requirements:
|
|
113
|
+
- - "~>"
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: '13.0'
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
- - "~>"
|
|
121
|
+
- !ruby/object:Gem::Version
|
|
122
|
+
version: '13.0'
|
|
123
|
+
- !ruby/object:Gem::Dependency
|
|
124
|
+
name: require_bench
|
|
111
125
|
requirement: !ruby/object:Gem::Requirement
|
|
112
126
|
requirements:
|
|
113
127
|
- - "~>"
|
|
@@ -115,7 +129,7 @@ dependencies:
|
|
|
115
129
|
version: '1.0'
|
|
116
130
|
- - ">="
|
|
117
131
|
- !ruby/object:Gem::Version
|
|
118
|
-
version: 1.0.
|
|
132
|
+
version: 1.0.4
|
|
119
133
|
type: :development
|
|
120
134
|
prerelease: false
|
|
121
135
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -125,149 +139,183 @@ dependencies:
|
|
|
125
139
|
version: '1.0'
|
|
126
140
|
- - ">="
|
|
127
141
|
- !ruby/object:Gem::Version
|
|
128
|
-
version: 1.0.
|
|
142
|
+
version: 1.0.4
|
|
129
143
|
- !ruby/object:Gem::Dependency
|
|
130
|
-
name:
|
|
144
|
+
name: anonymous_loader
|
|
131
145
|
requirement: !ruby/object:Gem::Requirement
|
|
132
146
|
requirements:
|
|
147
|
+
- - "~>"
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '0.1'
|
|
133
150
|
- - ">="
|
|
134
151
|
- !ruby/object:Gem::Version
|
|
135
|
-
version:
|
|
152
|
+
version: 0.1.5
|
|
136
153
|
type: :development
|
|
137
154
|
prerelease: false
|
|
138
155
|
version_requirements: !ruby/object:Gem::Requirement
|
|
139
156
|
requirements:
|
|
157
|
+
- - "~>"
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: '0.1'
|
|
140
160
|
- - ">="
|
|
141
161
|
- !ruby/object:Gem::Version
|
|
142
|
-
version:
|
|
162
|
+
version: 0.1.5
|
|
143
163
|
- !ruby/object:Gem::Dependency
|
|
144
|
-
name:
|
|
164
|
+
name: appraisal2
|
|
145
165
|
requirement: !ruby/object:Gem::Requirement
|
|
146
166
|
requirements:
|
|
167
|
+
- - "~>"
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: '3.2'
|
|
147
170
|
- - ">="
|
|
148
171
|
- !ruby/object:Gem::Version
|
|
149
|
-
version:
|
|
172
|
+
version: 3.2.6
|
|
150
173
|
type: :development
|
|
151
174
|
prerelease: false
|
|
152
175
|
version_requirements: !ruby/object:Gem::Requirement
|
|
153
176
|
requirements:
|
|
177
|
+
- - "~>"
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: '3.2'
|
|
154
180
|
- - ">="
|
|
155
181
|
- !ruby/object:Gem::Version
|
|
156
|
-
version:
|
|
182
|
+
version: 3.2.6
|
|
157
183
|
- !ruby/object:Gem::Dependency
|
|
158
|
-
name:
|
|
184
|
+
name: kettle-test
|
|
159
185
|
requirement: !ruby/object:Gem::Requirement
|
|
160
186
|
requirements:
|
|
161
187
|
- - "~>"
|
|
162
188
|
- !ruby/object:Gem::Version
|
|
163
|
-
version: '
|
|
189
|
+
version: '2.0'
|
|
190
|
+
- - ">="
|
|
191
|
+
- !ruby/object:Gem::Version
|
|
192
|
+
version: 2.0.30
|
|
164
193
|
type: :development
|
|
165
194
|
prerelease: false
|
|
166
195
|
version_requirements: !ruby/object:Gem::Requirement
|
|
167
196
|
requirements:
|
|
168
197
|
- - "~>"
|
|
169
198
|
- !ruby/object:Gem::Version
|
|
170
|
-
version: '
|
|
199
|
+
version: '2.0'
|
|
200
|
+
- - ">="
|
|
201
|
+
- !ruby/object:Gem::Version
|
|
202
|
+
version: 2.0.30
|
|
171
203
|
- !ruby/object:Gem::Dependency
|
|
172
|
-
name:
|
|
204
|
+
name: turbo_tests2
|
|
173
205
|
requirement: !ruby/object:Gem::Requirement
|
|
174
206
|
requirements:
|
|
175
207
|
- - "~>"
|
|
176
208
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: '
|
|
209
|
+
version: '4.0'
|
|
178
210
|
- - ">="
|
|
179
211
|
- !ruby/object:Gem::Version
|
|
180
|
-
version:
|
|
212
|
+
version: 4.0.2
|
|
181
213
|
type: :development
|
|
182
214
|
prerelease: false
|
|
183
215
|
version_requirements: !ruby/object:Gem::Requirement
|
|
184
216
|
requirements:
|
|
185
217
|
- - "~>"
|
|
186
218
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: '
|
|
219
|
+
version: '4.0'
|
|
188
220
|
- - ">="
|
|
189
221
|
- !ruby/object:Gem::Version
|
|
190
|
-
version:
|
|
222
|
+
version: 4.0.2
|
|
191
223
|
- !ruby/object:Gem::Dependency
|
|
192
|
-
name:
|
|
224
|
+
name: ruby-progressbar
|
|
193
225
|
requirement: !ruby/object:Gem::Requirement
|
|
194
226
|
requirements:
|
|
195
227
|
- - "~>"
|
|
196
228
|
- !ruby/object:Gem::Version
|
|
197
|
-
version: '
|
|
229
|
+
version: '1.13'
|
|
198
230
|
type: :development
|
|
199
231
|
prerelease: false
|
|
200
232
|
version_requirements: !ruby/object:Gem::Requirement
|
|
201
233
|
requirements:
|
|
202
234
|
- - "~>"
|
|
203
235
|
- !ruby/object:Gem::Version
|
|
204
|
-
version: '
|
|
236
|
+
version: '1.13'
|
|
205
237
|
- !ruby/object:Gem::Dependency
|
|
206
|
-
name:
|
|
238
|
+
name: stone_checksums
|
|
207
239
|
requirement: !ruby/object:Gem::Requirement
|
|
208
240
|
requirements:
|
|
209
241
|
- - "~>"
|
|
210
242
|
- !ruby/object:Gem::Version
|
|
211
|
-
version: '0
|
|
243
|
+
version: '1.0'
|
|
212
244
|
- - ">="
|
|
213
245
|
- !ruby/object:Gem::Version
|
|
214
|
-
version: 0.
|
|
246
|
+
version: 1.0.11
|
|
215
247
|
type: :development
|
|
216
248
|
prerelease: false
|
|
217
249
|
version_requirements: !ruby/object:Gem::Requirement
|
|
218
250
|
requirements:
|
|
219
251
|
- - "~>"
|
|
220
252
|
- !ruby/object:Gem::Version
|
|
221
|
-
version: '0
|
|
253
|
+
version: '1.0'
|
|
222
254
|
- - ">="
|
|
223
255
|
- !ruby/object:Gem::Version
|
|
224
|
-
version: 0.
|
|
256
|
+
version: 1.0.11
|
|
225
257
|
- !ruby/object:Gem::Dependency
|
|
226
|
-
name:
|
|
258
|
+
name: gitmoji-regex
|
|
227
259
|
requirement: !ruby/object:Gem::Requirement
|
|
228
260
|
requirements:
|
|
229
261
|
- - "~>"
|
|
230
262
|
- !ruby/object:Gem::Version
|
|
231
|
-
version: '
|
|
263
|
+
version: '2.0'
|
|
264
|
+
- - ">="
|
|
265
|
+
- !ruby/object:Gem::Version
|
|
266
|
+
version: 2.0.16
|
|
232
267
|
type: :development
|
|
233
268
|
prerelease: false
|
|
234
269
|
version_requirements: !ruby/object:Gem::Requirement
|
|
235
270
|
requirements:
|
|
236
271
|
- - "~>"
|
|
237
272
|
- !ruby/object:Gem::Version
|
|
238
|
-
version: '
|
|
273
|
+
version: '2.0'
|
|
274
|
+
- - ">="
|
|
275
|
+
- !ruby/object:Gem::Version
|
|
276
|
+
version: 2.0.16
|
|
239
277
|
- !ruby/object:Gem::Dependency
|
|
240
|
-
name:
|
|
278
|
+
name: method_source
|
|
279
|
+
requirement: !ruby/object:Gem::Requirement
|
|
280
|
+
requirements:
|
|
281
|
+
- - ">="
|
|
282
|
+
- !ruby/object:Gem::Version
|
|
283
|
+
version: 1.1.0
|
|
284
|
+
type: :development
|
|
285
|
+
prerelease: false
|
|
286
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
287
|
+
requirements:
|
|
288
|
+
- - ">="
|
|
289
|
+
- !ruby/object:Gem::Version
|
|
290
|
+
version: 1.1.0
|
|
291
|
+
- !ruby/object:Gem::Dependency
|
|
292
|
+
name: test-unit
|
|
241
293
|
requirement: !ruby/object:Gem::Requirement
|
|
242
294
|
requirements:
|
|
243
295
|
- - "~>"
|
|
244
296
|
- !ruby/object:Gem::Version
|
|
245
|
-
version: '
|
|
297
|
+
version: '3.6'
|
|
246
298
|
type: :development
|
|
247
299
|
prerelease: false
|
|
248
300
|
version_requirements: !ruby/object:Gem::Requirement
|
|
249
301
|
requirements:
|
|
250
302
|
- - "~>"
|
|
251
303
|
- !ruby/object:Gem::Version
|
|
252
|
-
version: '
|
|
253
|
-
description:
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
*
|
|
257
|
-
|
|
258
|
-
* Trim down app load times by keeping your worst players on the bench (useful for beating Heroku slug load time cutoff)
|
|
304
|
+
version: '3.6'
|
|
305
|
+
description: "\U0001FA91 Benchmark different versions of same or similar gems\n* Copy
|
|
306
|
+
& Re-namespace any gem to benchmark side-by-side with `benchmarks-ips`\n* Enforce
|
|
307
|
+
Gemfile version constraints\n* Regex search across all installed gem's source code
|
|
308
|
+
to find issues quickly\n* Trim down app load times by keeping your worst players
|
|
309
|
+
on the bench (useful for beating Heroku slug load time cutoff)"
|
|
259
310
|
email:
|
|
260
|
-
-
|
|
311
|
+
- floss@galtzo.com
|
|
261
312
|
executables: []
|
|
262
313
|
extensions: []
|
|
263
314
|
extra_rdoc_files: []
|
|
264
315
|
files:
|
|
265
316
|
- CHANGELOG.md
|
|
266
|
-
-
|
|
267
|
-
- CONTRIBUTING.md
|
|
268
|
-
- LICENSE.txt
|
|
317
|
+
- LICENSE.md
|
|
269
318
|
- README.md
|
|
270
|
-
- SECURITY.md
|
|
271
319
|
- lib/gem_bench.rb
|
|
272
320
|
- lib/gem_bench/gemfile_line_tokenizer.rb
|
|
273
321
|
- lib/gem_bench/jersey.rb
|
|
@@ -277,20 +325,33 @@ files:
|
|
|
277
325
|
- lib/gem_bench/strict_version_requirement.rb
|
|
278
326
|
- lib/gem_bench/team.rb
|
|
279
327
|
- lib/gem_bench/version.rb
|
|
280
|
-
|
|
328
|
+
- sig/gem_bench.rbs
|
|
329
|
+
homepage: https://github.com/galtzo-floss/gem_bench
|
|
281
330
|
licenses:
|
|
282
331
|
- MIT
|
|
283
332
|
metadata:
|
|
284
333
|
homepage_uri: https://railsbling.com/tags/gem_bench/
|
|
285
|
-
source_code_uri:
|
|
286
|
-
changelog_uri:
|
|
287
|
-
bug_tracker_uri:
|
|
288
|
-
documentation_uri: https://www.rubydoc.info/gems/gem_bench/2.0.
|
|
289
|
-
|
|
290
|
-
|
|
334
|
+
source_code_uri: https://github.com/galtzo-floss/gem_bench/tree/v2.0.6
|
|
335
|
+
changelog_uri: https://github.com/galtzo-floss/gem_bench/blob/v2.0.6/CHANGELOG.md
|
|
336
|
+
bug_tracker_uri: https://github.com/galtzo-floss/gem_bench/issues
|
|
337
|
+
documentation_uri: https://www.rubydoc.info/gems/gem_bench/2.0.6
|
|
338
|
+
funding_uri: https://github.com/sponsors/pboling
|
|
339
|
+
wiki_uri: https://github.com/galtzo-floss/gem_bench/wiki
|
|
340
|
+
news_uri: https://www.railsbling.com/tags/gem_bench
|
|
341
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
342
|
+
mailing_list_uri: https://www.rubyforum.org/tag/galtzo-floss
|
|
291
343
|
rubygems_mfa_required: 'true'
|
|
292
|
-
|
|
293
|
-
|
|
344
|
+
rdoc_options:
|
|
345
|
+
- "--title"
|
|
346
|
+
- "gem_bench - \U0001FA91 Benchmark different versions of same or similar gems & Static
|
|
347
|
+
Gemfile and installed gem library source code analysis"
|
|
348
|
+
- "--main"
|
|
349
|
+
- README.md
|
|
350
|
+
- "--exclude"
|
|
351
|
+
- "^sig/"
|
|
352
|
+
- "--line-numbers"
|
|
353
|
+
- "--inline-source"
|
|
354
|
+
- "--quiet"
|
|
294
355
|
require_paths:
|
|
295
356
|
- lib
|
|
296
357
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -304,9 +365,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
304
365
|
- !ruby/object:Gem::Version
|
|
305
366
|
version: '0'
|
|
306
367
|
requirements: []
|
|
307
|
-
rubygems_version:
|
|
308
|
-
signing_key:
|
|
368
|
+
rubygems_version: 4.0.24
|
|
309
369
|
specification_version: 4
|
|
310
|
-
summary: Benchmark different versions of same or similar gems & Static
|
|
311
|
-
installed gem library source code analysis
|
|
370
|
+
summary: "\U0001FA91 Benchmark different versions of same or similar gems & Static
|
|
371
|
+
Gemfile and installed gem library source code analysis"
|
|
312
372
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|