ploy 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/ploy/package.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTI1MDgwODJmNTYyMTUzNDQ5ZmJhOWU2MzQ0MmE2NWIwM2M4MmU3NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzE1OGM2MzljOGZmZmUxNmZmM2Y3Zjg0NjcwOWNiODJmYTlkOWUzYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWNlYzM5YWY3ZDdiMjEwNGZiNmQ3ZTdmZmYyYWQ5NjNiZmEzYmU4OTg3MjFm
|
10
|
+
NGJiM2RhNDA4ZmE5NTNjNmJjZWYzZmUyNmYyNzRiMjA0NDU2ODEwNDcwMTI1
|
11
|
+
ZGNlMjVhYTJkOWUwY2E2MzE3MGI1OWViYjgxMWRiMGI1OGY5MWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjU5NGNjNjI4OGMxMmQxMTZmMTE0MTQ5MjkyNjc5ZjYyYjRlNDJkYjg0NTdi
|
14
|
+
OGZiMjJlYjEzZGJkOGRjMjhlNTlkZGVhNGU0MGY4ZTkxNTBhZThkNjE4ZDBl
|
15
|
+
MWU0YTBkZTQxOWMxZjc2NWM5YmJiMzRmMTc4Y2M2MjkxZTI1MDA=
|
data/lib/ploy/package.rb
CHANGED
@@ -9,13 +9,16 @@ module Ploy
|
|
9
9
|
attr_accessor :variant
|
10
10
|
attr_accessor :deployvia
|
11
11
|
|
12
|
-
def initialize(bucket, deploy, branch, version, variant = nil, deployvia =
|
12
|
+
def initialize(bucket, deploy, branch, version, variant = nil, deployvia = nil)
|
13
13
|
@bucket = bucket
|
14
14
|
@deploy_name = deploy
|
15
15
|
@branch = branch
|
16
16
|
@version = version
|
17
17
|
@variant = variant
|
18
|
-
@deployvia =
|
18
|
+
@deployvia = 'ploy-install'
|
19
|
+
unless deployvia.nil?
|
20
|
+
@deployvia = deployvia
|
21
|
+
end
|
19
22
|
|
20
23
|
@store = Ploy::S3Storage.new(bucket)
|
21
24
|
end
|