capistrano-github 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bb311c329dab6f2fd19814a5a1279c37bf8f498
4
- data.tar.gz: 3ed9de0588362840fa0ef2a971da170e79420441
3
+ metadata.gz: 2b17bcf74c1d2510bb792d9b9dadeb5a431fb8c8
4
+ data.tar.gz: 11ed70bf9be8ebbcd51bd82d2bf4ac54849da9dd
5
5
  SHA512:
6
- metadata.gz: 72d86d54e1f12b539ed07711a23846cd34980750d247522f2847053d47cb106cd352fe59a7ea3b225b3653ca49b05f6670bf051a88db0ed9077f161ad5992e67
7
- data.tar.gz: 17d0fff867af5801704e67a1bebc41e74fb0848166e02a3d5a3144ec462ced1fb0892a6eb5cfc8b9d323a6ac723b9c56c9bc71a026f6cc8bc45c6069d586d23e
6
+ metadata.gz: 91d18a2ce7fb96b1f89134f304eb9da6f2ce7faec613d51668af7ac0805b6d1c1858ad4b7e9dcb7d4d284ebb64d1beacc9d53336b0f15c8e855459c16e41ab55
7
+ data.tar.gz: 744965313aa9ab08aa2a127bf059700aed425dafdfb4e2de35d2913f3a2c4f1808482f0c6281fd279ddd61cd80cdd466d6099b1168d8f6485b84272530e7b7cf
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Kir Shatrov", 'Michal Cichra']
10
10
  spec.email = ["shatrov@me.com", 'michal@3scale.net']
11
11
  spec.summary = %q{Integrates Capistrano with Github Deployments API}
12
- spec.homepage = "http://github.com/capistrano/github"
12
+ spec.homepage = "http://github.com/3scale/capistrano-github"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Github
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -59,8 +59,12 @@ namespace :github do
59
59
  deployment = fetch(:current_github_deployment)
60
60
 
61
61
  run_locally do
62
- gh.create_deployment_status(deployment, status)
63
- info("Marked GitHub Deployment #{deployment} as #{status}")
62
+ if deployment
63
+ gh.create_deployment_status(deployment, status)
64
+ info("Marked GitHub Deployment #{deployment} as #{status}")
65
+ else
66
+ info("No GitHub Deployment found, could not mark as #{status}")
67
+ end
64
68
  end
65
69
  end
66
70
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kir Shatrov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-20 00:00:00.000000000 Z
12
+ date: 2015-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -111,7 +111,7 @@ files:
111
111
  - spec/support/shared_contexts/capistrano.rb
112
112
  - spec/support/shared_contexts/rake.rb
113
113
  - spec/tasks/github_spec.rb
114
- homepage: http://github.com/capistrano/github
114
+ homepage: http://github.com/3scale/capistrano-github
115
115
  licenses:
116
116
  - MIT
117
117
  metadata: {}
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.4.3
134
+ rubygems_version: 2.4.5
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Integrates Capistrano with Github Deployments API
@@ -141,4 +141,3 @@ test_files:
141
141
  - spec/support/shared_contexts/capistrano.rb
142
142
  - spec/support/shared_contexts/rake.rb
143
143
  - spec/tasks/github_spec.rb
144
- has_rdoc: