trecs 0.3.9 → 0.3.10

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
  SHA1:
3
- metadata.gz: bf6bdb5d4745cb238bea1732d1b5300ab99d1911
4
- data.tar.gz: 98f3144e3bc9f04b803da7200f6b2490ad8bc8d1
3
+ metadata.gz: ba55eece801e4f8ab10c6fc53e6e951a2749b01d
4
+ data.tar.gz: defa1e5bbf86fd78e5891c566d9fdb9f7ded2f6c
5
5
  SHA512:
6
- metadata.gz: 8043261584ea9806c01841d8abb8fe5e0375efb04eb12465ba9066183dc7aefd2cef641578b56be68eee040024efa2c362465dbdbceb82fd11ab60e7495217c1
7
- data.tar.gz: 58b1c79deb4ad7c26fbb42b4829605b8672562e0f35dae1dc0fc52020baccc95fbb6d3c848b9a02a49c37dccf29fb7a64b28acabc9c7d2b5c189806508cb3e1c
6
+ metadata.gz: 76fee797422ca7670b30f36d3cd41094d213ca658242653cc8e8c67764a392cc7d69e2db7eed73f7dc1391415d242017198e35dbf8568df08eb0fbdb8cf13a92
7
+ data.tar.gz: 5d219c12fe6351516c9a22bbb7c55ef21a9c29e82601ae05f007468e6bd4cf9e3b9c45c4d579ffe1d35ea232228b9a9031fbbd28b0320367d455746ae1dcc3af
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trecs (0.3.9)
4
+ trecs (0.3.10)
5
5
  minitar (~> 0.5.4)
6
6
  trollop (~> 2.0)
7
7
 
@@ -20,10 +20,10 @@ module TRecs
20
20
  @frames = get_frames(source)
21
21
 
22
22
  @from = options.fetch(:from) { 0 }
23
- @from &&= @from.to_i
23
+ @from &&= (@from || 0).to_i
24
24
 
25
25
  @to = options.fetch(:to) { nil }
26
- @to &&= @to.to_i
26
+ @to &&= @to.to_i if @to
27
27
 
28
28
  @speed = options.fetch(:speed) { nil }
29
29
  @speed &&= @speed.to_f
data/lib/trecs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TRecs
2
- VERSION = "0.3.9"
2
+ VERSION = "0.3.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti