has_serialized 1.1.0 → 1.1.1
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.
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/spec/has_serialized_spec.rb
CHANGED
@@ -21,10 +21,11 @@ describe HasSerialized do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
it 'should be able to override certain defaults during instantiation' do
|
24
|
-
page = Page.new(gunslinger: 'Roland', jake: false)
|
24
|
+
page = Page.new(gunslinger: 'Roland', jake: false, ka_tet: nil)
|
25
25
|
expect(page.gunslinger).to eq('Roland')
|
26
26
|
expect(page.lowmen).to be_true
|
27
27
|
expect(page.jake).to eq(false)
|
28
|
+
expect(page.ka_tet).to be_nil
|
28
29
|
end
|
29
30
|
|
30
31
|
it 'should create getters that end with question marks for boolean fields' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_serialized
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -119,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
segments:
|
121
121
|
- 0
|
122
|
-
hash:
|
122
|
+
hash: -1846763445347575345
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
none: false
|
125
125
|
requirements:
|