imanip 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -133,14 +133,15 @@ module Imanip
133
133
 
134
134
  def to_geometry_string(width_height)
135
135
  # puts "width_height: #{width_height.inspect}"
136
- case width_height
137
- when Array
138
- width_height.join("x")
139
- when Hash
140
- "#{width_height[:width]}x#{width_height[:height]}"
141
- else
142
- width_height.to_s
143
- end
136
+ geometry_string = case width_height
137
+ when Array
138
+ width_height.join("x")
139
+ when Hash
140
+ "#{width_height[:width]}x#{width_height[:height]}"
141
+ else
142
+ width_height.to_s
143
+ end
144
+ "'#{geometry_string}'"
144
145
  end
145
146
 
146
147
  def options_to_string(options)
@@ -2,7 +2,7 @@ module Imanip #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imanip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Quint
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-27 00:00:00 -04:00
12
+ date: 2008-09-26 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency