forkcms_deploy 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.2.0
@@ -1,42 +1,40 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{forkcms_deploy}
8
- s.version = "1.1.2"
8
+ s.version = "1.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tijs Verkoyen", "Jan De Poorter"]
12
- s.date = %q{2010-11-04}
12
+ s.date = %q{2011-10-07}
13
13
  s.description = %q{Deployment for Fork with Capistrano}
14
14
  s.email = %q{info@sumocoders.be}
15
15
  s.extra_rdoc_files = [
16
16
  "README.md"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "README.md",
21
- "Rakefile",
22
- "VERSION",
23
- "forkcms_deploy.gemspec",
24
- "lib/forkcms_deploy.rb",
25
- "lib/forkcms_deploy/defaults.rb",
26
- "lib/forkcms_deploy/forkcms.rb",
27
- "lib/forkcms_deploy/overwrites.rb"
19
+ "README.md",
20
+ "Rakefile",
21
+ "VERSION",
22
+ "forkcms_deploy.gemspec",
23
+ "lib/forkcms_deploy.rb",
24
+ "lib/forkcms_deploy/defaults.rb",
25
+ "lib/forkcms_deploy/forkcms.rb",
26
+ "lib/forkcms_deploy/overwrites.rb"
28
27
  ]
29
28
  s.homepage = %q{http://github.com/tijsverkoyen/forkcms_deploy}
30
- s.rdoc_options = ["--charset=UTF-8"]
31
29
  s.require_paths = ["lib"]
32
- s.rubygems_version = %q{1.3.7}
30
+ s.rubygems_version = %q{1.3.6}
33
31
  s.summary = %q{Deployment for Fork with Capistrano}
34
32
 
35
33
  if s.respond_to? :specification_version then
36
34
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
37
35
  s.specification_version = 3
38
36
 
39
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
37
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
40
38
  s.add_runtime_dependency(%q<capistrano>, [">= 2.0.0"])
41
39
  else
42
40
  s.add_dependency(%q<capistrano>, [">= 2.0.0"])
@@ -78,9 +78,9 @@ configuration.load do
78
78
  documentRootExists = capture("if [ ! -e #{document_root} ]; then ln -sf #{current_path}/default_www #{document_root}; echo 'no'; fi").chomp
79
79
 
80
80
  unless documentRootExists == 'no'
81
- warn 'Warning: Document root (#{document_root}) already exists'
82
- warn 'to link it to the Fork deploy issue the following command:'
83
- warn ' ln -sf #{current_path}/default_www #{document_root}'
81
+ warn "Warning: Document root (#{document_root}) already exists"
82
+ warn "to link it to the Fork deploy issue the following command:"
83
+ warn " ln -sf #{current_path}/default_www #{document_root}"
84
84
  end
85
85
  end
86
86
 
@@ -93,11 +93,12 @@ configuration.load do
93
93
  folders.each do |folder|
94
94
  # copy them to the shared path, remove them from the release and symlink them
95
95
  run %{
96
- cp -r #{release_path}/default_www/frontend/files/#{folder} #{shared_path}/files/#{folder} &&
96
+ mkdir -p #{shared_path}/files/#{folder} &&
97
+ cp -r #{release_path}/default_www/frontend/files/#{folder} #{shared_path}/files/ &&
97
98
  rm -rf #{release_path}/default_www/frontend/files/#{folder} &&
98
99
  ln -s #{shared_path}/files/#{folder} #{release_path}/default_www/frontend/files/#{folder}
99
100
  }
100
101
  end
101
102
  end
102
103
  end
103
- end
104
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forkcms_deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
- - 1
9
7
  - 2
10
- version: 1.1.2
8
+ - 0
9
+ version: 1.2.0
11
10
  platform: ruby
12
11
  authors:
13
12
  - Tijs Verkoyen
@@ -16,18 +15,16 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-11-04 00:00:00 +01:00
18
+ date: 2011-10-07 00:00:00 +02:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: capistrano
24
23
  prerelease: false
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
25
  requirements:
28
26
  - - ">="
29
27
  - !ruby/object:Gem::Version
30
- hash: 15
31
28
  segments:
32
29
  - 2
33
30
  - 0
@@ -44,7 +41,6 @@ extensions: []
44
41
  extra_rdoc_files:
45
42
  - README.md
46
43
  files:
47
- - .gitignore
48
44
  - README.md
49
45
  - Rakefile
50
46
  - VERSION
@@ -58,32 +54,28 @@ homepage: http://github.com/tijsverkoyen/forkcms_deploy
58
54
  licenses: []
59
55
 
60
56
  post_install_message:
61
- rdoc_options:
62
- - --charset=UTF-8
57
+ rdoc_options: []
58
+
63
59
  require_paths:
64
60
  - lib
65
61
  required_ruby_version: !ruby/object:Gem::Requirement
66
- none: false
67
62
  requirements:
68
63
  - - ">="
69
64
  - !ruby/object:Gem::Version
70
- hash: 3
71
65
  segments:
72
66
  - 0
73
67
  version: "0"
74
68
  required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
69
  requirements:
77
70
  - - ">="
78
71
  - !ruby/object:Gem::Version
79
- hash: 3
80
72
  segments:
81
73
  - 0
82
74
  version: "0"
83
75
  requirements: []
84
76
 
85
77
  rubyforge_project:
86
- rubygems_version: 1.3.7
78
+ rubygems_version: 1.3.6
87
79
  signing_key:
88
80
  specification_version: 3
89
81
  summary: Deployment for Fork with Capistrano
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- pkg