ruby-osc 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -46,9 +46,7 @@ eventmachine
46
46
 
47
47
  == INSTALL:
48
48
 
49
- sudo gem install ruby-osc –-source http://gemcutter.org
50
-
51
- Although I prefer not to use sudo: http://dev.innovationfactory.nl/2009/10/26/never-use-sudo-gem-install-again/
49
+ [sudo] gem install ruby-osc
52
50
 
53
51
  == TODO:
54
52
 
@@ -78,4 +76,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
78
76
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
79
77
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
80
78
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
81
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
79
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -41,7 +41,7 @@ module OSC
41
41
  tags.scan(/\w/) do |tag|
42
42
  case tag
43
43
  when 'i'
44
- int = scanner.scan(/.{4}/).unpack('N').first
44
+ int = scanner.scan(/.{4}/nm).unpack('N').first
45
45
  args.push( int > (2**31-1) ? int - 2**32 : int )
46
46
  when 'f'
47
47
  args.push scanner.scan(/.{4}/nm).unpack('g').first
@@ -63,4 +63,4 @@ module OSC
63
63
  end
64
64
 
65
65
  end
66
- end
66
+ end
data/lib/ruby-osc.rb CHANGED
@@ -13,7 +13,7 @@ require 'ruby-osc/server'
13
13
  require 'ruby-osc/client'
14
14
 
15
15
  module OSC
16
- VERSION = '0.3.1'
16
+ VERSION = '0.3.2'
17
17
  Thread = EM.reactor_running? ? nil : Thread.new { EM.run }
18
18
  Thread.run if RUBY_VERSION.to_f >= 1.9
19
19
  EM.error_handler { |e| puts e }
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-osc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 2
10
+ version: 0.3.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Macario Ortega
@@ -9,49 +15,57 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-01-17 00:00:00 -06:00
18
+ date: 2010-10-19 00:00:00 -05:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: eventmachine
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 63
30
+ segments:
31
+ - 0
32
+ - 12
33
+ - 8
23
34
  version: 0.12.8
24
- version:
35
+ type: :runtime
36
+ version_requirements: *id001
25
37
  - !ruby/object:Gem::Dependency
26
38
  name: rubyforge
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
30
42
  requirements:
31
43
  - - ">="
32
44
  - !ruby/object:Gem::Version
33
- version: 2.0.3
34
- version:
35
- - !ruby/object:Gem::Dependency
36
- name: gemcutter
45
+ hash: 7
46
+ segments:
47
+ - 2
48
+ - 0
49
+ - 4
50
+ version: 2.0.4
37
51
  type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 0.3.0
44
- version:
52
+ version_requirements: *id002
45
53
  - !ruby/object:Gem::Dependency
46
54
  name: hoe
47
- type: :development
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
50
58
  requirements:
51
59
  - - ">="
52
60
  - !ruby/object:Gem::Version
53
- version: 2.5.0
54
- version:
61
+ hash: 19
62
+ segments:
63
+ - 2
64
+ - 6
65
+ - 2
66
+ version: 2.6.2
67
+ type: :development
68
+ version_requirements: *id003
55
69
  description: ""
56
70
  email:
57
71
  - macarui@gmail.com
@@ -89,21 +103,27 @@ rdoc_options:
89
103
  require_paths:
90
104
  - lib
91
105
  required_ruby_version: !ruby/object:Gem::Requirement
106
+ none: false
92
107
  requirements:
93
108
  - - ">="
94
109
  - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
95
113
  version: "0"
96
- version:
97
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
+ none: false
98
116
  requirements:
99
117
  - - ">="
100
118
  - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
101
122
  version: "0"
102
- version:
103
123
  requirements: []
104
124
 
105
125
  rubyforge_project: ruby-osc
106
- rubygems_version: 1.3.5
126
+ rubygems_version: 1.3.7
107
127
  signing_key:
108
128
  specification_version: 3
109
129
  summary: ""