samus 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/commands/publish/cf-invalidate +9 -14
- data/lib/samus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3de12a6065d5699aba5c95b08bdce58aae14279e
|
4
|
+
data.tar.gz: c0e9f870f82a855d66fbfd0b0fc9b4cec6d07f32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f383e7f72b7faee4f3c681abb27b05824aef368356f6de6e3502aeef939c0b8bd99230601aabc39631f9d6c097641b16d5ba9c9204f9d740cac93a5ebe7a6a75
|
7
|
+
data.tar.gz: 5860da816580213d6c55572b3cb099a69d685030fe36aa7ab10d28128613193d3381c16f3e3a2b15411a81e266f3e0af27e19a4630aca93e23f1b403b1d47568
|
@@ -1,16 +1,11 @@
|
|
1
|
-
#!/
|
1
|
+
#!/bin/sh
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
qty="$#"
|
4
|
+
items=`python -c 'import sys, json; print json.dumps(sys.argv[1:])' $*`
|
5
|
+
ref=`date`
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
invalidation_batch: {
|
12
|
-
paths: {
|
13
|
-
quantity: ARGV.size,
|
14
|
-
items: ARGV },
|
15
|
-
caller_reference: Time.now.to_s
|
16
|
-
})
|
7
|
+
aws configure set preview.cloudfront true
|
8
|
+
aws cloudfront create-invalidation \
|
9
|
+
--region $_region \
|
10
|
+
--distribution-id $_distribution \
|
11
|
+
--invalidation-batch '{"Paths":{"Quantity":'$qty',"Items":'$items'},"CallerReference":"'$ref'"}'
|
data/lib/samus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: samus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Loren Segal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: lsegal@soen.ca
|