clc-promote 0.4.0.dev.16 → 0.4.0.dev.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/promote/rake_tasks.rb +3 -2
- 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: 4f89ce889a4d49f955bf3430428fa9c28a54bac9
|
4
|
+
data.tar.gz: d7d98f31b79aa73e862048af2abf76e7c2ae16ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e21bb6e62e5feb2171f2d74dadd8377eb7d1dcc0746ef5d7088f424dd152c53a6f0e2dd0bf24f639f419d5d14bad04fde8aa78f80c4e5b0d428910be08d44aac
|
7
|
+
data.tar.gz: 7a3fc173df73042f8d6fa8e01ae08a88c5dd52c12099f6dcad0cb225cc8657dd287dc8a6fee85c4fd1679bf3cedff927b492f341118d076a3397c3fae507251f
|
data/lib/promote/rake_tasks.rb
CHANGED
@@ -6,8 +6,9 @@ module Promote
|
|
6
6
|
class RakeTasks < ::Rake::TaskLib
|
7
7
|
|
8
8
|
def initialize(config)
|
9
|
-
|
10
|
-
|
9
|
+
config = Config.new(config) if config.is_a?(Hash)
|
10
|
+
config = Config.new({ :repo_root => config }) if config.is_a?(String)
|
11
|
+
@config=config
|
11
12
|
@versioner = Versioner.new(@config)
|
12
13
|
@uploader = Uploader.new(@config)
|
13
14
|
@promoter = Promoter.new(@config)
|