mymedia-kvx 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -2
- data/lib/mymedia-kvx.rb +8 -5
- metadata +39 -19
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b947f845e7ee95ffe5599d026936b339cd8cdfaa
|
4
|
+
data.tar.gz: 0a677b5acf4400622fc1a5a3e4c2c14a6a48ea07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9c990e6f1fa26492b8df706b7ccd06e95f6d103b1f5ac798bfbabefb377941d6f1055ec9003cd3d0ffe8f1b08ec4cf1fff1ff55eef70438f3db103f59e50704
|
7
|
+
data.tar.gz: c576a462b992863a08a29eecddd118a484e17204e947bc238823718531c0da7f303b2d669fcf3e23c3c65b77dda80c5e976b232aa9836ba6140ca0fc2fede640
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
ƈQ&$���D�����(���&����h_�'"P1WLX-��q~���J�v���B0��L'1��cV��+���i�D*�~G�b�����1v�霁]Q
|
1
|
+
U��d�\����uy�fاn^�OZH~�k��=\���tNp�k���}��f����
|
data/lib/mymedia-kvx.rb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
require 'mymedia'
|
6
6
|
require 'martile'
|
7
|
+
require 'nokogiri'
|
7
8
|
|
8
9
|
|
9
10
|
class MyMediaKvx < MyMedia::Base
|
@@ -65,9 +66,11 @@ class MyMediaKvx < MyMedia::Base
|
|
65
66
|
|
66
67
|
|
67
68
|
# transform the XML to an HTML file
|
69
|
+
|
68
70
|
|
69
|
-
File.write raw_destination, \
|
70
|
-
|
71
|
+
#jr010816 File.write raw_destination, \
|
72
|
+
# xsltproc("#{@home}/r/xsl/#{@public_type}.xsl", raw_dest_xml)
|
73
|
+
|
71
74
|
File.write destination, \
|
72
75
|
xsltproc("#{@home}/#{@www}/xsl/#{@public_type}.xsl", dest_xml)
|
73
76
|
|
@@ -155,9 +158,9 @@ class MyMediaKvx < MyMedia::Base
|
|
155
158
|
|
156
159
|
def xsltproc(xslpath, xmlpath)
|
157
160
|
|
158
|
-
|
159
|
-
|
160
|
-
Rexslt.new(xslpath, xmlpath).to_s
|
161
|
+
Nokogiri::XSLT(File.open(xslpath))\
|
162
|
+
.transform(Nokogiri::XML(File.open(xmlpath))).to_xhtml(indent: 0)
|
163
|
+
#jr010817 Rexslt.new(xslpath, xmlpath).to_s
|
161
164
|
end
|
162
165
|
|
163
166
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mymedia-kvx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE3MDgwMTIwNDEzNFoXDTE4MDgwMTIwNDEzNFowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-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+
7oIzIw/Jl0sKKEvN6+l+taHsLQvHcFNBkK3pDs5fBTmyu6oc1OCnhnbWRFmrCxq3
|
32
|
+
J7rT/iubVB29ig==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: mymedia
|
@@ -73,8 +73,28 @@ dependencies:
|
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.6.26
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: nokogiri
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.8'
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.8.0
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '1.8'
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 1.8.0
|
76
96
|
description:
|
77
|
-
email: james@
|
97
|
+
email: james@jamesrobertson.eu
|
78
98
|
executables: []
|
79
99
|
extensions: []
|
80
100
|
extra_rdoc_files: []
|
@@ -100,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
120
|
version: '0'
|
101
121
|
requirements: []
|
102
122
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.6.8
|
104
124
|
signing_key:
|
105
125
|
specification_version: 4
|
106
126
|
summary: Publishes Kvx files using the MyMedia framework
|
metadata.gz.sig
CHANGED
Binary file
|