dpl 2.0.0.alpha.13 → 2.0.0.alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4117990a1102ebe9620253fe64e0452b11378c24
4
- data.tar.gz: 9bf46f45a17e1d69a71f4aa6eeed7ce3917d44ea
3
+ metadata.gz: 803bba59dcae1537929d574e957d3798af066ada
4
+ data.tar.gz: d9bcdda5054b954925d348211e73575270972ddd
5
5
  SHA512:
6
- metadata.gz: 74ac9382b0cfcbba1390b73bd99e0bf6bc901ece27d780c4cc33f26c65969beba39e2e5bfad063d59c7da7d5436cebcaf52dfe6f4000b1e7e2d1141e1a5bd559
7
- data.tar.gz: 183bc21601df7437398e28fff669d790ae9be50e9ee509fd7c20b59127ba4c563e917c09e1d39cfe720b2ef452cb00b7ac7908e2a4018d7f0b0875c74eff8617
6
+ metadata.gz: aa254bf4c8cd811d12517ad75375402bfd8414349fec89af28edc581af75250eaa3fc1ea83502031c2bb3ab94a1e6530d78f4d60ebdfde8a7e06bf94c46e794d
7
+ data.tar.gz: d281cc907723915d4c443445bde802f055d8c8017a036a29bdebeed4cde67e8abe71c77b957f963c55c1d06829c3baf3f4a7ad7b5cfa9e46a0471fe764c82eff
@@ -1,9 +1,19 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## dpl v2.0.0-alpha.13 (2020-01-17)
4
+
5
+ * Add s3 `--glob`
6
+
7
+ ## dpl v2.0.0-alpha.13 (2020-01-06)
8
+
9
+ * Bump Cl which now raises on arguments undeclared by the command
10
+
11
+ ## dpl v2.0.0-alpha.12 (2020-01-06)
4
12
 
5
13
  * Add npm `--run_script`, allowing one or many scripts from package.json to be run
6
- * Fix pages: update octokit version to 4.15.0
14
+ * Add elasticbeanstalk `--wait_until_deployed_timeout`
15
+ * Update pages to pass one -m option per commit message line
16
+ * Fix releases to transliterate filenames in an attempt to mirror GitHub's behavior
7
17
 
8
18
  ## dpl v2.0.0-alpha.11 (2019-10-14)
9
19
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dpl (2.0.0.alpha.12)
4
+ dpl (2.0.0.alpha.13)
5
5
  cl (~> 1.0)
6
6
 
7
7
  GEM
@@ -27,6 +27,7 @@ module Dpl
27
27
  opt '--endpoint URL', 'S3 endpoint'
28
28
  opt '--upload_dir DIR', 'S3 directory to upload to'
29
29
  opt '--local_dir DIR', 'Local directory to upload from', default: '.', example: '~/travis/build (absolute path) or ./build (relative path)'
30
+ opt '--glob GLOB', 'Files to upload', default: '**/*'
30
31
  opt '--dot_match', 'Upload hidden files starting with a dot'
31
32
  opt '--acl ACL', 'Access control for the uploaded objects', default: 'private', enum: %w(private public_read public_read_write authenticated_read bucket_owner_read bucket_owner_full_control)
32
33
  opt '--detect_encoding', 'HTTP header Content-Encoding for files compressed with gzip and compress utilities'
@@ -40,7 +41,6 @@ module Dpl
40
41
  opt '--force_path_style', 'Whether to force keeping the bucket name on the path'
41
42
  opt '--max_threads NUM', 'The number of threads to use for S3 file uploads', default: 5, max: 15, type: :integer
42
43
  opt '--verbose', 'Be verbose about uploading files'
43
- # how come there is no glob or file option?
44
44
 
45
45
  msgs login: 'Using Access Key: %{access_key_id}',
46
46
  default_uri_schema: 'S3 endpoint does not specify a scheme; defaulting to https',
@@ -135,7 +135,7 @@ module Dpl
135
135
  end
136
136
 
137
137
  def glob
138
- ['**/*', dot_match? ? File::FNM_DOTMATCH : nil].compact
138
+ [super, dot_match? ? File::FNM_DOTMATCH : nil].compact
139
139
  end
140
140
 
141
141
  def acl
@@ -15,7 +15,9 @@ module Dpl
15
15
 
16
16
  apt 'snapd', 'snap'
17
17
 
18
- cmds install: 'sudo snap install snapcraft --classic',
18
+ cmds apt_get_update: 'sudo apt-get update -qq',
19
+ update_snapd: 'sudo apt-get install snapd',
20
+ install: 'sudo snap install snapcraft --classic',
19
21
  login: 'echo "%{token}" | snapcraft login --with -',
20
22
  deploy: 'snapcraft push %{snap_path} --release=%{channel}'
21
23
 
@@ -26,6 +28,8 @@ module Dpl
26
28
 
27
29
  def install
28
30
  return if which 'snapcraft'
31
+ shell :apt_get_update
32
+ shell :update_snapd
29
33
  shell :install
30
34
  ENV['PATH'] += ':/snap/bin'
31
35
  end
@@ -1,3 +1,3 @@
1
1
  module Dpl
2
- VERSION = '2.0.0.alpha.13'
2
+ VERSION = '2.0.0.alpha.14'
3
3
  end
@@ -206,8 +206,8 @@
206
206
  },
207
207
  {
208
208
  "name": "surge",
209
- "status": "beta",
210
- "date": "2019-11-18"
209
+ "status": "stable",
210
+ "date": "2020-01-14"
211
211
  },
212
212
  {
213
213
  "name": "testfairy",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha.13
4
+ version: 2.0.0.alpha.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-01-14 00:00:00.000000000 Z
13
+ date: 2020-01-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cl