bahai_date 1.3.1 → 2.0.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.
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,3 @@
1
- require 'simplecov'
1
+ require "simplecov"
2
2
  SimpleCov.start
3
- require 'bahai_date'
3
+ require "bahai_date"
metadata CHANGED
@@ -1,85 +1,84 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bahai_date
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lessan Vaezi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2014-12-17 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: tzinfo
13
+ name: irb
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
18
+ version: '1.14'
19
+ type: :development
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - "~>"
23
+ - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '0'
25
+ version: '1.14'
27
26
  - !ruby/object:Gem::Dependency
28
- name: RubySunrise
27
+ name: rake
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
- - - "~>"
30
+ - - ">="
32
31
  - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
32
+ version: '13.0'
33
+ type: :development
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
- - - "~>"
37
+ - - ">="
39
38
  - !ruby/object:Gem::Version
40
- version: '0'
39
+ version: '13.0'
41
40
  - !ruby/object:Gem::Dependency
42
- name: astro-algo
41
+ name: rspec
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
46
+ version: '3.13'
47
+ type: :development
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '0'
53
+ version: '3.13'
55
54
  - !ruby/object:Gem::Dependency
56
- name: rspec
55
+ name: simplecov
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - "~>"
58
+ - - ">="
60
59
  - !ruby/object:Gem::Version
61
- version: '3'
60
+ version: '0.22'
62
61
  type: :development
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
- - - "~>"
65
+ - - ">="
67
66
  - !ruby/object:Gem::Version
68
- version: '3'
67
+ version: '0.22'
69
68
  - !ruby/object:Gem::Dependency
70
- name: simplecov
69
+ name: standard
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
- - - "~>"
72
+ - - ">="
74
73
  - !ruby/object:Gem::Version
75
- version: '0'
74
+ version: '1.57'
76
75
  type: :development
77
76
  prerelease: false
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
78
  requirements:
80
- - - "~>"
79
+ - - ">="
81
80
  - !ruby/object:Gem::Version
82
- version: '0'
81
+ version: '1.57'
83
82
  description: Provides functionality to convert between the Gregorian and Baha'i calendar,
84
83
  as well as significant dates and occasions in the Baha'i calendar such as the new
85
84
  year and holy days
@@ -88,34 +87,47 @@ executables: []
88
87
  extensions: []
89
88
  extra_rdoc_files: []
90
89
  files:
90
+ - CHANGELOG.md
91
91
  - LICENSE.md
92
92
  - README.md
93
93
  - lib/bahai_date.rb
94
+ - lib/bahai_date/astro.rb
95
+ - lib/bahai_date/astro/tables.rb
94
96
  - lib/bahai_date/bahai_date.rb
95
97
  - lib/bahai_date/day.rb
96
98
  - lib/bahai_date/logic.rb
97
99
  - lib/bahai_date/month.rb
98
100
  - lib/bahai_date/occasion.rb
99
101
  - lib/bahai_date/occasion_factory.rb
102
+ - lib/bahai_date/sunset.rb
100
103
  - lib/bahai_date/version.rb
101
104
  - lib/bahai_date/weekday.rb
102
105
  - lib/bahai_date/year.rb
103
106
  - lib/bahai_date/year_calendar.rb
107
+ - spec/bahai_date/astro_spec.rb
108
+ - spec/bahai_date/badidate_spec.rb
104
109
  - spec/bahai_date/bahai_date_spec.rb
105
110
  - spec/bahai_date/day_spec.rb
106
111
  - spec/bahai_date/logic_spec.rb
107
112
  - spec/bahai_date/month_spec.rb
108
113
  - spec/bahai_date/occasion_factory_spec.rb
109
114
  - spec/bahai_date/occasion_spec.rb
115
+ - spec/bahai_date/published_calendar_spec.rb
116
+ - spec/bahai_date/sunset_spec.rb
110
117
  - spec/bahai_date/weekday_spec.rb
111
118
  - spec/bahai_date/year_calendar_spec.rb
112
119
  - spec/bahai_date/year_spec.rb
120
+ - spec/fixtures/badidate_dates.json
121
+ - spec/fixtures/bahai_org_calendar.json
113
122
  - spec/spec_helper.rb
114
123
  homepage: https://github.com/lessan/bahai-date
115
124
  licenses:
116
125
  - Unlicense
117
- metadata: {}
118
- post_install_message:
126
+ metadata:
127
+ rubygems_mfa_required: 'true'
128
+ source_code_uri: https://github.com/lessan/bahai-date
129
+ changelog_uri: https://github.com/lessan/bahai-date/blob/master/CHANGELOG.md
130
+ bug_tracker_uri: https://github.com/lessan/bahai-date/issues
119
131
  rdoc_options: []
120
132
  require_paths:
121
133
  - lib
@@ -123,26 +135,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
135
  requirements:
124
136
  - - ">="
125
137
  - !ruby/object:Gem::Version
126
- version: '2.0'
138
+ version: '3.3'
127
139
  required_rubygems_version: !ruby/object:Gem::Requirement
128
140
  requirements:
129
141
  - - ">="
130
142
  - !ruby/object:Gem::Version
131
143
  version: '0'
132
144
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 2.2.2
135
- signing_key:
145
+ rubygems_version: 4.0.20
136
146
  specification_version: 4
137
147
  summary: Conversion between Gregorian and Baha'i (or Badi) calendars
138
- test_files:
139
- - spec/spec_helper.rb
140
- - spec/bahai_date/bahai_date_spec.rb
141
- - spec/bahai_date/logic_spec.rb
142
- - spec/bahai_date/occasion_factory_spec.rb
143
- - spec/bahai_date/year_calendar_spec.rb
144
- - spec/bahai_date/year_spec.rb
145
- - spec/bahai_date/occasion_spec.rb
146
- - spec/bahai_date/weekday_spec.rb
147
- - spec/bahai_date/month_spec.rb
148
- - spec/bahai_date/day_spec.rb
148
+ test_files: []