hercules 0.2.5 → 0.2.6
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/VERSION +1 -1
- data/hercules.gemspec +2 -2
- data/lib/hercules.rb +0 -13
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.6
|
data/hercules.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{hercules}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Diogo Biazus"]
|
|
12
|
-
s.date = %q{2011-01-
|
|
12
|
+
s.date = %q{2011-01-27}
|
|
13
13
|
s.default_executable = %q{hercules}
|
|
14
14
|
s.description = %q{Very simple deployment tool. It was made to deploy rails applications using github, bundler.}
|
|
15
15
|
s.email = %q{diogob@gmail.com}
|
data/lib/hercules.rb
CHANGED
|
@@ -102,19 +102,6 @@ module Hercules
|
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
def parse_options
|
|
106
|
-
opts = OptionParser.new
|
|
107
|
-
opts.on('-v', '--version') { puts "hercules version #{VERSION}" ; exit 0 }
|
|
108
|
-
opts.on('-h', '--help') { puts opts; exit 0 }
|
|
109
|
-
opts.on('-V', '--verbose') { @options.verbose = true }
|
|
110
|
-
opts.on('-f', '--foreground') { @options.foreground = true }
|
|
111
|
-
opts.on('-l', '--log log_file') { |log_file| @options.log_file = log_file }
|
|
112
|
-
opts.on('-p', '--pid pid_file') { |pid_file| @options.pid_file = pid_file }
|
|
113
|
-
opts.on('-c', '--conf config_file') { |conf| @options.config_file = conf }
|
|
114
|
-
|
|
115
|
-
opts.parse!(@arguments)
|
|
116
|
-
end
|
|
117
|
-
|
|
118
105
|
def startup_checkouts
|
|
119
106
|
@config.branches.each do |project,branches|
|
|
120
107
|
branches.each do |branch|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hercules
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.2.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Diogo Biazus
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-01-
|
|
18
|
+
date: 2011-01-27 00:00:00 -02:00
|
|
19
19
|
default_executable: hercules
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|