scorpion-ioc 0.5.14 → 0.5.15

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: 0f144ad2a3f2570fbb1e71ed99d52dd5b1cecc33
4
- data.tar.gz: 08ff7b8a52474b70dc790596f5869312cda8846d
3
+ metadata.gz: 2fee03849d2fb1748b52db1586fbadec02f17f39
4
+ data.tar.gz: 4e688e564ea8c49224c0819e817a5aed25454495
5
5
  SHA512:
6
- metadata.gz: 4ac170a30e129bbdcac5aa5e2f29987a71604bdadd3bda1db63b890b2b86230708d14ccb49c85468eb056232ecba6a899f510395426bc292fb63554d909ffb40
7
- data.tar.gz: 699520623d7dbe81f57de933e1a1fa571ee5371b06b63d67953fec8fae1eeb9628dcc412760bffe56564c356d3e6b2f5e0ef296adbda2122d878468ef581182e
6
+ metadata.gz: cc55f154882e0b898dae4ca6caf705ea498e68561c241a88df4d359c9c49b97aa11385299993149d3c9a11af659aba2436d73ea713b68c20fa330812628713f9
7
+ data.tar.gz: 4406e2e67e361f3d03039a7a3c5ee260b6b0e30c7dbd75447815bc67375b35771464e8ccc1d3f2d6768fd29f496a8941a41894b8659ec1e200ae551c9bbca65d
@@ -6,11 +6,11 @@ module Scorpion
6
6
  class Railtie < ::Rails::Railtie
7
7
 
8
8
  initializer "scorpion.configure" do |app|
9
- ::ActionController::Base.send :include, Scorpion::Rails::Controller
10
- ::ActiveJob::Base.send :include, Scorpion::Rails::Job
11
- ::ActionMailer::Base.send :include, Scorpion::Rails::Mailer
9
+ ::ActionController::Base.send :include, Scorpion::Rails::Controller if defined? ::ActionController
10
+ ::ActiveJob::Base.send :include, Scorpion::Rails::Job if defined? ::ActiveJob
11
+ ::ActionMailer::Base.send :include, Scorpion::Rails::Mailer if defined? ::ActionMailer
12
12
 
13
- ::Scorpion::Rails::ActiveRecord.install!
13
+ ::Scorpion::Rails::ActiveRecord.install! if defined? ::ActiveRecord
14
14
  end
15
15
 
16
16
  end
@@ -1,5 +1,5 @@
1
1
  module Scorpion
2
- VERSION_NUMBER = "0.5.14"
2
+ VERSION_NUMBER = "0.5.15"
3
3
  VERSION_SUFFIX = ""
4
4
  VERSION = "#{VERSION_NUMBER}#{VERSION_SUFFIX}"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scorpion-ioc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Alexander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-28 00:00:00.000000000 Z
11
+ date: 2016-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails