ayadn 1.3.1 → 1.3.2

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: d736e86cdb69874e27906957e9ad71185ae53521
4
- data.tar.gz: 09dc0ace08944ac1695e27b24dc4ac291b10a24c
3
+ metadata.gz: 02ca97ccdd5de6aeed988a3553764dfaeffd2cb6
4
+ data.tar.gz: d1cfff95ffc3d561bb66d19198530efcbdf945f5
5
5
  SHA512:
6
- metadata.gz: a5c4cc013686503eaf64804723a1f2b0c16ade27f5dbcaeeed44cf5d8d3f5eb2d38ea01d4058eaef3d4cbcd89fbf5e5f9b398388f2ed46f25567f7d826300a00
7
- data.tar.gz: ba846c19082b1380a21bcddf8ffd8153ea2e09bbc67aa8e48e3478f8305f435bb8d287b716bbb5ee384892fd4730caf1e9847d8f0c730688de44ec0cf6c1a2db
6
+ metadata.gz: 08706585750bc87fe826d5dff980c8736c67263051404cf8079f58240205be753aea42d7ab24e7308c13b1ef129914cdeeadf4c5b1e7bd33a1dac90bf2a9fa65
7
+ data.tar.gz: d39427719037015468568672dec0950fe2e231accaf9e0db8821c72e014743c774352bf1cb0af38ac5117d72b1041ab4c8810bb0062d12b661329a598ec01072
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.3.2 - 'Max'
2
+
3
+ - Fixed: Global stream crashed if NiceRank was enabled but unreachable
4
+
1
5
  # 1.3.1 - 'Nico'
2
6
 
3
7
  - NiceRank threshold is a float again. Default value is 2.1
@@ -44,7 +44,12 @@ module Ayadn
44
44
  Debug.how_many_ranks niceranks, get_these
45
45
 
46
46
  unless get_these.empty?
47
- resp = JSON.parse(CNX.get "#{@url}#{get_these.join(',')}&show_details=Y")
47
+ got = CNX.get "#{@url}#{get_these.join(',')}&show_details=Y"
48
+ unless got.code != 200
49
+ resp = JSON.parse(got)
50
+ else
51
+ resp = JSON.parse({'meta' => {'code' => got.code}}.to_json)
52
+ end
48
53
 
49
54
  if resp['meta']['code'] != 200
50
55
  Debug.niceranks_error resp
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "1.3.1"
3
+ VERSION = "1.3.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ayadn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-16 00:00:00.000000000 Z
11
+ date: 2014-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  version: '0'
291
291
  requirements: []
292
292
  rubyforge_project:
293
- rubygems_version: 2.2.2
293
+ rubygems_version: 2.3.0
294
294
  signing_key:
295
295
  specification_version: 4
296
296
  summary: App.net command-line client.