cb_nitride 0.1.25 → 0.1.26

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: 12769206936691159999d98e47c30fd424f98fb5
4
- data.tar.gz: 6efa55650dfad21bd28af8c613f9d01db577a9fe
3
+ metadata.gz: 6a1f84c928b377639e6b716f9cddce877ef1dc54
4
+ data.tar.gz: 786bcfb1fb9ba07169af54880575364d4a1bd8b4
5
5
  SHA512:
6
- metadata.gz: e91ae2fb0611a089521b23e2dcdb43b5b7b1b1c596a589edd6656745e244457ae43417f20d1a5ef4746edf0194a1f155b54775a63608ad2eaeada3f7f5853b90
7
- data.tar.gz: a3e114b0c76d84279eb7e958a1eb4bd026d85307b06dbb77878ca0f7e20d6ffbbd362d3a4fef26beb9499a35e32ec7dacf2403c4bc3321e25ff6629a89990e11
6
+ metadata.gz: 091a34f5fe5a4c8e71fa86a6fb50e5306a4584ef631fa8c228c559d8aef3fc404ddb05535eb63c06e67d66ddba17826502ae13c554bd00d81bcefeed0b22c2bd
7
+ data.tar.gz: 83dbb6f895f036ecf120b6fdcfeb553bd24ed599787e24349ba6f91076fde995187d0f84554dc738f34c03a230bf89bfdc4406e230873ac54c28b7e6ffe6a733
@@ -10,12 +10,16 @@ module CbNitride
10
10
  new.imminent_numbers
11
11
  end
12
12
 
13
+ def self.generate_recent_diamond_numbers
14
+ generate_for(years: ['06', '07', '08', '09', '10', '11', '12', '13', '14'])
15
+ end
16
+
13
17
  def self.generate_all_diamond_numbers
14
18
  new.brute_force_formatted_numbers
15
19
  end
16
20
 
17
- def self.generate_for(years: years, months: months)
18
- new.brute_force_formatted_numbers(year_range: years, month_range: months)
21
+ def self.generate_for(years: years)
22
+ new.brute_force_formatted_numbers(year_range: years)
19
23
  end
20
24
 
21
25
  def imminent_numbers
@@ -24,7 +28,7 @@ module CbNitride
24
28
  end.flatten
25
29
  end
26
30
 
27
- def brute_force_formatted_numbers(year_range: year_range || YEAR_CODES, month_range: month_range || MONTH_CODES)
31
+ def brute_force_formatted_numbers(year_range: YEAR_CODES, month_range: MONTH_CODES)
28
32
  year_range.map do |year|
29
33
  month_range.map do |month|
30
34
  generate_numbers(year, month)
@@ -1,3 +1,3 @@
1
1
  module CbNitride
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.26"
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.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Jarvis