standalone_typograf 3.0.0 → 3.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b43853037131f6e6f5688014e63d55263bc1a0f2
4
- data.tar.gz: 76b0f8cbc97462ed5added4a66c100ac3297db08
3
+ metadata.gz: e0cba18b98fdec31304ac1f68287516c191dfb7d
4
+ data.tar.gz: 1400bf376339a28fe4f83b19e1d10516fee4c88a
5
5
  SHA512:
6
- metadata.gz: 90f4013887443a5732e44fce7ee5b967833997f8598064ccfbb058b27b595c2d448dcd645b4a6de4b7e29ed7446dc0b8b8e92c4429807287d146d814731945bb
7
- data.tar.gz: 2cd5fd4359a50620cf154a6dc1fbf2465993c62569e866e95093c83dddb0ea5bd89c51b5bfa953b4011e1126f3e2105711ff762d6be370c6ae2df105cefeffe9
6
+ metadata.gz: deda4e737af0ed933f1e7cdfa803c060fc22b680dff014333388b7ef1a881bb35087dbf9ac7a0e62f3296c770751d35dfddc78588d212d6ef04b34b0d262350d
7
+ data.tar.gz: 3cfff653db6c3b07b10043d6e3d809eb4f10efeef158b4e7765a751d65a1a0a3d0b4b4c37be0b50ebea1d2eb00c48c2f9520c67f0dcf117bbb8f97fb39879cd8
@@ -30,7 +30,7 @@ module StandaloneTypograf #:nodoc:
30
30
  def self.compile(text, mode)
31
31
  compiler = self.new(text, mode)
32
32
  compiler.compile
33
- text = compiler.tarr.join()
33
+ text.replace compiler.tarr.join()
34
34
  end
35
35
 
36
36
  def initialize(text, mode)
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module StandaloneTypograf
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.1'
5
5
  end
@@ -49,8 +49,8 @@ describe StandaloneTypograf::Typograf do
49
49
  end
50
50
 
51
51
  it 'response on several processors' do
52
- t = described_class.new('Типограф - это круто, +-', mode: :html)
53
- t.processor(:mnemonics, :dashes).should == 'Типограф — это круто, ±'
52
+ t = described_class.new('"Типограф" - это круто, +-', mode: :html)
53
+ t.processor(:mnemonics, :quotes).should == '«Типограф» - это круто, ±'
54
54
  end
55
55
  end
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standalone_typograf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Shilov