fastly-deploy 1.0.115 → 1.0.116
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 +4 -4
- data/bin/fastly-deploy +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2aa60b0e6145f24a932271ac239ecd9fc564e793
|
|
4
|
+
data.tar.gz: 2106963c29f809dde90e6116226f98af7ff4bbe1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 937dc16f8276ef2be7dd6261d59b0e413640cb18664072eaec14eb91d080fd07b244e9827cad1e94edb2180733f82c3f88c7826a8194d1938bf9f5b02357ec90
|
|
7
|
+
data.tar.gz: eb90d11b97de36ae23a86216f322f0e52c0f721533cea5afea7d946d638a083edfc1313c088bb3244db283cafecff98cfb207b02bea6edfc0612f774e5ba5f22
|
data/bin/fastly-deploy
CHANGED
|
@@ -50,4 +50,8 @@ end
|
|
|
50
50
|
|
|
51
51
|
# This is only run when run as a script. The FILE bit stops it
|
|
52
52
|
# from being run during the tests
|
|
53
|
-
|
|
53
|
+
def filename(filepath)
|
|
54
|
+
URI(filepath).path.split('/').last
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
deploy ARGV if filename(__FILE__) == filename($PROGRAM_NAME)
|