bloodbath 1.1.0 → 1.1.1
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/.rspec_status +11 -12
- data/.rubocop.yml +11 -0
- data/Gemfile.lock +48 -47
- data/README.md +14 -0
- data/bloodbath.gemspec +15 -12
- data/lib/bloodbath/configuration.rb +3 -1
- data/lib/bloodbath/event.rb +7 -2
- data/lib/bloodbath/utils/threading.rb +14 -7
- data/lib/bloodbath/utils/verbose.rb +32 -0
- data/lib/bloodbath/version.rb +1 -1
- data/lib/bloodbath.rb +1 -0
- metadata +30 -27
- data/CHANGELOG.md +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20ee59e4a5647e970b5af559b194466827e1ce193dfa2937e258d655010dd089
|
|
4
|
+
data.tar.gz: 48dbd136c25aa8f5e3d393abc403cdb0e350fc8c64ee1d4e7a3885fcc4d0f9ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65e5ea2d3dfb84888c825dfc4debc041a86da25bd76b69b519d386a8788d05daf49ee320367fc47e62506cd57108a0dde5a8038642a03d3317c935ef4bac6bc0
|
|
7
|
+
data.tar.gz: 8ee1b94b745906e22f6bf3869010bbf4097d6ba8f3fbd0dce8d9acbfba710492d3ea4cef89bf6b2bf61be93e77fc74427f98cd81ad9066ae23e11e20eea6b02b
|
data/.rspec_status
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
example_id
|
|
2
|
-
|
|
3
|
-
./spec/bloodbath/event_spec.rb[1:1:1]
|
|
4
|
-
./spec/bloodbath/event_spec.rb[1:1:2:1]
|
|
5
|
-
./spec/bloodbath/event_spec.rb[1:
|
|
6
|
-
./spec/bloodbath/event_spec.rb[1:
|
|
7
|
-
./spec/bloodbath/event_spec.rb[1:3:1]
|
|
8
|
-
./spec/bloodbath/event_spec.rb[1:
|
|
9
|
-
./spec/bloodbath/event_spec.rb[1:4:1]
|
|
10
|
-
./spec/
|
|
11
|
-
./spec/bloodbath_spec.rb[1:1]
|
|
12
|
-
./spec/bloodbath_spec.rb[1:2:1] | passed | 0.01612 seconds |
|
|
1
|
+
example_id | status | run_time |
|
|
2
|
+
--------------------------------------- | ------ | --------------- |
|
|
3
|
+
./spec/bloodbath/event_spec.rb[1:1:1] | passed | 0.04357 seconds |
|
|
4
|
+
./spec/bloodbath/event_spec.rb[1:1:2:1] | passed | 0.00168 seconds |
|
|
5
|
+
./spec/bloodbath/event_spec.rb[1:2:1:1] | passed | 0.02893 seconds |
|
|
6
|
+
./spec/bloodbath/event_spec.rb[1:3:1] | passed | 0.0025 seconds |
|
|
7
|
+
./spec/bloodbath/event_spec.rb[1:3:2:1] | passed | 0.0015 seconds |
|
|
8
|
+
./spec/bloodbath/event_spec.rb[1:4:1] | passed | 0.00955 seconds |
|
|
9
|
+
./spec/bloodbath/event_spec.rb[1:4:2:1] | passed | 0.00127 seconds |
|
|
10
|
+
./spec/bloodbath_spec.rb[1:1] | passed | 0.00711 seconds |
|
|
11
|
+
./spec/bloodbath_spec.rb[1:2:1] | passed | 0.06554 seconds |
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,67 +1,68 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bloodbath (1.1.
|
|
4
|
+
bloodbath (1.1.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
addressable (2.
|
|
10
|
-
public_suffix (>= 2.0.2, <
|
|
9
|
+
addressable (2.8.1)
|
|
10
|
+
public_suffix (>= 2.0.2, < 6.0)
|
|
11
11
|
ast (2.4.2)
|
|
12
12
|
coderay (1.1.3)
|
|
13
13
|
crack (0.4.5)
|
|
14
14
|
rexml
|
|
15
|
-
diff-lcs (1.
|
|
15
|
+
diff-lcs (1.5.0)
|
|
16
16
|
hashdiff (1.0.1)
|
|
17
|
+
json (2.6.2)
|
|
17
18
|
method_source (1.0.0)
|
|
18
|
-
parallel (1.
|
|
19
|
-
parser (3.
|
|
19
|
+
parallel (1.22.1)
|
|
20
|
+
parser (3.1.2.1)
|
|
20
21
|
ast (~> 2.4.1)
|
|
21
22
|
pry (0.14.1)
|
|
22
23
|
coderay (~> 1.1)
|
|
23
24
|
method_source (~> 1.0)
|
|
24
|
-
public_suffix (
|
|
25
|
-
rainbow (3.
|
|
26
|
-
rake (13.0.
|
|
27
|
-
regexp_parser (2.
|
|
25
|
+
public_suffix (5.0.0)
|
|
26
|
+
rainbow (3.1.1)
|
|
27
|
+
rake (13.0.6)
|
|
28
|
+
regexp_parser (2.5.0)
|
|
28
29
|
rexml (3.2.5)
|
|
29
|
-
rspec (3.
|
|
30
|
-
rspec-core (~> 3.
|
|
31
|
-
rspec-expectations (~> 3.
|
|
32
|
-
rspec-mocks (~> 3.
|
|
33
|
-
rspec-core (3.
|
|
34
|
-
rspec-support (~> 3.
|
|
35
|
-
rspec-expectations (3.
|
|
30
|
+
rspec (3.11.0)
|
|
31
|
+
rspec-core (~> 3.11.0)
|
|
32
|
+
rspec-expectations (~> 3.11.0)
|
|
33
|
+
rspec-mocks (~> 3.11.0)
|
|
34
|
+
rspec-core (3.11.0)
|
|
35
|
+
rspec-support (~> 3.11.0)
|
|
36
|
+
rspec-expectations (3.11.0)
|
|
36
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
37
|
-
rspec-support (~> 3.
|
|
38
|
-
rspec-mocks (3.
|
|
38
|
+
rspec-support (~> 3.11.0)
|
|
39
|
+
rspec-mocks (3.11.1)
|
|
39
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
40
|
-
rspec-support (~> 3.
|
|
41
|
-
rspec-support (3.
|
|
42
|
-
rubocop (1.
|
|
41
|
+
rspec-support (~> 3.11.0)
|
|
42
|
+
rspec-support (3.11.0)
|
|
43
|
+
rubocop (1.36.0)
|
|
44
|
+
json (~> 2.3)
|
|
43
45
|
parallel (~> 1.10)
|
|
44
|
-
parser (>= 3.
|
|
46
|
+
parser (>= 3.1.2.1)
|
|
45
47
|
rainbow (>= 2.2.2, < 4.0)
|
|
46
48
|
regexp_parser (>= 1.8, < 3.0)
|
|
47
|
-
rexml
|
|
48
|
-
rubocop-ast (>= 1.
|
|
49
|
+
rexml (>= 3.2.5, < 4.0)
|
|
50
|
+
rubocop-ast (>= 1.20.1, < 2.0)
|
|
49
51
|
ruby-progressbar (~> 1.7)
|
|
50
52
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
51
|
-
rubocop-ast (1.
|
|
52
|
-
parser (>= 3.
|
|
53
|
-
rubocop-rake (0.
|
|
54
|
-
rubocop
|
|
55
|
-
rubocop-rspec (2.3.0)
|
|
53
|
+
rubocop-ast (1.21.0)
|
|
54
|
+
parser (>= 3.1.1.0)
|
|
55
|
+
rubocop-rake (0.6.0)
|
|
56
56
|
rubocop (~> 1.0)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
rubocop-rspec (2.12.1)
|
|
58
|
+
rubocop (~> 1.31)
|
|
59
|
+
rubocop-shopify (2.9.0)
|
|
60
|
+
rubocop (~> 1.33)
|
|
60
61
|
ruby-progressbar (1.11.0)
|
|
61
|
-
unicode-display_width (2.
|
|
62
|
-
vcr (6.
|
|
63
|
-
webmock (3.
|
|
64
|
-
addressable (>= 2.
|
|
62
|
+
unicode-display_width (2.2.0)
|
|
63
|
+
vcr (6.1.0)
|
|
64
|
+
webmock (3.18.1)
|
|
65
|
+
addressable (>= 2.8.0)
|
|
65
66
|
crack (>= 0.3.2)
|
|
66
67
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
67
68
|
|
|
@@ -70,15 +71,15 @@ PLATFORMS
|
|
|
70
71
|
|
|
71
72
|
DEPENDENCIES
|
|
72
73
|
bloodbath!
|
|
73
|
-
pry (~> 0.14)
|
|
74
|
-
rake (~> 13.0)
|
|
75
|
-
rspec (~> 3.0)
|
|
76
|
-
rubocop (~> 1.
|
|
77
|
-
rubocop-rake (~> 0.
|
|
78
|
-
rubocop-rspec (~> 2.
|
|
79
|
-
rubocop-shopify (~> 2.
|
|
80
|
-
vcr (~> 6.
|
|
81
|
-
webmock (~> 3.
|
|
74
|
+
pry (~> 0.14.1)
|
|
75
|
+
rake (~> 13.0.6)
|
|
76
|
+
rspec (~> 3.11.0)
|
|
77
|
+
rubocop (~> 1.36.0)
|
|
78
|
+
rubocop-rake (~> 0.6.0)
|
|
79
|
+
rubocop-rspec (~> 2.12.1)
|
|
80
|
+
rubocop-shopify (~> 2.9.0)
|
|
81
|
+
vcr (~> 6.1.0)
|
|
82
|
+
webmock (~> 3.18.1)
|
|
82
83
|
|
|
83
84
|
BUNDLED WITH
|
|
84
|
-
2.2.
|
|
85
|
+
2.2.33
|
data/README.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|

|
|
2
|
+

|
|
3
|
+
[](https://github.com/bloodbath-io/bloodbath-ruby/releases/)
|
|
4
|
+

|
|
5
|
+
|
|
2
6
|
|
|
3
7
|
# Bloodbath Ruby Library
|
|
4
8
|
|
|
@@ -70,6 +74,16 @@ Bloodbath::Event.new(wait_for_response: false).schedule(
|
|
|
70
74
|
|
|
71
75
|
With this option, it'll schedule your events ~10 times faster, but you won't be able to receive the response directly. Instead, it'll return the spawned threads.
|
|
72
76
|
|
|
77
|
+
### Verbose mode
|
|
78
|
+
|
|
79
|
+
From time to time, things don't work the way you expect. You can switch on the verbose mode to see more data regarding your calls to Bloodbath.
|
|
80
|
+
|
|
81
|
+
```ruby
|
|
82
|
+
Bloodbath.verbose = true
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
For instance, when using `wait_for_response: false` it'll outputs the results of the threads being spawned.
|
|
86
|
+
|
|
73
87
|
## Development
|
|
74
88
|
|
|
75
89
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/bloodbath.gemspec
CHANGED
|
@@ -9,16 +9,19 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ["laurent.schaffner.code@gmail.com"]
|
|
10
10
|
|
|
11
11
|
spec.summary = "The Bloodbath Ruby library provides convenient access to the Bloodbath API" \
|
|
12
|
-
|
|
12
|
+
"from applications written in the Ruby language."
|
|
13
13
|
|
|
14
14
|
spec.homepage = "https://bloodbath.io"
|
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
|
|
16
|
+
spec.post_install_message = "
|
|
17
|
+
Thanks for installing Bloodbath! Have a good load testing.
|
|
18
|
+
For more information please visit https://bloodbath.io"
|
|
16
19
|
|
|
17
20
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
|
18
21
|
|
|
19
22
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
20
23
|
spec.metadata["source_code_uri"] = "https://github.com/bloodbath-io/bloodbath-ruby"
|
|
21
|
-
spec.metadata["changelog_uri"] = "https://
|
|
24
|
+
spec.metadata["changelog_uri"] = "https://rubygems.org/gems/bloodbath"
|
|
22
25
|
|
|
23
26
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
24
27
|
%x(git ls-files -z).split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
|
@@ -27,13 +30,13 @@ Gem::Specification.new do |spec|
|
|
|
27
30
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
28
31
|
spec.require_paths = ["lib"]
|
|
29
32
|
|
|
30
|
-
spec.add_development_dependency("pry", "~> 0.14")
|
|
31
|
-
spec.add_development_dependency("rake", "~> 13.0")
|
|
32
|
-
spec.add_development_dependency("rspec", "~> 3.0")
|
|
33
|
-
spec.add_development_dependency("rubocop", "~> 1.
|
|
34
|
-
spec.add_development_dependency("rubocop-
|
|
35
|
-
spec.add_development_dependency("rubocop-
|
|
36
|
-
spec.add_development_dependency("rubocop-shopify", "~> 2.
|
|
37
|
-
spec.add_development_dependency("vcr", "~> 6.
|
|
38
|
-
spec.add_development_dependency("webmock", "~> 3.
|
|
33
|
+
spec.add_development_dependency("pry", "~> 0.14.1")
|
|
34
|
+
spec.add_development_dependency("rake", "~> 13.0.6")
|
|
35
|
+
spec.add_development_dependency("rspec", "~> 3.11.0")
|
|
36
|
+
spec.add_development_dependency("rubocop", "~> 1.36.0")
|
|
37
|
+
spec.add_development_dependency("rubocop-rake", "~> 0.6.0")
|
|
38
|
+
spec.add_development_dependency("rubocop-rspec", "~> 2.12.1")
|
|
39
|
+
spec.add_development_dependency("rubocop-shopify", "~> 2.9.0")
|
|
40
|
+
spec.add_development_dependency("vcr", "~> 6.1.0")
|
|
41
|
+
spec.add_development_dependency("webmock", "~> 3.18.1")
|
|
39
42
|
end
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
+
|
|
2
3
|
module Bloodbath
|
|
3
4
|
class Configuration
|
|
4
|
-
attr_accessor :api_key, :api_base
|
|
5
|
+
attr_accessor :api_key, :api_base, :verbose
|
|
5
6
|
|
|
6
7
|
def initialize
|
|
7
8
|
@api_base = "https://api.bloodbath.io/rest" # "http://localhost:4000/rest"
|
|
9
|
+
@verbose = false
|
|
8
10
|
end
|
|
9
11
|
end
|
|
10
12
|
end
|
data/lib/bloodbath/event.rb
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
+
|
|
2
3
|
require "net/http"
|
|
3
4
|
require "pry"
|
|
4
5
|
require "json"
|
|
5
6
|
|
|
6
7
|
require_relative "utils/threading"
|
|
8
|
+
require_relative "utils/verbose"
|
|
7
9
|
|
|
8
10
|
module Bloodbath
|
|
9
11
|
module Adapters
|
|
@@ -36,8 +38,8 @@ module Bloodbath
|
|
|
36
38
|
raise Bloodbath::Error, "Please set your API key through Bloodbath.api_key = 'my-api-key'" unless config.api_key
|
|
37
39
|
end
|
|
38
40
|
|
|
39
|
-
def asynchronously
|
|
40
|
-
threading
|
|
41
|
+
def asynchronously(&block)
|
|
42
|
+
threading(&block)
|
|
41
43
|
end
|
|
42
44
|
|
|
43
45
|
def synchronous_call_with_response
|
|
@@ -50,6 +52,8 @@ module Bloodbath
|
|
|
50
52
|
|
|
51
53
|
response = http.request(request)
|
|
52
54
|
serialized_response_from(response.body)
|
|
55
|
+
rescue Net::ReadTimeout, SocketError
|
|
56
|
+
raise Bloodbath::Error, "Bloodbath API is unavailable. Please check that your Internet connection is active."
|
|
53
57
|
end
|
|
54
58
|
|
|
55
59
|
def serialized_response_from(body)
|
|
@@ -90,6 +94,7 @@ module Bloodbath
|
|
|
90
94
|
class << self
|
|
91
95
|
def method_missing(method_name, args = {}, &block)
|
|
92
96
|
return new.send(method_name, &block) if args == {}
|
|
97
|
+
|
|
93
98
|
new.send(method_name, args, &block)
|
|
94
99
|
end
|
|
95
100
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
+
|
|
2
3
|
# rubocop:disable Style/ClassVars
|
|
3
4
|
module Bloodbath
|
|
4
5
|
module Utils
|
|
@@ -12,20 +13,26 @@ module Bloodbath
|
|
|
12
13
|
@@threads.each(&:join).tap do
|
|
13
14
|
@@count += @@threads.size
|
|
14
15
|
@@threads = []
|
|
15
|
-
end
|
|
16
|
+
end.map(&:value)
|
|
16
17
|
end
|
|
17
18
|
end
|
|
18
19
|
|
|
19
20
|
at_exit do
|
|
20
|
-
|
|
21
|
+
Bloodbath::Utils::Verbose.capture("result of threads (exit mode)") do
|
|
22
|
+
Utils::Threading.join_all_threads
|
|
23
|
+
end
|
|
21
24
|
end
|
|
22
25
|
|
|
23
|
-
def threading
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
def threading(&block)
|
|
27
|
+
Thread.new(&block).tap do |thread|
|
|
28
|
+
to_active_threads(thread)
|
|
26
29
|
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
if active_threads.size >= MAX_ACTIVE_THREADS
|
|
31
|
+
Bloodbath::Utils::Verbose.capture("result of threads (reached limit)") do
|
|
32
|
+
Utils::Threading.join_all_threads
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
29
36
|
end
|
|
30
37
|
|
|
31
38
|
private
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Bloodbath
|
|
4
|
+
module Utils
|
|
5
|
+
class Verbose
|
|
6
|
+
class << self
|
|
7
|
+
COLORS = {
|
|
8
|
+
red: 31,
|
|
9
|
+
green: 32,
|
|
10
|
+
blue: 34,
|
|
11
|
+
}.freeze
|
|
12
|
+
|
|
13
|
+
def capture(label)
|
|
14
|
+
result = yield
|
|
15
|
+
return puts """
|
|
16
|
+
#{screen("[VERBOSE]")} #{screen("#{label}:", color: :blue)} #{screen(result, color: :red)}
|
|
17
|
+
""" if verbose?
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
private
|
|
21
|
+
|
|
22
|
+
def verbose?
|
|
23
|
+
Bloodbath.config.verbose
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def screen(message, color: :green)
|
|
27
|
+
"\e[#{COLORS[color]}m#{message}\e[0m"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
data/lib/bloodbath/version.rb
CHANGED
data/lib/bloodbath.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bloodbath
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Laurent Schaffner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -16,126 +16,126 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.14.1
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 0.14.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 13.0.6
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 13.0.6
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rspec
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version:
|
|
47
|
+
version: 3.11.0
|
|
48
48
|
type: :development
|
|
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: 3.11.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rubocop
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: 1.36.0
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
68
|
+
version: 1.36.0
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: rubocop-
|
|
70
|
+
name: rubocop-rake
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
75
|
+
version: 0.6.0
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: 0.6.0
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: rubocop-
|
|
84
|
+
name: rubocop-rspec
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
89
|
+
version: 2.12.1
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
96
|
+
version: 2.12.1
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rubocop-shopify
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 2.
|
|
103
|
+
version: 2.9.0
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 2.
|
|
110
|
+
version: 2.9.0
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: vcr
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
115
|
- - "~>"
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: 6.
|
|
117
|
+
version: 6.1.0
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: 6.
|
|
124
|
+
version: 6.1.0
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: webmock
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 3.
|
|
131
|
+
version: 3.18.1
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 3.
|
|
138
|
+
version: 3.18.1
|
|
139
139
|
description:
|
|
140
140
|
email:
|
|
141
141
|
- laurent.schaffner.code@gmail.com
|
|
@@ -148,7 +148,6 @@ files:
|
|
|
148
148
|
- ".rspec"
|
|
149
149
|
- ".rspec_status"
|
|
150
150
|
- ".rubocop.yml"
|
|
151
|
-
- CHANGELOG.md
|
|
152
151
|
- CODE_OF_CONDUCT.md
|
|
153
152
|
- Gemfile
|
|
154
153
|
- Gemfile.lock
|
|
@@ -170,6 +169,7 @@ files:
|
|
|
170
169
|
- lib/bloodbath/configuration.rb
|
|
171
170
|
- lib/bloodbath/event.rb
|
|
172
171
|
- lib/bloodbath/utils/threading.rb
|
|
172
|
+
- lib/bloodbath/utils/verbose.rb
|
|
173
173
|
- lib/bloodbath/version.rb
|
|
174
174
|
homepage: https://bloodbath.io
|
|
175
175
|
licenses: []
|
|
@@ -177,8 +177,11 @@ metadata:
|
|
|
177
177
|
allowed_push_host: https://rubygems.org
|
|
178
178
|
homepage_uri: https://bloodbath.io
|
|
179
179
|
source_code_uri: https://github.com/bloodbath-io/bloodbath-ruby
|
|
180
|
-
changelog_uri: https://
|
|
181
|
-
post_install_message:
|
|
180
|
+
changelog_uri: https://rubygems.org/gems/bloodbath
|
|
181
|
+
post_install_message: |2-
|
|
182
|
+
|
|
183
|
+
Thanks for installing Bloodbath! Have a good load testing.
|
|
184
|
+
For more information please visit https://bloodbath.io
|
|
182
185
|
rdoc_options: []
|
|
183
186
|
require_paths:
|
|
184
187
|
- lib
|
|
@@ -186,14 +189,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
186
189
|
requirements:
|
|
187
190
|
- - ">="
|
|
188
191
|
- !ruby/object:Gem::Version
|
|
189
|
-
version:
|
|
192
|
+
version: 3.0.0
|
|
190
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
194
|
requirements:
|
|
192
195
|
- - ">="
|
|
193
196
|
- !ruby/object:Gem::Version
|
|
194
197
|
version: '0'
|
|
195
198
|
requirements: []
|
|
196
|
-
rubygems_version: 3.1.
|
|
199
|
+
rubygems_version: 3.1.6
|
|
197
200
|
signing_key:
|
|
198
201
|
specification_version: 4
|
|
199
202
|
summary: The Bloodbath Ruby library provides convenient access to the Bloodbath APIfrom
|