prawn-rtl-support 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc72aa1fc22ffa115e32a459fc9ba9f597bf428d
4
- data.tar.gz: f0baf2c4b7fc29ae6987559112d7cc237069422c
3
+ metadata.gz: 7377ed9d1fc3efd5e3379b5c032e0b7418c7d1c8
4
+ data.tar.gz: 8b88073aa4b6b0cdd29a0a4accb208614163dfbe
5
5
  SHA512:
6
- metadata.gz: f524c73c79d0740fb18b5544f914d0f8159348bfa783f3c741446b5f2b84facddce5df9a5a3c101751c5ef5df970e24c7251d134f9f35b1b3983726406f2ce0b
7
- data.tar.gz: cdcb26939d6f9a1548f3089b204848270ff15cdef1f5a5bc251588da8ebb4efe47f95f2fe2c0db585066f561e0b508a86565b551055603a54efa03830f215a4c
6
+ metadata.gz: 763b806afc19cdc81b79e52c7fd6afe4831a1193d502aa5607daed85b16d759ef8a9e26d2e66e01b4fa57d4ac01a3041e4cab17d7df8bef4c084c77217ffe7b5
7
+ data.tar.gz: e888d74ffd0e16e0a679cd853cfa6f997a6b70b32faf353e568543bb444a020bedcb37605259e4fe525e20a37daaf0e0c9c201a4fce473ae8abf1a25d0ba78f0
data/.gitignore CHANGED
@@ -10,3 +10,5 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+
14
+ *.gem
@@ -7,7 +7,7 @@ module PrawnPatch
7
7
  def array_from_tokens(tokens)
8
8
  super.map do |record|
9
9
  if record.include?(:text)
10
- record[:text] = Prawn::Rtl::Connector(record[:text])
10
+ record[:text] = Prawn::Rtl::Connector.fix_rtl(record[:text])
11
11
  end
12
12
  record
13
13
  end
@@ -39,7 +39,7 @@ module Prawn
39
39
  options.delete(:inline_format)
40
40
  array = text_formatter.format(string, *p)
41
41
  else
42
- array = [{ text: Prawn::Rtl::Connector(string) }]
42
+ array = [{ text: Prawn::Rtl::Connector.fix_rtl(string) }]
43
43
  end
44
44
 
45
45
  formatted_text(array, options)
@@ -47,7 +47,7 @@ module Prawn
47
47
 
48
48
  class Box
49
49
  def initialize(string, options = {})
50
- super([{ text: Prawn::Rtl::Connector(string) }], options)
50
+ super([{ text: Prawn::Rtl::Connector.fix_rtl(string) }], options)
51
51
  end
52
52
  end
53
53
  end
@@ -1,7 +1,7 @@
1
1
  module Prawn
2
2
  module Rtl
3
3
  module Support
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawn-rtl-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleksandr Lapchenko