buildbox 0.4.2 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -8
- data/lib/buildbox.rb +8 -2
- data/lib/buildbox/agent.rb +1 -1
- data/lib/buildbox/api.rb +2 -1
- data/lib/buildbox/build.rb +0 -4
- data/lib/buildbox/canceler.rb +9 -9
- data/lib/buildbox/command.rb +6 -2
- data/lib/buildbox/configuration.rb +1 -1
- data/lib/buildbox/runner.rb +9 -2
- data/lib/buildbox/version.rb +1 -1
- data/lib/certs/cacert.pem +3554 -0
- data/spec/integration/running_a_build_spec.rb +2 -2
- metadata +3 -2
@@ -6,7 +6,7 @@ describe 'running a build' do
|
|
6
6
|
let(:commit) { "3e0c65433b241ff2c59220f80bcdcd2ebb7e4b96" }
|
7
7
|
let(:command) { "rspec test_spec.rb" }
|
8
8
|
let(:env) { { } }
|
9
|
-
let(:build) { Buildbox::Build.new(:project => { :id => "test", :
|
9
|
+
let(:build) { Buildbox::Build.new(:project => { :id => "test" }, :namespace => "test/test", :id => 1, :script => script, :env => env) }
|
10
10
|
let(:runner) { Buildbox::Runner.new(build) }
|
11
11
|
let(:script) do
|
12
12
|
<<-SCRIPT
|
@@ -25,7 +25,7 @@ SCRIPT
|
|
25
25
|
end
|
26
26
|
|
27
27
|
before do
|
28
|
-
Buildbox.stub(:
|
28
|
+
Buildbox.stub(:home_path).and_return(TEMP_PATH)
|
29
29
|
end
|
30
30
|
|
31
31
|
after do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Pitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- lib/buildbox/server.rb
|
168
168
|
- lib/buildbox/utf8.rb
|
169
169
|
- lib/buildbox/version.rb
|
170
|
+
- lib/certs/cacert.pem
|
170
171
|
- spec/buildbox/buildbox/agent_spec.rb
|
171
172
|
- spec/buildbox/buildbox/api_spec.rb
|
172
173
|
- spec/buildbox/buildbox/build_spec.rb
|