fanforce-plugin-worker 2.0.0.rc6 → 2.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fanforce/plugin_worker/runner.rb +6 -6
- data/lib/fanforce/plugin_worker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5d8022ddf38cfc6116518c057b44251c175bd08
|
4
|
+
data.tar.gz: 17177241973def846c0795ea33accaa7e949e789
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b1af9eec6413a91b39f349555e793efba64f483d9e1b57e500f0ea689cb443fa7fefd1e0f618832dceb32ba5f189d351a8cab39b5e681525eccb8add995ea3c
|
7
|
+
data.tar.gz: b3ebc993abaa096f1c7ebe36df58ab6a7a9bc3c6e32da2fc568b6d2a4f3f64ee5940d5edd34e42856495698fb9ebf4e5e35a1320bcd4e0e6d6b859ab4aff56ea
|
@@ -51,12 +51,12 @@ class Fanforce::PluginWorker::Runner
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def load_env_from_server
|
54
|
-
if File.exists?('.
|
55
|
-
require '.
|
56
|
-
elsif File.exists?('.
|
57
|
-
require '.
|
58
|
-
elsif File.exists?('.
|
59
|
-
require '.
|
54
|
+
if File.exists?('env.dev.rb')
|
55
|
+
require 'env.dev'
|
56
|
+
elsif File.exists?('env.stg.rb')
|
57
|
+
require 'env.stg'
|
58
|
+
elsif File.exists?('env.prd.rb')
|
59
|
+
require 'env.prd'
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|