interactor_with_steroids 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/interactor.gemspec +1 -1
- data/spec/interactor/declaration_spec.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5950fda4e46e568c276b41e623411ae08073b2a02867b60c2f3afe420696baf0
|
4
|
+
data.tar.gz: 882a09e58b5284d9fa742ca470c31fb6ce6be9c63a1653914772457c1ff78606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f4b9cb3c6aa2405b8f59bb5c01edd5524233e2f094cfee2c42e2a563cc10474db78aa287b6480d2697c90c3377b2a5c1887e67ceb96b5ca5d2944c5ac5bf658
|
7
|
+
data.tar.gz: cac7cb2a8d7139e8112bc4d18a72cd0dc488ef30d2c991953049d50c67f4f496853a9d8b56aa0254dba0fab147467a89db00c87bf9f1e084a09016851b531d1b
|
data/interactor.gemspec
CHANGED
@@ -112,5 +112,19 @@ module Interactor
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
end
|
115
|
+
|
116
|
+
describe "#hold" do
|
117
|
+
let(:declared) {
|
118
|
+
build_declared do
|
119
|
+
hold :foo
|
120
|
+
end
|
121
|
+
}
|
122
|
+
|
123
|
+
it 'can hold foo' do
|
124
|
+
c = subject.new
|
125
|
+
c.foo = 'bar'
|
126
|
+
expect(c.foo).to eq('bar')
|
127
|
+
end
|
128
|
+
end
|
115
129
|
end
|
116
130
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interactor_with_steroids
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Collective Idea/Sorare Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|