site_hook 1.0.22 → 1.0.23

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
  SHA256:
3
- metadata.gz: d36614b531681f99927cc1a01ffe4bf1bb9b30b85034c77f0a3d5293fa473579
4
- data.tar.gz: f8a9ecd64b37b77aeaa949bcc9463305a30846ffc22abc67b64ad06a64168905
3
+ metadata.gz: 86db2c8ef6522cda769025473c4705486958789da1aabef6df3df08a7a0242c4
4
+ data.tar.gz: bd598f69f4af4bf9ff105f2d5d740319039af195f480fe7541509daca8c83b71
5
5
  SHA512:
6
- metadata.gz: 230f3f5156901925bfbb3b27c84dd3ef772920f9c911991c00acdd1b6c9355f4e400ed4f346c80ecde60d89dd8dd176dcb675eef2129ff03d18aec61c6e0c9a3
7
- data.tar.gz: 344ff33059353c61964e310fd3859cf758a1348d42138e1922db7306285781e014c7a13f41e6417d69ef69bf56c4882475bdd4cc7b5c029b9bccbf0ff6a1b978
6
+ metadata.gz: 6aad4121ff9eeda580fb0c0ab1a89610b20bbde75c5bc69ff55f3a7107b6e5dc8a2fa3d6cc509842f0fe7c71b0f8363175b973f8132d5a89c3ebf25f55543a12
7
+ data.tar.gz: 280b939999486e2bd6dd00062a54fd97ebfb8794b979b7a2818e80e6825cc1b677a3b72e57643a90624a81b67aeee4897e9c6fee309e35f8b617fc4b75d22bad
@@ -38,20 +38,20 @@ end
38
38
  module SiteHook
39
39
  module StrExt
40
40
  def StrExt.mkvar(inspection)
41
- inspection.to_s.tr('.', '_').tr(' ', '_')
41
+ inspection.dup.to_s.tr('.', '_').tr(' ', '_')
42
42
  end
43
43
  def StrExt.mkatvar(inspection)
44
44
  inspection.dup.to_s.insert(0, '@').to_sym
45
45
  end
46
46
  def StrExt.mkatatvar(inspection)
47
- inspection.to_s.insert(0, '@').insert(0, '@').to_sym
47
+ inspection.dup.to_s.insert(0, '@').insert(0, '@').to_sym
48
48
  end
49
49
  def StrExt.rematvar(inspection)
50
- inspection.to_s.tr('@', '')
50
+ inspection.dup.to_s.tr('@', '')
51
51
  end
52
52
 
53
53
  def self.mkmvar(inspection)
54
- inspection.to_s.tr('@', '').to_sym
54
+ inspection.dup.to_s.tr('@', '').to_sym
55
55
  end
56
56
  end
57
- end
57
+ end
@@ -1,3 +1,3 @@
1
1
  module SiteHook
2
- VERSION = '1.0.22'
2
+ VERSION = '1.0.23'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_hook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.22
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer