s3_website 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0ae62a6f1d23ff2c577665bf70c0f0ab7a4eb56
4
- data.tar.gz: 012d1764cf766d1b166647c9fe109186622d92a0
3
+ metadata.gz: 38040b21ec9c146a9fded6561fb1157a183f7328
4
+ data.tar.gz: 5a5b95aa468aff45052775d45fbcdf2d9be6673d
5
5
  SHA512:
6
- metadata.gz: 9801caa38458f53ca30095735cd051eed8e302370a4026d97980d09f3b2a90370ac0a21d5c8fe5c2717f6c57df5eb9f88e851d0ac106adcf34d2ee234719cf04
7
- data.tar.gz: 3cf7599615e920cf6000ef4d2525013f74421b5ca759add184012df9d44ef4facdb3657d73c0d9a3c4526e3293e25fdd34869514edaeaaf730156142add4fdcf
6
+ metadata.gz: 8f4a9252e3c1c05f14a103e000e320d2a8045d38d17e7ecbd4bf663ce0e973baf8091257df8d7101dcfaf3489b08d366c76120f7d6ce14c294c0cb2694514a1a
7
+ data.tar.gz: e9884f5c0b07daf658c36c4665c3b9e1990e3509726746cd85ea11bb2a7e014b78234829982c0d74461a3f1ccafb0e1adfc5bddad8d0e0288f6e48ea9e453cd2
data/changelog.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.5.1
6
+
7
+ * Print **Would have updated|redirected|created** when running with `--dry-run`
8
+
5
9
  ## 2.5.0
6
10
 
7
11
  * Add `push --force` option
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.5.0'
2
+ VERSION = '2.5.1'
3
3
  end
@@ -155,8 +155,8 @@ object S3 {
155
155
  (implicit pushOptions: PushOptions, logger: Logger) extends PushSuccessReport {
156
156
  def reportMessage =
157
157
  details.fold(
158
- newOrCreatedDetails => s"${newOrCreatedDetails.uploadType.pushAction} $s3Key ($reportDetails)",
159
- redirectDetails => s"${redirectDetails.uploadType.pushAction} $s3Key to ${redirectDetails.redirectTarget}"
158
+ newOrCreatedDetails => s"${newOrCreatedDetails.uploadType.pushAction.renderVerb} $s3Key ($reportDetails)",
159
+ redirectDetails => s"${redirectDetails.uploadType.pushAction.renderVerb} $s3Key to ${redirectDetails.redirectTarget}"
160
160
  )
161
161
 
162
162
  def reportDetails = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_website
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lauri Lehmijoki