rbtune 1.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 9781278019389b83f08d690c0ee5e5bf4d19822b087c7e4208a59fd7302441d9
4
- data.tar.gz: fbd6ec402edd97d7bee5e31aadcb62ea456446138766343b4822fad700bdf422
3
+ metadata.gz: f5e280b91c967fad699e9d8741a7ad90721431d592b26fd1a838c224cb1c0f94
4
+ data.tar.gz: b68ed39a2b494f2af7f6626e3d30959917a64a43d8c2b4a6e888bbca338b3333
5
5
  SHA512:
6
- metadata.gz: d04c9cca92f778af564b323b921ba6cb0d5ec07643ecd42c5f83da025550195d8be7b4441640216c75a903d399a3c07ae4b7c3dc448e19ab26454fdc33323a99
7
- data.tar.gz: 796f468334a6246ef96776df8763fe5b3ac8f52a0877d8f7ea2b91d3c3623c8e727a420bb7a33dbe5ab6a3e28b7d5a857396c9a811c8d46f96f9ee73b85fec41
6
+ metadata.gz: d6de553a844e73b388e26284e51d157c01ac931802e043158a621c943f7ceedadcced7d6c59cb1d69098f4d1aec84f22c5160d2c4159ec36789da24dbf981189
7
+ data.tar.gz: b5769b820fc79b85bc4f3fe7c8d4ec12829a0deb86963fecc036d2e8d84304dc91f3052e38b068469d722d6236f6a5cb1aa84d1f765741e839258cc937f9aa25
@@ -5,6 +5,8 @@ require "player/player"
5
5
 
6
6
  class Mplayer < Player
7
7
 
8
+ WAIT_LIMIT = 3
9
+
8
10
  def initialize(url)
9
11
  @url=url
10
12
  self['cache'] = 64
@@ -46,7 +48,6 @@ class Mplayer < Player
46
48
  psec = dsec
47
49
  wait = 0
48
50
  i = 0
49
- WAIT_LIMIT = 3
50
51
  while dsec <= sec
51
52
  dsec = duration(file)
52
53
  if dsec == psec
@@ -1,3 +1,3 @@
1
1
  module Rbtune
2
- VERSION = "1.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbtune
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASAHI,Michiharu