rss_to_dynarex 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data/lib/rss_to_dynarex.rb +3 -2
- data.tar.gz.sig +0 -0
- metadata +36 -33
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 594eeced35e0c1ad70ae81e44427eced9b6a051286e7e137dbc9945fa8466098
|
4
|
+
data.tar.gz: 2f92aff6b5443d9fe814b7dd4b528d8959c537f10ef53dc6df436078e38ddab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1199d03c8f869d8a2c58bf7912099d5ffb2c65a2f21fe1112c16079ec7ed47360069bb54d694e6f0de0a3bf299c73c6763bc781c42a24bbf5cf0ba072ae9cdc
|
7
|
+
data.tar.gz: d2865924319f653b190677ba73b2939e34a1591e17959395a2578b3bd76651ea0158a66774c3c746e624000a57700ca92c92fee6bc063f53f7a7bdeb5c75b0ea
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rss_to_dynarex.rb
CHANGED
@@ -6,6 +6,7 @@ require 'dynarex'
|
|
6
6
|
require 'nokogiri'
|
7
7
|
|
8
8
|
class RSStoDynarex
|
9
|
+
include RXFReader
|
9
10
|
|
10
11
|
attr_reader :to_dynarex
|
11
12
|
|
@@ -17,8 +18,8 @@ class RSStoDynarex
|
|
17
18
|
|
18
19
|
xslt = Nokogiri::XSLT(xsl_buffer)
|
19
20
|
#doc = open(url, 'UserAgent' => 'RSStoDynarex'){|x| x.read }
|
20
|
-
doc =
|
21
|
-
doc.encode!('UTF-8', 'binary', invalid: :replace,
|
21
|
+
doc = RXFReader.read(url).first
|
22
|
+
doc.encode!('UTF-8', 'binary', invalid: :replace,
|
22
23
|
undef: :replace, replace: '')
|
23
24
|
xml_buffer = xslt.transform(Nokogiri::XML(doc.to_s)).to_s
|
24
25
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rss_to_dynarex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjIwMjIyMjAwMzI2WhcN
|
15
|
+
MjMwMjIyMjAwMzI2WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCopGaU
|
17
|
+
NDKwQMvoxURYsYqEOLfEIllJobpHTVuchd0AZ1Na0DjltgMNE2rRmq4AIp9nX6LQ
|
18
|
+
JX6q8I+Pqs4/6Ag+XC6Hpcy8F/Hvn/9SsOah1XpstNFrSs6Hawt1BtqkAjohVJrb
|
19
|
+
Zl1yYFxuGJOLJQF6gdiJ2UkcaZJfrIyEiod4jepITiO/R0lHGd74s7Uvuun86+My
|
20
|
+
e824FC7OWOq6HA28SvpU1JwDrbKXtgCG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
yQK8ASnGq0Hi4RfBOnVTWrBLuqb8UfdjR6LjeFB+aHOveI1C5eaVJqR6pFyluJyx
|
36
|
+
CDha257gtkY1PoP2oINg2Svj
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: nokogiri
|
@@ -39,42 +43,42 @@ dependencies:
|
|
39
43
|
requirements:
|
40
44
|
- - "~>"
|
41
45
|
- !ruby/object:Gem::Version
|
42
|
-
version: '1.
|
46
|
+
version: '1.13'
|
43
47
|
- - ">="
|
44
48
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.
|
49
|
+
version: 1.13.3
|
46
50
|
type: :runtime
|
47
51
|
prerelease: false
|
48
52
|
version_requirements: !ruby/object:Gem::Requirement
|
49
53
|
requirements:
|
50
54
|
- - "~>"
|
51
55
|
- !ruby/object:Gem::Version
|
52
|
-
version: '1.
|
56
|
+
version: '1.13'
|
53
57
|
- - ">="
|
54
58
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
59
|
+
version: 1.13.3
|
56
60
|
- !ruby/object:Gem::Dependency
|
57
61
|
name: dynarex
|
58
62
|
requirement: !ruby/object:Gem::Requirement
|
59
63
|
requirements:
|
60
64
|
- - "~>"
|
61
65
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1.
|
66
|
+
version: '1.9'
|
63
67
|
- - ">="
|
64
68
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.
|
69
|
+
version: 1.9.5
|
66
70
|
type: :runtime
|
67
71
|
prerelease: false
|
68
72
|
version_requirements: !ruby/object:Gem::Requirement
|
69
73
|
requirements:
|
70
74
|
- - "~>"
|
71
75
|
- !ruby/object:Gem::Version
|
72
|
-
version: '1.
|
76
|
+
version: '1.9'
|
73
77
|
- - ">="
|
74
78
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
79
|
+
version: 1.9.5
|
76
80
|
description:
|
77
|
-
email:
|
81
|
+
email: digital.robertson@gmail.com
|
78
82
|
executables: []
|
79
83
|
extensions: []
|
80
84
|
extra_rdoc_files: []
|
@@ -100,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
104
|
- !ruby/object:Gem::Version
|
101
105
|
version: '0'
|
102
106
|
requirements: []
|
103
|
-
|
104
|
-
rubygems_version: 2.4.8
|
107
|
+
rubygems_version: 3.2.22
|
105
108
|
signing_key:
|
106
109
|
specification_version: 4
|
107
110
|
summary: rss_to_dynarex
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Q��+b&�4����kZt@�Y7�)�vqqx�e��mb� ����R9
|
2
|
+
�`A���
|
3
|
+
&5�`R�Tq�"��hA��-��r���Y��;�u�]�#w��Y�8�e:}���Suս�����0��"X�� \s�-�9�^3N�rU��~L�VDa��Wܝ��J3z�ʼng��dE��8XK9����ѷ�~�Nl�x>�3�=
|