interactor 2.1.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +3 -0
- data/.travis.yml +10 -2
- data/CHANGELOG.md +31 -0
- data/CONTRIBUTING.md +49 -0
- data/Gemfile +2 -3
- data/README.md +453 -163
- data/interactor.gemspec +6 -7
- data/lib/interactor.rb +22 -26
- data/lib/interactor/context.rb +19 -8
- data/lib/interactor/error.rb +10 -0
- data/lib/interactor/hooks.rb +53 -0
- data/lib/interactor/organizer.rb +7 -27
- data/spec/integration_spec.rb +967 -0
- data/spec/interactor/context_spec.rb +75 -34
- data/spec/interactor/organizer_spec.rb +16 -169
- data/spec/interactor_spec.rb +0 -2
- data/spec/spec_helper.rb +3 -3
- data/spec/support/lint.rb +65 -99
- metadata +14 -12
- data/spec/support/expect.rb +0 -3
- data/spec/support/random.rb +0 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Collective Idea
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,37 +16,39 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.7'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '10.
|
33
|
+
version: '10.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '10.
|
41
|
-
description: Interactor provides a common interface for performing complex interactions
|
42
|
-
in a single request.
|
40
|
+
version: '10.3'
|
41
|
+
description: Interactor provides a common interface for performing complex user interactions.
|
43
42
|
email: info@collectiveidea.com
|
44
43
|
executables: []
|
45
44
|
extensions: []
|
46
45
|
extra_rdoc_files: []
|
47
46
|
files:
|
48
47
|
- ".gitignore"
|
48
|
+
- ".rspec"
|
49
49
|
- ".travis.yml"
|
50
|
+
- CHANGELOG.md
|
51
|
+
- CONTRIBUTING.md
|
50
52
|
- Gemfile
|
51
53
|
- LICENSE.txt
|
52
54
|
- README.md
|
@@ -54,14 +56,15 @@ files:
|
|
54
56
|
- interactor.gemspec
|
55
57
|
- lib/interactor.rb
|
56
58
|
- lib/interactor/context.rb
|
59
|
+
- lib/interactor/error.rb
|
60
|
+
- lib/interactor/hooks.rb
|
57
61
|
- lib/interactor/organizer.rb
|
62
|
+
- spec/integration_spec.rb
|
58
63
|
- spec/interactor/context_spec.rb
|
59
64
|
- spec/interactor/organizer_spec.rb
|
60
65
|
- spec/interactor_spec.rb
|
61
66
|
- spec/spec_helper.rb
|
62
|
-
- spec/support/expect.rb
|
63
67
|
- spec/support/lint.rb
|
64
|
-
- spec/support/random.rb
|
65
68
|
homepage: https://github.com/collectiveidea/interactor
|
66
69
|
licenses:
|
67
70
|
- MIT
|
@@ -87,10 +90,9 @@ signing_key:
|
|
87
90
|
specification_version: 4
|
88
91
|
summary: Simple interactor implementation
|
89
92
|
test_files:
|
93
|
+
- spec/integration_spec.rb
|
90
94
|
- spec/interactor/context_spec.rb
|
91
95
|
- spec/interactor/organizer_spec.rb
|
92
96
|
- spec/interactor_spec.rb
|
93
97
|
- spec/spec_helper.rb
|
94
|
-
- spec/support/expect.rb
|
95
98
|
- spec/support/lint.rb
|
96
|
-
- spec/support/random.rb
|
data/spec/support/expect.rb
DELETED
data/spec/support/random.rb
DELETED