solar_geometry_calculation 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/LICENSE +1 -1
- data/lib/solar_geometry_calculation/calculation_helper.rb +5 -5
- data/lib/solar_geometry_calculation/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49c7362c5ced8041a37cb486a46a6c6515f75982
|
4
|
+
data.tar.gz: 49fcbc74532cbb1ccb2a3206cd20c5c32e58e7df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 245297c8f1f6069a6b97106f1f48e991aef74526b3c3392530bb6867b11b63aca8f526e16c9c3ff5eb89586bbf939304cb3c24d04d821403dd50b1250bec2404
|
7
|
+
data.tar.gz: f4ab2b957649da61e0283f018a1f40ffb2f7db6f40141797d65a1181153e1dc0c3fdc8a86a10b475935853153e4ed7d40d88998e5c2366098bf9ebf46f539113
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.2
|
data/LICENSE
CHANGED
@@ -32,13 +32,13 @@ module SolarGeometryCalculation
|
|
32
32
|
BigDecimal(Math.tan(angle_in_radian).to_s)
|
33
33
|
end
|
34
34
|
|
35
|
-
def big_decimal_asin(
|
36
|
-
BigDecimal(Math.asin(
|
35
|
+
def big_decimal_asin(sin_value)
|
36
|
+
BigDecimal(Math.asin(sin_value).to_s)
|
37
37
|
end
|
38
38
|
|
39
|
-
def big_decimal_acos(
|
40
|
-
BigDecimal(Math.acos(
|
41
|
-
end
|
39
|
+
def big_decimal_acos(cos_value)
|
40
|
+
BigDecimal(Math.acos(cos_value).to_s)
|
41
|
+
end
|
42
42
|
|
43
43
|
end
|
44
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solar_geometry_calculation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tadatoshi Takahashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project: solar_geometry_calculation
|
99
|
-
rubygems_version: 2.
|
99
|
+
rubygems_version: 2.4.7
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Performs calculation for solar geometry
|