kete-capistrano-configuration 0.1.0 → 0.1.1
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.rdoc +6 -0
- data/capistrano-configuration.gemspec +2 -2
- data/lib/capistrano-configuration.rb +3 -2
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== 0.1.1 (January 7, 2009)
|
2
|
+
|
3
|
+
* Fixing deployment issues
|
4
|
+
- Configuration write now happens after symlink, not code update (so current directory is present)
|
5
|
+
- YAML files were parsing incorrectly (would leave backslashes at the end of lines breaking format)
|
6
|
+
|
1
7
|
== 0.1.0 (January 6, 2009)
|
2
8
|
|
3
9
|
* Initial Release
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "capistrano-configuration"
|
5
|
-
s.version = "0.1.
|
6
|
-
s.date = "2009-01-
|
5
|
+
s.version = "0.1.1"
|
6
|
+
s.date = "2009-01-07"
|
7
7
|
s.author = "Kieran Pilkington"
|
8
8
|
s.email = "kieran@katipo.co.nz"
|
9
9
|
s.homepage = "http://github.com/kete/capistrano-configuration"
|
@@ -42,7 +42,8 @@ module CapistranoConfiguration
|
|
42
42
|
abort "@@configurations is empty. Did you forget to define some configurations?" if @@configurations.empty?
|
43
43
|
@@configurations.each do |file, value|
|
44
44
|
run "cd #{current_path} && rm -rf config/#{file}.yml"
|
45
|
-
|
45
|
+
yaml = value.to_yaml.gsub("\n", '\n').gsub('"', '\"')
|
46
|
+
run "cd #{current_path} && echo \"#{yaml}\" >> config/#{file}.yml"
|
46
47
|
end
|
47
48
|
end
|
48
49
|
|
@@ -50,7 +51,7 @@ module CapistranoConfiguration
|
|
50
51
|
|
51
52
|
end
|
52
53
|
|
53
|
-
after "deploy:
|
54
|
+
after "deploy:symlink", "deploy:configuration:write"
|
54
55
|
|
55
56
|
end
|
56
57
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kete-capistrano-configuration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kieran Pilkington
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-07 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|