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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab7c4e3df708bc029198f6c89d5fb142dedc6814
4
- data.tar.gz: 9d9a15581884a09ac74557dcb950e1eb5fbeaa5d
3
+ metadata.gz: fb32dd0c49ff60dfaf42f2e4f246be232f15fe39
4
+ data.tar.gz: a5d3a1cf8a4d4593f8c984d6797eee39a886ea17
5
5
  SHA512:
6
- metadata.gz: 8eebff3e8d3615e799aff06244fed6275df2c91169ebc2b081b8bc393a50c6e48715da73bee70564405053ffea180d1a467a261ef496766b429133c3d0937ede
7
- data.tar.gz: de66e603c446a1ca26aae615356f2b42506ca36ad3a3a7835bc680f0f56cf5c1921400513b614c31d6f6e36503f600c083b1666cff2ce692d8f9366bb80511c9
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.1)
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.1)
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.2)
19
- minitest (5.5.1)
20
- rake (10.1.1)
21
- rspec (2.14.1)
22
- rspec-core (~> 2.14.0)
23
- rspec-expectations (~> 2.14.0)
24
- rspec-mocks (~> 2.14.0)
25
- rspec-core (2.14.7)
26
- rspec-expectations (2.14.5)
27
- diff-lcs (>= 1.1.3, < 2.0)
28
- rspec-mocks (2.14.5)
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)
@@ -1,3 +1,3 @@
1
1
  module Fiscal
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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
@@ -4,5 +4,5 @@ Bundler.setup
4
4
  require 'fiscal'
5
5
 
6
6
  RSpec.configure do |config|
7
-
7
+ config.expect_with(:rspec) { |c| c.syntax = :should }
8
8
  end
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.1
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-03-30 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport