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 +4 -4
- data/lib/cb_nitride/diamond_item.rb +7 -0
- data/lib/cb_nitride/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4aa41afa3f491c96df14193d16077bf2d84f31
|
4
|
+
data.tar.gz: 6fc3b1d6e08b94472801cb40f841ea837268dba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/cb_nitride/version.rb
CHANGED