rget 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nicovideo.rb +1 -1
  3. data/rget.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1ba3f607e0de47155aa63d87b62c1431eda49a4
4
- data.tar.gz: 6193a1e0b471ca93c7ffafe6629dd486d0c9c00e
3
+ metadata.gz: 07c0811c892fecc7aeac00322ba094560be8d8ac
4
+ data.tar.gz: f86dd28fc574307fd8cddbbddd6e0bef22195e97
5
5
  SHA512:
6
- metadata.gz: 1fe6f9bc5743e737bb8b0408fac0e0e1a5d6692e7bc3c9a48333c15a9211a57d35b630d7efde76adf64f8d52ee982464f90402e98374f9f3ac6ecc807a577ee9
7
- data.tar.gz: 3bf27eca480fee6acbe0e105d0480329bacc12525a44ca9010cbc1469fb20092286b8df31298a1af4856306ac5f7426ce1ca85a29e2b3d9ac243fb6b23ab2f91
6
+ metadata.gz: f623844f4690aee589821a6028423623b3eb818c9795ddfe601ba1cac00ad7721a98ae0ac889eb3b0fde927899d775f36aa2e4ac16a2332f533b5aa87db1d757
7
+ data.tar.gz: 6c8cecc8ead79aafc0766e3788ac6e0909dfba38faf3845d082d132daef874665cad339f5107d6785e90c516caf8c6c06abfafd31de1afb06d5440bd3541a765
data/lib/nicovideo.rb CHANGED
@@ -19,7 +19,7 @@ class Nicovideo < WebRadio
19
19
  def download(name)
20
20
  player_url = get_player_url(@url)
21
21
  video = @nico.video(Pathname(URI(player_url).path).basename.to_s)
22
- serial = video.title.scan(/(?:[#第]| EP)(\d+)|/).flatten.compact[0].to_i
22
+ serial = video.title.scan(/(?:[#第]|[  ]EP)(\d+)|/).flatten.compact[0].to_i
23
23
  @file = "#{name}##{'%02d' % serial}.#{video.type}"
24
24
  @mp3_file = @file.sub(/\....$/, '.mp3')
25
25
  mp3ize(@file, @mp3_file) do
data/rget.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rget"
7
- spec.version = "2.2.1"
7
+ spec.version = "2.2.2"
8
8
  spec.authors = ["TADA Tadashi"]
9
9
  spec.email = ["t@tdtds.jp"]
10
10
  spec.description = %q{Downloading newest radio programs on the web. Supported radio stations are hibiki, animate, onsen, seaside communications, niconico and youtube.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rget
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2015-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor