nicoquery 0.1.8.2 → 0.1.8.3

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: 257a555fc2ff54f1a2aac6d77f082bd721673bf2
4
- data.tar.gz: 846851b83bc6d951732b4d4a9a8682e8add0642f
3
+ metadata.gz: 90fb803e7c05c21110aadf3951f26da2d98862e5
4
+ data.tar.gz: a9c824f8c6b8f12aca293fb8ef43349171d35794
5
5
  SHA512:
6
- metadata.gz: d1d6f6a337cf6bb77352c41aeb57629b9b04da68b7c826234709269295b7dc606acdac824e73ca609739e3bfa2e2aaa77e936ac026a69ed0fe843c0e33eaf022
7
- data.tar.gz: 0b035dfa767af9d09b10504f9c70dae4b383ddabebff820e463813ec74e7e93ee4599f583fefc5d1c884fe285f2197ec593d7657a2bdac06cff551875231d150
6
+ metadata.gz: b10f1457da123f2c6d17b15b8eaf806c6f19a76054ff90e10e14e7a97b2de28d59038d2d5df6f386d49fce3e6ff132ce72cee1019354957979e1521965e3f888
7
+ data.tar.gz: 64431d21a64aed3f04e5d9f5b57c1bad1db3b42ac2992b1f662e1124e0ffcfc99202a9a647a053ce6fe43f7f60055b2c099765c5c683285be3ab931d8bf7bee1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nicoquery (0.1.8.2)
4
+ nicoquery (0.1.8.3)
5
5
  activesupport (~> 4.0.0)
6
6
  i18n
7
7
  nicoapi
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (4.0.1)
15
+ activesupport (4.0.2)
16
16
  i18n (~> 0.6, >= 0.6.4)
17
17
  minitest (~> 4.2)
18
18
  multi_json (~> 1.3)
@@ -35,7 +35,7 @@ GEM
35
35
  guard-rspec (3.0.2)
36
36
  guard (>= 1.8)
37
37
  rspec (~> 2.13)
38
- i18n (0.6.5)
38
+ i18n (0.6.9)
39
39
  listen (1.3.0)
40
40
  rb-fsevent (>= 0.9.3)
41
41
  rb-inotify (>= 0.9)
@@ -50,7 +50,7 @@ GEM
50
50
  activesupport (~> 4.0.0)
51
51
  i18n
52
52
  rest-client
53
- nokogiri (1.6.0)
53
+ nokogiri (1.6.1)
54
54
  mini_portile (~> 0.5.0)
55
55
  nori (2.3.0)
56
56
  pry (0.9.12.2)
@@ -50,7 +50,11 @@ module NicoQuery
50
50
  private
51
51
 
52
52
  def source_object
53
- NicoQuery::ObjectMapper::MylistRSS.new @response_xml[:body].presence || null_response_xml
53
+ if available?
54
+ NicoQuery::ObjectMapper::MylistRSS.new @response_xml[:body]
55
+ else
56
+ NicoQuery::ObjectMapper::MylistRSS.new null_response_xml
57
+ end
54
58
  end
55
59
 
56
60
  def set_hash_items
@@ -1,3 +1,3 @@
1
1
  module NicoQuery
2
- VERSION = "0.1.8.2"
2
+ VERSION = "0.1.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nicoquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.2
4
+ version: 0.1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masami Yonehara