fiscal 0.2.1 → 0.2.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/Gemfile.lock +18 -13
- data/lib/fiscal/version.rb +1 -1
- data/spec/fiscal_spec.rb +0 -4
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb32dd0c49ff60dfaf42f2e4f246be232f15fe39
|
|
4
|
+
data.tar.gz: a5d3a1cf8a4d4593f8c984d6797eee39a886ea17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f0e5e05a2acb13cde37c514d8407262dcd814155c36a0a88ccea6f9e6977e053bf7abf694eb9809eeb7197e0cdcc59da95507dab503c99a52dab2c93995589c
|
|
7
|
+
data.tar.gz: d1257d18b82b5ca8be5867ebb5be7efdfd0f51b7ad60ba84574cae134b20abd365c71f1048c8b44811b806e90058f6e672a0a8544c4854d4effd063558d0fff9
|
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fiscal (0.2.
|
|
4
|
+
fiscal (0.2.2)
|
|
5
5
|
activesupport
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activesupport (4.2.
|
|
10
|
+
activesupport (4.2.3)
|
|
11
11
|
i18n (~> 0.7)
|
|
12
12
|
json (~> 1.7, >= 1.7.7)
|
|
13
13
|
minitest (~> 5.1)
|
|
@@ -15,17 +15,22 @@ GEM
|
|
|
15
15
|
tzinfo (~> 1.1)
|
|
16
16
|
diff-lcs (1.2.5)
|
|
17
17
|
i18n (0.7.0)
|
|
18
|
-
json (1.8.
|
|
19
|
-
minitest (5.
|
|
20
|
-
rake (10.
|
|
21
|
-
rspec (
|
|
22
|
-
rspec-core (~>
|
|
23
|
-
rspec-expectations (~>
|
|
24
|
-
rspec-mocks (~>
|
|
25
|
-
rspec-core (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
json (1.8.3)
|
|
19
|
+
minitest (5.7.0)
|
|
20
|
+
rake (10.4.2)
|
|
21
|
+
rspec (3.3.0)
|
|
22
|
+
rspec-core (~> 3.3.0)
|
|
23
|
+
rspec-expectations (~> 3.3.0)
|
|
24
|
+
rspec-mocks (~> 3.3.0)
|
|
25
|
+
rspec-core (3.3.1)
|
|
26
|
+
rspec-support (~> 3.3.0)
|
|
27
|
+
rspec-expectations (3.3.0)
|
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
29
|
+
rspec-support (~> 3.3.0)
|
|
30
|
+
rspec-mocks (3.3.1)
|
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
|
+
rspec-support (~> 3.3.0)
|
|
33
|
+
rspec-support (3.3.0)
|
|
29
34
|
thread_safe (0.3.5)
|
|
30
35
|
tzinfo (1.2.2)
|
|
31
36
|
thread_safe (~> 0.1)
|
data/lib/fiscal/version.rb
CHANGED
data/spec/fiscal_spec.rb
CHANGED
|
@@ -46,8 +46,4 @@ describe Fiscal do
|
|
|
46
46
|
Date.today.fiscal.year.start.should eql(Date.today.beginning_of_year)
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
it "returns current calendar year start date as fourth quarter start of India, for today" do
|
|
50
|
-
Date.today.fiscal(country: :in).quarter(4).start.should eql(Date.today.beginning_of_year)
|
|
51
|
-
end
|
|
52
|
-
|
|
53
49
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fiscal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geordee Naliyath
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|