tumblr_draftking 0.8.1.1 → 0.8.2

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: 23b00b8c66754962b7fd31e9e50821e1fe4a970b
4
- data.tar.gz: c723f33a3dc80dad30429d316e13afd9326242a2
3
+ metadata.gz: 08bda4d170ab1d6664dcfe307719fb93b5333834
4
+ data.tar.gz: 9562eab99483a7f2f543467a1a9b74d44aa98c54
5
5
  SHA512:
6
- metadata.gz: 873192e9c020987fb22d61d00bba9cfc813054563a000671a2aba113a168671c649e7cc5f04317646ce2e7bad22aedfc4e3011deb23f7b98219630c1d55c9203
7
- data.tar.gz: b5559736d335c00f7a363afa7c9f28cc0fb788464382e8260d1dd1b259503d4441907579e707d0525865af7e0f9a7be5c5e0a0d773b0608f1e47dd2e98344bfa
6
+ metadata.gz: b2df414a2a33075a7583813bbbc555122ab44e62dbd2cecc8384b2d79c23f5f4ea5f5317fee0ea3b07d130c21b6a1a8ebd8d2b30caa0cc3551696c527c28719e
7
+ data.tar.gz: 3a278c7e01457b72067627a95aa1e299ecaac5b09c74fec151b08ff3de66c3f60cbd4817b1f7726ab5cca54b8f66a8d3e8d58acb0af236d2bbe9f984b05bb113
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Changelog :: tumblr_draftking
2
+ ## Version 0.8.2
3
+ + get_posts now returns FIFO order unless the shuffle option is enabled
4
+
2
5
  ## Version 0.8.1.1
3
6
  + Bugfix: move_to_drafts was not updating Post.state correctly.
4
7
 
data/README.md CHANGED
@@ -12,8 +12,8 @@ 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.1.1
16
- + Bugfix: move_to_drafts was not updating Post.state correctly.
15
+ Version 0.8.2
16
+ + get_posts now returns FIFO order unless the shuffle option is enabled
17
17
 
18
18
  + Please report any [issues] you encounter!
19
19
  + [Change Log](./CHANGELOG.md)
@@ -44,7 +44,7 @@ module DK
44
44
  def setup_operation(options)
45
45
  process_options(options)
46
46
  act_on_blog(name: @blog_name)
47
- posts = @shuffle ? get_posts.shuffle : get_posts
47
+ posts = @shuffle ? get_posts.reverse.shuffle : get_posts.reverse
48
48
  work = posts_to_queue(posts)
49
49
  reporter = options[:reporter] || DK::Reporter
50
50
  [work, work.size, Queue.new, reporter]
@@ -1,3 +1,3 @@
1
1
  module DK
2
- VERSION = '0.8.1.1'.freeze
2
+ VERSION = '0.8.2'.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.1.1
4
+ version: 0.8.2
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-15 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tumblr_client