ebook_renamer 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -4
- data/ebook_renamer.gemspec +2 -3
- data/lib/ebook_renamer.rb +2 -2
- data/lib/ebook_renamer/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b75c163e0bc312d1b720c5545a378cd5ebf61542
|
4
|
+
data.tar.gz: 9afe65913cb1e21c8ebc7f42048c3ef4399b2337
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84104cd5541f33b0903f2555cf3cd138fe699740a0b2b7d74230307675e218bd90a5b9d7e031ec64a52637f4d425320efe8a43e854c9386c6316683ca747e0c6
|
7
|
+
data.tar.gz: 43c8fd661d4d2d2eb0ff092d9542aabe47a3d0dd63030bf4cb2da6cb3e63e2d89c97f9653740defb78a4f4b27cae3f4f9a7ddc19048dbcfd225bd13c5ec6757d
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
##
|
1
|
+
## ebook_renamer
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/ebook_renamer.svg)](http://badge.fury.io/rb/ebook_renamer)
|
4
|
+
|
5
|
+
Simple utility to perform bulk rename of ebook files (epub,mobi,pdf) based on
|
6
|
+
the embedded meta-data (title, author(s)).
|
5
7
|
|
6
8
|
### Why do I wrote this gem
|
7
9
|
|
@@ -59,6 +61,8 @@ $ebook_renamer rename --base-dir . --recursive
|
|
59
61
|
|
60
62
|
# Once you are happy with what result then
|
61
63
|
$ebook_renamer rename --base-dir . --recursive --commit
|
64
|
+
or the short version
|
65
|
+
$ebook_renamer rename -b . -r -c
|
62
66
|
```
|
63
67
|
|
64
68
|
### Example Outputs
|
@@ -135,6 +139,11 @@ Rename ebook files (pdf,epub,mobi)
|
|
135
139
|
|
136
140
|
### Changelog
|
137
141
|
|
142
|
+
#### 0.1.0
|
143
|
+
|
144
|
+
- Add link to the version badge to link to latest gem.
|
145
|
+
- Minor clean-up
|
146
|
+
|
138
147
|
#### 0.0.9
|
139
148
|
|
140
149
|
- Make sure the gemspec include the proper dependencies.
|
@@ -145,7 +154,7 @@ Rename ebook files (pdf,epub,mobi)
|
|
145
154
|
|
146
155
|
#### 0.0.2 - 0.0.7
|
147
156
|
|
148
|
-
- Improvement of code and fix
|
157
|
+
- Improvement of code and fix a few bugs a long the way
|
149
158
|
|
150
159
|
#### 0.0.1
|
151
160
|
|
data/ebook_renamer.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = EbookRenamer::VERSION
|
9
9
|
spec.authors = ["Burin Choomnuan"]
|
10
10
|
spec.email = ["agilecreativity@gmail.com"]
|
11
|
-
spec.description = %q{Bulk rename of ebook files based on
|
12
|
-
spec.summary = %q{Rename multiple ebook files (epub, mobi
|
11
|
+
spec.description = %q{Bulk rename of ebook files (pdf, epub, mobi) based on embedded meta-data}
|
12
|
+
spec.summary = %q{Rename multiple ebook files (pdf, epub, mobi) based on existing meta-data in the file}
|
13
13
|
spec.homepage = "https://github.com/agilecreativity/ebook_renamer"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.files = `git ls-files`.split($/)
|
@@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_development_dependency "minitest-spec-context", "~> 0.0.3"
|
26
26
|
spec.add_development_dependency "guard-minitest", "~> 2.2"
|
27
27
|
spec.add_development_dependency "minitest", "~> 4.2"
|
28
|
-
spec.add_development_dependency "awesome_print", "~> 1.2"
|
29
28
|
spec.add_development_dependency "guard", "~> 2.6"
|
30
29
|
spec.add_development_dependency "pry", "~> 0.9"
|
31
30
|
spec.add_development_dependency "gem-ctags", "~> 1.0"
|
data/lib/ebook_renamer.rb
CHANGED
@@ -41,10 +41,10 @@ module EbookRenamer
|
|
41
41
|
|
42
42
|
def rename
|
43
43
|
args = options.symbolize_keys
|
44
|
-
puts "Your argument: #{args}"
|
44
|
+
#puts "Your argument: #{args}"
|
45
45
|
|
46
46
|
if options[:version]
|
47
|
-
puts EbookRenamer::VERSION
|
47
|
+
puts "You are using ebook_renamer version #{EbookRenamer::VERSION}"
|
48
48
|
exit
|
49
49
|
end
|
50
50
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ebook_renamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '4.2'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: awesome_print
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.2'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ~>
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.2'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: guard
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,7 +164,7 @@ dependencies:
|
|
178
164
|
- - ~>
|
179
165
|
- !ruby/object:Gem::Version
|
180
166
|
version: '0.8'
|
181
|
-
description: Bulk rename of ebook files based on
|
167
|
+
description: Bulk rename of ebook files (pdf, epub, mobi) based on embedded meta-data
|
182
168
|
email:
|
183
169
|
- agilecreativity@gmail.com
|
184
170
|
executables:
|
@@ -231,7 +217,7 @@ rubyforge_project:
|
|
231
217
|
rubygems_version: 2.0.14
|
232
218
|
signing_key:
|
233
219
|
specification_version: 4
|
234
|
-
summary: Rename multiple ebook files (epub, mobi
|
220
|
+
summary: Rename multiple ebook files (pdf, epub, mobi) based on existing meta-data
|
235
221
|
in the file
|
236
222
|
test_files:
|
237
223
|
- test/fixtures/ebooks/demo1.pdf
|