tumblr_draftking 0.8.3.1 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +2 -2
- data/lib/draftking/cli/cli_options.rb +1 -0
- data/lib/draftking/cli/commands/movedrafts.rb +1 -0
- data/lib/draftking/drafts.rb +1 -1
- 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: 5342bd98ea909db6e98c94d631ca8e3a37d95e86
|
4
|
+
data.tar.gz: 19b5f32880a4f6a1f2aa4949e3b5b77723081d11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2719dbc3d7d3e5e4ee043bc5d38808cc2ba7c59219fe7624a5e5aac7035f33061ec93da3c1bca98622479a0d1fa5c9812b61eb25f883ba3ccf9221048391d4b
|
7
|
+
data.tar.gz: d2d6ccb11cc72c68453fa881ca0fcbfeeb6679cd0f15a255b003b4b25a357cebc6a6c9611c68b9cb91b0b5d31b7cb9f5c7d77f7ec33be7f9a5b9805ffbeb2b7c
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
# Changelog :: tumblr_draftking
|
2
|
+
## Version 0.8.4
|
3
|
+
+ New: CLI now has (-greedy, -g) flags to select on all items in queue before performing action.
|
4
|
+
|
2
5
|
## Version 0.8.3.1
|
3
6
|
+ Fix: Update @blog_url in DK::Client#process_options to target posts for a blog_name modified after DK::Client creation.
|
4
7
|
|
data/README.md
CHANGED
@@ -14,8 +14,8 @@ DraftKing for Tumblr takes the hassle out of managing your draft queue!
|
|
14
14
|
+ **Randomize post order to add variety.**
|
15
15
|
+ **Manage multiple accounts.**
|
16
16
|
|
17
|
-
Version 0.8.
|
18
|
-
+
|
17
|
+
Version 0.8.4
|
18
|
+
+ New: CLI now has (-greedy, -g) flags to select on all items in queue before performing action.
|
19
19
|
|
20
20
|
+ Please report any [issues] you encounter!
|
21
21
|
+ [Change Log](./CHANGELOG.md)
|
@@ -19,6 +19,7 @@ module DK
|
|
19
19
|
d[:source] = 'Modify posts from your : d-drafts, q-queue'
|
20
20
|
d[:state] = 'Set post state: d-draft, q-queued'
|
21
21
|
d[:tags] = 'Auto-Generate tags based on user comment.'
|
22
|
+
d[:greedy] = 'Select entire queue before processing the action.'
|
22
23
|
d
|
23
24
|
end
|
24
25
|
|
@@ -19,6 +19,7 @@ module DK
|
|
19
19
|
option :mute, type: :boolean, aliases: :m, desc: Options.op_strings[:mute]
|
20
20
|
option :keep_tags, type: :boolean, aliases: :k, desc: Options.op_strings[:keep_tags]
|
21
21
|
option :keep_comments, type: :boolean, aliases: :K, desc: Options.op_strings[:keep_comments]
|
22
|
+
option :greedy, type: :boolean, aliases: :g, desc: Options.op_strings[:greedy]
|
22
23
|
option :credit, type: :boolean, desc: Options.op_strings[:credit], default: true
|
23
24
|
option :tags, type: :boolean, desc: Options.op_strings[:tags], default: true
|
24
25
|
option :config, type: :string, desc: Options.op_strings[:config]
|
data/lib/draftking/drafts.rb
CHANGED
@@ -34,7 +34,7 @@ module DK
|
|
34
34
|
options[:message] = 'Moving Drafts -> Queue: '
|
35
35
|
options[:shuffle] = true
|
36
36
|
options[:state] = DK::QUEUE
|
37
|
-
options[:limit] ||= @q_space
|
37
|
+
options[:limit] ||= options[:greedy] ? nil : @q_space
|
38
38
|
post_operation(options) do |post, index|
|
39
39
|
next false unless index_within_limit?(index, @q_space)
|
40
40
|
next false unless post.has_key_text?(@key_text)
|
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.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meissa Dia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tumblr_client
|