irosi 0.0.1 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a76aba5b5179abe39028ba02fa78476f3431e50f
4
- data.tar.gz: c65bf9ff628639712b862d214b7fecb684d0448b
3
+ metadata.gz: 953cca899cc4a2795b5ad25628ff505875e90920
4
+ data.tar.gz: 9efe6aaba4c9680af5b71ee6041ff7b7f7b293de
5
5
  SHA512:
6
- metadata.gz: 2bc847b200d9388d002f430cc565fc3fb73274f9d05a11e8e1f8e534b58adc88a2f7d8941ad913912af286074bd286d9bbe5a5b9e17cafe9bdea626ea2d93d22
7
- data.tar.gz: 640484590df859a88e2d369a172bb9b4e3943fe2b84f966ed892b587fe1194db63f34061df4e7ea8c2fe4b0b02e7b303827f3d249e61f6d9166fae6b4885cf2c
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', type="string",'download one alburnm with num') do |value|
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','download one alburnm with num') do |value|
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','download one alburnm with num') do |value|
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
Binary file
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Irosi
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/irosi.rb CHANGED
@@ -3,10 +3,7 @@ require "irosi/download"
3
3
 
4
4
  module Irosi
5
5
  # Your code goes here...
6
-
7
6
  def self.parse(opts)
8
- puts '2222'
9
- puts opts.inspect
10
7
  n = opts[:num]
11
8
  b = opts[:begin]
12
9
  e = opts[:end]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irosi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - shiren1118