filename_cleaner 0.0.1 → 0.0.2

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: c3ab870533d029adaca957481d87548acaec6f39
4
- data.tar.gz: c88d4e3ddbd03f8b3a5b2638e5fbdec6e684edc8
3
+ metadata.gz: f3810b52bde9fdd3433144c4574f62bdfb05822e
4
+ data.tar.gz: e1bfd0e70e6e7c389a07c72eb4c4fb6e5dfd81af
5
5
  SHA512:
6
- metadata.gz: 01b5a9c9b5e88ccfa62d9f564a1ad9c361f9abb4b90c8e8c02a469993e7fb52587c670aad9f24b8314d6823df2aa9886d1d0a482cf2bcd5ae932a1a3860a8716
7
- data.tar.gz: de1de11622f56a5c2e76478aaf65b8b26e3c911188f237cb11c08c9c42737b6e6235c5b0372dac9f3928ef74ecae2e9df401758449b1d2af038e7e7f74bb207a
6
+ metadata.gz: a586deae20c6e1eb0ed2acff89c38b70ef663b0e6e0bb57a0e5079407590d7e790e3fe80b5ae33cc4c64b8e13923c0a7f2eb00ea0d0c63bedd097f4cc9bbe430
7
+ data.tar.gz: 1766f19d14dd6b22fecbb28dcdee0480034070afb484001b66fc68feec5b163d8ff519f9b5da0da8e51497cde4a8358229d80433ee0a5b23a75a4d582e36ac8d
data/README.md CHANGED
@@ -1,33 +1,23 @@
1
- ## FilenameClenaer
1
+ ## Filename Cleaner
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/filename_cleaner.svg)](http://badge.fury.io/rb/filename_cleaner)
4
+ [![Dependency Status](https://gemnasium.com/agilecreativity/filename_cleaner.png)](https://gemnasium.com/agilecreativity/filename_cleaner)
5
+ [![Code Climate](https://codeclimate.com/github/agilecreativity/filename_cleaner.png)](https://codeclimate.com/github/agilecreativity/filename_cleaner)
4
6
 
5
- Remove special characters from a filename using the simple rule. Currently any string that are not one of
6
- letters (a..z, A..Z), numbers (0..9), _ (underscore), - (dash), and ' ' spaces string
7
- are replaced by the prefered separator char [default to . (dot)].
7
+ Quickly rename list of files (with or without extensions) and replace any special characters with
8
+ a specific valid string (or separator char).
8
9
 
9
- ### Installation
10
-
11
- Add this line to your application's Gemfile:
12
-
13
- gem 'filename_cleaner'
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
10
+ Currently any string that are not one of letters (a..z, A..Z),
11
+ numbers (0..9), _ (underscore), - (dash), and ' ' spaces string
12
+ are first squeezed into one string and then replaced by any given string/char [default to . (a single dot)].
20
13
 
21
- $ gem install filename_cleaner
22
-
23
- ### Usage
14
+ ### Installation
24
15
 
25
16
  ```sh
26
17
  gem install filename_cleaner
27
- filename_cleaner clean
28
18
  ```
29
19
 
30
- #### As command line interface (CLI)
20
+ #### Use as command line interface (CLI)
31
21
 
32
22
  Just type `filename_cleaner` without any options to see the list of help
33
23
 
@@ -69,21 +59,21 @@ cd ~/projects/files
69
59
  filename_cleaner clean --base-dir . --extes java rb --recursive --sep-char '_' --no-dry-run
70
60
  ```
71
61
 
72
- #### As library in your project
62
+ #### Us as library in your project
73
63
 
74
64
  Add this line to your application's Gemfile:
75
65
 
76
- gem 'filename_cleaner'
66
+ ```
67
+ gem 'filename_cleaner'
68
+ ```
77
69
 
78
70
  And then execute:
79
71
 
80
- $ bundle
81
-
82
- Or install it yourself as:
83
-
84
- $ gem install filename_cleaner
85
-
86
72
  ```
73
+ $bundle
74
+ ```
75
+
76
+ Example Usage:
87
77
 
88
78
  - Use the default separator string '.'
89
79
 
@@ -105,6 +95,12 @@ puts clean_name # => 'some_b_d_fil_name.txt'
105
95
 
106
96
  ### Changelogs
107
97
 
98
+ #### 0.0.2
99
+
100
+ - Update gem dependencies to the latest version
101
+ - Update gemspec to reflect teh actual feature of the gem
102
+ - Update and cleanup README.md
103
+
108
104
  #### 0.0.1
109
105
 
110
106
  - Initial release
@@ -8,25 +8,22 @@ Gem::Specification.new do |spec|
8
8
  spec.version = FilenameCleaner::VERSION
9
9
  spec.authors = ['Burin Choomnuan']
10
10
  spec.email = ['agilecreativity@gmail.com']
11
- spec.summary = %q{Remove unwanted or special characters from the filename}
12
- spec.description = %q{Remove unwanted or special characters from the filename to make the name valid}
11
+ spec.summary = %q{Bulk rename/remove unwanted characters from list of files in any directory recursively}
12
+ spec.description = %q{Bulk rename and remove unwanted characters from list of files in any directory recursively}
13
13
  spec.homepage = 'https://github.com/agilecreativity/filename_cleaner'
14
14
  spec.license = 'MIT'
15
-
16
15
  spec.files = `git ls-files -z`.split("\x0")
17
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
18
  spec.require_paths = ['lib']
20
-
21
19
  spec.add_runtime_dependency 'thor', '~> 0.18'
22
- spec.add_runtime_dependency 'agile_utils', '~> 0.0.8'
23
-
20
+ spec.add_runtime_dependency 'agile_utils', '~> 0.0.9'
24
21
  spec.add_development_dependency 'bundler', '~> 1.5'
25
22
  spec.add_development_dependency 'rake', '~> 10.1'
26
23
  spec.add_development_dependency 'awesome_print', '~> 1.2'
27
24
  spec.add_development_dependency 'minitest-spec-context', '~> 0.0.3'
28
25
  spec.add_development_dependency 'guard-minitest', '~> 2.2'
29
- spec.add_development_dependency 'minitest', '~> 4.2'
26
+ spec.add_development_dependency 'minitest', '~> 5.3'
30
27
  spec.add_development_dependency 'guard', '~> 2.6'
31
28
  spec.add_development_dependency 'pry', '~> 0.9'
32
29
  spec.add_development_dependency 'gem-ctags', '~> 1.0'
@@ -1,3 +1,3 @@
1
1
  module FilenameCleaner
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
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.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.8
33
+ version: 0.0.9
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.8
40
+ version: 0.0.9
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '4.2'
117
+ version: '5.3'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '4.2'
124
+ version: '5.3'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: guard
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -192,8 +192,8 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.20'
195
- description: Remove unwanted or special characters from the filename to make the name
196
- valid
195
+ description: Bulk rename and remove unwanted characters from list of files in any
196
+ directory recursively
197
197
  email:
198
198
  - agilecreativity@gmail.com
199
199
  executables:
@@ -242,7 +242,8 @@ rubyforge_project:
242
242
  rubygems_version: 2.2.2
243
243
  signing_key:
244
244
  specification_version: 4
245
- summary: Remove unwanted or special characters from the filename
245
+ summary: Bulk rename/remove unwanted characters from list of files in any directory
246
+ recursively
246
247
  test_files:
247
248
  - test/lib/filename_cleaner/test_utils.rb
248
249
  - test/test_helper.rb