twitter2vk_reposter 0.3.2 → 0.3.3

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.
Files changed (3) hide show
  1. data/ChangeLog +3 -0
  2. data/bin/twitter2vk_reposter +3 -1
  3. metadata +1 -1
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.3 (Перец)
2
+ * Write last message ID only if it change.
3
+
1
4
  == 0.3.2 (Сосиска)
2
5
  * Fix checking required options.
3
6
 
@@ -123,5 +123,7 @@ unless statuses.empty?
123
123
  break
124
124
  end
125
125
 
126
- File.open(config['last_message'], 'w') { |io| io << last_message_id }
126
+ if last_message_id
127
+ File.open(config['last_message'], 'w') { |io| io << last_message_id }
128
+ end
127
129
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter2vk_reposter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey "A.I." Sitnik