filename_cleaner 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOGS.md +4 -0
- data/README.md +2 -0
- data/filename_cleaner.gemspec +1 -0
- data/lib/filename_cleaner.rb +0 -1
- data/lib/filename_cleaner/filename_cleaner.rb +1 -1
- data/lib/filename_cleaner/version.rb +1 -1
- data/test/test_helper.rb +2 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd9e8eab1d71029a2f9163d1f5467d39dc341f3e
|
4
|
+
data.tar.gz: 130bdcab85b9cf51ac60085b77b84757420bb61b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ffc3e654988b54ae4bf8641c788a65f5f383318b4bc4fa6bc5bb9197d4c504df324af1f2c7f58df807d915f2e387105a2951387f9aa79145876efb940b0acca
|
7
|
+
data.tar.gz: dc3daf5cca5e04dc73d6a16d92efa5e5dce92ecd669716fc421be161eb4bea470da5ffdaab717beaf13d98765433d3c7ec5455e504002d0b54f298258c3d4a46
|
data/.travis.yml
CHANGED
data/CHANGELOGS.md
CHANGED
data/README.md
CHANGED
@@ -4,11 +4,13 @@
|
|
4
4
|
[![Dependency Status](https://gemnasium.com/agilecreativity/filename_cleaner.png)][gemnasium]
|
5
5
|
[![Code Climate](https://codeclimate.com/github/agilecreativity/filename_cleaner.png)][codeclimate]
|
6
6
|
[![Build Status](https://secure.travis-ci.org/agilecreativity/filename_cleaner.png)][travis-ci]
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/agilecreativity/filename_cleaner/badge.png)][coveralls]
|
7
8
|
|
8
9
|
[gem]: http://badge.fury.io/rb/filename_cleaner
|
9
10
|
[gemnasium]: https://gemnasium.com/agilecreativity/filename_cleaner
|
10
11
|
[codeclimate]: https://codeclimate.com/github/agilecreativity/filename_cleaner
|
11
12
|
[travis-ci]: http://travis-ci.org/agilecreativity/filename_cleaner
|
13
|
+
[coveralls]: https://coveralls.io/r/agilecreativity/filename_cleaner
|
12
14
|
|
13
15
|
Quickly rename list of files with extension and replace any special characters with
|
14
16
|
with any given string.
|
data/filename_cleaner.gemspec
CHANGED
data/lib/filename_cleaner.rb
CHANGED
@@ -60,7 +60,7 @@ module FilenameCleaner
|
|
60
60
|
name
|
61
61
|
end
|
62
62
|
|
63
|
-
#
|
63
|
+
# Replace 'dot' string with a given string if specified
|
64
64
|
def replace_dot(string, replace = nil)
|
65
65
|
string.gsub!(/#{Regexp.quote(DOT)}+/, replace) if replace
|
66
66
|
string
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filename_cleaner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0.20'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: coveralls
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.7'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.7'
|
195
209
|
description: Bulk rename and remove unwanted characters from list of files in any
|
196
210
|
directory recursively
|
197
211
|
email:
|