ehbrs_ruby_utils 0.5.1 → 0.6.0

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: a12ebb31b9d43c2d015b07c8173e4b0e2197e0989d5030fdbb4f5e42f8144e57
4
- data.tar.gz: '0396cb171671713feaa39b5b8794edbc6901c62dd520ed26998d006f9588a32b'
3
+ metadata.gz: a2fd99658423c54235ee5e621107632c4ad9a0bc100a139511245865f491e4d3
4
+ data.tar.gz: 5bf38612a9edaec4c17250614de49e01abbd3daec0139f78a86c77233350b336
5
5
  SHA512:
6
- metadata.gz: a33e6b5c8b84ce3388a1d7508e47afc2f7b507e1f9684e089ddf56551aa7baec1e35844f3649898e67fa779a52b2d3276febfb316374cd466969acf9f3003b15
7
- data.tar.gz: 4f8902ed5d5e40970a80977f02fc65740af3b7fa1485498b9a6985c9030f65cdb310664fd622631ac84ff8582bb153f65a1e4d48782776086210e98a283ce58d
6
+ metadata.gz: 952ba9525cf3e86b52ecfd4beee3446edde39415210a8e5b2fb673a147c9e069e6df75f2d1480fc978a4be889c9c7157949fdbca64e0d3fe347ff5a290128162
7
+ data.tar.gz: 98c3c31f33f94e0b3548ad37861e24885e073e2be6c9f91d14026464bc781208c6c10d1ef0ae81276d9ba2be3b63c03ee2c385d88ecba6092f16e636619cd5b7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EhbrsRubyUtils
4
- VERSION = '0.5.1'
4
+ VERSION = '0.6.0'
5
5
  end
@@ -11,7 +11,7 @@ module EhbrsRubyUtils
11
11
  'matroska' => '.mkv'
12
12
  }.freeze
13
13
 
14
- enable_console_speaker
14
+ enable_speaker
15
15
  enable_simple_cache
16
16
  common_constructor :input, :ffmpeg_convert_args do
17
17
  self.input = input.to_pathname.expand_path
@@ -29,12 +29,18 @@ module EhbrsRubyUtils
29
29
  ffprobe_data
30
30
  end
31
31
 
32
- %i[index codec_name codec_long_name].each do |method_name|
32
+ %i[index].each do |method_name|
33
33
  define_method method_name do
34
34
  ffprobe_data.fetch(method_name)
35
35
  end
36
36
  end
37
37
 
38
+ %i[codec_name codec_long_name].each do |method_name|
39
+ define_method method_name do
40
+ ffprobe_data[method_name]
41
+ end
42
+ end
43
+
38
44
  def codec_type
39
45
  ffprobe_data.fetch(:codec_type).to_sym
40
46
  end
@@ -46,6 +52,10 @@ module EhbrsRubyUtils
46
52
  def language
47
53
  tags[:language]
48
54
  end
55
+
56
+ def title
57
+ tags[:title]
58
+ end
49
59
  end
50
60
  end
51
61
  end
@@ -8,7 +8,7 @@ module EhbrsRubyUtils
8
8
  module WebUtils
9
9
  module Videos
10
10
  class FilesList
11
- enable_console_speaker
11
+ enable_speaker
12
12
  enable_simple_cache
13
13
 
14
14
  common_constructor :type_class, :root_path, :options do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-26 00:00:00.000000000 Z
11
+ date: 2021-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_ruby_utils
@@ -16,34 +16,54 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.36'
19
+ version: '0.69'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.69.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '0.36'
29
+ version: '0.69'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.69.1
27
33
  - !ruby/object:Gem::Dependency
28
- name: eac_ruby_gem_support
34
+ name: aranha-parsers
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0.1'
39
+ version: '0.7'
34
40
  - - ">="
35
41
  - !ruby/object:Gem::Version
36
- version: 0.1.1
42
+ version: 0.7.2
37
43
  type: :development
38
44
  prerelease: false
39
45
  version_requirements: !ruby/object:Gem::Requirement
40
46
  requirements:
41
47
  - - "~>"
42
48
  - !ruby/object:Gem::Version
43
- version: '0.1'
49
+ version: '0.7'
44
50
  - - ">="
45
51
  - !ruby/object:Gem::Version
46
- version: 0.1.1
52
+ version: 0.7.2
53
+ - !ruby/object:Gem::Dependency
54
+ name: eac_ruby_gem_support
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '0.2'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '0.2'
47
67
  description:
48
68
  email:
49
69
  executables: []
@@ -82,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
102
  - !ruby/object:Gem::Version
83
103
  version: '0'
84
104
  requirements: []
85
- rubygems_version: 3.0.8
105
+ rubygems_version: 3.1.6
86
106
  signing_key:
87
107
  specification_version: 4
88
108
  summary: Utilities for EHB/RS's Ruby projects.