tumblr_draftking 0.8.2 → 0.8.2.1

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: 08bda4d170ab1d6664dcfe307719fb93b5333834
4
- data.tar.gz: 9562eab99483a7f2f543467a1a9b74d44aa98c54
3
+ metadata.gz: 7670b086772d96e7ab34bd0b81c1351dae6c094c
4
+ data.tar.gz: 64079ec1b9516688fe042b76bbf8631f5ebb725b
5
5
  SHA512:
6
- metadata.gz: b2df414a2a33075a7583813bbbc555122ab44e62dbd2cecc8384b2d79c23f5f4ea5f5317fee0ea3b07d130c21b6a1a8ebd8d2b30caa0cc3551696c527c28719e
7
- data.tar.gz: 3a278c7e01457b72067627a95aa1e299ecaac5b09c74fec151b08ff3de66c3f60cbd4817b1f7726ab5cca54b8f66a8d3e8d58acb0af236d2bbe9f984b05bb113
6
+ metadata.gz: 6d179d5939fb7d21858a96b8b6f511c739f309c889a6a5023770bd70c55c8d49a9c0a3fb3557c22df205676f09c16dceef0d8d07827b65495956a46b2204b2e8
7
+ data.tar.gz: 086a08b4a4b019efa1e11e722a296deded84c8235d30bbb94ca3b3606a4afe43feab593561e8fa80da9971d57c4867a494544f4f2233a804f2e832f318a3d3c3
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Changelog :: tumblr_draftking
2
+ ## Version 0.8.2.1
3
+ + Expanded progress messages
4
+ + Bugfix: corrected source of Post.comment (data.reblog.comment instead of data.caption)
5
+
2
6
  ## Version 0.8.2
3
7
  + get_posts now returns FIFO order unless the shuffle option is enabled
4
8
 
data/README.md CHANGED
@@ -12,8 +12,9 @@ DraftKing for Tumblr takes the hassle out of managing your draft queue!
12
12
  + **Randomize post order to add variety.**
13
13
  + **Manage multiple accounts.**
14
14
 
15
- Version 0.8.2
16
- + get_posts now returns FIFO order unless the shuffle option is enabled
15
+ Version 0.8.2.1
16
+ + Expanded progress messages
17
+ + Bugfix: corrected source of Post.comment (data.reblog.comment instead of data.caption)
17
18
 
18
19
  + Please report any [issues] you encounter!
19
20
  + [Change Log](./CHANGELOG.md)
@@ -18,7 +18,7 @@ module DK
18
18
  @keep_tree = keep_tree.nil? ? false : keep_tree
19
19
  @changed = false
20
20
  @saved = 0
21
- @comment = @data.caption
21
+ @comment = @data.reblog.comment
22
22
 
23
23
  # Direct map
24
24
  @id = @data.id
@@ -42,6 +42,7 @@ module DK
42
42
 
43
43
  # Common initialization for post operations
44
44
  def setup_operation(options)
45
+ print "Setup\r" unless @mute
45
46
  process_options(options)
46
47
  act_on_blog(name: @blog_name)
47
48
  posts = @shuffle ? get_posts.reverse.shuffle : get_posts.reverse
@@ -120,6 +121,7 @@ module DK
120
121
  # @param options[:offset] [Int] [:queue] Post index to start reading from
121
122
  # @return [[Post]] Array of Post Hash data
122
123
  def get_posts
124
+ print "Getting posts...\r" unless @mute
123
125
  return some_test_data if @test_data
124
126
  return some_posts(offset: @offset) if dashboard?
125
127
  return all_posts.uniq unless @limit
@@ -1,3 +1,3 @@
1
1
  module DK
2
- VERSION = '0.8.2'.freeze
2
+ VERSION = '0.8.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumblr_draftking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meissa Dia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-18 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tumblr_client