api_bomb 0.1.0 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73ddb47d82a289fdcb31bdc0416cb4a9cf2ad9d1
4
- data.tar.gz: 4e3a67a97ef22c4d09f386dc43b799145e9f2022
3
+ metadata.gz: 86f8bab5896e8a1f18a8a76246bca168a116ce00
4
+ data.tar.gz: bcc37574ba51a78538183a7ab475268c4db570e7
5
5
  SHA512:
6
- metadata.gz: 9dc76d94c2f5a75d15058100e5ce9f4f66d3b1d1ef62cbedc436b326fe4f37cc02e0535cc767c5d98b2c503b2d106f747eba1e81ff023fdbe80f42b35b86bfb9
7
- data.tar.gz: a1493c33637c339c0d4e49c51b70f248dd1e2c746fff81b2fd25e5b6dbf32f753d32223b8559a662b897f6f8775e1602160ad232ffa090d6d02c08ec16a29b70
6
+ metadata.gz: 3736c0af7a9f50b21128534d74e27476a34ce2531755f5ea12b12dd3ca0462f0f1a5b9006e5a250b68b22de3d4e2153b7a6cacbda3ee52731de21bdf2b561d9c
7
+ data.tar.gz: 9eeb2ffb912140ef6acac7d698ae2a69ed67096d56fb156778abbd4fba118e48be45c3aba1864bedfe59d021e458fcb4c58bab71159c59621f1a0e23a97f56b2
data/README.md CHANGED
@@ -38,7 +38,7 @@ Usually in the global settings hash you just want to define the most common sett
38
38
 
39
39
  ```ruby
40
40
  options = {
41
- fronts: 4, #concurrent users
41
+ concurrent_users: 4, #concurrent users
42
42
  duration: 60, #seconds
43
43
  base_url: 'http://localhost:3000/api/v1', #base url
44
44
  options: { #this hash is overriden for each path that has its own options
@@ -19,7 +19,7 @@ module ApiBomb
19
19
  #alias_method :path, :paths
20
20
 
21
21
  def initialize(opts = {})
22
- @fronts = opts[:fronts] || 2
22
+ @fronts = opts[:concurrent_users] || 2
23
23
  @duration = opts[:duration] || 10
24
24
  @paths = opts[:paths]
25
25
  @paths = (opts[:path] || '') if @paths.blank?
@@ -1,3 +1,3 @@
1
1
  module ApiBomb
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_bomb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filippos Vasilakis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid