astro96 0.3.1 → 0.3.2
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 +4 -4
- data/lib/astro96.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f445c328216a974cde2e3749a3e44f55b5145dab855608f2689954ad5da34407
|
|
4
|
+
data.tar.gz: 3f40712ca46bd42e622f304d44f6643e9c96d44e1f13da6ad60b72d0db7713cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69d6808634616bf6e9a64af13cf41765bdb2c995daab004a6c24e1705e2ad6a4ff0bb541575fb4f24fa9668665126aaebb1f18cd1cadfb1513f24a7d9bb244e4
|
|
7
|
+
data.tar.gz: e0b0a9f761c40a8cb85c4fd26333c9fa8d27b50a324c6031608ef9ff662046889b00c8a581b2d759f786a9491b0b136279dd2f445727a34ba69005ead78a71c2
|
data/lib/astro96.rb
CHANGED
|
@@ -29,7 +29,7 @@ module Astro96
|
|
|
29
29
|
raise ArgumentError, "api_key is required" if api_key.nil? || api_key.empty?
|
|
30
30
|
|
|
31
31
|
@app = app_info.nil? ? nil : Client.app_header(app_info)
|
|
32
|
-
@user_agent = "96astro-ruby/0.3.
|
|
32
|
+
@user_agent = "96astro-ruby/0.3.2 plt/#{Client.platform}"
|
|
33
33
|
|
|
34
34
|
@api_key = api_key
|
|
35
35
|
@base_url = base_url.sub(%r{/+$}, "")
|
|
@@ -1659,7 +1659,7 @@ module Astro96
|
|
|
1659
1659
|
def ayadi_full(json) = call("vastu", "ayadi-full", json)
|
|
1660
1660
|
# Brihaspati Samvatsara (DrikPanchang-calibrated).
|
|
1661
1661
|
def brihaspati_samvatsara_calibrated(json) = call("panchang", "brihaspati-samvatsara-calibrated", json)
|
|
1662
|
-
# Rashi Dasha Antardashas (equal twelfths).
|
|
1662
|
+
# Rashi Dasha Antardashas (equal twelfths or BPHS).
|
|
1663
1663
|
def rashi_antardasha(json) = call("dashas", "rashi-antardasha", json)
|
|
1664
1664
|
|
|
1665
1665
|
private
|