race_condition-rspec 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7eac1b10a5701f1afc49183fc4cb76d88785218d
4
- data.tar.gz: df1dd39e3a0e50869d7e64def08007625271a2f7
3
+ metadata.gz: eca2ec8e5eab548c488b13643c8b0ce055432d15
4
+ data.tar.gz: d9f9ffcacf6d54bd6172c8c1090b305c557990b5
5
5
  SHA512:
6
- metadata.gz: c9ca4bb2a2c968ad4da4c682435d2e33b798b163a88b3191a6406b3cb31a78f51ed7170666bdce273a807acedbd982a8028cb6251df0073701c262da38a33ee3
7
- data.tar.gz: e8b7e896e28256ee7923fb844af142447755f0439f574aca7d0115198f863db28a577a9519ff23003877f72d99d76f0f70e77ea59e668309cd06b16e05446d81
6
+ metadata.gz: deb0821482ff041b671c4446be47f0ec8c5b8e974a1be42614c63b979484837691e96d98900632f8fdaee23f046fe1e7eb6209fcc204590dbe0fd83883e3898c
7
+ data.tar.gz: f8e79b682cb94deb3ed289c9aa8eda8d310f23eb7f04d2ba4e766b7872b070675e6bd9ecb15a1682fc9748e1d264b8ec531e2f3aeaa9df0bfd3e2d181a4e6884
data/.travis.yml CHANGED
@@ -1,8 +1,10 @@
1
1
  language: ruby
2
2
 
3
+ cache: bundler
3
4
  bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
5
+
4
6
  script: "bundle exec rspec spec"
5
7
  rvm:
6
- - 1.9.3
7
- - 2.0.0
8
- - 2.1.2
8
+ - 2.2.6
9
+ - 2.3.3
10
+ - 2.4.0
@@ -21,9 +21,9 @@ module RaceCondition
21
21
  private
22
22
 
23
23
  def post(path, params)
24
- url = URI.parse("#{base_url}/#{ENDPOINT}/#{path}")
24
+ uri = URI.parse("#{base_url}/#{ENDPOINT}/#{path}")
25
25
 
26
- http = Net::HTTP.new(url.host, url.port)
26
+ http = Net::HTTP.new(uri.host, uri.port)
27
27
  http.read_timeout = 5
28
28
  http.open_timeout = 5
29
29
  http.use_ssl = uri.scheme == 'https'
@@ -33,7 +33,7 @@ module RaceCondition
33
33
  "Accept" => "application/json"
34
34
  }
35
35
 
36
- http.post(url.path, params.to_json, json_headers)
36
+ http.post(uri.path, params.to_json, json_headers)
37
37
  end
38
38
 
39
39
  def report?
@@ -1,5 +1,5 @@
1
1
  module RaceCondition
2
2
  module Rspec
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: race_condition-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Boland