assert_value 1.3.1 → 1.4

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: 441e3066e9a9fe24eec742f18497e8c0a604d10d
4
- data.tar.gz: 24fc90490452f7839818e20c4b808807703bc28c
3
+ metadata.gz: 1e6f8a29ec2dbc5d256d0661471ce4714f8d4deb
4
+ data.tar.gz: 7e02a6a26f75b24b602410b11a719b4ad36a22fd
5
5
  SHA512:
6
- metadata.gz: 33254815aa1c41bfb99d8466a206889f8d9cb3ac9bc1821b8b5cc467be15b9a9c593a82e71c97eec976026593a5ea1aa164ac33d4abf020477a18c36ce087d2e
7
- data.tar.gz: 75d52e70b43ceba3551682241a6cda0f035791e18928b04e76490236246bfff40185e5796d42828a0560177b2c5bdf80efcfe919cdef6755fb5a894e2e318968
6
+ metadata.gz: 213c69a2dc6c202b7042472573321ca295fc1b5ff829b8dfa50aa44f287155b4f656d8eea8b47743165d8eecc0138bf5fc3c2aaa6f12a530488b1cd150768377
7
+ data.tar.gz: 04f3e9ed5ca19b62699244c46f4a38a6282a361dc046cfda26fe3e81a172b5c818359c04e4dd2f1e8ee6f13f85cfba40639d44558cc7b5d0c74ae42328b99328
data/README.md CHANGED
@@ -121,6 +121,7 @@ In Ruby 1.9:
121
121
 
122
122
  ## Changelog
123
123
 
124
+ - 1.4: Fix RSpec support
124
125
  - 1.3: Improve support for various testing frameworks, fix assertion counters
125
126
  - 1.2: Rails 4.1 and minitest gem support
126
127
  - 1.1: RSpec support
data/assert_value.gemspec CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  SPEC = Gem::Specification.new do |s|
4
4
  s.name = "assert_value"
5
- s.version = "1.3.1"
5
+ s.version = "1.4"
6
6
  s.author = "Pluron, Inc."
7
7
  s.email = "support@pluron.com"
8
8
  s.homepage = "http://github.com/acunote/assert_value"
data/lib/assert_value.rb CHANGED
@@ -291,6 +291,7 @@ private
291
291
  end
292
292
 
293
293
  def increment_assertion_count
294
+ return if @rspec_matcher or self.class.name =~ /RSpec/
294
295
  case ASSERT_VALUE_TEST_FRAMEWORK
295
296
  when :new_minitest then self.assertions += 1
296
297
  when :old_minitest then self._assertions += 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assert_value
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pluron, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-13 00:00:00.000000000 Z
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: assert_value assertion
14
14
  email: support@pluron.com