business 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -0
- data/.rubocop.yml +13 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -0
- data/README.md +1 -1
- data/business.gemspec +9 -5
- data/lib/business.rb +3 -1
- data/lib/business/calendar.rb +65 -47
- data/lib/business/version.rb +3 -1
- data/spec/{calendar_spec.rb → business/calendar_spec.rb} +215 -87
- metadata +33 -4
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: business
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Marr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gc_ruboconfig
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.24.0
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.24.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rspec
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +52,20 @@ dependencies:
|
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: 0.4.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.10.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.10.0
|
41
69
|
description: Date calculations based on business calendars
|
42
70
|
email:
|
43
71
|
- developers@gocardless.com
|
@@ -47,6 +75,7 @@ extra_rdoc_files: []
|
|
47
75
|
files:
|
48
76
|
- ".circleci/config.yml"
|
49
77
|
- ".gitignore"
|
78
|
+
- ".rubocop.yml"
|
50
79
|
- ".ruby-version"
|
51
80
|
- CHANGELOG.md
|
52
81
|
- Gemfile
|
@@ -56,7 +85,7 @@ files:
|
|
56
85
|
- lib/business.rb
|
57
86
|
- lib/business/calendar.rb
|
58
87
|
- lib/business/version.rb
|
59
|
-
- spec/calendar_spec.rb
|
88
|
+
- spec/business/calendar_spec.rb
|
60
89
|
- spec/fixtures/calendars/bacs.yml
|
61
90
|
- spec/fixtures/calendars/ecb.yml
|
62
91
|
- spec/fixtures/calendars/invalid-keys.yml
|
@@ -84,7 +113,7 @@ signing_key:
|
|
84
113
|
specification_version: 4
|
85
114
|
summary: Date calculations based on business calendars
|
86
115
|
test_files:
|
87
|
-
- spec/calendar_spec.rb
|
116
|
+
- spec/business/calendar_spec.rb
|
88
117
|
- spec/fixtures/calendars/bacs.yml
|
89
118
|
- spec/fixtures/calendars/ecb.yml
|
90
119
|
- spec/fixtures/calendars/invalid-keys.yml
|