wrapomatic 0.2.0 → 0.3.0

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: 4c73d088e719445e4d5a9393b58b2ee9d328ff0e
4
- data.tar.gz: b492f8d020442d589fb291275d308ee1a2be7774
3
+ metadata.gz: 7144f1cf429ee4fbf40747b8ae637817ba3328ca
4
+ data.tar.gz: 77ed21ff0134a1b4f0e0814e35a3a4b4471f562d
5
5
  SHA512:
6
- metadata.gz: 9abe5effd94b0ee85444827b618cc64fed6053802ec1c064248ae3b95334f5b84b9c2b7bd65343af95e30e9ffc7bf97197d00fb953f4c663413d7b81ec342e45
7
- data.tar.gz: 58fc933525133cd6d9e6a2a6f2a37637dba97487dd66880e8a5969e9c0aa4f2ae2821f62d541c7d6ed99789c78df420b72bb13f319264227031711ec1ab31394
6
+ metadata.gz: 99a8611a07839cd772f7abd613982f7164c678ff9dc9ac96dbbccc5f6540df4460b0f150e311d6a9d4a0d862b3b3a7905929a9e2d6393d4329801ba91ba5d8d3
7
+ data.tar.gz: cad77b4fa9d56b39e09fa62dc557e1ad0e02f076d05c2cfec1e34c7a37a2b98b993fb089ac2d6a06a0d9708c891da7ded29e2829a4b821b823524bf71b287cc1
@@ -10,7 +10,7 @@ module Wrapomatic
10
10
  class Remainder < Base
11
11
  private
12
12
  def processed
13
- @processed ||= text.gsub(/^#{primary}/, '').lstrip
13
+ @processed ||= text.gsub(/^#{Regexp.escape(primary)}/, '').lstrip
14
14
  end
15
15
 
16
16
  def primary
@@ -1,4 +1,4 @@
1
1
  module Wrapomatic
2
2
  # The current Wrapomatic version
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrapomatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Walters