irosi 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/._irosi +0 -0
- data/bin/irosi +3 -5
- data/lib/._irosi.rb +0 -0
- data/lib/irosi/._download.rb +0 -0
- data/lib/irosi/download.rb +0 -8
- data/lib/irosi/version.rb +1 -1
- data/lib/irosi.rb +0 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 953cca899cc4a2795b5ad25628ff505875e90920
|
4
|
+
data.tar.gz: 9efe6aaba4c9680af5b71ee6041ff7b7f7b293de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0be995b7e8a756bc8b829b4a293a363f9d1f8b3ecc0e8f58a6b5a24f2e6e7b4214e546df36f5a30ec1540d970198bff3c384e7ee8c23245f762c11db17880071
|
7
|
+
data.tar.gz: b30f5e15110f01a623ea9947bbaeafdf907e8dfefa30aeeebe3f7ae4364cd3795378003666752913dcd6fe398aee1d26159b7432b4fc163f4675d974a02071c8
|
data/bin/._irosi
CHANGED
Binary file
|
data/bin/irosi
CHANGED
@@ -9,19 +9,18 @@ option_parser = OptionParser.new do |opts|
|
|
9
9
|
|
10
10
|
options[:file] = Dir.getwd
|
11
11
|
|
12
|
-
opts.on('-n NAME', '--alburmnum Name',
|
12
|
+
opts.on('-n NAME', '--alburmnum Name','download one alburnm with num') do |value|
|
13
13
|
options[:num] = value
|
14
14
|
end
|
15
15
|
|
16
|
-
opts.on('-b begin', '--begin begin','
|
16
|
+
opts.on('-b begin', '--begin begin','the first alburnm num for download') do |value|
|
17
17
|
options[:begin] = value
|
18
18
|
end
|
19
19
|
|
20
|
-
opts.on('-e end', '--end end','
|
20
|
+
opts.on('-e end', '--end end','the last alburnm num for download') do |value|
|
21
21
|
options[:end] = value
|
22
22
|
end
|
23
23
|
|
24
|
-
|
25
24
|
opts.on('-f file', '--file file','download one alburnm with num') do |value|
|
26
25
|
options[:file] = value
|
27
26
|
end
|
@@ -29,5 +28,4 @@ option_parser = OptionParser.new do |opts|
|
|
29
28
|
end.parse!
|
30
29
|
|
31
30
|
# puts options.inspect
|
32
|
-
|
33
31
|
Irosi.parse(options);
|
data/lib/._irosi.rb
CHANGED
Binary file
|
data/lib/irosi/._download.rb
CHANGED
Binary file
|
data/lib/irosi/download.rb
CHANGED
@@ -86,11 +86,3 @@ class Rosi
|
|
86
86
|
end
|
87
87
|
|
88
88
|
end
|
89
|
-
|
90
|
-
|
91
|
-
# way 1
|
92
|
-
# server = Server.new
|
93
|
-
# server.handle(/hello/i) { "Hello from server at #{Time.now}" } server.handle(/goodbye/i) { "Goodbye from server at #{Time.now}" } server.handle(/name is (\w+)/) { |m| "Nice to meet you #{m[1]}!" }
|
94
|
-
# server.run
|
95
|
-
|
96
|
-
# way 2
|
data/lib/irosi/version.rb
CHANGED
data/lib/irosi.rb
CHANGED