cogy 0.5.1 → 0.5.2
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 +4 -4
- data/CHANGELOG.md +14 -2
- data/README.md +3 -2
- data/lib/cogy/capistrano/cogy.rake +1 -1
- data/lib/cogy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4006ab505e21f8e9391ecf4857c05f13732aeb8
|
|
4
|
+
data.tar.gz: 2caca33ba16986c1e05616b2be76bf0395e92cce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eb1b1e6dcbbe37e36276ee91e6dadc70ea48c2e0ef2f9bed793e25a12c3cf4a1949c3f3f1865077efa9eed7d5796dc4b1f1aeece805df8b2976de6124e0c207
|
|
7
|
+
data.tar.gz: ee94f4cf397f3171ee676924bdbe2af41d0eaa382e1c5b5c741ea983d05e32fb2ded571cfa97a78d0e7117acca186ddc5ef87b86839a38836227608dee9daf81
|
data/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## master (unreleased)
|
|
4
4
|
|
|
5
|
+
## 0.5.2 (2017-01-25)
|
|
6
|
+
|
|
7
|
+
This is a bug fix release due to Cog 1.0.0.beta2. It is backwards-compatible
|
|
8
|
+
with previous Cog versions, but you'll get proper error reporting in Capistrano
|
|
9
|
+
if you upgrade to Cog 1.0.0.beta2.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- capistrano: Fix error handling with Cog 1.0.0.beta2 ([98bc5a5](https://github.com/skroutz/cogy/commit/98bc5a5))
|
|
14
|
+
|
|
5
15
|
## 0.5.1 (2017-01-25)
|
|
6
16
|
|
|
17
|
+
This release fixes a regression introduced in 0.5.0
|
|
18
|
+
|
|
7
19
|
### Fixed
|
|
8
20
|
|
|
9
|
-
- Revert back to the old behavior in Capistrano tasks
|
|
10
|
-
to
|
|
21
|
+
- Revert back to the old behavior in Capistrano tasks: we still have
|
|
22
|
+
to provide `:cogy_endpoint` in them. ([9f5bfb4](https://github.com/skroutz/cogy/commit/9f5bfb47aa5dc82390472693fab5822e3dbcb7fb))
|
|
11
23
|
|
|
12
24
|
## 0.5.0 (2017-01-25)
|
|
13
25
|
|
data/README.md
CHANGED
|
@@ -72,8 +72,9 @@ Take a look at the relevant [diagrams](diagrams/) for a detailed illustration.
|
|
|
72
72
|
|
|
73
73
|
## Requirements
|
|
74
74
|
|
|
75
|
-
*
|
|
76
|
-
*
|
|
75
|
+
* Cog 1.0.0.beta2 or later
|
|
76
|
+
* [cogy bundle](https://github.com/skroutz/cogy-bundle) 0.4.0 or later
|
|
77
|
+
* Ruby 2.1 or later
|
|
77
78
|
* Rails 4.2 (support for Rails 5 is on the way)
|
|
78
79
|
|
|
79
80
|
## Status
|
|
@@ -17,7 +17,7 @@ namespace :cogy do
|
|
|
17
17
|
res = Net::HTTP.post_form(url, url: cogy_endpoint)
|
|
18
18
|
|
|
19
19
|
if !res.is_a?(Net::HTTPSuccess)
|
|
20
|
-
error = JSON.parse(res.body)["
|
|
20
|
+
error = JSON.parse(res.body)["pipeline_output"]["error_message"]
|
|
21
21
|
if error !~ /version has already been taken/
|
|
22
22
|
puts "Error response (#{res.code}) from Cog trigger: #{error}"
|
|
23
23
|
end
|
data/lib/cogy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cogy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Agis Anastasopoulos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|