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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0654e5f58b7aff4685fe3987c117b6d4534e9dfb
4
- data.tar.gz: d41982e1fdbecf212796ede8842f2826a59ba8ae
3
+ metadata.gz: 0b1e616f1451a4489e3f08ef01fee4a37d9738e7
4
+ data.tar.gz: 3df47fbc61ac078b01d9b67bd7b81fbd1136afcc
5
5
  SHA512:
6
- metadata.gz: c113841029277cb3c5edb8e3dea85618173d3e29ac86fa791263beebdbbdf0f52e4209868444b342cb0fc72e07af681c3da0fc304121188f63309f787df83d8e
7
- data.tar.gz: b86c5b629f33e49577e193afba301f9e1cd2847acc207629a9a8d214ddabadbfbfed27ea794c6b0c96a2f77221b0f961800fba1833f7215d312471429afd848a
6
+ metadata.gz: ed9351062e19b2256e2a3543b711c39bf5695ab8b6a54f787ef2c502eddac0fd8c22951c63a274f4369deb2ea8e6bec3d8cf9cb25e1a48904ab7cc6b467dd558
7
+ data.tar.gz: 290071b823f398ead398b9442b498ea857c812caa61541030931a7f50f8e5eb4cd6c0a86caa81f6370d5e577fadeb67dd0c7b65f1b453a295bc8e8a31c4fc89e
@@ -38,7 +38,7 @@ module NullAndVoid
38
38
  ''
39
39
  end
40
40
 
41
- def to_json
41
+ def to_json(*)
42
42
  'null'
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module NullAndVoid
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
@@ -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.1
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-03-26 00:00:00.000000000 Z
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.6
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: