diff --git a/CHANGELOG.md b/CHANGELOG.md index 9971f52..ccf164f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.11.6] - 2022-04-08 +### Fixed +* use Array#push instead of #append for better compatibility + ## [0.11.5] - 2022-04-07 ### Changed * packages are uploaded "atomically": transferred as temporary files, then diff --git a/Gemfile.lock b/Gemfile.lock index e91b581..0a2e67e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - deb-s3 (0.11.4) + deb-s3 (0.11.6) aws-sdk-s3 (~> 1) thor (~> 0.19.0) diff --git a/lib/deb/s3.rb b/lib/deb/s3.rb index 6935c98..29b99f7 100644 --- a/lib/deb/s3.rb +++ b/lib/deb/s3.rb @@ -1,6 +1,6 @@ # -*- encoding : utf-8 -*- module Deb module S3 - VERSION = "0.11.5" + VERSION = "0.11.6" end end diff --git a/lib/deb/s3/cli.rb b/lib/deb/s3/cli.rb index 9096306..531897d 100644 --- a/lib/deb/s3/cli.rb +++ b/lib/deb/s3/cli.rb @@ -248,7 +248,7 @@ def upload(*files) log_action = lambda {|f| sublog("Transferring #{f}") } atomic_action = lambda {|f| log_action.call(f) - filenames_to_move.append(f) + filenames_to_move.push(f) } # upload the manifest