mymedia-dynarex 0.1.1 → 0.1.2
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/lib/mymedia-dynarex.rb +4 -2
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: b002fe9960c76b4de86a59d5717ba418001c2188
|
4
|
+
data.tar.gz: 2527e0a2c730b7f2d7f786d77abb3e486e0b24cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d0ee58459b212beaa2b8700062fb0ad4fef775d50a09f0568e8df73fdce4295a7713aad4450270a35129354b551adb8df0fc0af02ed9c7cb11e5a3136e2c5ba
|
7
|
+
data.tar.gz: 44af87bfd87a94b7a73ac556a4c57af5c5a7829a1c9f3b7c8721d2c6120d9df87fa594b03a50aeff4ff257ed198efac461d14e90b55e14228877ac289f16e8ba
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/mymedia-dynarex.rb
CHANGED
@@ -11,9 +11,10 @@ end
|
|
11
11
|
|
12
12
|
class MyMediaDynarex < MyMedia::Base
|
13
13
|
|
14
|
-
def initialize(
|
14
|
+
def initialize(public_type: 'dynarex', media_type: 'mmdynarex', \
|
15
|
+
config: nil, xsl: '/xsl/dynarex-c.xsl')
|
15
16
|
|
16
|
-
@xsl =
|
17
|
+
@xsl = xsl
|
17
18
|
super(media_type: media_type, public_type: @public_type=public_type, config: config)
|
18
19
|
|
19
20
|
@media_src = "%s/media/%s" % [@home, public_type]
|
@@ -35,6 +36,7 @@ class MyMediaDynarex < MyMedia::Base
|
|
35
36
|
raw_msg = File.basename(src_path) + " updated: " + Time.now.to_s
|
36
37
|
end
|
37
38
|
|
39
|
+
|
38
40
|
if File.extname(src_path) == '.txt' then
|
39
41
|
dynarex, raw_msg = copy_edit(src_path, destination)
|
40
42
|
copy_edit(src_path, raw_destination)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mymedia-dynarex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
Kvp4vcZbrbtWbd3dbhTZO4vyrKTaYDC5I+bJrqqQS79Ee9i32us9I9vjda5VBbOD
|
32
32
|
LxIJBhL6Ema94A==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-
|
34
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: mymedia
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.4.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Publish Dynarex files using the MyMedia gem
|
metadata.gz.sig
CHANGED
Binary file
|