zend-framework-deploy 0.1.0 → 0.2.0
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/CHANGES.md +9 -0
- data/VERSION +1 -1
- data/bin/zf-capify +10 -1
- data/lib/zend-framework-deploy.rb +5 -2
- data/zend-framework-deploy.gemspec +3 -2
- metadata +5 -4
data/CHANGES.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
## 0.2.0, released 2011-05-09
|
2
|
+
|
3
|
+
* Fixed #1
|
4
|
+
* Added hint to use [capistrano-tags](https://github.com/fabn/capistrano-tags) gem
|
5
|
+
* Added hint to use [capistrano_colors](https://github.com/stjernstrom/capistrano_colors) gem
|
6
|
+
|
7
|
+
## 0.1.0, released 2011-05-03
|
8
|
+
|
9
|
+
* Initial version
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/bin/zf-capify
CHANGED
@@ -57,7 +57,7 @@ set :zf_path, "set Zend Framework (remote) installation path here"
|
|
57
57
|
set :scm, :subversion
|
58
58
|
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
|
59
59
|
|
60
|
-
role :web, "your web-server here" # Your HTTP server, Apache/etc
|
60
|
+
role :web, "your web-server goes here" # Your HTTP server, Apache/etc
|
61
61
|
'}
|
62
62
|
|
63
63
|
# multistage patch
|
@@ -78,6 +78,15 @@ MULTI
|
|
78
78
|
puts "Multistage configuration selected, remember to install capistrano-ext gem with '[sudo] gem install capistrano-ext'"
|
79
79
|
end
|
80
80
|
|
81
|
+
# hints to use other gems to improve capistrano experience
|
82
|
+
files["#{CONFIG_DIR}/deploy.rb"] << <<-HINTS
|
83
|
+
|
84
|
+
# gem install capistrano-tags to enable tag and branches deploying
|
85
|
+
# require 'capistrano-tags'
|
86
|
+
# gem install capistrano_colors to colorize capistano output
|
87
|
+
# require 'capistrano_colors'
|
88
|
+
HINTS
|
89
|
+
|
81
90
|
base = ARGV.shift
|
82
91
|
files.each do |file, content|
|
83
92
|
file = File.join(base, file)
|
@@ -18,8 +18,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
18
18
|
_cset(:repository) { abort "Please specify the repository that houses your application's code, set :repository, 'foo'" }
|
19
19
|
# this should be required
|
20
20
|
_cset(:deploy_to) { abort "Please specify where to deploy your application, set :deploy_to, '/some/path'" }
|
21
|
-
# zend framework(s) path installation (we don't have bundler...)
|
22
|
-
_cset(:zf_path) { abort "Please specify where is located zend framework on server, set :zf_path, '/path/to/zend/framework'" }
|
23
21
|
|
24
22
|
# =========================================================================
|
25
23
|
# These variables may be set in the client capfile if their default values
|
@@ -228,6 +226,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
228
226
|
full Zend Framework release.
|
229
227
|
DESC
|
230
228
|
task :install_zf, :except => { :no_release => true } do
|
229
|
+
unless exists? :zf_path
|
230
|
+
logger.important "Zend Framework will not be installed in project library because no :zf_path given"
|
231
|
+
logger.important "Enable installation with set :zf_path, '/path/to/zend/framework' in your deploy.rb file"
|
232
|
+
next
|
233
|
+
end
|
231
234
|
version_file = "#{release_path}/application/configs/zf.version"
|
232
235
|
# get the zf root as defined in the configuration
|
233
236
|
zf_root = "#{zf_path}"
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{zend-framework-deploy}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.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 = ["Fabio Napoleoni"]
|
12
|
-
s.date = %q{2011-05-
|
12
|
+
s.date = %q{2011-05-09}
|
13
13
|
s.default_executable = %q{zf-capify}
|
14
14
|
s.description = %q{Use this gem to deploy Zend Framework projects with Capistrano. It will adapt Capistrano configuration in order to be used with ZF project structure.}
|
15
15
|
s.email = %q{f.napoleoni@gmail.com}
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
|
+
"CHANGES.md",
|
23
24
|
"Gemfile",
|
24
25
|
"LICENSE.txt",
|
25
26
|
"README.markdown",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zend-framework-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Fabio Napoleoni
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-09 00:00:00 +02:00
|
19
19
|
default_executable: zf-capify
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -76,6 +76,7 @@ extra_rdoc_files:
|
|
76
76
|
- README.markdown
|
77
77
|
files:
|
78
78
|
- .document
|
79
|
+
- CHANGES.md
|
79
80
|
- Gemfile
|
80
81
|
- LICENSE.txt
|
81
82
|
- README.markdown
|