avodeploy 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/CHANGELOG +4 -1
- data/README.md +3 -1
- data/lib/avodeploy/bootstrap.rb +5 -5
- data/lib/avodeploy/config.rb +6 -4
- data/lib/avodeploy/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eb2622171b0f1c3e6a7aa3fd51eefc83d78081f
|
4
|
+
data.tar.gz: 55218f0f1f3280d66e6f948d9b63b85e2a094512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b5eda736217651f0407572840b49ffac53efb969681dfca8b56e52035f1b07e30b459f72af25325bc7949dd039231cd0feaf16fdb598844c4e42cdbc6cea747
|
7
|
+
data.tar.gz: 82394f84a81e5798e76d799d739e8d494b17b85eb7e34c8278e1aa395a55d22e91f9b5ec8cae3f34f0329b5bcdcc8173785a2c75810032fb54f08f74948ccc41
|
data/.travis.yml
ADDED
data/CHANGELOG
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
0.4.2
|
2
|
+
* Bugfix: Avocado cannot resolve defined stages
|
3
|
+
|
1
4
|
0.4.1
|
2
5
|
* local_copy strategy now checks, if one or more target systems are specified
|
3
6
|
* avo now raises an error if no valid stage is selected (avo [stage] deploy does not complain if the stage does not exist #7)
|
@@ -11,4 +14,4 @@
|
|
11
14
|
* Removed awesome_print dependency
|
12
15
|
* Remote code execution: target name will now be displayed
|
13
16
|
* local_copy strategy: `Avofile` is now excluded by default
|
14
|
-
* Tasks: Default directory is now the working copy (Task usability - chdir #5)
|
17
|
+
* Tasks: Default directory is now the working copy (Task usability - chdir #5)
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
develop: ![](https://travis-ci.org/dprandzioch/avocado.svg?branch=develop) | master: ![](https://travis-ci.org/dprandzioch/avocado.svg?branch=develop)
|
2
|
+
|
1
3
|
### Avocado
|
2
4
|
Avocado is a deployment framework for web applications written in Ruby.
|
3
5
|
|
4
|
-
The current release is 0.4.
|
6
|
+
The current release is 0.4.2.
|
5
7
|
|
6
8
|
### Licensing
|
7
9
|
Avocado is licensed under the GPLv2. For more Information have a look into the LICENSE file.
|
data/lib/avodeploy/bootstrap.rb
CHANGED
@@ -53,11 +53,6 @@ module AvoDeploy
|
|
53
53
|
# error not neccessary because dependencies are not loaded
|
54
54
|
end
|
55
55
|
|
56
|
-
# requested stage was not found
|
57
|
-
if instance.config.loaded_stage.nil?
|
58
|
-
raise ArgumentError, 'The requested stage does not exist.'
|
59
|
-
end
|
60
|
-
|
61
56
|
if debug
|
62
57
|
instance.log.level = Logger::DEBUG
|
63
58
|
elsif verbose
|
@@ -77,6 +72,11 @@ module AvoDeploy
|
|
77
72
|
|
78
73
|
# override again by user config to allow manipulation of tasks
|
79
74
|
load File.join(Dir.pwd, 'Avofile')
|
75
|
+
|
76
|
+
# requested stage was not found
|
77
|
+
if instance.config.loaded_stage.nil?
|
78
|
+
raise ArgumentError, 'The requested stage does not exist.'
|
79
|
+
end
|
80
80
|
rescue Exception => e
|
81
81
|
if debug
|
82
82
|
raise e
|
data/lib/avodeploy/config.rb
CHANGED
@@ -65,14 +65,16 @@ module AvoDeploy
|
|
65
65
|
# @param options [Hash] stage options
|
66
66
|
# @param block [Block] the stage configuration
|
67
67
|
def setup_stage(name, options = {}, &block)
|
68
|
+
stages[name] = ''
|
69
|
+
|
68
70
|
if options.has_key?(:desc)
|
69
|
-
stages[name] = options[:desc]
|
71
|
+
stages[name] = options[:desc]
|
70
72
|
end
|
71
73
|
|
72
|
-
if name == get(:stage)
|
73
|
-
instance_eval(&block)
|
74
|
-
|
74
|
+
if name.to_s == get(:stage).to_s
|
75
75
|
@loaded_stage = name
|
76
|
+
|
77
|
+
instance_eval(&block)
|
76
78
|
end
|
77
79
|
end
|
78
80
|
|
data/lib/avodeploy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avodeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Prandzioch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -102,6 +102,7 @@ executables:
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
+
- .travis.yml
|
105
106
|
- CHANGELOG
|
106
107
|
- Gemfile
|
107
108
|
- LICENSE
|