mymedia 0.5.4 → 0.5.5

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
  SHA256:
3
- metadata.gz: '0549b56450b11fe46c8c2b51e9d77258936651dad8a6768fc97a8dc5c6aaac26'
4
- data.tar.gz: 39526f96af64fc8809b27d8debb6ad00c98ac559d9530d2cab79dd0bed832420
3
+ metadata.gz: 9524fd31dc71743e9163c15572ccb65ee1d3cad4a9e9753a4e7bea39cf2caf1b
4
+ data.tar.gz: a60ca935a57e95a523182a7ad2fc43f35289dc5cb25210b98084e4455c6e982e
5
5
  SHA512:
6
- metadata.gz: 815295d51895458924a515ae171d7f8886585c2b957de9c511d290a32c4b72e89758bb30adc2bd7320291c3a73a2c0dbd13aedd8e42b04787c2f0b5c2fea6c53
7
- data.tar.gz: 1b9ddf1205599269266c5fc544bbaf6ed4953358c3555048c77a21d864fe9cd8a500b4d08f3eda4d474cb0653d1ca8c6d11eb851760c1d62b272476d8c93100d
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
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-04-07 00:00:00.000000000 Z
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