strip_comments 0.1.3 → 0.1.4

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: 920c33ca0c4a842363383bed65166eab6cf46adda7b1ab1a711c3aa6ddb3c4e6
4
- data.tar.gz: 72bfd7bcb770d381ef6b443f627b6685f3d265f5e06a900a17fd26fc4e022194
3
+ metadata.gz: 1ec13ae19f0156ef9323fae1380e5679e70fa2efa4a240f008fa4d826c34ffd5
4
+ data.tar.gz: 8e6aa63f575e1dcd62e94015097b4a2120be898cfc616b389aacf616e230b370
5
5
  SHA512:
6
- metadata.gz: 5ff254735ef99f9320c76f8e4f4410b2be2b1a855821e6ac5c84acd2e5d41c3b3c61de806130dd39f5ae72a2fc68922e05b7fc5c8d8ac7199d262590e8f801a1
7
- data.tar.gz: 3fb1ec51ea8917396b06724437f477a68042b5b25e7d7dc478d5d5d4939bd6ae603fb743c6e52e7060bd7cc70e85f5289f5ec0bb9f088f2c2b330d68a031c16f
6
+ metadata.gz: 05e804a98e1988694ca113afea91db5537017eb5fbea14ab1a09837332472a8beb793aec6ef5f0b90ebab2d153301dd8a63e1bcd095bad64bb1874442170b6be
7
+ data.tar.gz: 530a3af21c142bae70dcc776662b4cc4890d91e47a1956c1d4a30c8b9e7863b59b8202b843431d6a90a911cf1cc64ec4203f905279f7049335f73d97f80143e5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StripComments
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -39,7 +39,7 @@ module StripComments
39
39
 
40
40
  str.gsub!(/#[^\n]+/, '')
41
41
 
42
- stripped_strings_to_not_be_uncommented.each do |k,v|
42
+ stripped_strings_to_not_be_uncommented.reverse_each do |k,v|
43
43
  str[k] = v
44
44
  end
45
45
 
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jevon Wright