cb_nitride 0.1.37 → 0.1.38

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: 96b4fcfc0de6b42ba4d8315994863b77baefd89f
4
- data.tar.gz: 55a4be6c00f31568bbc2041e75b230797dd72c5c
3
+ metadata.gz: 2a4aa41afa3f491c96df14193d16077bf2d84f31
4
+ data.tar.gz: 6fc3b1d6e08b94472801cb40f841ea837268dba9
5
5
  SHA512:
6
- metadata.gz: 057f1dbb5a11697058079f4c2d040ca54aa7e828e27dce5aba34678bef2faca9e2f991024764ddb72c4ccb64d7fc6665dd5baf9e735ca2db07797a8031cd1b36
7
- data.tar.gz: c8f615c8f379894cad0626d80e99d0c84edd5d302d21921b7cd1bf8d3a5dcd4b83543131351b9fee4f793cbb8cb22600e6095ad9648e3adeef5744e25ecbcdb6
6
+ metadata.gz: 66b79750abae2d9de14908e04384726a44d7e98943459d2629122999dfca3dbb1af49222addd3225f0122d54ed7a2c003a6bc3afa0e9e8cdb6c48eeabc65abd6
7
+ data.tar.gz: 8fee2b15702557e6a4c924bec4d24f28f9e8c921dc513bc1e0f115f3a231bebbc06fdd90e13b0433bc3df8f63b7c437c6770e768044735de58672e2f81710244
@@ -21,6 +21,13 @@ module CbNitride
21
21
  @errors = options[:errors]
22
22
  end
23
23
 
24
+ def release_year
25
+ if release_date.nil?
26
+ return nil
27
+ else
28
+ return release_date.year.to_i
29
+ end
30
+ end
24
31
  def raw_title
25
32
  @_raw_title ||= @raw_title.sub(SHORT_PAREN_OF_PATTERN, ' (Of ')
26
33
  end
@@ -1,3 +1,3 @@
1
1
  module CbNitride
2
- VERSION = "0.1.37"
2
+ VERSION = "0.1.38"
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.37
4
+ version: 0.1.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Jarvis