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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a01fa569ccb55a7a8c0c84cf3083e2f5a8eb43b34f1259494e9e0e2bce1efea5
4
- data.tar.gz: 78dd08e37856356eca03ec1bd1c6ebf1c371f9222fe7711bf72acc31b5ededf0
3
+ metadata.gz: 5950fda4e46e568c276b41e623411ae08073b2a02867b60c2f3afe420696baf0
4
+ data.tar.gz: 882a09e58b5284d9fa742ca470c31fb6ce6be9c63a1653914772457c1ff78606
5
5
  SHA512:
6
- metadata.gz: b3087d4c955abb3b8c7f6e0baa067826e47504ad2aab8623daaffca2058ef37864e5c9bb9899693cf1cd24f6bda626fb926c91e5aea52502270a2976472c45ad
7
- data.tar.gz: c8012d42a398afd2340d5ec00cf30f7c9116bdf4be3ab7c48d4bb521a44cfd540fe206af7a3de3bf99013fcc638161a9bdc77c6a87967d13fd27acad3319570c
6
+ metadata.gz: 3f4b9cb3c6aa2405b8f59bb5c01edd5524233e2f094cfee2c42e2a563cc10474db78aa287b6480d2697c90c3377b2a5c1887e67ceb96b5ca5d2944c5ac5bf658
7
+ data.tar.gz: cac7cb2a8d7139e8112bc4d18a72cd0dc488ef30d2c991953049d50c67f4f496853a9d8b56aa0254dba0fab147467a89db00c87bf9f1e084a09016851b531d1b
data/interactor.gemspec CHANGED
@@ -2,7 +2,7 @@ require "English"
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "interactor_with_steroids"
5
- spec.version = "0.0.1"
5
+ spec.version = "1.0.0"
6
6
 
7
7
  spec.author = "Collective Idea/Sorare Team"
8
8
  spec.email = "hello@sorare.com"
@@ -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.1
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-09 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport