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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0bca65a85b90ff68610e82220b275faf616b80a
4
- data.tar.gz: 51f17d71cca0017ee509b37f3aa41c936db590f8
3
+ metadata.gz: cb81f5fa5f5adef8e2826ea0e86da2257be65db5
4
+ data.tar.gz: f4f1fd9c2e4c43316827eded090173480592c2da
5
5
  SHA512:
6
- metadata.gz: b00e58241eca2e87687fc1b2a1cdebe15dddfb42f10e716b32350c8da4c4fafd44bb6e6fdcba28870b1df6cc2d1f52100fc5c0d0d593324fc83fcee80bd57b73
7
- data.tar.gz: 52620fdc3f02c27ff6be85d1e525fe49bf749cb87c7b27c140251837772f2e5ca45b9727f903e94f087eedfc9a5fff41cd075de93cd38284df02c9947fd90486
6
+ metadata.gz: f4a046506b53e72a81c5101a1fad845de62bd7e9be61e1739c690423e23abcce5501720a2f44ecd56270f2b70bd09ed03e45cf09c0a83e4e9bb2d41efc256d52
7
+ data.tar.gz: 7300499061b167454d5f2fc306efb1deba11f543bd0542fac0d6ff0b273ca02981d851f17dfea1b5bea240b639481ea9a5e70598643f8bdffa77941fe010216d
data/Gemfile CHANGED
@@ -2,6 +2,8 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
+ gem "rails", "~> 4.0"
6
+
5
7
  group :test do
6
8
  gem "aruba", "~> 0.5.3"
7
9
  gem "coveralls", "~> 0.6.7", require: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "interactor-rails"
5
- spec.version = "1.0.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", "~> 1.0"
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"
@@ -1,4 +1 @@
1
- module Interactor
2
- module Rails
3
- end
4
- end
1
+ require "interactor"
@@ -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
@@ -6,6 +6,5 @@ RSpec.configure do |config|
6
6
  config.before do
7
7
  @aruba_timeout_seconds = 60
8
8
  FileUtils.rm_rf(current_dir)
9
- unset_bundler_env_vars
10
9
  end
11
10
  end
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.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-17 00:00:00.000000000 Z
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: '1.0'
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: '1.0'
26
+ version: '3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement