interactor-rails 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/interactor-rails.gemspec +2 -2
- data/lib/interactor/rails.rb +1 -4
- data/spec/interactor/rails_spec.rb +7 -1
- data/spec/support/aruba.rb +0 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb81f5fa5f5adef8e2826ea0e86da2257be65db5
|
4
|
+
data.tar.gz: f4f1fd9c2e4c43316827eded090173480592c2da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4a046506b53e72a81c5101a1fad845de62bd7e9be61e1739c690423e23abcce5501720a2f44ecd56270f2b70bd09ed03e45cf09c0a83e4e9bb2d41efc256d52
|
7
|
+
data.tar.gz: 7300499061b167454d5f2fc306efb1deba11f543bd0542fac0d6ff0b273ca02981d851f17dfea1b5bea240b639481ea9a5e70598643f8bdffa77941fe010216d
|
data/Gemfile
CHANGED
data/interactor-rails.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "interactor-rails"
|
5
|
-
spec.version = "1.0.
|
5
|
+
spec.version = "1.0.1"
|
6
6
|
|
7
7
|
spec.author = "Collective Idea"
|
8
8
|
spec.email = "info@collectiveidea.com"
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.test_files = spec.files.grep(/^spec/)
|
16
16
|
spec.require_paths = ["lib"]
|
17
17
|
|
18
|
-
spec.add_dependency "interactor", "
|
18
|
+
spec.add_dependency "interactor", "< 3"
|
19
19
|
spec.add_dependency "rails", ">= 3", "< 5"
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
data/lib/interactor/rails.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
module Interactor
|
4
|
-
describe Rails do
|
4
|
+
describe "Rails" do
|
5
5
|
before do
|
6
6
|
run_simple <<-CMD
|
7
7
|
bundle exec rails new example \
|
@@ -97,5 +97,11 @@ EOF
|
|
97
97
|
|
98
98
|
run_simple "bundle exec rails runner PlaceOrder"
|
99
99
|
end
|
100
|
+
|
101
|
+
it "auto-loads organizers" do
|
102
|
+
run_simple "bundle exec rails generate interactor:organizer place_order"
|
103
|
+
|
104
|
+
run_simple "bundle exec rails runner PlaceOrder"
|
105
|
+
end
|
100
106
|
end
|
101
107
|
end
|
data/spec/support/aruba.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interactor-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Collective Idea
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: interactor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - <
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3'
|
20
20
|
type: :runtime
|
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: '
|
26
|
+
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|