codeship 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +3 -4
- data/Rakefile +5 -0
- data/lib/codeship/request.rb +1 -1
- data/lib/codeship/version.rb +1 -1
- data/spec/status_spec.rb +4 -4
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7edadcfe28a78e4904fcf6b6f980236265a1e51
|
4
|
+
data.tar.gz: cd14da796a09de377b39d612ac81256779b1f283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef2ad05c87e0200a4e76358e53cb1e1a92043758ecbec62b3de03645ca869a68e61912d93e3ed0873426b15ef489afe313f327f82395f2415d2bbe05fb904081
|
7
|
+
data.tar.gz: 3d9c1ac8afc85fe4400e008bf0e08a859788f4474c052bfec614fe3743893449b3fa43eef909b6c166d8b745c7e4a2698cb073d762fea2d01b022cf18411614a
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.0
|
data/README.md
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
# Codeship
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
![Build Status](https://www.codeship.io/projects/e8bf3890-ee53-0130-957a-52ea4b2c7608/status)
|
3
|
+
Interact with Codeship.
|
6
4
|
|
5
|
+
![Codeship Status for codeship/codeship-ruby](https://app.codeship.com/projects/e8bf3890-ee53-0130-957a-52ea4b2c7608/status)
|
7
6
|
|
8
7
|
## Contributing
|
9
8
|
|
10
|
-
|
9
|
+
See [CONTRIBUTING.md][contributing]
|
11
10
|
|
12
11
|
[contributing]: https://github.com/codeship/codeship-ruby/blob/master/CONTRIBUTING.md
|
13
12
|
|
data/Rakefile
CHANGED
data/lib/codeship/request.rb
CHANGED
data/lib/codeship/version.rb
CHANGED
data/spec/status_spec.rb
CHANGED
@@ -6,7 +6,7 @@ RSpec.describe Codeship::Status do
|
|
6
6
|
Codeship::Status::STATES.each do |state|
|
7
7
|
it "should parse #{state}" do
|
8
8
|
|
9
|
-
stub_request(:head, "https://codeship.com/projects/#{state}/status").
|
9
|
+
stub_request(:head, "https://app.codeship.com/projects/#{state}/status").
|
10
10
|
with(headers: {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
|
11
11
|
to_return(status: 200, body: "", headers: {'Content-Disposition' => "inline; filename=\"status_#{state}.png\""})
|
12
12
|
|
@@ -20,7 +20,7 @@ RSpec.describe Codeship::Status do
|
|
20
20
|
Codeship::Status::STATES.each do |state|
|
21
21
|
it "should parse #{state}" do
|
22
22
|
|
23
|
-
stub_request(:head, "https://codeship.com/projects/#{state}/status").
|
23
|
+
stub_request(:head, "https://app.codeship.com/projects/#{state}/status").
|
24
24
|
with(headers: {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
|
25
25
|
to_return(status: 200, body: "", headers: {'Content-Disposition' => "inline; filename=\"status_#{state}.gif\""})
|
26
26
|
|
@@ -35,7 +35,7 @@ RSpec.describe Codeship::Status do
|
|
35
35
|
context 'of a project with completed build' do
|
36
36
|
Codeship::Status::STATES.each do |state|
|
37
37
|
it "should parse #{state}" do
|
38
|
-
stub_request(:head, "https://codeship.com/projects/#{state}/status?branch=master").
|
38
|
+
stub_request(:head, "https://app.codeship.com/projects/#{state}/status?branch=master").
|
39
39
|
with(headers: {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
|
40
40
|
to_return(status: 200, body: "", headers: {'Content-Disposition' => "inline; filename=\"status_#{state}.png\""})
|
41
41
|
|
@@ -48,7 +48,7 @@ RSpec.describe Codeship::Status do
|
|
48
48
|
context 'of a project with active build' do
|
49
49
|
Codeship::Status::STATES.each do |state|
|
50
50
|
it "should parse #{state}" do
|
51
|
-
stub_request(:head, "https://codeship.com/projects/#{state}/status?branch=master").
|
51
|
+
stub_request(:head, "https://app.codeship.com/projects/#{state}/status?branch=master").
|
52
52
|
with(headers: {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
|
53
53
|
to_return(status: 200, body: "", headers: {'Content-Disposition' => "inline; filename=\"status_#{state}.gif\""})
|
54
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeship
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- beanieboi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -140,11 +140,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.6.10
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: easily interact with Codeship.io
|
147
147
|
test_files:
|
148
148
|
- spec/spec_helper.rb
|
149
149
|
- spec/status_spec.rb
|
150
|
-
has_rdoc:
|