toxic 0.2.0 → 0.2.1

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: 73b4b9e5f5e2fa21357aa55a9818585c6e90fe531d4b71835894a1fb9ffe177f
4
- data.tar.gz: 69ebc1c3382ae9ec65255de322bc462ac5d90e892e570c6e9c7726c07be81bc3
3
+ metadata.gz: 3fb24b55e33d1153fd1474e70dc5fceea69f35db7a362101d983975830265ced
4
+ data.tar.gz: '0943006a9b938f19828858b14de7888792a58d5ce83599d78a4c5b050b527f2b'
5
5
  SHA512:
6
- metadata.gz: 8adc97ca1e9751d74c8b5ceb9ef1ee9e8d5e45b2144379df3e5d8cfcaa29a7d74c534d65bba419cbedae001a0873fb232f62285a6d16f141366f15cf627b452c
7
- data.tar.gz: b23a6319ddc0365952982470769cc0c73112b62abad097f3999d9328bb508aca4e4a7c7c9471d5c2d4c2dc528380221828d7e9ff9dd14f4b48e6c83f5f0048c5
6
+ metadata.gz: a556392db54e441b5be51d30bf67928ab0303622e5fc8170613766009405ceb5e5c6ec430fdce4533fe8d5750e9fe0169390cc18925ffc2c5717420cbabc61ff
7
+ data.tar.gz: 5f5c0e0e17cc7965889dd95d1b291bd1a3d6cfc105c768c0873c181ad37a5a5c9186fc64be56cbf56fcd7225d0a1b2a55c401ab5107ee6996aab4947c6bf4c33
@@ -33,7 +33,7 @@ module Toxic
33
33
  raise "A name for the project is required." unless name
34
34
  raise "The project name cannot contain spaces." if name =~ /\s/
35
35
  raise "The project name cannot begin with a '.'" if name[0, 1] == '.'
36
- raise "" if name =~ /[^a-zA-Z0-9]/
36
+ raise "The project name should only contain number and character" if name =~ /[^a-zA-Z0-9]/
37
37
  end
38
38
 
39
39
  def clone_template
@@ -1,3 +1,3 @@
1
1
  module Toxic
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toxic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - liubo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2018-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler