cijoe_passenger 0.1.1 → 0.1.2
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/cijoe_passenger.gemspec +2 -2
- data/lib/cijoe_passenger/add.rb +1 -1
- data/spec/cijoe_passenger/add_spec.rb +10 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/cijoe_passenger.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{cijoe_passenger}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.2"
|
|
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", "Tony Pitale"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-12-13}
|
|
13
13
|
s.default_executable = %q{cijoep}
|
|
14
14
|
s.description = %q{Generates a CIJoe passenger instance with projects that automatically build.}
|
|
15
15
|
s.email = %q{gotascii@gmail.com}
|
data/lib/cijoe_passenger/add.rb
CHANGED
|
@@ -7,6 +7,14 @@ describe Add do
|
|
|
7
7
|
@add = Add.new(['name', 'repo'])
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
+
it "extracts the name of the project from the repo URI" do
|
|
11
|
+
Git.should_receive(:new).with(['cijoe_passenger'])
|
|
12
|
+
Add.new(['git@github.com:vigetlabs/cijoe_passenger.git'])
|
|
13
|
+
|
|
14
|
+
Git.should_receive(:new).with(['cijoe_passenger'])
|
|
15
|
+
Add.new(['git://github.com/vigetlabs/cijoe_passenger.git'])
|
|
16
|
+
end
|
|
17
|
+
|
|
10
18
|
it "has a git instance by default" do
|
|
11
19
|
@add.git.should == @git
|
|
12
20
|
end
|
|
@@ -15,13 +23,13 @@ describe Add do
|
|
|
15
23
|
@git.should_receive(:clone).with('repo')
|
|
16
24
|
@add.clone
|
|
17
25
|
end
|
|
18
|
-
|
|
26
|
+
|
|
19
27
|
it "configures cijoe runner in git config" do
|
|
20
28
|
::CIJoePassenger::Config.stub!(:runner).and_return('runner')
|
|
21
29
|
@git.should_receive(:add_config_to_repo).with("cijoe.runner", 'runner')
|
|
22
30
|
@add.configure_cijoe_runner
|
|
23
31
|
end
|
|
24
|
-
|
|
32
|
+
|
|
25
33
|
it "reminds peeps to setup database.yml" do
|
|
26
34
|
@add.should_receive(:puts).with(/forget/)
|
|
27
35
|
@add.remind
|
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
|
+
- 2
|
|
9
|
+
version: 0.1.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Justin Marney
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-
|
|
18
|
+
date: 2010-12-13 00:00:00 -05:00
|
|
19
19
|
default_executable: cijoep
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|