hornetseye-frame 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +2 -2
  2. data/lib/hornetseye-frame/frame.rb +4 -0
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'rbconfig'
8
8
  require 'tempfile'
9
9
 
10
10
  PKG_NAME = 'hornetseye-frame'
11
- PKG_VERSION = '0.6.0'
11
+ PKG_VERSION = '0.7.0'
12
12
  CXX = ENV[ 'CXX' ] || 'g++'
13
13
  STRIP = ENV[ 'STRIP' ] || 'strip'
14
14
  RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -175,7 +175,7 @@ begin
175
175
  s.has_rdoc = 'yard'
176
176
  s.extra_rdoc_files = []
177
177
  s.rdoc_options = %w{--no-private}
178
- s.add_dependency %q<malloc>, [ '~> 1.1' ]
178
+ s.add_dependency %<malloc>, [ '~> 1.1' ]
179
179
  s.add_dependency %<multiarray>, [ '~> 0.6' ]
180
180
  end
181
181
  GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
@@ -73,6 +73,10 @@ module Hornetseye
73
73
  "#{self.class.inspect}(#{ "0x%08x" % @memory.object_id })"
74
74
  end
75
75
 
76
+ def dup
77
+ self.class.new @memory.dup
78
+ end
79
+
76
80
  def typecode
77
81
  self.class.typecode
78
82
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 6
7
+ - 7
8
8
  - 0
9
- version: 0.6.0
9
+ version: 0.7.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-10-12 00:00:00 +01:00
17
+ date: 2010-10-18 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency