filename_cleaner 0.0.3 → 0.1.0

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: 0bd5137e77cc80734366d70ab66ff7b4bff25c74
4
- data.tar.gz: b31ecd51ae531972fd2a9421513a8ef02475b40f
3
+ metadata.gz: cdac07fa184d53eded2bdebcbfa1e362d90bbd14
4
+ data.tar.gz: f34bb1e4fd166d5d34ff20971d83512e5e027b27
5
5
  SHA512:
6
- metadata.gz: 0b76d5199034e669a1b257018f7b17ac0340c7e129bcc85bd360a894749fcb334eb55575a8d2d4ab45f62b820ec2cf152c3e6ac82a047cef9f06dcf574e5b498
7
- data.tar.gz: 506c76b7f13c56d937f8bed94d1ee43d26577beda2ca733d4b3b1e20e40dae817d3b2bad2cc4560f5551183f322a213e506eaca4b4c86fb3157b330eb7115853
6
+ metadata.gz: a599a4effdd5bdedc43410d7e80852b1570cf877f6d4581820473c98ff3d3fadf9f970502a1709970bd1a14a46447b659a9ca94f2032a07676e7a2bf2590bdcb
7
+ data.tar.gz: eb4b943621f94faaf3c20327c5bfe6ed690100ce048d1a3e081ee502bb06a6a50b938c9793eff164ac837b24134c43db5db1a0efb0c052aeb9f51fbea366c7da
data/README.md CHANGED
@@ -79,7 +79,7 @@ Example Usage:
79
79
 
80
80
  ```ruby
81
81
  require 'filename_cleaner'
82
- clean_name = FilenameCleaner::Utils.sanitize_filename('some b@d fil$name.txt')
82
+ clean_name = FilenameCleaner::sanitize_filename('some b@d fil$name.txt')
83
83
  puts clean_name # => 'some.b.d.fil.name.txt'
84
84
 
85
85
  ```
@@ -88,7 +88,7 @@ puts clean_name # => 'some.b.d.fil.name.txt'
88
88
 
89
89
  ```ruby
90
90
  require 'filename_cleaner'
91
- clean_name = FilenameCleaner::Utils.sanitize_filename('some b@d fil$name.txt', '_')
91
+ clean_name = FilenameCleaner::sanitize_filename('some b@d fil$name.txt', '_')
92
92
  puts clean_name # => 'some_b_d_fil_name.txt'
93
93
 
94
94
  ```
@@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
- spec.add_runtime_dependency 'thor', '~> 0.18'
20
- spec.add_runtime_dependency 'agile_utils', '~> 0.0.9'
19
+ spec.add_runtime_dependency 'thor', '~> 0.19'
20
+ spec.add_runtime_dependency 'agile_utils', '~> 0.1'
21
21
  spec.add_development_dependency 'bundler', '~> 1.5'
22
22
  spec.add_development_dependency 'rake', '~> 10.1'
23
23
  spec.add_development_dependency 'awesome_print', '~> 1.2'
@@ -29,5 +29,4 @@ 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
-
33
32
  end
@@ -1,3 +1,3 @@
1
1
  module FilenameCleaner
2
- VERSION = '0.0.3'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filename_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
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-02 00:00:00.000000000 Z
11
+ date: 2014-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.18'
19
+ version: '0.19'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.18'
26
+ version: '0.19'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: agile_utils
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.9
33
+ version: '0.1'
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.9
40
+ version: '0.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement