cot 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/cot/frame.rb +4 -0
- data/lib/cot/version.rb +1 -1
- data/spec/lib/cot/frame_spec.rb +7 -0
- 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: 60707b16fa5c3be311bec710700f84d2014b9b1e
|
4
|
+
data.tar.gz: aad0be8b2404c946d70f6ad35ad41fff0907e08d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 308b42d5847d369aaa86a12ea6d9d7fd3f253cafe041e89479a1a0d0395b060e5336e4581f4391663003b8d1b6a9b4b87def79ae79733753493d8552d50ba918
|
7
|
+
data.tar.gz: 8ea6633725178c97272abb7873df54d977c5df6d618e81df211510ab5868b51fbf40d54a559fd5f8b921ae15fd96cab228297eafc5703d581ac27bc001932bcf
|
data/Gemfile.lock
CHANGED
data/lib/cot/frame.rb
CHANGED
data/lib/cot/version.rb
CHANGED
data/spec/lib/cot/frame_spec.rb
CHANGED
@@ -154,6 +154,13 @@ describe Cot::Frame do
|
|
154
154
|
expect(@foo.thing).to be_kind_of Foo
|
155
155
|
expect(@foo.thing.params[:passed]).to eq 42
|
156
156
|
end
|
157
|
+
|
158
|
+
it 'sets the value on []=' do
|
159
|
+
bar = TestObject.new(id: 42)
|
160
|
+
bar.thing = { key: 'this will be in foo' }
|
161
|
+
expect(bar.thing).to be_kind_of Foo
|
162
|
+
expect(bar.thing.params[:passed]).to eq 42
|
163
|
+
end
|
157
164
|
end
|
158
165
|
end
|
159
166
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cot
|
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
|
- Joseph Henrich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|