cb_nitride 0.1.27 → 0.1.28

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: 86f37c1e9d2f02f5342609e60884e63dc96b8294
4
- data.tar.gz: 54c7ad96ca5547e34b3c50f616d3fd0f09489063
3
+ metadata.gz: 3140b48d396618d90f8ee491aaa7ed74638d83da
4
+ data.tar.gz: d00fe8d6d1c0e29faff92ada7046f291496a41de
5
5
  SHA512:
6
- metadata.gz: b5f15a032c06e95c49838ec3770635e6c846b3a71c1aa9e1ae5358dbf708ccd02645694d3853a2332e9a0dc5137b618d5d2402bcf5d70b2cc8cac1abd5e28ca6
7
- data.tar.gz: ff22a6a307c8287dea0db7af300e81fe44e3afb5f5842821c6dde8cd067e2c1cea043007765c149530fa96778d2bd4314b820e5a9c645c6331154e65e9e90325
6
+ metadata.gz: 9a4253b4cb8fbf044f6fca5aa4bdc1999ca4bebba704a090f5b6053eee783d6ef4dc4664036b90d8717136dd66087c42f048c6c7918437527d29e374b6ab8e63
7
+ data.tar.gz: d23380787f165b21020b2dc8068f6135d4ed9bcecc761d5bf5853cadf90966b99f304049032594b0ffe588c7d8de2cdd77f112bfff200df0096e75303013eaa6
@@ -25,7 +25,7 @@ module CbNitride
25
25
  end
26
26
 
27
27
  def clean_date_string(date)
28
- if date == ""
28
+ if date.nil? || date.empty?
29
29
  error_array << "No Release Date"
30
30
  else
31
31
  Date.strptime(date.match(/\d+[\/]\d+[\/]\d+/).to_s, "%m/%d/%Y")
@@ -1,3 +1,3 @@
1
1
  module CbNitride
2
- VERSION = "0.1.27"
2
+ VERSION = "0.1.28"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb_nitride
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Jarvis