akdubya-mapel 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/mapel.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ task :default => [:test]
9
9
  task :spec => :test
10
10
 
11
11
  name = 'mapel'
12
- version = '0.1.3'
12
+ version = '0.1.4'
13
13
 
14
14
  spec = Gem::Specification.new do |s|
15
15
  s.name = name
@@ -170,7 +170,7 @@ module Mapel
170
170
  str << 'x' if @height > 0
171
171
  str << "%g" % @height if @height > 0
172
172
  str << "%+d%+d" % [@x, @y] if (@x != 0 || @y != 0 || crop)
173
- str << RFLAGS.key(@flag).to_s
173
+ str << (RFLAGS.respond_to?(:key) ? RFLAGS.key(@flag) : RFLAGS.index(@flag)).to_s
174
174
  end
175
175
  end
176
176
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akdubya-mapel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksander Williams
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-11 00:00:00 -07:00
12
+ date: 2009-04-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15