rss_to_dynarex 0.1.6 → 0.1.7

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: ff396317c296ca47b2ace6e7f23dfdf2ca2cb05c
4
- data.tar.gz: f689bca92124711f3c054992a91ebf737153c243
3
+ metadata.gz: e8ad3add51f28de909a6accad224121c5a6024d5
4
+ data.tar.gz: 4302d0b6c7c448c0d1e6e062444b2ab7c07ba883
5
5
  SHA512:
6
- metadata.gz: 6e1040bff0573dc90022b5791db1460a565eba1b2c080532ed3cf8a4caf2011f0731ab9eeeded4473dec10c06cc6e6ef95510412c21547dd5c18d16864a75b6b
7
- data.tar.gz: 2027f0ec99984edda87a74ad2283591a2cbc9c756112002ae77a53d16b611a65069b41add6c4db8ce44d5b0899c1b877b69566761ce771c21ad0d8d882fa5712
6
+ metadata.gz: 9740d492d42213e232ba9e1c9ba00522d447cfdc102437fc32907da918b754f1603cb966eb4ee10e0564997a5e1a0642e18ddaccf2213360c8db2311e6aa272e
7
+ data.tar.gz: f27b953899aa08724052740560abe742b727bb694fd86d5c364d950368b7b81e945b72ffd772a01c8768f8864c0125199e5e0b1742c03ed18bb74ca7bd7fbbe2
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -16,11 +16,12 @@ class RSStoDynarex
16
16
  #xsl_buffer = File.read('rss_to_dynarex.xsl')
17
17
 
18
18
  xslt = Nokogiri::XSLT(xsl_buffer)
19
- doc = open(url, 'UserAgent' => 'RSStoDynarex'){|x| x.read }
19
+ #doc = open(url, 'UserAgent' => 'RSStoDynarex'){|x| x.read }
20
+ doc = RXFHelper.read(url).first
20
21
  doc.encode!('UTF-8', 'binary', invalid: :replace,
21
22
  undef: :replace, replace: '')
22
23
  xml_buffer = xslt.transform(Nokogiri::XML(doc.to_s)).to_s
23
-
24
+
24
25
  @to_dynarex = Dynarex.new xml_buffer
25
26
  end
26
27
 
@@ -28,7 +29,7 @@ end
28
29
 
29
30
  if __FILE__ == $0 then
30
31
 
31
- rtd = RSStoDynarex.new 'http://stallman.org/rss/rss.xml'
32
+ rtd = RSStoDynarex.new 'https://stallman.org/rss/rss.xml'
32
33
  dynarex = rtd.to_dynarex
33
34
  dynarex.save 'rms.xml'
34
- end
35
+ end
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -12,55 +12,67 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
14
  YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTEzMTIwMjE5MDExN1oXDTE0MTIwMjE5MDExN1owSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE1MTAyNDIzMjYwN1oXDTE2MTAyMzIzMjYwN1owSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAMr8Ir1dqN4hD/gNOxT0qouRa2BbgjavrHysrt54myIqEt+3wHCYj2PGEAcg
19
- npJDkQt2z92rAJ5fTOonPVubehMtozItmgc2HYJTkE0+sFsbKwolBswqjUkxlGYp
20
- eIeGg88bwHoPHb51fxYl2BbVJ091LRzt0ijrfbytO1HGIUnl31KtFCazvWe05IUH
21
- 0dK36eGOupKDQiZgKh+JsQUnkefCs4I11ekfBSDn+xuZoJHbhVK0HuA6jPjoFsvq
22
- 2wITf29EQ/kcbggF8dnAph6JLQf7kw4gPPDSOuxUFz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dmufsHZCPpy58YR2UIMsrLfXiMmt3uV77VZcvc0LT9ggyMm2
32
- DsOgLeb1eghnBw==
26
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEApMT3/v4R
27
+ g1yeN2c+hNAhpwCR5Tc0CecPD2N0XNMr1BpVEtGLAmnYrmdKX75UlKsmlkBkB/6Q
28
+ Ur2Td0Ij1C6pOhJN6idGfY3jVfoEXCmadpfirN/insXYWHGunNS586J9PBxC6S9R
29
+ LtuqBN3BunzNYX33Xj3kDnak0GSBMiOy0xC3xekOPG2vXmaTZc2+o7TPvye3IGfW
30
+ pb3PVYzG833CnCysySVVatsfF6JnnGwt4CxVlNH/Ds7DyEOxpiXptkIMiCm2R5z5
31
+ ALVemLC5wL8HApsmAwaEN+Kn9h1u6/76PePR1BerFPK62fF3WFmIAGwBzEKXCIsC
32
+ Fs0YEOAhROwOlQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2013-12-11 00:00:00.000000000 Z
34
+ date: 2015-10-24 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: nokogiri
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.6'
40
43
  - - ">="
41
44
  - !ruby/object:Gem::Version
42
- version: '0'
45
+ version: 1.6.2.1
43
46
  type: :runtime
44
47
  prerelease: false
45
48
  version_requirements: !ruby/object:Gem::Requirement
46
49
  requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.6'
47
53
  - - ">="
48
54
  - !ruby/object:Gem::Version
49
- version: '0'
55
+ version: 1.6.2.1
50
56
  - !ruby/object:Gem::Dependency
51
57
  name: dynarex
52
58
  requirement: !ruby/object:Gem::Requirement
53
59
  requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.2'
54
63
  - - ">="
55
64
  - !ruby/object:Gem::Version
56
- version: '0'
65
+ version: 1.2.90
57
66
  type: :runtime
58
67
  prerelease: false
59
68
  version_requirements: !ruby/object:Gem::Requirement
60
69
  requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '1.2'
61
73
  - - ">="
62
74
  - !ruby/object:Gem::Version
63
- version: '0'
75
+ version: 1.2.90
64
76
  description:
65
77
  email: james@r0bertson.co.uk
66
78
  executables: []
@@ -81,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
93
  requirements:
82
94
  - - ">="
83
95
  - !ruby/object:Gem::Version
84
- version: '0'
96
+ version: 2.1.2
85
97
  required_rubygems_version: !ruby/object:Gem::Requirement
86
98
  requirements:
87
99
  - - ">="
@@ -89,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
101
  version: '0'
90
102
  requirements: []
91
103
  rubyforge_project:
92
- rubygems_version: 2.0.0.rc.2
104
+ rubygems_version: 2.4.8
93
105
  signing_key:
94
106
  specification_version: 4
95
107
  summary: rss_to_dynarex
metadata.gz.sig CHANGED
Binary file