mp4_renamer 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: 836f50f2655024af8ce356fd6e65dd512f80ae7e
4
- data.tar.gz: 07b965f02f931d3ae4ae64366b331be1c6b0067a
3
+ metadata.gz: 0686acc355724c8f96f7a97a2b5f2d948b39218d
4
+ data.tar.gz: 7703b342ba531e44834d05fdc112c4f22549f882
5
5
  SHA512:
6
- metadata.gz: 9c7e23ba9d265e90991cbd49630f51fd95102b7e776a3479be61c2d0f52ebe616992a979ebb0e6040bf20ee7bec5de3aee6f565853347d385c7d56e4b45b1001
7
- data.tar.gz: 6b36aa1e0ef2c2da2d67f2354f244ccc2ec7ea2d9540cd04bc88d33967866e83e07f0d20159f0c0f3a16afcfe99f28fad84e15bdaea1083014542f2624550a0f
6
+ metadata.gz: 6c90ff670c4a468e9f6d3bf36911fa14522e5f3584a08e994fd58ebb89a2e4d27811b76b8e5bb47bdbbfa16172964ad163c91dd5de34702cc4700424db4fe990
7
+ data.tar.gz: e7c974312e043b376fbfdf2768a776951eec2cc5507be052bc418d3fb0f056aa5c3dde594d47c9a4f4a8500b2e37b38ecdbaeb2f94e45314349bd3f8d323af8c
@@ -1,5 +1,10 @@
1
1
  ### Changelogs
2
2
 
3
+ #### 0.1.6
4
+
5
+ - Replace deprecated gem
6
+ - Use optimistic versionging in gemspec file
7
+
3
8
  #### 0.1.5
4
9
 
5
10
  - Ignore the case when scanning for input files
@@ -1,6 +1,5 @@
1
1
  require 'active_support'
2
- require 'active_support/core_ext/object/blank'
3
- require 'active_support/core_ext/hash/keys'
2
+ require 'active_support/core_ext'
4
3
  require 'thor'
5
4
  require 'fileutils'
6
5
  require 'mp4info'
@@ -20,7 +20,7 @@ module Mp4Renamer
20
20
  desc: 'Display version number',
21
21
  default: false
22
22
  def execute
23
- opts = options.symbolize_keys
23
+ opts = options.deep_symbolize_keys
24
24
  if opts[:version]
25
25
  puts "You are using Mp4Renamer version #{Mp4Renamer::VERSION}"
26
26
  exit
@@ -1,3 +1,3 @@
1
1
  module Mp4Renamer
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -18,21 +18,20 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'activesupport-core-ext', '~> 4.0.0.2'
22
- spec.add_runtime_dependency 'thor', '~> 0.19.1'
21
+ spec.add_runtime_dependency 'thor', '~> 0.19'
23
22
  spec.add_runtime_dependency 'mp4info', '~> 1.7.3'
24
- spec.add_runtime_dependency 'code_lister', '~> 0.2.4'
23
+ spec.add_runtime_dependency 'code_lister', '~> 0.2'
25
24
 
