rexle 1.3.17 → 1.3.18

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: 777d29e820842eed60966cb67ee8cf8c8211d577
4
- data.tar.gz: 624cf37cf24651e1d0fb75452847979a84ff8448
3
+ metadata.gz: c388744861327a4e1b475a849e11a5e6d1278cd3
4
+ data.tar.gz: dddffd0e5e39078fbd72275b14bab7eb113e3c8b
5
5
  SHA512:
6
- metadata.gz: ba8909254b564445bb1649e9f98fd1791a8a827b5765f51ad0f1a433116b452241c2dba5302232ab222d1fa4c433b293f7eac46287006025207c387ff40e69b6
7
- data.tar.gz: af10871ef56db5998db7012dd80af1e35148c6553c48055cdf193b284081efef2b1731a81dbbaf79d3de24e90dece74b9ea0e93c20557c0e3edf6aac048c2127
6
+ metadata.gz: 5f77c7a0d2e17c552d00e181b46afb0521dd612bb848971b270846ed07d9f99bcea894829f311e55983cfe87d43428728b51bb600e2e0b66f6104c8c84b9d9ee
7
+ data.tar.gz: e687444d7df8d3add3631d671e0559dbd7d5ac2747a28e4998bd1c08d47df3d43983d646d0e6041df2f9b4526720cced614391f4d8681c46e306423a91d3e8de
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -14,6 +14,8 @@ require 'backtrack-xpath'
14
14
 
15
15
  # 04-Apr-2016: bug fix: modified the bug fix from the 15-Mar-2016 to
16
16
  # validate on a function name only within the variable attr_search
17
+ # minor improvement: Added a new line character between
18
+ # XML processing instructions
17
19
  # 28-Mar-2016: minor feature: the name of an attribute can now be
18
20
  # passed into Rexle::Element#text
19
21
  # 15-Mar-2016: bug fix: Reapplied a select case statement (which had
@@ -107,7 +109,7 @@ module XMLhelper
107
109
  ' ' + a.join(' '), ind, body, "\n", self.root.name]
108
110
 
109
111
  if self.instructions and declaration then
110
- processing_instructions("\n") + "\n" + xml
112
+ processing_instructions("") + xml
111
113
  else
112
114
  xml
113
115
  end
@@ -119,7 +121,7 @@ module XMLhelper
119
121
 
120
122
  def processing_instructions(s='')
121
123
  self.instructions.map do |instruction|
122
- "<?%s?>" % instruction.join(' ')
124
+ "<?%s?>\n" % instruction.join(' ')
123
125
  end.join s
124
126
  end
125
127
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.17
4
+ version: 1.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file