mymedia-kvx 0.1.0 → 0.1.1

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: ee5061f83767da337f9fe4ba2c5ebbf5ff4cb7e7
4
- data.tar.gz: 818d112ea1326f20a9fb9775a67c7dae1fa0a600
3
+ metadata.gz: 80fe7282ed1c15eea7ea49965b3112637d416dac
4
+ data.tar.gz: 7ea18618228eba66d5ef7a2cbd8711a0e40db0b8
5
5
  SHA512:
6
- metadata.gz: 8d04f853d42184fd47670da6e936a84bb3caef76c7acf3afa605ebe76ab9b4b6567c3d389f573582104ee089871e3310ab68a6a9135733bde13597ca8683eedf
7
- data.tar.gz: 35b26c64a3dce04f55a08b23eb2de0ba8ba0900956e4ee446dba94c0847f7f21038dd13e93aec92ceacc1fe2ab4defbee3a58fa2f98b517e85e7ded75dda053d
6
+ metadata.gz: 16e38c79a300a2f24f10c6d7c939ff2551b0b18755006f4535bfe923cd1be2ee5aeaa874dc9c5737b9b0a91fa690c73e4e3fbeac953cbc2a3fad7875eca97210
7
+ data.tar.gz: 6ca423d73434ea93b5bc13e0c949a4c6c1fa42f221f0c0e46b4d0597f632acd9385c710965be938977565e26aa3e7cf35ae2380ab6a5c89c1a2de27e4fbe32d1
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/mymedia-kvx.rb CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  # file: mymedia-kvx.rb
4
4
 
5
-
6
5
  require 'mymedia'
7
6
 
8
7
 
9
-
10
8
  class MyMediaKvx < MyMedia::Base
11
9
 
12
10
  attr_reader :kvx
@@ -103,14 +101,9 @@ class MyMediaKvx < MyMedia::Base
103
101
  kvx.summary[:source] = File.basename(txt_destination)
104
102
 
105
103
  kvx.summary[:xslt] = @xsl unless kvx.item[:xslt]
106
- File.write destination, kvx.to_xml
107
-
108
- # copy the media file to the destination
109
- destination = kvx.body[:file][/^https?:\/\/[^\/]+(.*)/,1]
110
- file = destination[/[^\/]+$/]
111
- FileUtils.cp File.join(@media_src, file), File.join(@home, destination)
104
+ File.write destination, kvx.to_xml
112
105
 
113
106
  [kvx, raw_msg]
114
107
  end
115
108
 
116
- end
109
+ 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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file