mymedia-kvx 0.2.2 → 0.2.3
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/mymedia-kvx.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 594bf47cd69f8fe51d77edc8d37830766abeaf3e
|
|
4
|
+
data.tar.gz: 342d6c255403ed22092f0a18666d9baca968b88c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f73624b2cb69065d5f91e87d8150bf1ec1195f2ed7bb0ec6b99c1aae6c7a6372065b0485e75170e9899525bb9a0855f8b859bb79b9d1365d33451752ebda9b5
|
|
7
|
+
data.tar.gz: 1a3cea68ba6b256085d3cab8254467eb822dfc44349d2a662e7f176f46da36a579d7710035b82f88646a409f41fd77c5fb13df2dc3c98bad101b14a49e5967b7
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/mymedia-kvx.rb
CHANGED
|
@@ -60,7 +60,7 @@ class MyMediaKvx < MyMedia::Base
|
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
# add the XSLT instruction to the destination XML file
|
|
63
|
-
File.write dest_xml,
|
|
63
|
+
File.write dest_xml, kvx.to_doc.xml(pretty: true)
|
|
64
64
|
|
|
65
65
|
# transform the XML to an HTML file
|
|
66
66
|
|
|
@@ -120,12 +120,12 @@ class MyMediaKvx < MyMedia::Base
|
|
|
120
120
|
kvx.summary[:published] = Time.now.strftime("%d-%m-%Y %H:%M")
|
|
121
121
|
kvx.summary[:xslt] = @xsl unless kvx.summary[:xslt]
|
|
122
122
|
|
|
123
|
-
doc =
|
|
123
|
+
doc = kvx.to_doc
|
|
124
124
|
doc.instructions.push \
|
|
125
125
|
%w(xml-stylesheet title='XSL_formatting' type='text/xsl') \
|
|
126
126
|
+ ["href='#{@website}/r/xsl/#{@public_type}.xsl'"]
|
|
127
127
|
|
|
128
|
-
File.write destination,
|
|
128
|
+
File.write destination, doc.xml(pretty: true)
|
|
129
129
|
|
|
130
130
|
[kvx, raw_msg]
|
|
131
131
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
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.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
YzFxKlntIoLHNxMAQ9M9J4Yo+Lqm3HQ1PfyOUBU1Ut9Jkp76o++6L7SZbjSkvntp
|
|
32
32
|
3P+jHJ4bpGBJQg==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-05-
|
|
34
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: mymedia
|
metadata.gz.sig
CHANGED
|
Binary file
|