osc-ruby 1.1.4 → 1.1.5
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 +5 -5
- data/VERSION +1 -1
- data/lib/osc-ruby/server.rb +1 -1
- data/lib/osc-ruby.rb +0 -1
- metadata +14 -16
- data/lib/osc-ruby/core_ext/numeric.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1d2b2a25667cbe614a9dc84cd106e80711ccaca6e10ffc1ce9bc8ae73cc97156
|
4
|
+
data.tar.gz: 692656d36dd02275ec3d740325740510075730a4404cc1011f5736738425c775
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ac89f50a3d17d455994274662cfbff22762e358ebfc618e522042b58c8cba0778ee16da4753d33a7b8357e24c06573dcbf5d8b09c1c1f7ade71c7b49968c20b
|
7
|
+
data.tar.gz: 7355b0300cd2e69473cc52ec1e9047d62997d7ad5888b3474eee35cad67302afe784c3c5bdc0d7df5b0b9348ba4a31444bc9403c7ff2386fb832d47d5cf79a14
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
data/lib/osc-ruby/server.rb
CHANGED
data/lib/osc-ruby.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osc-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin Harris
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This OSC gem originally created by Tadayoshi Funaba has been updated
|
14
|
-
for ruby 2.0/1.9/JRuby compatibility
|
15
14
|
email: qzzzq1@gmail.com
|
16
15
|
executables: []
|
17
16
|
extensions: []
|
@@ -27,7 +26,6 @@ files:
|
|
27
26
|
- lib/osc-ruby/broadcast_client.rb
|
28
27
|
- lib/osc-ruby/bundle.rb
|
29
28
|
- lib/osc-ruby/client.rb
|
30
|
-
- lib/osc-ruby/core_ext/numeric.rb
|
31
29
|
- lib/osc-ruby/core_ext/time.rb
|
32
30
|
- lib/osc-ruby/em_server.rb
|
33
31
|
- lib/osc-ruby/message.rb
|
@@ -49,9 +47,10 @@ files:
|
|
49
47
|
- spec/unit/osc_simple_packets_spec.rb
|
50
48
|
- spec/unit/osc_types_spec.rb
|
51
49
|
homepage: http://github.com/aberant/osc-ruby
|
52
|
-
licenses:
|
50
|
+
licenses:
|
51
|
+
- MIT
|
53
52
|
metadata: {}
|
54
|
-
post_install_message:
|
53
|
+
post_install_message:
|
55
54
|
rdoc_options: []
|
56
55
|
require_paths:
|
57
56
|
- lib
|
@@ -66,21 +65,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
65
|
- !ruby/object:Gem::Version
|
67
66
|
version: '0'
|
68
67
|
requirements: []
|
69
|
-
|
70
|
-
|
71
|
-
signing_key:
|
68
|
+
rubygems_version: 3.3.26
|
69
|
+
signing_key:
|
72
70
|
specification_version: 4
|
73
71
|
summary: a ruby client for the OSC protocol
|
74
72
|
test_files:
|
73
|
+
- spec/builders/message_builder.rb
|
75
74
|
- spec/spec_helper.rb
|
76
|
-
- spec/unit/osc_complex_packets_spec.rb
|
77
75
|
- spec/unit/address_pattern_spec.rb
|
76
|
+
- spec/unit/message_builder_spec.rb
|
77
|
+
- spec/unit/message_bundle_spec.rb
|
78
|
+
- spec/unit/message_spec.rb
|
79
|
+
- spec/unit/network_packet_spec.rb
|
78
80
|
- spec/unit/osc_argument_spec.rb
|
81
|
+
- spec/unit/osc_complex_packets_spec.rb
|
79
82
|
- spec/unit/osc_packet_unknown_type_spec.rb
|
80
|
-
- spec/unit/network_packet_spec.rb
|
81
83
|
- spec/unit/osc_simple_packets_spec.rb
|
82
84
|
- spec/unit/osc_types_spec.rb
|
83
|
-
- spec/unit/message_spec.rb
|
84
|
-
- spec/unit/message_bundle_spec.rb
|
85
|
-
- spec/unit/message_builder_spec.rb
|
86
|
-
- spec/builders/message_builder.rb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class Numeric
|
2
|
-
# Convert time intervals to seconds
|
3
|
-
def milliseconds; self/1000.0; end
|
4
|
-
def seconds; self; end
|
5
|
-
def minutes; self*60; end
|
6
|
-
def hours; self*60*60; end
|
7
|
-
def days; self*60*60*24; end
|
8
|
-
def weeks; self*60*60*24*7; end
|
9
|
-
|
10
|
-
# Convert seconds to other intervals
|
11
|
-
def to_milliseconds; self*1000; end
|
12
|
-
def to_seconds; self; end
|
13
|
-
def to_minutes; self/60.0; end
|
14
|
-
def to_hours; self/(60*60.0); end
|
15
|
-
def to_days; self/(60*60*24.0); end
|
16
|
-
def to_weeks; self/(60*60*24*7.0); end
|
17
|
-
end
|