null_and_void 1.3.1 → 1.3.2
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 +4 -4
- data/lib/null_and_void/convertible.rb +1 -1
- data/lib/null_and_void/version.rb +1 -1
- data/spec/convertible_spec.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b1e616f1451a4489e3f08ef01fee4a37d9738e7
|
|
4
|
+
data.tar.gz: 3df47fbc61ac078b01d9b67bd7b81fbd1136afcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed9351062e19b2256e2a3543b711c39bf5695ab8b6a54f787ef2c502eddac0fd8c22951c63a274f4369deb2ea8e6bec3d8cf9cb25e1a48904ab7cc6b467dd558
|
|
7
|
+
data.tar.gz: 290071b823f398ead398b9442b498ea857c812caa61541030931a7f50f8e5eb4cd6c0a86caa81f6370d5e577fadeb67dd0c7b65f1b453a295bc8e8a31c4fc89e
|
data/spec/convertible_spec.rb
CHANGED
|
@@ -57,7 +57,7 @@ describe NullAndVoid::Convertible do
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
it 'is an empty String when the attempt is made to convert it to JSON' do
|
|
60
|
-
expect(null_object.to_json).to eql 'null'
|
|
60
|
+
expect(null_object.to_json(:foo)).to eql 'null'
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
it 'is an empty String when the attempt is made to convert it to XML' do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: null_and_void
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jfelchner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
86
86
|
version: '0'
|
|
87
87
|
requirements: []
|
|
88
88
|
rubyforge_project:
|
|
89
|
-
rubygems_version: 2.4.
|
|
89
|
+
rubygems_version: 2.4.5
|
|
90
90
|
signing_key:
|
|
91
91
|
specification_version: 4
|
|
92
92
|
summary: Easy Null Objects
|
|
@@ -100,3 +100,4 @@ test_files:
|
|
|
100
100
|
- spec/null_object_spec.rb
|
|
101
101
|
- spec/nullified_spec.rb
|
|
102
102
|
- spec/stubbable_spec.rb
|
|
103
|
+
has_rdoc:
|