objc-obfuscator 0.2.2 → 0.2.3

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: 98cb53b24c655e999b4787b3b263fcaa05eb4396
4
- data.tar.gz: be44de23f63e6bc4e3a076b2c3ef5a6f4b70fc9d
3
+ metadata.gz: e81dac763518c360cd51e0b6b8f8b4cf196f9693
4
+ data.tar.gz: 0f894744ceff365b1dc66472a0075cd00840a350
5
5
  SHA512:
6
- metadata.gz: fbd195a5b02a43e2480c9e9462dbd0ddff2d421b6dcd615bdf5aa77fe1219cd75b2726798e0e32549a124d63ca0d6b27130c6096a877b1020ab20257932fb4fe
7
- data.tar.gz: 493e06e2f1029159993f9d657a2d004bc67ab09d8c8b1a8d371ae3fbc85eb14a7e53a085ee3882adf2cb151844e09dbec77225218756d1f05a1a2e365a1bb649
6
+ metadata.gz: c6e33c03f02c48d43e36c2a5f9df952e10ddb5aae4db2c8427ffdc4d7c040aa81bcfa52e64052fcbe66800a3d0cd02b9a3d360393b66f3f4321de97e9dd0dacd
7
+ data.tar.gz: 693cb571a7c49a41951197edd10f868f15d8fb7421682746cb1fee98c5ee270064245757fffebff033624a8ce7be83d704888ded067fa7bc5ca0350079eabf82
@@ -29,7 +29,7 @@ module Objc_Obfuscator
29
29
  say_status :info, "Found occurrence of __obfuscated string: '#{unencrypted_string}'."
30
30
  encrypted_string = encryptor.encrypt unencrypted_string
31
31
  line.slice! keyword # remove keyword
32
- line = line.gsub("@\"#{unencrypted_string}\"", "[@\"#{encrypted_string}\" unobfuscatedString]") # replace the unencrypted with the encrypted
32
+ line = line.gsub(unencrypted_string, encrypted_string) # replace the unencrypted with the encrypted
33
33
  file_changed = true
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: objc-obfuscator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Gallonetto