pptx2medias 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pptx2medias.rb +3 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3fddb47e4e67dd4714f47bcdbe2a8a01f0d647361e07aa2e6ab484b6475ee76
4
- data.tar.gz: 16a191cd11e90a6f6d3cfd3c6fbc8b87475b068222a6d8e8700cbd05d3c988b2
3
+ metadata.gz: bce2477fc607988e5aedc809c77f5be5298a3f9774494df743a63da4fe086613
4
+ data.tar.gz: 9645baa3bb3be11e870dd793ef8eb37a12c720662e066539b3bd069b774ac8de
5
5
  SHA512:
6
- metadata.gz: 2edc044dcf1cb4e1865608e40c97357469e351d2357aed7e974986f10476bb5d1b712f67d86214b125edb88ba3bd22dc4947a926c283810e722d5bb1d04d843e
7
- data.tar.gz: 7d5074bedb416e9696555e6d2f1e9e4fef930f695d21287beab216bf0fca98e424739578ddb07221d305fe5e4a9908cd373888243650374e5a186ef957288d2d
6
+ metadata.gz: a6660b66d65ab77692befeadb357b3d94510b94f85dcb5ed6e92c512befefb92740c467abf9d72f9ef0ac52996cb4abdc42a661ac84a6015c1070f3095fa0da8
7
+ data.tar.gz: ced9ae27a7f46e52587a194937fb7afaa439bfbc8d209fdba4b1f1559e15f1072c1860cbadeca44768c9a34cf9f47a37ff92200da40aa6684430e7892306e013
data/lib/pptx2medias.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  module Pptx2Medias
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
 
4
- def self.extract(file_path)
4
+ def self.extract(input)
5
+ file_path = input.strip
5
6
  file_type = `file -b "#{file_path}"`
6
7
  file_ext = File.extname(file_path)
7
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pptx2medias
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-30 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Extracts media files (images, videos, sounds) from a PPTX file.
14
14
  email:
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  requirements: []
42
- rubygems_version: 3.1.2
42
+ rubygems_version: 3.1.4
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: Get medias from your PowerPoint presentation!