mymedia 0.5.4 → 0.5.5
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.rb +14 -0
- 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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9524fd31dc71743e9163c15572ccb65ee1d3cad4a9e9753a4e7bea39cf2caf1b
|
|
4
|
+
data.tar.gz: a60ca935a57e95a523182a7ad2fc43f35289dc5cb25210b98084e4455c6e982e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c26f58519f36dd058cd791002217404c6710479c1255e4217885d8aaff0d04820b11e5313b1f65d1c8a6284bcba3a49a7f61b39edf8a08d10d731fa73897f6c
|
|
7
|
+
data.tar.gz: d0c6a852d647c5caf91bc282814f40ff718edf53815f0404f390e120bcbcc38b4f4d0e6d7cbc395e45490378d34cedfd5fdc4c493603289962d90748efba8014
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/mymedia.rb
CHANGED
|
@@ -168,6 +168,20 @@ module MyMedia
|
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
end
|
|
171
|
+
|
|
172
|
+
def find_sourcefile(id)
|
|
173
|
+
|
|
174
|
+
json_filepath = "%s/%s/dynarex.json" % [@home, @public_type]
|
|
175
|
+
|
|
176
|
+
if FileX.exists? json_filepath then
|
|
177
|
+
|
|
178
|
+
dx = DxLite.new(json_filepath)
|
|
179
|
+
rx = dx.find_by_id(id)
|
|
180
|
+
Kvx.new(@home + rx.meta).file
|
|
181
|
+
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
end
|
|
171
185
|
end
|
|
172
186
|
|
|
173
187
|
class BaseException < Exception
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mymedia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
bL55NDdi8BFHkNVohRBak7aqxsw41LJKy3UTP+4TzU5vyluDJMiscK6JJFaM4JiS
|
|
36
36
|
xtlAM0O5ZFe9QflatP+P8JnB
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2022-
|
|
38
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: dir-to-xml
|
metadata.gz.sig
CHANGED
|
Binary file
|