hornetseye-frame 0.8.2 → 0.9.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 -1
  2. data/lib/hornetseye-frame/frame.rb +4 -0
  3. metadata +4 -4
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.8.2'
11
+ PKG_VERSION = '0.9.0'
12
12
  CFG = RbConfig::CONFIG
13
13
  CXX = ENV[ 'CXX' ] || 'g++'
14
14
  RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -101,6 +101,7 @@ end
101
101
 
102
102
  file 'ext/config.h' do |t|
103
103
  s = "/* config.h. Generated from Rakefile by rake. */\n"
104
+ # need to compile with -D__STDC_CONSTANT_MACROS
104
105
  if check_c_header 'libswscale/swscale.h'
105
106
  s << "#define HAVE_LIBSWSCALE_INCDIR 1\n"
106
107
  else
@@ -119,6 +119,10 @@ module Hornetseye
119
119
  self.class.height
120
120
  end
121
121
 
122
+ def memorise
123
+ self
124
+ end
125
+
122
126
  def storage_size
123
127
  self.class.storage_size
124
128
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 8
8
- - 2
9
- version: 0.8.2
7
+ - 9
8
+ - 0
9
+ version: 0.9.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-12-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