capistrano-github 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-github.gemspec +1 -1
- data/lib/capistrano/github/version.rb +1 -1
- data/lib/capistrano/tasks/github.rake +6 -2
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b17bcf74c1d2510bb792d9b9dadeb5a431fb8c8
|
4
|
+
data.tar.gz: 11ed70bf9be8ebbcd51bd82d2bf4ac54849da9dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d18a2ce7fb96b1f89134f304eb9da6f2ce7faec613d51668af7ac0805b6d1c1858ad4b7e9dcb7d4d284ebb64d1beacc9d53336b0f15c8e855459c16e41ab55
|
7
|
+
data.tar.gz: 744965313aa9ab08aa2a127bf059700aed425dafdfb4e2de35d2913f3a2c4f1808482f0c6281fd279ddd61cd80cdd466d6099b1168d8f6485b84272530e7b7cf
|
data/capistrano-github.gemspec
CHANGED
@@ -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
|
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")
|
@@ -59,8 +59,12 @@ namespace :github do
|
|
59
59
|
deployment = fetch(:current_github_deployment)
|
60
60
|
|
61
61
|
run_locally do
|
62
|
-
|
63
|
-
|
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.
|
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-
|
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
|
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.
|
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:
|