nx-file-utils 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nx/file-utils.rb +1 -1
- data/lib/nx/version.rb +1 -1
- data/nx-file-utils-0.1.2.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 468f7428faab98095790f082053845477f5ae4ba58d86ccd9894fcfb1f44d860
|
4
|
+
data.tar.gz: 52b9e7c29c3e83014b73b6f778f9757b25214efec07eff2b1dc62e73de3c236d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 701293b4ba6403db96af03f94cece7475b4bba76f6336dd3945966d0311b04d11df9de6b9f643fcc7599d608d669eae700635e907053aee2f64f504c763a7d5c
|
7
|
+
data.tar.gz: bafe22204493b6decc72379fb9da7469ec200ccdf22cf5ca9b63ff13f5719c5bfafe7bd6b0f633e205d7d8805c52444bb958bd49f28ad72edada57a35c4bb3f0
|
data/lib/nx/file-utils.rb
CHANGED
@@ -4,7 +4,7 @@ module Nx
|
|
4
4
|
class FileUtils
|
5
5
|
class << self
|
6
6
|
def sanitize(in_name)
|
7
|
-
bad_chars = ["/", '\\', "?", "%", "*", "|", '"', "<", ">", "-", "(", "(", ")", ")", "、"]
|
7
|
+
bad_chars = ["/", '\\', "?", "%", "*", "|", '"', "<", ">", "-", "(", "(", ")", ")", "、", ":"]
|
8
8
|
bad_chars.each do |char|
|
9
9
|
in_name.gsub!(" ", "")
|
10
10
|
in_name.gsub!(",", ",")
|
data/lib/nx/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nx-file-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- afeiship
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- lib/nx/file-utils.rb
|
63
63
|
- lib/nx/version.rb
|
64
64
|
- nx-file-utils-0.1.1.gem
|
65
|
+
- nx-file-utils-0.1.2.gem
|
65
66
|
- nx-file-utils.gemspec
|
66
67
|
- package.json
|
67
68
|
homepage: https://github.com/afeiship/nx-file-utils
|