assert_value 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assert_value.gemspec +1 -1
- data/lib/assert_value.rb +0 -13
- data/test/assert_value_test.rb +13 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eee6b06c9913dba845a980b4b7e27066a6738df
|
4
|
+
data.tar.gz: 853f58a9123a1f1b8d6f86101628b44ac5c04076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99ad84701824225ba872a72bbfedc0aa9187d2f129d10518b768e2d12855f28b20f269a8a9661ba83a51236f5bf878b15862e40a858666db9a1d0f0297373b09
|
7
|
+
data.tar.gz: 0e6624eb5ecdd412351c42e497021ea183d016bfcdf2d5ba656f211b6686aabbe88a4aeefde556587fbb148f1f57b989e5e52c7ab6ca9115623940917172df8a
|
data/assert_value.gemspec
CHANGED
data/lib/assert_value.rb
CHANGED
@@ -5,19 +5,6 @@
|
|
5
5
|
# 2) Minitest 2.x-4.x, either bundled with Ruby 1.9 - 2.1 or installed via gem
|
6
6
|
# 3) Minitest > 5.0 bundles with Ruby >= 2.2.2 or installed via gem
|
7
7
|
# 4) RSpec
|
8
|
-
begin
|
9
|
-
require 'minitest' # Minitest 5.x
|
10
|
-
rescue LoadError
|
11
|
-
begin
|
12
|
-
require 'minitest/unit' # old Minitest
|
13
|
-
rescue LoadError
|
14
|
-
begin
|
15
|
-
require 'test/unit' # Test::Unit
|
16
|
-
rescue LoadError
|
17
|
-
# RSpec only
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
8
|
|
22
9
|
if defined?(Minitest) and Minitest.const_defined?("VERSION") and Minitest::VERSION >= "5.0.0"
|
23
10
|
ASSERT_VALUE_TEST_FRAMEWORK = :new_minitest
|
data/test/assert_value_test.rb
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Copyright (c) 2011-2015 Pluron, Inc.
|
2
2
|
|
3
|
+
begin
|
4
|
+
require 'minitest' # Minitest 5.x
|
5
|
+
rescue LoadError
|
6
|
+
begin
|
7
|
+
require 'minitest/unit' # old Minitest
|
8
|
+
rescue LoadError
|
9
|
+
begin
|
10
|
+
require 'test/unit' # Test::Unit
|
11
|
+
rescue LoadError
|
12
|
+
# RSpec only
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
3
16
|
require 'assert_value'
|
4
17
|
|
5
18
|
case ASSERT_VALUE_TEST_FRAMEWORK
|
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.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pluron, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: assert_value assertion
|
14
14
|
email: support@pluron.com
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project:
|
61
|
-
rubygems_version: 2.4.5
|
61
|
+
rubygems_version: 2.4.5.1
|
62
62
|
signing_key:
|
63
63
|
specification_version: 4
|
64
64
|
summary: Assert that checks that two values (strings, expected and actual) are same
|