insist 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ Gem::Specification.new do |spec|
2
2
  files = %x{git ls-files}.split("\n")
3
3
 
4
4
  spec.name = "insist"
5
- spec.version = "0.0.7"
5
+ spec.version = "0.0.8"
6
6
  spec.summary = "A simple block-driven assertion library for both testing and for production code"
7
7
  spec.description = spec.summary
8
8
  spec.license = "none chosen yet"
@@ -20,8 +20,9 @@ module Insist::Predicates
20
20
 
21
21
  # call the method, like .empty?, result must be truthy.
22
22
  result = value.send(m, *args)
23
- assert(result, "#{value.class}{#{value.inspect}}##{m} expected to return a truthy " \
24
- "value, but returned #{result}")
23
+ assert(result,
24
+ "#{value.class}{#{value.inspect}}##{m}(#{args.join(",")}) " \
25
+ "expected to return a truthy value, but returned #{result}")
25
26
  return result
26
27
  else
27
28
  return super(m, *args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
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: 2012-10-16 00:00:00.000000000 Z
12
+ date: 2012-11-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A simple block-driven assertion library for both testing and for production
15
15
  code
@@ -76,4 +76,3 @@ specification_version: 3
76
76
  summary: A simple block-driven assertion library for both testing and for production
77
77
  code
78
78
  test_files: []
79
- has_rdoc: