duke 0.1.2 → 0.1.3
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/README.rdoc +19 -7
- data/VERSION +1 -1
- data/duke.gemspec +3 -2
- data/templates/config/setup_load_paths.rb +11 -0
- metadata +4 -3
data/README.rdoc
CHANGED
@@ -2,25 +2,37 @@
|
|
2
2
|
|
3
3
|
Duke helps you manage multiple CIJoe instances. It comes with a command-line interface and a web interface.
|
4
4
|
|
5
|
-
==
|
5
|
+
== Installation & Setup using RVM
|
6
6
|
|
7
|
-
|
7
|
+
Here is a way you could setup duke on your CI server using RVM.
|
8
|
+
|
9
|
+
Use my version of cijoe because it works in 1.9 and works with duke.
|
10
|
+
git clone git@github.com:gotascii/cijoe.git
|
11
|
+
gem build cijoe.gemspec
|
12
|
+
|
13
|
+
Install cijoe into the global gemset so it is available in all project gemsets.
|
14
|
+
rvm gemset use global
|
15
|
+
gem install cijoe-0.5.0.gem
|
16
|
+
|
17
|
+
Create a duke gemset and install duke.
|
18
|
+
rvm gemset create duke
|
19
|
+
rvm gemset use duke
|
8
20
|
gem install duke
|
9
21
|
|
10
|
-
Create a new duke installation
|
11
|
-
duke new
|
22
|
+
Create a new duke installation.
|
23
|
+
duke new .
|
12
24
|
|
13
|
-
Inside the duke directory use the command-line interface to add a new repository
|
25
|
+
Inside the duke directory use the command-line interface to add a new repository.
|
14
26
|
duke add git@github.com:gotascii/duke.git
|
15
27
|
|
16
|
-
Duke will clone the repo and configure it with some defaults
|
28
|
+
Duke will clone the repo and configure it with some defaults.
|
17
29
|
|
18
30
|
== Configuration
|
19
31
|
|
20
32
|
=== Default Configuration
|
21
33
|
|
22
34
|
host: localhost
|
23
|
-
|
35
|
+
Used to generate links to cijoes in the web interface.
|
24
36
|
runner: rake
|
25
37
|
When duke checks out a new repo it will configure it to build using this command.
|
26
38
|
pid_dir: tmp/pids
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/duke.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{duke}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Marney"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-16}
|
13
13
|
s.default_executable = %q{duke}
|
14
14
|
s.description = %q{Allows you to easily manage multiple CIJoes.}
|
15
15
|
s.email = %q{gotascii@gmail.com}
|
@@ -39,6 +39,7 @@ Gem::Specification.new do |s|
|
|
39
39
|
"spec/duke/project_spec.rb",
|
40
40
|
"spec/spec_helper.rb",
|
41
41
|
"templates/config.ru",
|
42
|
+
"templates/config/setup_load_paths.rb",
|
42
43
|
"templates/public/help.html",
|
43
44
|
"templates/public/stylesheets/base.css",
|
44
45
|
"templates/public/stylesheets/button.css",
|
@@ -0,0 +1,11 @@
|
|
1
|
+
if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm')
|
2
|
+
begin
|
3
|
+
rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME']))
|
4
|
+
rvm_lib_path = File.join(rvm_path, 'lib')
|
5
|
+
$LOAD_PATH.unshift rvm_lib_path
|
6
|
+
require 'rvm'
|
7
|
+
RVM.use_from_path! File.dirname(File.dirname(__FILE__))
|
8
|
+
rescue LoadError
|
9
|
+
raise "RVM ruby lib is currently unavailable."
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Justin Marney
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-16 00:00:00 -05:00
|
18
18
|
default_executable: duke
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- spec/duke/project_spec.rb
|
115
115
|
- spec/spec_helper.rb
|
116
116
|
- templates/config.ru
|
117
|
+
- templates/config/setup_load_paths.rb
|
117
118
|
- templates/public/help.html
|
118
119
|
- templates/public/stylesheets/base.css
|
119
120
|
- templates/public/stylesheets/button.css
|