fezzik 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +21 -0
- data/README.md +5 -5
- data/bin/fez +3 -2
- data/fezzik.gemspec +1 -0
- data/lib/fezzik/version.rb +1 -1
- metadata +5 -3
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2011 Daniel MacDougall
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -54,11 +54,11 @@ $ fez prod echo
|
|
54
54
|
### host_task
|
55
55
|
|
56
56
|
The `host_task` method is similar to Rake's `task` in functionality, but has a slightly different API due to
|
57
|
-
its additional options. A host task is defined with a name some (optional) options. The three primary ones
|
58
|
-
`:args`, `:deps`, and `:roles`. `:args` and `:deps` correspond to Rake's task arguments and task
|
59
|
-
and `:roles` is a Fezzik-specific option explained later. There are also three additional
|
60
|
-
passed to [Weave](https://github.com/cespare/weave), Fezzik's underlying ssh library, by
|
61
|
-
`:weave_options` hash. They control how host tasks run concurrently:
|
57
|
+
its additional options. A host task is defined with a name and some (optional) options. The three primary ones
|
58
|
+
are `:args`, `:deps`, and `:roles`. `:args` and `:deps` correspond to Rake's task arguments and task
|
59
|
+
dependencies, and `:roles` is a Fezzik-specific option explained later. There are also three additional
|
60
|
+
options which can be passed to [Weave](https://github.com/cespare/weave), Fezzik's underlying ssh library, by
|
61
|
+
specifying them in a `:weave_options` hash. They control how host tasks run concurrently:
|
62
62
|
|
63
63
|
- `:num_threads`: The number of threads used to run this task in parallel, or `:unlimited` to use a thread for
|
64
64
|
every host. Defaults to 10.
|
data/bin/fez
CHANGED
@@ -78,11 +78,12 @@ EOF
|
|
78
78
|
end
|
79
79
|
private_class_method :display_tasks_and_exit
|
80
80
|
|
81
|
-
|
81
|
+
|
82
|
+
TASKS_URL = "https://raw.githubusercontent.com/dmac/fezzik/master/tasks"
|
82
83
|
def self.download_tasks_and_exit
|
83
84
|
OPTIONS[1..-1].each do |task|
|
84
85
|
task += ".rake" unless task =~ /\.rake$/
|
85
|
-
system("curl -
|
86
|
+
system("curl -L #{TASKS_URL}/#{task} -o #{task} > /dev/null 2>&1")
|
86
87
|
if $? == 0
|
87
88
|
puts color_string(" [new]", :green) + " #{task}"
|
88
89
|
else
|
data/fezzik.gemspec
CHANGED
@@ -5,6 +5,7 @@ require "fezzik/version"
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "fezzik"
|
7
7
|
s.version = Fezzik::VERSION
|
8
|
+
s.license = "MIT"
|
8
9
|
|
9
10
|
s.required_rubygems_version = Gem::Requirement.new(">=0") if s.respond_to? :required_rubygems_version=
|
10
11
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
data/lib/fezzik/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fezzik
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-08-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -69,6 +69,7 @@ extra_rdoc_files: []
|
|
69
69
|
files:
|
70
70
|
- .gitignore
|
71
71
|
- Gemfile
|
72
|
+
- LICENSE
|
72
73
|
- README.md
|
73
74
|
- Rakefile
|
74
75
|
- Vagrantfile
|
@@ -94,7 +95,8 @@ files:
|
|
94
95
|
- test/integration/environment_test.rb
|
95
96
|
- test/integration_test_helper.rb
|
96
97
|
homepage: http://github.com/dmacdougall/fezzik
|
97
|
-
licenses:
|
98
|
+
licenses:
|
99
|
+
- MIT
|
98
100
|
post_install_message:
|
99
101
|
rdoc_options: []
|
100
102
|
require_paths:
|