ebooks_renamer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ebooks_renamer.gemspec +1 -1
- data/lib/ebooks_renamer/ebooks_renamer.rb +3 -2
- data/lib/ebooks_renamer/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21fe146438b4dbb0ad23847f2124d567d10fcca1
|
4
|
+
data.tar.gz: a89bf580f80cbd067eb650655a75354d8be98a60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98e1c3e802c68ce8884ecca42589fd977478469fd9de171a8683beb05aecc0ad999f01c2dc6472c1a5df7a8364ba020d3f330ac5caef0387cfb24770db006ff5
|
7
|
+
data.tar.gz: 2c50e1534fb80443ce4334ceba3fb0757bc801e850a270a2effa81e42908c04084ab8f0147e21cf6d2ee13c126cc158a1527615e097d06caf1fd05f024ba3a63
|
data/ebooks_renamer.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_runtime_dependency 'pdf-reader', '~> 1.3.3'
|
27
27
|
spec.add_runtime_dependency 'mobi', '~> 1.0.0'
|
28
28
|
spec.add_runtime_dependency 'epubinfo', '~> 0.4.3'
|
29
|
-
spec.add_runtime_dependency 'filename_cleaner', '~> 0.
|
29
|
+
spec.add_runtime_dependency 'filename_cleaner', '~> 0.3'
|
30
30
|
spec.add_runtime_dependency 'code_lister', '~> 0.1'
|
31
31
|
spec.add_development_dependency 'awesome_print', '~> 1.2'
|
32
32
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
@@ -50,8 +50,9 @@ module EbooksRenamer
|
|
50
50
|
# return the sanitized file name with full path
|
51
51
|
[File.dirname(file),
|
52
52
|
File::SEPARATOR,
|
53
|
-
FilenameCleaner.
|
54
|
-
|
53
|
+
FilenameCleaner.sanitize(name, sep_string, false),
|
54
|
+
File.extname(file),
|
55
|
+
].join('')
|
55
56
|
else
|
56
57
|
# return the full path of the original file
|
57
58
|
File.expand_path(file)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ebooks_renamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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-05-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
75
|
+
version: '0.3'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: code_lister
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|