prawn-svg 0.9.1.7 → 0.9.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/prawn/svg/parser.rb +2 -2
  2. metadata +3 -3
@@ -220,7 +220,7 @@ module Prawn
220
220
  def load_css_styles(element)
221
221
  if @css_parser
222
222
  data = if element.cdatas.any?
223
- element.cdatas.collect(&:to_s).join
223
+ element.cdatas.collect {|d| d.to_s}.join
224
224
  else
225
225
  element.text
226
226
  end
@@ -337,7 +337,7 @@ module Prawn
337
337
  def parse_css_method_calls(string)
338
338
  string.scan(/\s*(\w+)\(([^)]+)\)\s*/).collect do |call|
339
339
  name, argument_string = call
340
- arguments = argument_string.split(",").collect(&:strip)
340
+ arguments = argument_string.split(",").collect {|s| s.strip}
341
341
  [name, arguments]
342
342
  end
343
343
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 1
9
- - 7
10
- version: 0.9.1.7
9
+ - 8
10
+ version: 0.9.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roger Nesbitt
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-08 00:00:00 +12:00
18
+ date: 2010-05-09 00:00:00 +12:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency