conduit 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conduit/core/action.rb +1 -1
- data/lib/conduit/storage/file.rb +1 -1
- data/lib/conduit/version.rb +1 -1
- data/spec/classes/core/action_spec.rb +6 -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: d46f2ac30b74dabd934e5f184565479ff5e20d4d
|
4
|
+
data.tar.gz: f75ba0ec8e8e1c258d57e92a7682a5f5426ee70d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 450fbc11d0537d048d7fd60885dc2873c1abab99557e3b938f90d927b9a3eb54ae048d639195724268b7ab7622108f6ce6bdb7995b2114b4e67f9e67436dc014
|
7
|
+
data.tar.gz: 1c72077fc8dcb18d3069e5aa2028c60005f6f41c74456c279b8895422da7add56bcd5e661c3380880e677e945af4aca49918d936e8b76a95b9728c68e1b75aa5
|
data/lib/conduit/core/action.rb
CHANGED
data/lib/conduit/storage/file.rb
CHANGED
data/lib/conduit/version.rb
CHANGED
@@ -47,13 +47,17 @@ shared_examples_for Conduit::Core::Action do
|
|
47
47
|
describe '#attributes_with_values' do
|
48
48
|
context 'with optional attribute not set' do
|
49
49
|
let (:attrs) { request_attributes.merge(buz: nil, or: nil) }
|
50
|
-
its(:attributes_with_values) { should
|
50
|
+
its(:attributes_with_values) { should include(attrs) }
|
51
51
|
end
|
52
52
|
|
53
53
|
context 'with optional attribute set' do
|
54
54
|
let (:attrs) { request_attributes.merge(buz: "value for buz", or: nil) }
|
55
55
|
subject { described_class.new(attrs) }
|
56
|
-
its(:attributes_with_values) { should
|
56
|
+
its(:attributes_with_values) { should include(attrs) }
|
57
|
+
|
58
|
+
it "makes all options available" do
|
59
|
+
subject.attributes_with_values[:options].should include(attrs)
|
60
|
+
end
|
57
61
|
end
|
58
62
|
end
|
59
63
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conduit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Kelley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|