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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4477e245f101589f606b01bfa70dee14005469d5
4
- data.tar.gz: 779718eb93ff5ecc03997a2cf782014761d68eb6
3
+ metadata.gz: dd9e8eab1d71029a2f9163d1f5467d39dc341f3e
4
+ data.tar.gz: 130bdcab85b9cf51ac60085b77b84757420bb61b
5
5
  SHA512:
6
- metadata.gz: 06e54af020ef55ba5c4513d81d9d242aa686c8e4063903c074d074f2ebf0748bb86d4176c950e86bdabf41a65ffc673a8d06dd0b309be38c20e397a09c1dd4e7
7
- data.tar.gz: 2b396ccb143b0b74b20c9e745e6764361b51ebd23fdc64a66679288f6ccf8c60085c21607b5ef630b0fc00eb093c8dea088c02dc09c7e3394a6b9dfab2a52a9e
6
+ metadata.gz: 7ffc3e654988b54ae4bf8641c788a65f5f383318b4bc4fa6bc5bb9197d4c504df324af1f2c7f58df807d915f2e387105a2951387f9aa79145876efb940b0acca
7
+ data.tar.gz: dc3daf5cca5e04dc73d6a16d92efa5e5dce92ecd669716fc421be161eb4bea470da5ffdaab717beaf13d98765433d3c7ec5455e504002d0b54f298258c3d4a46
data/.travis.yml CHANGED
@@ -2,4 +2,5 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
+ - 2.1.1
5
6
  - 2.1.2
data/CHANGELOGS.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ### Changelogs
2
2
 
3
+ #### 0.3.2
4
+
5
+ - Add coveralls badges
6
+
3
7
  #### 0.3.1
4
8
 
5
9
  - Correct the sample usage in README.md
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.
@@ -29,4 +29,5 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency 'gem-ctags', '~> 1.0'
30
30
  spec.add_development_dependency 'yard', '~> 0.8'
31
31
  spec.add_development_dependency 'rubocop', '~> 0.20'
32
+ spec.add_development_dependency 'coveralls', '~> 0.7'
32
33
  end
@@ -1,4 +1,3 @@
1
- require 'uri'
2
1
  require_relative './filename_cleaner/version'
3
2
  require_relative './filename_cleaner/cli'
4
3
  require_relative './filename_cleaner/filename_cleaner'
@@ -60,7 +60,7 @@ module FilenameCleaner
60
60
  name
61
61
  end
62
62
 
63
- # replace 'dot' string with a given string if specified
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
@@ -1,3 +1,3 @@
1
1
  module FilenameCleaner
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
data/test/test_helper.rb CHANGED
@@ -2,7 +2,9 @@ require 'minitest'
2
2
  require 'minitest/autorun'
3
3
  require 'minitest/pride'
4
4
  require 'minitest-spec-context'
5
+ require 'coveralls'
5
6
  require 'pry'
6
7
  require 'awesome_print'
7
8
  require_relative '../lib/filename_cleaner'
8
9
  include FilenameCleaner
10
+ Coveralls.wear!
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.1
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: