ploy 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/ploy/package.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWE4MzcyMWIzOWYwOTk4ZjQwZDgxYWFmYjE0Y2ZkOGJhMTY2MjkzNA==
4
+ MTI1MDgwODJmNTYyMTUzNDQ5ZmJhOWU2MzQ0MmE2NWIwM2M4MmU3NA==
5
5
  data.tar.gz: !binary |-
6
- ZjMxMTVhN2YwNDU0NmQ5MTNlOTU4MmYwMTU2ZTZmYmI5YWM0YzYyZg==
6
+ MzE1OGM2MzljOGZmZmUxNmZmM2Y3Zjg0NjcwOWNiODJmYTlkOWUzYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Nzg2ZDMwYzRhMWRiODkwN2ZkMGE3ZDk4OWFlNTgyNDA0NzY4NjliNDBkMDIz
10
- NDQwNGZhYzJkYTFhZTZmM2Q2YzdlMzBhZTMyYzBlM2FiY2JiZTIxZDFjYjc1
11
- OTdmODg3YTM2NzI3NmM2NmRmYTA3Yzg3MGE5MzY2MTE2ZTExNjA=
9
+ NWNlYzM5YWY3ZDdiMjEwNGZiNmQ3ZTdmZmYyYWQ5NjNiZmEzYmU4OTg3MjFm
10
+ NGJiM2RhNDA4ZmE5NTNjNmJjZWYzZmUyNmYyNzRiMjA0NDU2ODEwNDcwMTI1
11
+ ZGNlMjVhYTJkOWUwY2E2MzE3MGI1OWViYjgxMWRiMGI1OGY5MWI=
12
12
  data.tar.gz: !binary |-
13
- ZjBhMjdkNzg0OTk4ZGM5YTJkNmE1MjgzZDAzOGE1NWE3OWYwNzM1NTExNDVh
14
- M2UwODc4NjE2OTY2M2MzZGFmZTkwNDVkM2ZiYTI4ZjE0NWY5ZjE0NGZkMDkw
15
- YzNlOGJjMWZlZGU4YzhlMjM1ZmMwZmY2MmQyYjNkYWNhYzk3NTY=
13
+ NjU5NGNjNjI4OGMxMmQxMTZmMTE0MTQ5MjkyNjc5ZjYyYjRlNDJkYjg0NTdi
14
+ OGZiMjJlYjEzZGJkOGRjMjhlNTlkZGVhNGU0MGY4ZTkxNTBhZThkNjE4ZDBl
15
+ MWU0YTBkZTQxOWMxZjc2NWM5YmJiMzRmMTc4Y2M2MjkxZTI1MDA=
@@ -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 = 'ploy-install')
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 = 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bruce