coligny 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/coligny.rb +12 -12
  3. data/lib/coligny/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6264c22ecaccb651d7946b52dbe9927105da6c0f
4
- data.tar.gz: 1cfd24e10b67021be2f3c705b4c67ccd8a6e5f12
3
+ metadata.gz: aee180073f622d5906d724bea91ebe5517e08dfb
4
+ data.tar.gz: cdf8c8c95cd3afe81290040b410619787e345bd0
5
5
  SHA512:
6
- metadata.gz: eb69b8a545b2a9a5050666bfc6b8095b30724a21c79407e123c8ed84fb48c16c870d4eee0dee8e8b75f20d1d8f6897a960eea2451129d70dd5d5645a6da91de5
7
- data.tar.gz: 0b8bad17afe25bf519595eb061802a63d74561bf6ed313119c5a1fd630bd8971f73f9654f86751b5d0c01ead3834825e67fe2f5859cb1dd3b2b13310b492fe28
6
+ metadata.gz: e2df0d086ef21654247130ed827832b44c7edfaa4e4c8389a1a41fb8dc574231124b09fe507fc071952c24fafef05ab67b0f6161f85de4cb7e96d6b141474214
7
+ data.tar.gz: 35f4c0125cff5ecb067495a68d40ad29c41880bc294d7ab0d3e28e33f748e178c568f90f59f85563e38334a04ce2e66c06afd5bd16da1e27fa4fde250dc2a5c9
@@ -1,7 +1,7 @@
1
1
  # Copyright 2016 @shanekrusen
2
2
  # License MIT (https://opensource.org/licenses/MIT)
3
3
 
4
- require "coligny/version"
4
+ # require "coligny/version"
5
5
 
6
6
  module Coligny
7
7
  require 'date'
@@ -28,7 +28,7 @@ module Coligny
28
28
  @year = year
29
29
  @months = [ColignyMonth.new("Samonios", 30),
30
30
  ColignyMonth.new("Dumanios", 29),
31
- ColignyMonth.new("Rivros", 30),
31
+ ColignyMonth.new("Riuros", 30),
32
32
  ColignyMonth.new("Anagantios", 29),
33
33
  ColignyMonth.new("Ogronios", 30),
34
34
  ColignyMonth.new("Cutios", 30),
@@ -97,7 +97,7 @@ module Coligny
97
97
 
98
98
  def populate_saturn_int1
99
99
  if year_difference % 5 == 0
100
- @months.unshift(ColignyMonth.new("Intercalary One", 29))
100
+ @months.unshift(ColignyMonth.new("Quimonios", 29))
101
101
  end
102
102
  end
103
103
 
@@ -111,7 +111,7 @@ module Coligny
111
111
 
112
112
  def populate_saturn_int2
113
113
  if (@is_early && populate_saturn_int2_check(5, 3, 30, 3)) || (!@is_early && populate_saturn_int2_check(5, 2, 30, 27))
114
- @months.insert(6, ColignyMonth.new("Intercalary Two", 30))
114
+ @months.insert(6, ColignyMonth.new("Rantaranos", 30))
115
115
  end
116
116
  end
117
117
 
@@ -147,13 +147,13 @@ module Coligny
147
147
 
148
148
  def saturn_longcycle_int2_check
149
149
  if saturn_cycle_check(635, 29, 30, 27)
150
- @months.insert(6, ColignyMonth.new("Intercalary Two", 30))
150
+ @months.insert(6, ColignyMonth.new("Rantaranos", 30))
151
151
  end
152
152
  end
153
153
 
154
154
  def saturn_reverse_longcycle_int2_check
155
155
  if saturn_cycle_check(635, 606, 30, 3)
156
- @months.insert(6, ColignyMonth.new("Intercalary Two", 30))
156
+ @months.insert(6, ColignyMonth.new("Rantaranos", 30))
157
157
  end
158
158
  end
159
159
 
@@ -225,13 +225,13 @@ module Coligny
225
225
 
226
226
  def populate_metonic_int1
227
227
  if (@is_early && test_earlier_than_start_date_intone_metonic) || (!@is_early && test_intone_metonic)
228
- @months.unshift(ColignyMonth.new("Intercalary One", 29))
228
+ @months.unshift(ColignyMonth.new("Quimonios", 29))
229
229
  end
230
230
  end
231
231
 
232
232
  def populate_metonic_int2
233
233
  if (@is_early && test_earlier_than_start_date_inttwo_metonic) || (!@is_early && test_inttwo_metonic)
234
- @months.insert(6, ColignyMonth.new("Intercalary Two", 30))
234
+ @months.insert(6, ColignyMonth.new("Rantaranos", 30))
235
235
  end
236
236
  end
237
237
 
@@ -260,7 +260,7 @@ module Coligny
260
260
  end
261
261
 
262
262
  def metonic_longcycle_int2_check
263
- if metonic_longcycle_year_check(6569, 4) && (@months[6].name == "Intercalary Two")
263
+ if metonic_longcycle_year_check(6569, 4) && (@months[6].name == "Rantaranos")
264
264
  @months.delete_at(6)
265
265
  end
266
266
  end
@@ -272,7 +272,7 @@ module Coligny
272
272
  end
273
273
 
274
274
  def metonic_longcycle_reverse_int2_check
275
- if metonic_longcycle_year_check(6569, 6565) && (@months[6].name == "Intercalary Two")
275
+ if metonic_longcycle_year_check(6569, 6565) && (@months[6].name == "Rantaranos")
276
276
  @months.delete_at(6)
277
277
  end
278
278
  end
@@ -380,7 +380,7 @@ module Coligny
380
380
  if @is_metonic
381
381
  start = ColignyDate.new(3035, "Samonios", 1, true)
382
382
  else
383
- start = ColignyDate.new(3034, "Intercalary One", 1)
383
+ start = ColignyDate.new(3034, "Quimonios", 1)
384
384
  end
385
385
 
386
386
  if (@year < @start_year)
@@ -406,7 +406,7 @@ module Coligny
406
406
  end_date = Date.new(self.year, self.month, self.mday)
407
407
  difference = (end_date - start).to_i
408
408
 
409
- start_coligny = ColignyDate.new(3034, "Intercalary One", 1)
409
+ start_coligny = ColignyDate.new(3034, "Quimonios", 1)
410
410
  start_coligny.calc_days(difference)
411
411
  return start_coligny
412
412
  end
@@ -1,3 +1,3 @@
1
1
  module Coligny
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coligny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Krusen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-21 00:00:00.000000000 Z
11
+ date: 2016-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler