twitter2vk_reposter 0.3.1 → 0.3.2

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 +1 -1
  3. metadata +1 -1
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.2 (Сосиска)
2
+ * Fix checking required options.
3
+
1
4
  == 0.3.1 (Рис)
2
5
  * Installer use log file in cron task.
3
6
  * Check required options in reposter.
@@ -87,7 +87,7 @@ default = {
87
87
  config = default.merge(YAML.load_file(ARGV.first))
88
88
 
89
89
  missed = %w{twitter_token twitter_secret last_message vk_session} - config.keys
90
- if missed
90
+ unless missed.empty?
91
91
  STDERR.puts "Config #{ARGV.first} has't required options: " +
92
92
  "#{missed.join(', ')}."
93
93
  exit 1
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey "A.I." Sitnik