capistrano-demonz 0.0.16 → 0.0.17

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.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
- **Current version:** 0.0.16
1
+ **Current version:** 0.0.17
2
2
 
3
3
  ## Changes ##
4
+ ### 0.0.17 ###
5
+ * Fixed newline issue when writing out release_history.
6
+
4
7
  ### 0.0.16 ###
5
8
  * Fixed critical issue where cleanup script was deleting the _newest_ version instead of the _oldest_ one.
6
9
  * The release delete function wasn't actually joining arrays with newline separators.
data/lib/demonz/common.rb CHANGED
@@ -57,7 +57,7 @@ def remove_release_from_history(release, release_file)
57
57
 
58
58
  # Save
59
59
  release_history = release_history.join("\n")
60
- try_sudo "printf #{release_history} > #{release_file}"
60
+ try_sudo "printf \"#{release_history}\" > #{release_file}"
61
61
  end
62
62
 
63
63
  # Get the database name given an application and release name
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Demonz
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-demonz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-10 00:00:00.000000000 Z
12
+ date: 2013-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railsless-deploy