mp4_renamer 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOGS.md +5 -0
- data/Guardfile +2 -2
- data/bin/mp4_renamer +0 -1
- data/lib/mp4_renamer.rb +3 -4
- data/lib/mp4_renamer/version.rb +1 -1
- data/mp4_renamer.gemspec +4 -4
- data/test/lib/mp4_renamer/fixture_helper.rb +0 -1
- data/test/test_helper.rb +1 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b618a7de93d7d936dd5d645db543a1701a11ad1
|
4
|
+
data.tar.gz: ba6c42c9c2fcde6218f5170430d40bc436db5298
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97a7f73927d2e6e3d5ee8cae77ad9f3e87bdae3f2ed8f6c860be20f87903b7ce03683cf734cab7846ff5eea71d993d99aba7e7469ac7c579c6d8155029aa8b62
|
7
|
+
data.tar.gz: b9aeb7f9916ca86d6764a55872e2ccea716ac92d02c19f949759d6073e0f28aa516ad826359c8d462189c4594566eb1f4f984a1fda72876a8df68e2ecfb52b9f
|
data/CHANGELOGS.md
CHANGED
data/Guardfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# More info at https://github.com/guard/guard#readme
|
2
2
|
guard 'minitest' do
|
3
3
|
watch(%r|^test/(.*)\/?test_(.*)\.rb|)
|
4
|
-
watch(%r|^lib/(.*)([^/]+)\.rb|)
|
5
|
-
watch(%r|^test/test_helper\.rb|)
|
4
|
+
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
|
5
|
+
watch(%r|^test/test_helper\.rb|) { "test" }
|
6
6
|
end
|
data/bin/mp4_renamer
CHANGED
data/lib/mp4_renamer.rb
CHANGED
@@ -5,8 +5,7 @@ require 'thor'
|
|
5
5
|
require 'fileutils'
|
6
6
|
require 'mp4info'
|
7
7
|
require 'code_lister'
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
require_relative 'mp4_renamer/renamer'
|
8
|
+
require 'mp4_renamer/version'
|
9
|
+
require 'mp4_renamer/cli'
|
10
|
+
require 'mp4_renamer/renamer'
|
12
11
|
include Mp4Renamer
|
data/lib/mp4_renamer/version.rb
CHANGED
data/mp4_renamer.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ['agilecreativity@gmail.com']
|
10
10
|
spec.summary = %q{Simple gem to rename mp4 and m4a files by adding running time to the filename using embeded metadata}
|
11
11
|
spec.description = %q{Rename the mp4 and m4a files by adding the running time to the end of the filename
|
12
|
-
TL;DR
|
12
|
+
TL;DR rename 'media_file.mp4' to 'media_file_12_34.mp4' if the running time is '12:34' minutes}
|
13
13
|
spec.homepage = 'https://github.com/agilecreativity/mp4_renamer'
|
14
14
|
spec.required_ruby_version = ">= 1.9.3"
|
15
15
|
spec.license = 'MIT'
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency 'activesupport-core-ext', '~> 4.0.0.2'
|
22
22
|
spec.add_runtime_dependency 'thor', '~> 0.19.1'
|
23
23
|
spec.add_runtime_dependency 'mp4info', '~> 1.7.3'
|
24
|
-
spec.add_runtime_dependency 'code_lister', '~> 0.2.
|
24
|
+
spec.add_runtime_dependency 'code_lister', '~> 0.2.4'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'awesome_print', '~> 1.2.0'
|
27
27
|
spec.add_development_dependency 'bundler', '~> 1.7.3'
|
@@ -30,9 +30,9 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency 'guard-minitest', '~> 2.3.1'
|
31
31
|
spec.add_development_dependency 'minitest', '~> 5.4.0'
|
32
32
|
spec.add_development_dependency 'minitest-spec-context', '~> 0.0.3'
|
33
|
-
spec.add_development_dependency 'pry', '~> 0.10.
|
33
|
+
spec.add_development_dependency 'pry', '~> 0.10.1'
|
34
34
|
spec.add_development_dependency 'pry-byebug', '~> 1.3.3' if RUBY_VERSION >= '2.0.0'
|
35
35
|
spec.add_development_dependency 'rake', '~> 10.3.2'
|
36
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
36
|
+
spec.add_development_dependency 'rubocop', '~> 0.26.0'
|
37
37
|
spec.add_development_dependency 'yard', '~> 0.8.7'
|
38
38
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mp4_renamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport-core-ext
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.2.
|
61
|
+
version: 0.2.4
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.2.
|
68
|
+
version: 0.2.4
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: awesome_print
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.10.
|
173
|
+
version: 0.10.1
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.10.
|
180
|
+
version: 0.10.1
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: pry-byebug
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.
|
215
|
+
version: 0.26.0
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.
|
222
|
+
version: 0.26.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: yard
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -236,7 +236,7 @@ dependencies:
|
|
236
236
|
version: 0.8.7
|
237
237
|
description: |-
|
238
238
|
Rename the mp4 and m4a files by adding the running time to the end of the filename
|
239
|
-
TL;DR
|
239
|
+
TL;DR rename 'media_file.mp4' to 'media_file_12_34.mp4' if the running time is '12:34' minutes
|
240
240
|
email:
|
241
241
|
- agilecreativity@gmail.com
|
242
242
|
executables:
|