dx_sliml 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 632fbd94c02606a7619863f1e3085ccaa9b06281
4
- data.tar.gz: b992d4d2bd2ab0dadfd120a28392130dd8c279dc
3
+ metadata.gz: b85bc8e26ae0b275374f22650d81cf8a0db3ae8a
4
+ data.tar.gz: cb21695040e6a69aed97d5899b1824aaa7aa34b3
5
5
  SHA512:
6
- metadata.gz: c1fb1e4677a24a6779de93492bfa55704ccc32b029fe3132f03bb9df0e8954dd357c383edea09397f2b981ecfec88d2130b20d8df10dc233d088d370461a54e2
7
- data.tar.gz: 6d76ed2f4327cd87d885f214db6b2199482a25c355ec860800f1d3224cef352a2ce7555517e0268f8176b5186eac97d7d402409c1b67209ccdecbf92e1dbbfe8
6
+ metadata.gz: bab859a76eebb1c367a2346c4f32aa234d31fde9eb8e513f5f1980db2eed5f85b3b07d9ea506c80f311dbfd066cd3775355d576f369be0cf87d107666b45bb31
7
+ data.tar.gz: 7fd25a3ce3d8f3fd76965edb81bb265b55fa966d21ec30926a96525f0ebaca4b2e222ad2a577ee45a488a041cd4186c0b678f6ec9806f21ab541ed8a640a3ce4
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -13,7 +13,7 @@ class DxSliml
13
13
 
14
14
  @dx = dx.is_a?(Dynarex) ? dx : Dynarex.new(dx)
15
15
 
16
- sliml.gsub!(/\{[^\}]+\}/) { |x| x.gsub(/\$(\w+)/,'\'{\1}\'')}
16
+ sliml.gsub!(/\{[^\}]+\}/) { |x| x.gsub(/(\S*)\$(\w+)/,'\'\1{\2}\'')}
17
17
  xml = LineTree.new(sliml).to_xml declaration: false, pretty: true
18
18
 
19
19
  @recxsl = xml.gsub(/\$(\w+)/, '<xsl:value-of select="\1"/>')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dx_sliml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  riqQvKCPf2pAclvY7x0rzJmfVDI5Puxxi7MLiknObzzMYR3lV9jHqYf9GUX+gZYo
32
32
  T+1jKCori2GnHw==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-09-22 00:00:00.000000000 Z
34
+ date: 2015-10-06 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex
metadata.gz.sig CHANGED
Binary file