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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3068c33bbebd72f7ac80de1689ecc680e7ba7be8
4
- data.tar.gz: 4e34ab0afc353d896d87fff55d28171477ab576f
3
+ metadata.gz: f4006ab505e21f8e9391ecf4857c05f13732aeb8
4
+ data.tar.gz: 2caca33ba16986c1e05616b2be76bf0395e92cce
5
5
  SHA512:
6
- metadata.gz: e7a6d7207b2d74defc1f4e183f961f69e799c147643ce1a08f14d46cb5cd6c5c481e0951f7438779394b799d55c79c06a94e0f1af7d6748262638ffd21900d10
7
- data.tar.gz: e7d7f6110f2b9b783c3a2adaa07dc892f962c2e22ec55c7e76240cb7fe8885f5e6b64a12dc67416c9decd3ec83de9f972cee924ffff24064af77108d2fe03841
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. This means we still have
10
- to provided the cogy endpoint in the Capistrano tasks. ([9f5bfb4](https://github.com/skroutz/cogy/commit/9f5bfb47aa5dc82390472693fab5822e3dbcb7fb))
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
- * [cogy bundle v0.4.0+](https://github.com/skroutz/cogy-bundle)
76
- * Ruby 2.1+
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)["errors"]["error_message"]
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
@@ -1,3 +1,3 @@
1
1
  module Cogy
2
- VERSION = "0.5.1".freeze
2
+ VERSION = "0.5.2".freeze
3
3
  end
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.1
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-25 00:00:00.000000000 Z
11
+ date: 2017-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails