polyrex 1.3.4 → 1.3.5

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
  SHA256:
3
- metadata.gz: 5e211b56546f7a7d8cc51eff031d5e404ae3d6fc6f7c3082bac158e88fc80f3e
4
- data.tar.gz: fde6175c6355d803c5c31f7a49105cbb9ef27ad1b83daf702fcd4a6c144b631f
3
+ metadata.gz: 3413a3c5b270c23b38ac9eb38d7a5db277015cf7c243f417801c1de3eae70b07
4
+ data.tar.gz: c8efa6bf7eaaf63495be71aa4075d9c4ece28d3e90e9bc78b7f8949a464b8408
5
5
  SHA512:
6
- metadata.gz: 821c0da30fb333a44418cf8cbb96789ea9e5e216646d33dee374461db182f54c9df59ba57ac56e2c2050053f31ad829ea8f00ce4d3b0982fd7ca1bac378042bb
7
- data.tar.gz: '0785691bdae1f3e99665b1c3600e5ddce7027ef35ecd8eabea1ab98ae02ef33aaf77ceba456a3729be1d6c4ae0e7cb0c0e2bb1865f98ff63da1790dc0a6bf436'
6
+ metadata.gz: 04c957f9db524ed3d613174e2526b8a33beeaeda041ea1067e7e4fd68a13b43b1495c7b97ebb01266daa22629632dcd71efb3855fa986e8bdad6fd2f399ead48
7
+ data.tar.gz: 26a35f2b6f012ece9689c9f5b804d53a1b6b917f36128d6dc7a5244b0ae474520abf97b5b500cc8679ed94097c5865c3373f2db6068d4f92560e6023dc42c012
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/polyrex.rb CHANGED
@@ -122,7 +122,7 @@ class Polyrex
122
122
  end
123
123
 
124
124
  def export(filepath)
125
- File.write filepath, to_s()
125
+ FileX.write filepath, to_s()
126
126
  end
127
127
 
128
128
  def record()
@@ -144,7 +144,7 @@ class Polyrex
144
144
  xml = @doc.to_s(options)
145
145
 
146
146
  buffer = block_given? ? yield(xml) : xml
147
- File.open(filepath,'w'){|f| f.write buffer}
147
+ FileX.write filepath, buffer
148
148
  end
149
149
 
150
150
  # -- start of crud methods --
@@ -730,7 +730,7 @@ xsl_buffer = '
730
730
  elsif s[/^https?:\/\//] then # url
731
731
  buffer = URI.open(s, 'UserAgent' => 'Polyrex-Reader').read
732
732
  else # local file
733
- buffer = File.read s
733
+ buffer = FileX.read s
734
734
  @local_filepath = s
735
735
  end
736
736
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  rivEdfkvT/8GV5Nip0lSS+cuk20UhOdJR9QIcCJp0QL4NUik9VYljGbQbQQS6Isc
36
36
  iIwZ6uFJfcp9SWBRrSZmlI52
37
37
  -----END CERTIFICATE-----
38
- date: 2021-11-18 00:00:00.000000000 Z
38
+ date: 2022-01-27 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: polyrex-objects
@@ -103,20 +103,20 @@ dependencies:
103
103
  requirements:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
- version: '1.8'
106
+ version: '1.9'
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 1.8.27
109
+ version: 1.9.1
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '1.8'
116
+ version: '1.9'
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: 1.8.27
119
+ version: 1.9.1
120
120
  description:
121
121
  email: digital.robertson@gmail.com
122
122
  executables: []
@@ -147,5 +147,5 @@ rubyforge_project:
147
147
  rubygems_version: 2.7.10
148
148
  signing_key:
149
149
  specification_version: 4
150
- summary: A flavour of XML for storing and retrieveing records in a Polyrex hierarchy
150
+ summary: A flavour of XML for storing and retrieving records in a Polyrex hierarchy
151
151
  test_files: []
metadata.gz.sig CHANGED
Binary file