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 +4 -4
- data/bin/zimdel +6 -5
- data/config_sample.yml +4 -3
- data/lib/zimdel/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: 7548f92800180a78386da0be3f3c3f88b989c15c
|
4
|
+
data.tar.gz: 249732fbbf40bb287b0b5607048b5ff70d533979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
22
|
-
|
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
data/lib/zimdel/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2017-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|