turd 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/turd/assert.rb +2 -2
  2. data/lib/turd/version.rb +1 -1
  3. metadata +3 -3
@@ -12,13 +12,13 @@ module Turd
12
12
  if response[:response].include?(v)
13
13
  return response
14
14
  else
15
- response.stored(:failed, option)
15
+ response.store(:failed, option)
16
16
  raise AssertionFailure.new(response), "#{option} substring failure. expected #{v}, got #{response}"
17
17
  end
18
18
  end
19
19
  elsif option == :total_time
20
20
  if response[:total_time] > value
21
- response.stored(:failed, option)
21
+ response.store(:failed, option)
22
22
  raise AssertionFailure.new(response), "#{option} timing value was greater than allowed. expected #{value}, got #{response[:total_time]}"
23
23
  else
24
24
  return response
@@ -1,3 +1,3 @@
1
1
  module Turd
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-06 00:00:00.000000000 Z
12
+ date: 2014-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
@@ -34,11 +34,11 @@ extensions: []
34
34
  extra_rdoc_files:
35
35
  - README.md
36
36
  files:
37
+ - lib/turd.rb
37
38
  - lib/turd/assert.rb
38
39
  - lib/turd/http.rb
39
40
  - lib/turd/tcp.rb
40
41
  - lib/turd/version.rb
41
- - lib/turd.rb
42
42
  - README.md
43
43
  homepage: http://github.com/joewilliams/turd
44
44
  licenses: []