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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/fastly-deploy +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f5419dd509383820212d4f828c6f3fe17b2c93f
4
- data.tar.gz: cc0d822a0135fb0e37889829b3ec10233747d516
3
+ metadata.gz: 2aa60b0e6145f24a932271ac239ecd9fc564e793
4
+ data.tar.gz: 2106963c29f809dde90e6116226f98af7ff4bbe1
5
5
  SHA512:
6
- metadata.gz: 3725fb85152b38111a15ec7c80d587fce97f2792254c7802d703577fe007564ab2c9b7026b743548789fddea12b0e901113f0ffe684e4f21c3ffd0747f2a103a
7
- data.tar.gz: 035f6c8d114995cb63555860a5fda0f9a7b3b3769ac63d2ff86a8a122121aee2548a98a848209a1e1fdefc33969752050ea95586a09ffac82351819df119b651
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
- deploy ARGV if __FILE__ == $PROGRAM_NAME
53
+ def filename(filepath)
54
+ URI(filepath).path.split('/').last
55
+ end
56
+
57
+ deploy ARGV if filename(__FILE__) == filename($PROGRAM_NAME)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.115
4
+ version: 1.0.116
5
5
  platform: ruby
6
6
  authors:
7
7
  - 7digital