hornetseye-xorg 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
7
7
  require 'rbconfig'
8
8
 
9
9
  PKG_NAME = 'hornetseye-xorg'
10
- PKG_VERSION = '0.4.0'
10
+ PKG_VERSION = '0.5.0'
11
11
  CFG = RbConfig::CONFIG
12
12
  CXX = ENV[ 'CXX' ] || 'g++'
13
13
  RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -115,8 +115,8 @@ begin
115
115
  s.extra_rdoc_files = []
116
116
  s.rdoc_options = %w{--no-private}
117
117
  s.add_dependency %<malloc>, [ '~> 1.1' ]
118
- s.add_dependency %<multiarray>, [ '~> 0.9' ]
119
- s.add_dependency %<hornetseye-frame>, [ '~> 0.6' ]
118
+ s.add_dependency %<multiarray>, [ '~> 0.15' ]
119
+ s.add_dependency %<hornetseye-frame>, [ '~> 0.9' ]
120
120
  s.add_development_dependency %q{rake}
121
121
  end
122
122
  GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
@@ -138,8 +138,8 @@ begin
138
138
  s.extra_rdoc_files = []
139
139
  s.rdoc_options = %w{--no-private}
140
140
  s.add_dependency %<malloc>, [ '~> 1.1' ]
141
- s.add_dependency %<multiarray>, [ '~> 0.9' ]
142
- s.add_dependency %<hornetseye-frame>, [ '~> 0.6' ]
141
+ s.add_dependency %<multiarray>, [ '~> 0.15' ]
142
+ s.add_dependency %<hornetseye-frame>, [ '~> 0.9' ]
143
143
  end
144
144
  GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
145
145
  desc "Build the gem file #{GEM_SOURCE}"
@@ -21,8 +21,7 @@ module Hornetseye
21
21
 
22
22
  def write( frame )
23
23
  target = frame.rgb? ? UBYTERGB : UBYTE
24
- frame = frame.to_type target unless frame.typecode == target
25
- super frame
24
+ super frame.to_type( target ).memorise
26
25
  end
27
26
 
28
27
  end
@@ -20,8 +20,7 @@ module Hornetseye
20
20
  class XImageOutput
21
21
 
22
22
  def write( frame )
23
- frame = frame.to_type UBYTERGB unless frame.typecode == UBYTERGB
24
- super frame
23
+ super frame.to_type( UBYTERGB ).memorise
25
24
  end
26
25
 
27
26
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 4
7
+ - 5
8
8
  - 0
9
- version: 0.4.0
9
+ version: 0.5.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jan Wedekind
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-19 00:00:00 +00:00
17
+ date: 2010-12-20 00:00:00 +00:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -41,8 +41,8 @@ dependencies:
41
41
  - !ruby/object:Gem::Version
42
42
  segments:
43
43
  - 0
44
- - 9
45
- version: "0.9"
44
+ - 15
45
+ version: "0.15"
46
46
  type: :runtime
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
@@ -55,8 +55,8 @@ dependencies:
55
55
  - !ruby/object:Gem::Version
56
56
  segments:
57
57
  - 0
58
- - 6
59
- version: "0.6"
58
+ - 9
59
+ version: "0.9"
60
60
  type: :runtime
61
61
  version_requirements: *id003
62
62
  - !ruby/object:Gem::Dependency