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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c3ab812b94166e3e9c5bde6e4e6ce6ead54e88a
4
- data.tar.gz: 8ff20174ebfd925e966b2f2fa8864cd2de8fa95b
3
+ metadata.gz: e7edadcfe28a78e4904fcf6b6f980236265a1e51
4
+ data.tar.gz: cd14da796a09de377b39d612ac81256779b1f283
5
5
  SHA512:
6
- metadata.gz: 78cef4560f1cd5452e4e0d6bcdf691a5a1d8786d3eeaf6f1fe915f62a51e953ff5fdf088d6975c3987f8f84766de35b6a3adaa6fe8e3e5870cc9e84fbb58dbfc
7
- data.tar.gz: 905b0f2e49b15b10cebf6e5ce20c80fb643947a901210e358ef9a4ce61593c3328be2e52dfc3063113803f44363bab92a0704976f0a7d101ce6f8ebafffc2877
6
+ metadata.gz: ef2ad05c87e0200a4e76358e53cb1e1a92043758ecbec62b3de03645ca869a68e61912d93e3ed0873426b15ef489afe313f327f82395f2415d2bbe05fb904081
7
+ data.tar.gz: 3d9c1ac8afc85fe4400e008bf0e08a859788f4474c052bfec614fe3743893449b3fa43eef909b6c166d8b745c7e4a2698cb073d762fea2d01b022cf18411614a
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.4.0
data/README.md CHANGED
@@ -1,13 +1,12 @@
1
1
  # Codeship
2
2
 
3
- interact with Codeship.
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
- see [CONTRIBUTING.md][contributing]
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
@@ -1,6 +1,11 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
2
3
 
3
4
  desc "Open an irb session preloaded with this library"
4
5
  task :console do
5
6
  sh "irb -rubygems -I lib -r codeship.rb"
6
7
  end
8
+
9
+ RSpec::Core::RakeTask.new(:spec)
10
+
11
+ task default: :spec
@@ -4,7 +4,7 @@ module Codeship
4
4
  module Request
5
5
 
6
6
  def http_request
7
- http = Net::HTTP.new "codeship.com", 443
7
+ http = Net::HTTP.new "app.codeship.com", 443
8
8
  http.use_ssl = true
9
9
  http
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Codeship
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -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.3
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: 2015-11-09 00:00:00.000000000 Z
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.4.5
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: