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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -2
- data/lib/draftking/posts/post.rb +1 -1
- data/lib/draftking/posts.rb +2 -0
- data/lib/draftking/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7670b086772d96e7ab34bd0b81c1351dae6c094c
|
|
4
|
+
data.tar.gz: 64079ec1b9516688fe042b76bbf8631f5ebb725b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
+
|
|
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)
|
data/lib/draftking/posts/post.rb
CHANGED
data/lib/draftking/posts.rb
CHANGED
|
@@ -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
|
data/lib/draftking/version.rb
CHANGED
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-
|
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tumblr_client
|