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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0718a5903a590c7d2108462adce182175049153b890ec67dbf7dbd935d2b6e08'
4
- data.tar.gz: 931435ebea5e6c6f387b4e17f2a84b78c5a98f36a81078ed253f72b9404ea448
3
+ metadata.gz: 468f7428faab98095790f082053845477f5ae4ba58d86ccd9894fcfb1f44d860
4
+ data.tar.gz: 52b9e7c29c3e83014b73b6f778f9757b25214efec07eff2b1dc62e73de3c236d
5
5
  SHA512:
6
- metadata.gz: fdd25d907bb0c52d3b28c08c65eca41cee0d076e838d5a8d7b9b5874dc6f1965d48bc878a9d9d68d09ccda17932135ed6f75b8ed4349d29300075af6dcc2ce7e
7
- data.tar.gz: d1a804507f78c37266ab37bb75e4ed1b5534277647da001c597d7ca122d60e0012a0dff142c4923bdf749274a7c3ec60ca5c8449b5a776ba71918271fc90005c
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
@@ -1,5 +1,5 @@
1
1
  module Nx
2
2
  class FileUtils
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
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.2
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