txt2img 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/txt2img.rb +1 -1
  2. data/lib/txt2img/version.rb +1 -1
  3. metadata +3 -3
@@ -24,7 +24,7 @@ module Txt2img
24
24
 
25
25
  # TODO optimize
26
26
  def wrap!
27
- @txt = @txt.split(/[\r\n]+/).map{|x| x.scan(/.{1,#{width}}/).join("\n")}.join("\n")
27
+ @txt = @txt.split(/[\r\n]+/).map{|x| x.scan(/.{1,#{width}}/u).join("\n")}.join("\n")
28
28
  end
29
29
 
30
30
  def height
@@ -1,3 +1,3 @@
1
1
  module Txt2img
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: txt2img
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: quick_magick_hooopo
16
- requirement: &16623540 !ruby/object:Gem::Requirement
16
+ requirement: &15219320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0.8'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16623540
24
+ version_requirements: *15219320
25
25
  description: generate image from txt
26
26
  email:
27
27
  - hoooopo@gmail.com