coptic_date 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.project +5 -0
- data/README.md +9 -0
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/lib/coptic_date/version.rb +1 -1
- data/lib/coptic_easter.rb +1 -1
- data/lib/coptic_variable_feasts.rb +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2NkMjdmZTA2NTMwZTA3Njk5ZGUxNjVkY2UzMjU4OGJjMDUwMDRlYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTA0ZWYyMTczYWNmZDdmMjg4NWJjZjMzNDJhNWU4ODE4OWEyYTE2OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGQ0ZmRkYjdmZWMwMDE3OTU1NDQ0YWRkYjBjZTZmMGI5M2Y4ZGU4YzZhMjFk
|
10
|
+
MzU1ZDRlMWZhNjk2MzZiZDU0NmY1ODRkYjZhZWQ1ZGQ2NDgzMDAxYjJkNDkz
|
11
|
+
MWExNzAxYjYzOWMwMjFlMTcyMjk2YmQzYjc2OTVkMjA4YTljN2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWFjMjI5ZThjYWE1ZWY4MmFhOTMyYjlhNWYyMDUxMTAwMGRhMDQ3NGRkZWE3
|
14
|
+
MGY4Y2E5MTA2NjU0NTA0MGI3Nzc1YzZiMTc0NGU4YTU2ZDQxYzAyYTZjMzIx
|
15
|
+
ODExOTM0ZDI3ZmYzYTU2MGIzNjBlNTExNDk1Zjk1YTAyMjhiYjU=
|
data/.project
CHANGED
data/README.md
CHANGED
@@ -43,6 +43,15 @@ Or install it yourself as:
|
|
43
43
|
|
44
44
|
### Messengers Feast Date
|
45
45
|
CopticVariableFeasts::messengers_feast_date(2014) # 2014.7.12
|
46
|
+
|
47
|
+
### Thomas Sunday
|
48
|
+
CopticVariableFeasts::thomas_sunday(2014) # 2014.04.27
|
49
|
+
|
50
|
+
### Ascension Feast Date
|
51
|
+
CopticVariableFeasts::ascension_feast(2014) # 2014.05.29
|
52
|
+
|
53
|
+
### Pentecost Feast Date
|
54
|
+
CopticVariableFeasts::pentecost_feast(2014) # 2014.06.08
|
46
55
|
```
|
47
56
|
|
48
57
|
|
data/bin/console
CHANGED
File without changes
|
data/bin/setup
CHANGED
File without changes
|
data/lib/coptic_date/version.rb
CHANGED
data/lib/coptic_easter.rb
CHANGED
@@ -27,4 +27,19 @@ module CopticVariableFeasts
|
|
27
27
|
def self.messengers_feast_date(greg_year)
|
28
28
|
messengers_fast_start_date(greg_year) + messengers_fast_duration(greg_year)
|
29
29
|
end
|
30
|
+
|
31
|
+
def self.thomas_sunday(greg_year)
|
32
|
+
CopticEaster::calculate_easter_date(greg_year) + 7
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.ascension_feast(greg_year)
|
36
|
+
easter_date = CopticEaster::calculate_easter_date(greg_year)
|
37
|
+
return easter_date + 39
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.pentecost_feast(greg_year)
|
41
|
+
easter_date = CopticEaster::calculate_easter_date(greg_year)
|
42
|
+
return easter_date + 49
|
43
|
+
end
|
44
|
+
|
30
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coptic_date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamal Micheal
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|