zimdel 0.1.2 → 0.2.0

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: e65ce6486c4621af3b9328c257ae049a3c6817db
4
- data.tar.gz: 798d6049147f2e59977525b7cccf6f8d0c797a6c
3
+ metadata.gz: 7548f92800180a78386da0be3f3c3f88b989c15c
4
+ data.tar.gz: 249732fbbf40bb287b0b5607048b5ff70d533979
5
5
  SHA512:
6
- metadata.gz: 859f6abeac0c06c93347359dc8214c3d7f84a0996a846bf564a2a95dc1b4d8951b51d68bd67d9b6a9d247d080a691ec99da624afde986c9ff4a6341dffe51e30
7
- data.tar.gz: '08b4e23adbac84d97f744e1a51d1810da21d3d3e7d7cf450ddac6fd1f422f09919590974110b85ed4995412f06d4b5c739ca609a22542255786173603261ae2c'
6
+ metadata.gz: a80328442554c391bc92a067287a70fba0fc65bc3c0dc56465eabbee250e1825e1f46b0fdea138e88b4f591b3f6556e7867f56b07ee36b5d047fb21d800addc6
7
+ data.tar.gz: 8e0db2b6a7de406924530aa3739a842d7e0b882832e5938f51014511ef448983c8265c452fd18a7450f0423a590481a7966216c08d7570a0e29a851155caf0c6
data/bin/zimdel CHANGED
@@ -14,10 +14,11 @@ OptionParser.new do |opts|
14
14
  end
15
15
  end.parse!
16
16
 
17
- file = options.fetch(:config, 'config.yml')
18
- config = YAML.load_file(file)
19
-
20
17
  loop do
21
- Zimdel.new(config['username'], config['password'], config['message'])
22
- sleep config['sleep']
18
+ file = options.fetch(:config, 'config.yml')
19
+ config = YAML.load_file(file)
20
+ config['github'].each do |line|
21
+ Zimdel.new(line['username'], line['password'], line['message'])
22
+ end
23
+ sleep config.fetch('sleep', 30)
23
24
  end
data/config_sample.yml CHANGED
@@ -1,4 +1,5 @@
1
- username: foo
2
- password: bar
3
- message: I was summoned!
1
+ github:
2
+ - username: foo
3
+ password: bar
4
+ message: I was summoned!
4
5
  sleep: 30
@@ -1,3 +1,3 @@
1
1
  module Zimdel
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zimdel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dávid Halász
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit