capistrano-fiesta 1.1.0 → 1.1.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: ecec845a7285bc41b134999cceb95090623f2fe1
4
- data.tar.gz: a24782784115a94194d7861543d959c50a06f3f3
3
+ metadata.gz: 83eb008c0ff57b874de422572d34b5fc038d520f
4
+ data.tar.gz: c0246dab3ff8c418901878ddcfd288b53bfae27f
5
5
  SHA512:
6
- metadata.gz: 590a48205a81acf42956d2eba5cec3c414226633fe54be96319b30eae9d2f88615a165d6416d1c04b5926c0d884223bd99677a5ae9e59bada455d6d79209cbaa
7
- data.tar.gz: daa8a49e565a56308f68b1e75e33ac2a1954f631f74e848bb061a1c5a27028877454778ea3f96987317818269bee76261c680cab315a7b6d6cf4382192e031dd
6
+ metadata.gz: 0fed3a91cd8b169f48e81f618bfbd93c51b784c7010514b36c6d516630a8325d387266bf3b752e77edf3c7c77a6eb99a46f0b3ce901f5d9dfd4b2878605a76d0
7
+ data.tar.gz: 4f63d07a21119757ad1d599ae641c75ae4998afe5a4c7c403737b20d7f1dacc220f4b02142041c195b97ec0323bc29ee5611f560335bcdd46b3f44f3c189763a
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Fiesta
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -8,8 +8,8 @@ namespace :fiesta do
8
8
 
9
9
  task :set_last_release do
10
10
  on roles(:web).first do
11
- releases = capture("ls #{releases_path}")
12
- last_release = releases.split("\n").sort.last
11
+ last_release_path = capture("readlink #{current_path}")
12
+ last_release = last_release_path.split('/').last
13
13
  set(:last_release, last_release)
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-fiesta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2015-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano