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 +4 -4
- data/lib/scorpion/rails/railtie.rb +4 -4
- data/lib/scorpion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fee03849d2fb1748b52db1586fbadec02f17f39
|
4
|
+
data.tar.gz: 4e688e564ea8c49224c0819e817a5aed25454495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/scorpion/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|