strip_comments 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: 1ec13ae19f0156ef9323fae1380e5679e70fa2efa4a240f008fa4d826c34ffd5
4
- data.tar.gz: 8e6aa63f575e1dcd62e94015097b4a2120be898cfc616b389aacf616e230b370
3
+ metadata.gz: 3f9e16503c9d04afbbae765175aed88aadf3bfab276d3700c7f7f567f55d0663
4
+ data.tar.gz: b6a7531445417be527fbb185688c2bbd29410529e367f45c79f112dcb1b6f8fd
5
5
  SHA512:
6
- metadata.gz: 05e804a98e1988694ca113afea91db5537017eb5fbea14ab1a09837332472a8beb793aec6ef5f0b90ebab2d153301dd8a63e1bcd095bad64bb1874442170b6be
7
- data.tar.gz: 530a3af21c142bae70dcc776662b4cc4890d91e47a1956c1d4a30c8b9e7863b59b8202b843431d6a90a911cf1cc64ec4203f905279f7049335f73d97f80143e5
6
+ metadata.gz: 57be646f36a83b9fba2d525142da161b6f9db842e561309e75684c07b075c71f0f519f9a43190b71568b06c3c96dfa5686c5faf8a5aa08d285aff765f749cf36
7
+ data.tar.gz: 95d0565dfb0867264e7ffc5a5386b7c7f5fe1cc47b237aeadf1fbe8ae33c182b24a10d2b44877066773d2ab1e0c21aee68efedb1f6a230e76c401e49b48ff985
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StripComments
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
@@ -40,7 +40,7 @@ module StripComments
40
40
  str.gsub!(/#[^\n]+/, '')
41
41
 
42
42
  stripped_strings_to_not_be_uncommented.reverse_each do |k,v|
43
- str[k] = v
43
+ str.gsub!(k, v)
44
44
  end
45
45
 
46
46
  str
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strip_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jevon Wright