tumblr_draftking 0.7.0.4 → 0.7.0.5

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: 642bb7d8a6c8739a1af84577e5efd774482dc3cb
4
- data.tar.gz: afb26f3ddaec14c04e635588ca8d5d85aa14e940
3
+ metadata.gz: a86ecccf4c665eb7b927203f5ef69ef3dca7465c
4
+ data.tar.gz: c9d62ede06e44012408a372678a405300061555e
5
5
  SHA512:
6
- metadata.gz: 850cf60e8ac139b4af34705224516e7f86b678a288a6acbce768e9a5bd24ac29f171a21c3d65be36d0019f12b3cbfe829d520950ec3541410def820f9386ae21
7
- data.tar.gz: 93fb9c629af2ed65f4020264f3ee22790ec8bd9ca54a5ab2aedc6a78022b77313bd71e2d852aea3def2061a1e52ef42778a0290dde552eec674b29f81d1f45cf
6
+ metadata.gz: 728531ccf76c03c01e8ff2a83589045dfa21c09662600666b501b7c9588913d496623183cc90e2631ee58ad2d2755a3531265961a100fc699ef6af40a820a3b1
7
+ data.tar.gz: 80e693348d67ea627146709b35c3f0008f9c22b119a041da60497fa44934cab94b47d17628cffff57dcffc8ab6e14ec20eac6f01d4a10199648c26028e2afe66
data/CHANGELOG.md CHANGED
@@ -6,7 +6,7 @@
6
6
  + New! (CLI) Updated UI
7
7
  + New! (Config) Restructured .dkconfig file format and DK::Config to accommodate new functionality.
8
8
  + New! (CLI) Use Reporter for all content output
9
- + Bugfix: 'bin/dk' not found error when no default config file is present
9
+ + Bugfix: 'bin/dk' not found error when no default config file is present
10
10
 
11
11
  ## Version 0.6.0.1
12
12
  + Changing text 'tumblr' to 'Tumblr'
data/README.md CHANGED
@@ -19,7 +19,7 @@ Version 0.7.0
19
19
  + New! (CLI) Updated UI
20
20
  + New! (Config) Restructured .dkconfig file format and DK::Config to accommodate new functionality.
21
21
  + New! (CLI) Use Reporter for all content output
22
- + Bugfix: 'bin/dk' not found error when no default config file is present
22
+ + Bugfix: 'bin/dk' not found error when no default config file is present
23
23
 
24
24
  + Please report any [issues] you encounter!
25
25
  + [Change Log](./CHANGELOG.md)
@@ -60,7 +60,6 @@ module DK
60
60
  # @param name [String] Name of blog to target
61
61
  def act_on_blog(name: nil)
62
62
  return unless connected?
63
- return if @client.info['status'] == 401
64
63
  @user = JSON.parse(@client.info['user'].to_json, object_class: OpenStruct)
65
64
  @blog_name = name ? name.gsub('.tumblr.com', '') : @user.blogs.first.name
66
65
  @blog_url = tumblr_url(@blog_name)
@@ -74,7 +73,7 @@ module DK
74
73
  end
75
74
 
76
75
  def connected?
77
- !@client.nil?
76
+ @client && @client.info['status'] != 401
78
77
  end
79
78
  end
80
79
  end
@@ -1,3 +1,3 @@
1
1
  module DK
2
- VERSION = '0.7.0.4'.freeze
2
+ VERSION = '0.7.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumblr_draftking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.4
4
+ version: 0.7.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meissa Dia