test_plus 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Gemfile.lock +23 -23
- data/VERSION +1 -1
- data/lib/test_plus/extensions.rb +1 -1
- data/test_plus.gemspec +4 -4
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 5861889d7e8090af8f05bd4c6c8298843ab79f13d6da310765734bcab4fae469
|
|
4
|
+
data.tar.gz: 19cfb585a550c816d1ba83bc3ba4cf9e6708513e947545de9c0ada3e85c0a4c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52ae2f264266ed5aeaccbf692824780ffd489ab61909a2f86fa014e286507ead07553f2b46e5ac02d3a7155cb2b9640d29e3e21facd40b41803c84b5d3dfac2a
|
|
7
|
+
data.tar.gz: 194b820cc27fcad337e07199540cb0df1e5e7eae14852215f67dfd336225d0cd87a8be11aecabff85c771a3634ad7a745e4c21df9bcfa01a5cbcb95eb2843a4b
|
data/Gemfile.lock
CHANGED
|
@@ -2,12 +2,12 @@ GEM
|
|
|
2
2
|
remote: https://rubygems.org/
|
|
3
3
|
specs:
|
|
4
4
|
addressable (2.4.0)
|
|
5
|
-
builder (3.2.
|
|
5
|
+
builder (3.2.4)
|
|
6
6
|
descendants_tracker (0.0.4)
|
|
7
7
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
8
8
|
faraday (0.9.2)
|
|
9
9
|
multipart-post (>= 1.2, < 3)
|
|
10
|
-
git (1.
|
|
10
|
+
git (1.5.0)
|
|
11
11
|
github_api (0.16.0)
|
|
12
12
|
addressable (~> 2.4.0)
|
|
13
13
|
descendants_tracker (~> 0.0.4)
|
|
@@ -15,40 +15,40 @@ GEM
|
|
|
15
15
|
hashie (>= 3.4)
|
|
16
16
|
mime-types (>= 1.16, < 3.0)
|
|
17
17
|
oauth2 (~> 1.0)
|
|
18
|
-
hashie (
|
|
19
|
-
highline (
|
|
20
|
-
jeweler (2.3.
|
|
18
|
+
hashie (4.0.0)
|
|
19
|
+
highline (2.0.3)
|
|
20
|
+
jeweler (2.3.9)
|
|
21
21
|
builder
|
|
22
|
-
bundler
|
|
22
|
+
bundler
|
|
23
23
|
git (>= 1.2.5)
|
|
24
24
|
github_api (~> 0.16.0)
|
|
25
25
|
highline (>= 1.6.15)
|
|
26
26
|
nokogiri (>= 1.5.10)
|
|
27
|
-
psych
|
|
27
|
+
psych
|
|
28
28
|
rake
|
|
29
29
|
rdoc
|
|
30
30
|
semver2
|
|
31
|
-
jwt (
|
|
31
|
+
jwt (2.2.1)
|
|
32
32
|
mime-types (2.99.3)
|
|
33
|
-
mini_portile2 (2.
|
|
34
|
-
multi_json (1.
|
|
33
|
+
mini_portile2 (2.4.0)
|
|
34
|
+
multi_json (1.14.1)
|
|
35
35
|
multi_xml (0.6.0)
|
|
36
|
-
multipart-post (2.
|
|
37
|
-
nokogiri (1.
|
|
38
|
-
mini_portile2 (~> 2.
|
|
39
|
-
oauth2 (1.4.
|
|
40
|
-
faraday (>= 0.8, < 0
|
|
41
|
-
jwt (
|
|
36
|
+
multipart-post (2.1.1)
|
|
37
|
+
nokogiri (1.10.7)
|
|
38
|
+
mini_portile2 (~> 2.4.0)
|
|
39
|
+
oauth2 (1.4.2)
|
|
40
|
+
faraday (>= 0.8, < 2.0)
|
|
41
|
+
jwt (>= 1.0, < 3.0)
|
|
42
42
|
multi_json (~> 1.3)
|
|
43
43
|
multi_xml (~> 0.5)
|
|
44
44
|
rack (>= 1.2, < 3)
|
|
45
|
-
power_assert (1.1.
|
|
46
|
-
psych (
|
|
47
|
-
rack (2.0.
|
|
48
|
-
rake (
|
|
49
|
-
rdoc (
|
|
45
|
+
power_assert (1.1.5)
|
|
46
|
+
psych (3.1.0)
|
|
47
|
+
rack (2.0.8)
|
|
48
|
+
rake (13.0.1)
|
|
49
|
+
rdoc (6.2.1)
|
|
50
50
|
semver2 (3.4.2)
|
|
51
|
-
test-unit (3.
|
|
51
|
+
test-unit (3.3.4)
|
|
52
52
|
power_assert
|
|
53
53
|
thread_safe (0.3.6)
|
|
54
54
|
|
|
@@ -61,4 +61,4 @@ DEPENDENCIES
|
|
|
61
61
|
test-unit
|
|
62
62
|
|
|
63
63
|
BUNDLED WITH
|
|
64
|
-
1.
|
|
64
|
+
2.1.1
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/lib/test_plus/extensions.rb
CHANGED
|
@@ -6,7 +6,7 @@ module TestPlus::Extensions
|
|
|
6
6
|
# new record.
|
|
7
7
|
def assert_created(model)
|
|
8
8
|
assert(model, "Model was not defined")
|
|
9
|
-
assert_equal([ ], model.errors.full_messages)
|
|
9
|
+
assert_equal([ ], model.errors.full_messages.reject { |m| m[:format] })
|
|
10
10
|
assert(model.valid?, "Model failed to validate")
|
|
11
11
|
assert(!model.new_record?, "Model is still a new record")
|
|
12
12
|
end
|
data/test_plus.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: test_plus 0.1.
|
|
5
|
+
# stub: test_plus 0.1.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "test_plus".freeze
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.3"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Scott Tadman".freeze]
|
|
14
|
-
s.date = "
|
|
14
|
+
s.date = "2020-01-07"
|
|
15
15
|
s.description = "Convenience methods for testing in Ruby and Rails".freeze
|
|
16
16
|
s.email = "tadman@postageapp.com".freeze
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
]
|
|
35
35
|
s.homepage = "http://github.com/postageapp/test_plus".freeze
|
|
36
36
|
s.licenses = ["MIT".freeze]
|
|
37
|
-
s.rubygems_version = "
|
|
37
|
+
s.rubygems_version = "3.0.6".freeze
|
|
38
38
|
s.summary = "Extensions for Test::Unit and Minitest".freeze
|
|
39
39
|
|
|
40
40
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test_plus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Tadman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -91,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
91
91
|
- !ruby/object:Gem::Version
|
|
92
92
|
version: '0'
|
|
93
93
|
requirements: []
|
|
94
|
-
|
|
95
|
-
rubygems_version: 2.6.13
|
|
94
|
+
rubygems_version: 3.0.6
|
|
96
95
|
signing_key:
|
|
97
96
|
specification_version: 4
|
|
98
97
|
summary: Extensions for Test::Unit and Minitest
|