cecil 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cecil/lang/typescript.rb +1 -1
- data/lib/cecil/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25bc3ea619e4c5ed622fb086dbe51eeef561cbbfb733defad97dff14fd4ac0d5
|
4
|
+
data.tar.gz: 1b66b8d83ed649fc3be60789ce0909efd20707a939f8f8a3cd7b7abde5e5c6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6370b9ec275ab1ecc3bfd03487088c89dc31f5c66dc53dc37de99eeda30968bd4ff39c020d4839df318aa302be4ad1e9dcbb843b7f224e34b9352a37f2f6c8f9
|
7
|
+
data.tar.gz: 2dcb0a27ffdeef5271df1e222b80dc37908d9226a13b19e8e9427e1f73b85933736b5358e758501982aead5f9341f294e6ac6a9bc5ad4cec1d738bc4d171c5d9
|
data/Gemfile.lock
CHANGED
@@ -88,7 +88,7 @@ module Cecil
|
|
88
88
|
#
|
89
89
|
# @param item [#to_s] A string or any object that responds to `#to_s`
|
90
90
|
# @return [String] A JSON string without quotes
|
91
|
-
def s(item) = item.to_s.to_json[1...-1].gsub(
|
91
|
+
def s(item) = item.to_s.to_json[1...-1].gsub(/['`\$]/) { "\\#{_1}" }
|
92
92
|
end
|
93
93
|
end
|
94
94
|
end
|
data/lib/cecil/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cecil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Nicholaides
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
An experimental templating library designed specifically for generating source code (especially for languages that
|