upholsterer 0.4.2 → 0.4.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/upholsterer/json_presenter.rb +1 -1
- data/lib/upholsterer/version.rb +1 -1
- data/spec/base_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17fec00a11db180ca10fe6899d6fa5440659de45
|
|
4
|
+
data.tar.gz: b416b4055f2b49985cbb5db9fccf62c305ba4006
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 515ee2f1a69389d7d1c10dda8db4d125003a50eac00444953d042e2c1529232271d466556fedfd76262609cc86426e33b679532a5f55b21a9ff9ecca7f72547c
|
|
7
|
+
data.tar.gz: 20ad64d2d44f79dc21f6fcfdb26a63093abe8500a52b7547015270e77b1f2810ce7b1153e4301df2e50ca4fe024e0ba0aa7aff250def2308501f4a3f03ef406b
|
data/Gemfile.lock
CHANGED
data/lib/upholsterer/version.rb
CHANGED
data/spec/base_spec.rb
CHANGED
|
@@ -191,7 +191,7 @@ describe Upholsterer::Base do
|
|
|
191
191
|
its(:email) { should eq 'foo@bar.com' }
|
|
192
192
|
its(:type) { should eq 'test_type' }
|
|
193
193
|
its(:description) { should eq 'test_description' }
|
|
194
|
-
its(:to_json) { should eq '
|
|
194
|
+
its(:to_json) { should eq(name: 'Test', email: 'foo@bar.com', id: 1, description: 'test_description', type: 'test_type') }
|
|
195
195
|
end
|
|
196
196
|
|
|
197
197
|
context 'Real presenter' do
|
|
@@ -201,7 +201,7 @@ describe Upholsterer::Base do
|
|
|
201
201
|
its(:email) { should eq 'foo@bar.com' }
|
|
202
202
|
its(:type) { should eq 'real_type' }
|
|
203
203
|
its(:description) { should eq 'real_description' }
|
|
204
|
-
its(:to_json) { should eq '
|
|
204
|
+
its(:to_json) { should eq(name: 'Real', email: 'foo@bar.com', id: 1, description: 'real_description', type: 'real_type') }
|
|
205
205
|
end
|
|
206
206
|
end
|
|
207
207
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: upholsterer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-12-
|
|
13
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rake
|