asanghi-fiscali 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fiscali.gemspec +1 -1
- data/lib/rising_sun/fiscali.rb +4 -0
- data/test/fiscali_test.rb +4 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1
|
1
|
+
1.2.1
|
data/fiscali.gemspec
CHANGED
data/lib/rising_sun/fiscali.rb
CHANGED
data/test/fiscali_test.rb
CHANGED
@@ -9,6 +9,10 @@ class FiscaliTest < ActiveSupport::TestCase
|
|
9
9
|
assert_equal(Date.fy_start_month,2)
|
10
10
|
|
11
11
|
Date.fiscal_zone = :india
|
12
|
+
|
13
|
+
d = Date.financial_year_start(2009)
|
14
|
+
assert_equal(d,Date.new(2009,4,1),'Financial Year start not correct')
|
15
|
+
|
12
16
|
d = Date.new(2009,1,1)
|
13
17
|
assert_equal(d.financial_year,2008,'Financial Year is not correct')
|
14
18
|
assert_equal(d.beginning_of_financial_year,Date.new(2008,4,1),'Beginning of FY is not correct')
|