ruby-osc 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@ module OSC
26
26
  string.sub! /^#bundle\000/, ''
27
27
  t1, t2, content_str = string.unpack('N2a*')
28
28
 
29
- timetag = Time.at(t1 + t2 / (2**32.0) - 2_208_988_800)
29
+ timetag = t1 == 0 && t2 == 1 ? nil : Time.at(t1 + t2 / (2**32.0) - 2_208_988_800)
30
30
  scanner = StringScanner.new content_str
31
31
  args = []
32
32
 
@@ -1,3 +1,3 @@
1
1
  module Osc
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-osc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &2161115880 !ruby/object:Gem::Requirement
17
+ requirement: &2161094580 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.6.0
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *2161115880
25
+ version_requirements: *2161094580
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
- requirement: &2161115140 !ruby/object:Gem::Requirement
28
+ requirement: &2161093920 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '1.0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2161115140
36
+ version_requirements: *2161093920
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: eventmachine
39
- requirement: &2161095240 !ruby/object:Gem::Requirement
39
+ requirement: &2161093260 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 0.12.8
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2161095240
47
+ version_requirements: *2161093260
48
48
  description: Concise OSC Ruby implementation
49
49
  email:
50
50
  - macarui@gmail.com