26
- spec.add_development_dependency 'awesome_print', '~> 1.6.1'
27
- spec.add_development_dependency 'bundler', '~> 1.9.6'
28
- spec.add_development_dependency 'gem-ctags', '~> 1.0.6'
29
- spec.add_development_dependency 'guard', '~> 2.12.5'
30
- spec.add_development_dependency 'guard-minitest', '~> 2.4.4'
31
- spec.add_development_dependency 'minitest', '~> 5.6.1'
32
- spec.add_development_dependency 'minitest-spec-context', '~> 0.0.3'
33
- spec.add_development_dependency 'pry', '~> 0.10.1'
34
- spec.add_development_dependency 'pry-byebug', '~> 1.3.3' if RUBY_VERSION >= '2.0.0'
35
- spec.add_development_dependency 'rake', '~> 10.4.2'
36
- spec.add_development_dependency 'rubocop', '~> 0.31.0'
37
- spec.add_development_dependency 'yard', '~> 0.8.7'
25
+ spec.add_development_dependency 'awesome_print', '~> 1.6'
26
+ spec.add_development_dependency 'bundler', '~> 1.10'
27
+ spec.add_development_dependency 'gem-ctags', '~> 1.0'
28
+ spec.add_development_dependency 'guard', '~> 2.12'
29
+ spec.add_development_dependency 'guard-minitest', '~> 2.4'
30
+ spec.add_development_dependency 'minitest', '~> 5.6'
31
+ spec.add_development_dependency 'minitest-spec-context', '~> 0.0'
32
+ spec.add_development_dependency 'pry', '~> 0.10'
33
+ spec.add_development_dependency 'pry-byebug', '~> 1.3' if RUBY_VERSION >= '2.0.0'
34
+ spec.add_development_dependency 'rake', '~> 10.4'
35
+ spec.add_development_dependency 'rubocop', '~> 0.31'
36
+ spec.add_development_dependency 'yard', '~> 0.8'
38
37
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mp4_renamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-09 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: activesupport-core-ext
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 4.0.0.2
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 4.0.0.2
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: thor
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: 0.19.1
19
+ version: '0.19'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: 0.19.1
26
+ version: '0.19'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: mp4info
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,182 +44,182 @@ dependencies:
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: 0.2.4
47
+ version: '0.2'
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: 0.2.4
54
+ version: '0.2'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: awesome_print
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: 1.6.1
61
+ version: '1.6'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: 1.6.1
68
+ version: '1.6'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: bundler
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: 1.9.6
75
+ version: '1.10'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: 1.9.6
82
+ version: '1.10'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: gem-ctags
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: 1.0.6
89
+ version: '1.0'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: 1.0.6
96
+ version: '1.0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: guard
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: 2.12.5
103
+ version: '2.12'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: 2.12.5
110
+ version: '2.12'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: guard-minitest
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: 2.4.4
117
+ version: '2.4'
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: 2.4.4
124
+ version: '2.4'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: minitest
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: 5.6.1
131
+ version: '5.6'
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: 5.6.1
138
+ version: '5.6'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: minitest-spec-context
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: 0.0.3
145
+ version: '0.0'
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: 0.0.3
152
+ version: '0.0'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: pry
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
157
  - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: 0.10.1
159
+ version: '0.10'
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: 0.10.1
166
+ version: '0.10'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: pry-byebug
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - "~>"
186
172
  - !ruby/object:Gem::Version
187
- version: 1.3.3
173
+ version: '1.3'
188
174
  type: :development
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
- version: 1.3.3
180
+ version: '1.3'
195
181
  - !ruby/object:Gem::Dependency
196
182
  name: rake
197
183
  requirement: !ruby/object:Gem::Requirement
198
184
  requirements:
199
185
  - - "~>"
200
186
  - !ruby/object:Gem::Version
201
- version: 10.4.2
187
+ version: '10.4'
202
188
  type: :development
203
189
  prerelease: false
204
190
  version_requirements: !ruby/object:Gem::Requirement
205
191
  requirements:
206
192
  - - "~>"
207
193
  - !ruby/object:Gem::Version
208
- version: 10.4.2
194
+ version: '10.4'
209
195
  - !ruby/object:Gem::Dependency
210
196
  name: rubocop
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
199
  - - "~>"
214
200
  - !ruby/object:Gem::Version
215
- version: 0.31.0
201
+ version: '0.31'
216
202
  type: :development
217
203
  prerelease: false
218
204
  version_requirements: !ruby/object:Gem::Requirement
219
205
  requirements:
220
206
  - - "~>"
221
207
  - !ruby/object:Gem::Version
222
- version: 0.31.0
208
+ version: '0.31'
223
209
  - !ruby/object:Gem::Dependency
224
210
  name: yard
225
211
  requirement: !ruby/object:Gem::Requirement
226
212
  requirements:
227
213
  - - "~>"
228
214
  - !ruby/object:Gem::Version
229
- version: 0.8.7
215
+ version: '0.8'
230
216
  type: :development
231
217
  prerelease: false
232
218
  version_requirements: !ruby/object:Gem::Requirement
233
219
  requirements:
234
220
  - - "~>"
235
221
  - !ruby/object:Gem::Version
236
- version: 0.8.7
222
+ version: '0.8'
237
223
  description: |-
238
224
  Rename the mp4 and m4a files by adding the running time to the end of the filename
239
225
  TL;DR rename 'media_file.mp4' to 'media_file_12_34.mp4' if the running time is '12:34' minutes