enrico 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +70 -30
- data/VERSION +1 -1
- data/enrico-0.1.5.gem +0 -0
- data/enrico-0.1.6.gem +0 -0
- data/enrico.gemspec +13 -10
- data/lib/enrico/country.rb +6 -6
- data/spec/fixtures/vcr_cassettes/is_public_holiday.yml +10 -10
- data/spec/fixtures/vcr_cassettes/public_holidays_in_date_range.yml +7 -106
- data/spec/fixtures/vcr_cassettes/public_holidays_in_month.yml +7 -48
- data/spec/fixtures/vcr_cassettes/public_holidays_in_year.yml +15 -56
- data/spec/fixtures/vcr_cassettes/supported_countries.yml +52 -32
- data/spec/lib/enrico/vacation_day_spec.rb +8 -6
- metadata +19 -32
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzI4ZjMxMDE2MGZjNTkxYjFjMzQyNDA0Mzg4Y2RmNWVkMmNiMmZjMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDRhZGI5OTQ3ZTE4MDlmNzYyZWMyNGU2YWRkMDAwMWZiM2YwZDBhNw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZjViZTNkNDRkM2IxZTVlNjc0OWQ1ZWY3Mjk4NTNmMTdiNDEyZjkyMWU0ZjNi
|
10
|
+
NjllMDQxMTNiMmU0MTk3MWIyMTQyYTdmZWFjMTYxMzYwZDM1ZjE4ZDIyMWY2
|
11
|
+
MzE1ZWQwMWYxMmJlMzM5YzhmNzA1ZWRlYWIxMzQ5NTFlZTEyMzI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YzZmMzlmNjU5YmM1MWRjMmYyOTY2MjQ5ZDM1Zjg1ODA4NDQxN2I2NGViMjIw
|
14
|
+
MWFjOTE0OGU2OWZhMGUyYWEzOGQwN2UwM2MzNGU4MzhlY2U2YWYzZTRhMWIx
|
15
|
+
MzI1NGQxNjBkZTMzM2ZmN2YwN2QwNDk0Y2ExZDI3NjY2MmRlOGY=
|
data/Gemfile
CHANGED
@@ -5,11 +5,11 @@ source "http://rubygems.org"
|
|
5
5
|
|
6
6
|
# Add dependencies to develop your gem here.
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
gem 'httparty'
|
8
|
+
gem 'httparty', '0.12.0'
|
9
9
|
|
10
10
|
group :development do
|
11
11
|
gem "bundler"
|
12
|
-
gem "jeweler"
|
12
|
+
gem "jeweler", "1.8.8"
|
13
13
|
gem "simplecov"
|
14
14
|
gem "rdoc"
|
15
15
|
gem "shoulda"
|
data/Gemfile.lock
CHANGED
@@ -1,43 +1,83 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (
|
5
|
-
i18n (~> 0.6)
|
6
|
-
|
7
|
-
|
4
|
+
activesupport (4.0.1)
|
5
|
+
i18n (~> 0.6, >= 0.6.4)
|
6
|
+
minitest (~> 4.2)
|
7
|
+
multi_json (~> 1.3)
|
8
|
+
thread_safe (~> 0.1)
|
9
|
+
tzinfo (~> 0.3.37)
|
10
|
+
addressable (2.3.5)
|
8
11
|
ansi (1.4.3)
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
atomic (1.1.14)
|
13
|
+
builder (3.2.2)
|
14
|
+
crack (0.4.1)
|
15
|
+
safe_yaml (~> 0.9.0)
|
16
|
+
docile (1.1.1)
|
17
|
+
faraday (0.8.8)
|
18
|
+
multipart-post (~> 1.2.0)
|
19
|
+
git (1.2.6)
|
20
|
+
github_api (0.10.1)
|
21
|
+
addressable
|
22
|
+
faraday (~> 0.8.1)
|
23
|
+
hashie (>= 1.2)
|
24
|
+
multi_json (~> 1.4)
|
25
|
+
nokogiri (~> 1.5.2)
|
26
|
+
oauth2
|
27
|
+
hashie (2.0.5)
|
28
|
+
highline (1.6.20)
|
29
|
+
httparty (0.12.0)
|
30
|
+
json (~> 1.8)
|
31
|
+
multi_xml (>= 0.5.2)
|
32
|
+
httpauth (0.2.0)
|
33
|
+
i18n (0.6.5)
|
34
|
+
jeweler (1.8.8)
|
35
|
+
builder
|
16
36
|
bundler (~> 1.0)
|
17
37
|
git (>= 1.2.5)
|
38
|
+
github_api (= 0.10.1)
|
39
|
+
highline (>= 1.6.15)
|
40
|
+
nokogiri (= 1.5.10)
|
18
41
|
rake
|
19
42
|
rdoc
|
20
|
-
json (1.
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
43
|
+
json (1.8.1)
|
44
|
+
jwt (0.1.8)
|
45
|
+
multi_json (>= 1.5)
|
46
|
+
minitest (4.7.5)
|
47
|
+
multi_json (1.8.2)
|
48
|
+
multi_xml (0.5.5)
|
49
|
+
multipart-post (1.2.0)
|
50
|
+
nokogiri (1.5.10)
|
51
|
+
oauth2 (0.9.2)
|
52
|
+
faraday (~> 0.8)
|
53
|
+
httpauth (~> 0.2)
|
54
|
+
jwt (~> 0.1.4)
|
55
|
+
multi_json (~> 1.0)
|
56
|
+
multi_xml (~> 0.5)
|
57
|
+
rack (~> 1.2)
|
58
|
+
rack (1.5.2)
|
59
|
+
rake (10.1.0)
|
60
|
+
rdoc (4.0.1)
|
26
61
|
json (~> 1.4)
|
27
|
-
|
28
|
-
|
29
|
-
shoulda-
|
30
|
-
|
31
|
-
shoulda-
|
62
|
+
safe_yaml (0.9.7)
|
63
|
+
shoulda (3.5.0)
|
64
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
65
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
66
|
+
shoulda-context (1.1.6)
|
67
|
+
shoulda-matchers (2.4.0)
|
32
68
|
activesupport (>= 3.0.0)
|
33
|
-
simplecov (0.
|
34
|
-
|
35
|
-
|
36
|
-
|
69
|
+
simplecov (0.8.2)
|
70
|
+
docile (~> 1.1.0)
|
71
|
+
multi_json
|
72
|
+
simplecov-html (~> 0.8.0)
|
73
|
+
simplecov-html (0.8.0)
|
74
|
+
thread_safe (0.1.3)
|
75
|
+
atomic
|
37
76
|
turn (0.9.6)
|
38
77
|
ansi
|
39
|
-
|
40
|
-
|
78
|
+
tzinfo (0.3.38)
|
79
|
+
vcr (2.8.0)
|
80
|
+
webmock (1.8.11)
|
41
81
|
addressable (>= 2.2.7)
|
42
82
|
crack (>= 0.1.7)
|
43
83
|
|
@@ -46,8 +86,8 @@ PLATFORMS
|
|
46
86
|
|
47
87
|
DEPENDENCIES
|
48
88
|
bundler
|
49
|
-
httparty
|
50
|
-
jeweler
|
89
|
+
httparty (= 0.12.0)
|
90
|
+
jeweler (= 1.8.8)
|
51
91
|
minitest
|
52
92
|
rake
|
53
93
|
rdoc
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
data/enrico-0.1.5.gem
ADDED
File without changes
|
data/enrico-0.1.6.gem
ADDED
Binary file
|
data/enrico.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: enrico 0.1.6 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "enrico"
|
8
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.6"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Kalle Saas"]
|
12
|
-
s.date = "
|
13
|
+
s.date = "2013-12-02"
|
13
14
|
s.description = "http://github.com/easyPEP/enrico"
|
14
15
|
s.email = "kalle@easypep.de"
|
15
16
|
s.extra_rdoc_files = [
|
@@ -26,6 +27,8 @@ Gem::Specification.new do |s|
|
|
26
27
|
"README.rdoc",
|
27
28
|
"Rakefile",
|
28
29
|
"VERSION",
|
30
|
+
"enrico-0.1.5.gem",
|
31
|
+
"enrico-0.1.6.gem",
|
29
32
|
"enrico.gemspec",
|
30
33
|
"lib/enrico.rb",
|
31
34
|
"lib/enrico/country.rb",
|
@@ -44,33 +47,33 @@ Gem::Specification.new do |s|
|
|
44
47
|
s.homepage = "http://github.com/easyPEP/enrico"
|
45
48
|
s.licenses = ["MIT"]
|
46
49
|
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = "1.
|
50
|
+
s.rubygems_version = "2.1.5"
|
48
51
|
s.summary = "A ruby wrapper around enrico holiday API"
|
49
52
|
|
50
53
|
if s.respond_to? :specification_version then
|
51
|
-
s.specification_version =
|
54
|
+
s.specification_version = 4
|
52
55
|
|
53
56
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
-
s.add_runtime_dependency(%q<httparty>, ["
|
57
|
+
s.add_runtime_dependency(%q<httparty>, ["= 0.12.0"])
|
55
58
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
56
|
-
s.add_development_dependency(%q<jeweler>, ["
|
59
|
+
s.add_development_dependency(%q<jeweler>, ["= 1.8.8"])
|
57
60
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
58
61
|
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
59
62
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
60
63
|
s.add_development_dependency(%q<minitest>, [">= 0"])
|
61
64
|
else
|
62
|
-
s.add_dependency(%q<httparty>, ["
|
65
|
+
s.add_dependency(%q<httparty>, ["= 0.12.0"])
|
63
66
|
s.add_dependency(%q<bundler>, [">= 0"])
|
64
|
-
s.add_dependency(%q<jeweler>, ["
|
67
|
+
s.add_dependency(%q<jeweler>, ["= 1.8.8"])
|
65
68
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
66
69
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
67
70
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
68
71
|
s.add_dependency(%q<minitest>, [">= 0"])
|
69
72
|
end
|
70
73
|
else
|
71
|
-
s.add_dependency(%q<httparty>, ["
|
74
|
+
s.add_dependency(%q<httparty>, ["= 0.12.0"])
|
72
75
|
s.add_dependency(%q<bundler>, [">= 0"])
|
73
|
-
s.add_dependency(%q<jeweler>, ["
|
76
|
+
s.add_dependency(%q<jeweler>, ["= 1.8.8"])
|
74
77
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
75
78
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
76
79
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
data/lib/enrico/country.rb
CHANGED
@@ -48,7 +48,7 @@ module Enrico
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def self.get_countries
|
51
|
-
|
51
|
+
self.get("/?action=getSupportedCountries")
|
52
52
|
end
|
53
53
|
|
54
54
|
def vacation_days_from_response(response)
|
@@ -56,7 +56,7 @@ module Enrico
|
|
56
56
|
response.each do |vacation_day|
|
57
57
|
vacation_days.push( Enrico::VacationDay.new(vacation_day) )
|
58
58
|
end
|
59
|
-
vacation_days
|
59
|
+
vacation_days
|
60
60
|
end
|
61
61
|
|
62
62
|
def country_parameters(params)
|
@@ -67,22 +67,22 @@ module Enrico
|
|
67
67
|
|
68
68
|
def is_public_holiday(date)
|
69
69
|
params = country_parameters({date: date.strftime("%d-%m-%Y")})
|
70
|
-
|
70
|
+
self.class.get("/?action=isPublicHoliday&#{params}")
|
71
71
|
end
|
72
72
|
|
73
73
|
def get_public_holidays_for_month(date)
|
74
74
|
params = country_parameters({month: date.month, year: date.year})
|
75
|
-
|
75
|
+
self.class.get("/?action=getPublicHolidaysForMonth&#{params}")
|
76
76
|
end
|
77
77
|
|
78
78
|
def get_public_holidays_for_year(date)
|
79
79
|
params = country_parameters({year: date.year})
|
80
|
-
|
80
|
+
self.class.get("/?action=getPublicHolidaysForYear&#{params}")
|
81
81
|
end
|
82
82
|
|
83
83
|
def get_public_holidays_for_date_range(from_date, to_date)
|
84
84
|
params = country_parameters({fromDate: from_date.strftime("%d-%m-%Y"), toDate: to_date.strftime("%d-%m-%Y")})
|
85
|
-
|
85
|
+
self.class.get("/?action=getPublicHolidaysForDateRange&#{params}")
|
86
86
|
end
|
87
87
|
|
88
88
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=isPublicHoliday&country=ger&date=01-01-
|
5
|
+
uri: http://kayaposoft.com/enrico/json/v1.0/?action=isPublicHoliday&country=ger&date=01-01-2013®ion=
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -15,23 +15,23 @@ http_interactions:
|
|
15
15
|
Server:
|
16
16
|
- nginx
|
17
17
|
Date:
|
18
|
-
-
|
18
|
+
- Mon, 02 Dec 2013 17:41:34 GMT
|
19
19
|
Content-Type:
|
20
|
-
-
|
20
|
+
- application/json
|
21
21
|
Content-Length:
|
22
22
|
- '24'
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Vary:
|
26
|
-
- User-Agent
|
26
|
+
- User-Agent
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
29
|
string: ! '{"isPublicHoliday":true}'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Mon, 02 Dec 2013 17:41:34 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=isPublicHoliday&country=ger&date=29-01-
|
34
|
+
uri: http://kayaposoft.com/enrico/json/v1.0/?action=isPublicHoliday&country=ger&date=29-01-2013®ion=
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
@@ -44,18 +44,18 @@ http_interactions:
|
|
44
44
|
Server:
|
45
45
|
- nginx
|
46
46
|
Date:
|
47
|
-
-
|
47
|
+
- Mon, 02 Dec 2013 17:41:34 GMT
|
48
48
|
Content-Type:
|
49
|
-
-
|
49
|
+
- application/json
|
50
50
|
Content-Length:
|
51
51
|
- '25'
|
52
52
|
Connection:
|
53
53
|
- keep-alive
|
54
54
|
Vary:
|
55
|
-
- User-Agent
|
55
|
+
- User-Agent
|
56
56
|
body:
|
57
57
|
encoding: US-ASCII
|
58
58
|
string: ! '{"isPublicHoliday":false}'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 02 Dec 2013 17:41:34 GMT
|
61
61
|
recorded_with: VCR 2.3.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=
|
5
|
+
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForDateRange&country=ger&fromDate=01-01-2013®ion=&toDate=01-03-2013
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -15,118 +15,19 @@ http_interactions:
|
|
15
15
|
Server:
|
16
16
|
- nginx
|
17
17
|
Date:
|
18
|
-
-
|
18
|
+
- Mon, 02 Dec 2013 17:41:33 GMT
|
19
19
|
Content-Type:
|
20
|
-
-
|
20
|
+
- application/json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '113'
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Vary:
|
26
|
-
- User-Agent
|
26
|
+
- User-Agent
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
|
-
string: ! '[{"
|
30
|
-
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
31
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
32
|
-
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
33
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
34
|
-
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
35
|
-
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
36
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
37
|
-
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
38
|
-
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
39
|
-
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
40
|
-
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
41
|
-
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
42
|
-
http_version:
|
43
|
-
recorded_at: Thu, 29 Nov 2012 16:49:30 GMT
|
44
|
-
- request:
|
45
|
-
method: get
|
46
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForDateRange&country=ger&fromDate=2012-01-01®ion=&toDate=2012-03-01
|
47
|
-
body:
|
48
|
-
encoding: US-ASCII
|
49
|
-
string: ''
|
50
|
-
headers: {}
|
51
|
-
response:
|
52
|
-
status:
|
53
|
-
code: 200
|
54
|
-
message: OK
|
55
|
-
headers:
|
56
|
-
Server:
|
57
|
-
- nginx
|
58
|
-
Date:
|
59
|
-
- Thu, 29 Nov 2012 16:55:42 GMT
|
60
|
-
Content-Type:
|
61
|
-
- text/html
|
62
|
-
Content-Length:
|
63
|
-
- '43'
|
64
|
-
Connection:
|
65
|
-
- keep-alive
|
66
|
-
Vary:
|
67
|
-
- User-Agent,Accept-Encoding
|
68
|
-
body:
|
69
|
-
encoding: US-ASCII
|
70
|
-
string: ! '{"error":"2012 Jan 01 is not a valid date"}'
|
71
|
-
http_version:
|
72
|
-
recorded_at: Thu, 29 Nov 2012 16:52:07 GMT
|
73
|
-
- request:
|
74
|
-
method: get
|
75
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForDateRange&country=ger&fromDate=01-01-2012®ion=&toDate=01-03-2012
|
76
|
-
body:
|
77
|
-
encoding: US-ASCII
|
78
|
-
string: ''
|
79
|
-
headers: {}
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
Server:
|
86
|
-
- nginx
|
87
|
-
Date:
|
88
|
-
- Thu, 29 Nov 2012 17:00:11 GMT
|
89
|
-
Content-Type:
|
90
|
-
- text/html
|
91
|
-
Content-Length:
|
92
|
-
- '115'
|
93
|
-
Connection:
|
94
|
-
- keep-alive
|
95
|
-
Vary:
|
96
|
-
- User-Agent,Accept-Encoding
|
97
|
-
body:
|
98
|
-
encoding: US-ASCII
|
99
|
-
string: ! '[{"date":{"day":1,"month":1,"year":"2012","dayOfWeek":7},"localName":"Neujahrstag","englishName":"New
|
29
|
+
string: ! '[{"date":{"day":1,"month":1,"year":2013,"dayOfWeek":2},"localName":"Neujahrstag","englishName":"New
|
100
30
|
Year''s Day"}]'
|
101
31
|
http_version:
|
102
|
-
recorded_at:
|
103
|
-
- request:
|
104
|
-
method: get
|
105
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForDateRange&country=ger&from_date=01-01-2012®ion=&to_date=01-03-2012
|
106
|
-
body:
|
107
|
-
encoding: US-ASCII
|
108
|
-
string: ''
|
109
|
-
headers: {}
|
110
|
-
response:
|
111
|
-
status:
|
112
|
-
code: 200
|
113
|
-
message: OK
|
114
|
-
headers:
|
115
|
-
Server:
|
116
|
-
- nginx
|
117
|
-
Date:
|
118
|
-
- Fri, 30 Nov 2012 12:32:31 GMT
|
119
|
-
Content-Type:
|
120
|
-
- text/html
|
121
|
-
Content-Length:
|
122
|
-
- '50'
|
123
|
-
Connection:
|
124
|
-
- keep-alive
|
125
|
-
Vary:
|
126
|
-
- User-Agent,Accept-Encoding
|
127
|
-
body:
|
128
|
-
encoding: US-ASCII
|
129
|
-
string: ! '{"error":"Query parameter ''fromDate'' is not set!"}'
|
130
|
-
http_version:
|
131
|
-
recorded_at: Fri, 30 Nov 2012 12:28:58 GMT
|
32
|
+
recorded_at: Mon, 02 Dec 2013 17:41:33 GMT
|
132
33
|
recorded_with: VCR 2.3.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForMonth&country=ger&month=1®ion=&year=
|
5
|
+
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForMonth&country=ger&month=1®ion=&year=2013
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -15,60 +15,19 @@ http_interactions:
|
|
15
15
|
Server:
|
16
16
|
- nginx
|
17
17
|
Date:
|
18
|
-
-
|
18
|
+
- Mon, 02 Dec 2013 17:41:33 GMT
|
19
19
|
Content-Type:
|
20
|
-
-
|
20
|
+
- application/json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '113'
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Vary:
|
26
|
-
- User-Agent
|
26
|
+
- User-Agent
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
|
-
string: ! '[{"date":{"day":1,"month":1,"year":
|
29
|
+
string: ! '[{"date":{"day":1,"month":1,"year":2013,"dayOfWeek":2},"localName":"Neujahrstag","englishName":"New
|
30
30
|
Year''s Day"}]'
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
33
|
-
- request:
|
34
|
-
method: get
|
35
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getSupportedCountries
|
36
|
-
body:
|
37
|
-
encoding: US-ASCII
|
38
|
-
string: ''
|
39
|
-
headers: {}
|
40
|
-
response:
|
41
|
-
status:
|
42
|
-
code: 200
|
43
|
-
message: OK
|
44
|
-
headers:
|
45
|
-
Server:
|
46
|
-
- nginx
|
47
|
-
Date:
|
48
|
-
- Thu, 29 Nov 2012 17:03:17 GMT
|
49
|
-
Content-Type:
|
50
|
-
- text/html
|
51
|
-
Content-Length:
|
52
|
-
- '5620'
|
53
|
-
Connection:
|
54
|
-
- keep-alive
|
55
|
-
Vary:
|
56
|
-
- User-Agent,Accept-Encoding
|
57
|
-
body:
|
58
|
-
encoding: US-ASCII
|
59
|
-
string: ! '[{"fullName":"Australia","countryCode":"aus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Australian
|
60
|
-
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
61
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
62
|
-
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
63
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
64
|
-
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
65
|
-
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
66
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
67
|
-
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
68
|
-
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
69
|
-
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
70
|
-
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
71
|
-
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
72
|
-
http_version:
|
73
|
-
recorded_at: Thu, 29 Nov 2012 16:59:42 GMT
|
32
|
+
recorded_at: Mon, 02 Dec 2013 17:41:33 GMT
|
74
33
|
recorded_with: VCR 2.3.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForYear&country=ger®ion=&year=
|
5
|
+
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getPublicHolidaysForYear&country=ger®ion=&year=2013
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -15,68 +15,27 @@ http_interactions:
|
|
15
15
|
Server:
|
16
16
|
- nginx
|
17
17
|
Date:
|
18
|
-
-
|
18
|
+
- Mon, 02 Dec 2013 17:41:34 GMT
|
19
19
|
Content-Type:
|
20
|
-
-
|
20
|
+
- application/json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '1051'
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Vary:
|
26
|
-
- User-Agent
|
26
|
+
- User-Agent
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
|
-
string: ! '[{"date":{"day":1,"month":1,"year":
|
30
|
-
Year''s Day"},{"date":{"day":
|
31
|
-
Friday"},{"date":{"day":
|
32
|
-
Monday"},{"date":{"day":1,"month":5,"year":
|
33
|
-
der Arbeit","englishName":"Labour Day"},{"date":{"day":
|
34
|
-
Himmelfahrt","englishName":"Ascension Day"},{"date":{"day":
|
35
|
-
Monday"},{"date":{"day":3,"month":10,"year":
|
36
|
-
der Deutschen Einheit","englishName":"German Unity Day"},{"date":{"day":25,"month":12,"year":
|
37
|
-
Day"},{"date":{"day":26,"month":12,"year":
|
29
|
+
string: ! '[{"date":{"day":1,"month":1,"year":2013,"dayOfWeek":2},"localName":"Neujahrstag","englishName":"New
|
30
|
+
Year''s Day"},{"date":{"day":29,"month":3,"year":2013,"dayOfWeek":5},"localName":"Karfreitag","englishName":"Good
|
31
|
+
Friday"},{"date":{"day":1,"month":4,"year":2013,"dayOfWeek":1},"localName":"Ostermontag","englishName":"Easter
|
32
|
+
Monday"},{"date":{"day":1,"month":5,"year":2013,"dayOfWeek":3},"localName":"Tag
|
33
|
+
der Arbeit","englishName":"Labour Day"},{"date":{"day":9,"month":5,"year":2013,"dayOfWeek":4},"localName":"Christi
|
34
|
+
Himmelfahrt","englishName":"Ascension Day"},{"date":{"day":20,"month":5,"year":2013,"dayOfWeek":1},"localName":"Pfingstmontag","englishName":"Whit
|
35
|
+
Monday"},{"date":{"day":3,"month":10,"year":2013,"dayOfWeek":4},"localName":"Tag
|
36
|
+
der Deutschen Einheit","englishName":"German Unity Day"},{"date":{"day":25,"month":12,"year":2013,"dayOfWeek":3},"localName":"Weihnachtstag","englishName":"Christmas
|
37
|
+
Day"},{"date":{"day":26,"month":12,"year":2013,"dayOfWeek":4},"localName":"Zweiter
|
38
38
|
Weihnachtsfeiertag","englishName":"St. Stephen''s Day"}]'
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
41
|
-
- request:
|
42
|
-
method: get
|
43
|
-
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getSupportedCountries
|
44
|
-
body:
|
45
|
-
encoding: US-ASCII
|
46
|
-
string: ''
|
47
|
-
headers: {}
|
48
|
-
response:
|
49
|
-
status:
|
50
|
-
code: 200
|
51
|
-
message: OK
|
52
|
-
headers:
|
53
|
-
Server:
|
54
|
-
- nginx
|
55
|
-
Date:
|
56
|
-
- Thu, 29 Nov 2012 17:03:17 GMT
|
57
|
-
Content-Type:
|
58
|
-
- text/html
|
59
|
-
Content-Length:
|
60
|
-
- '5620'
|
61
|
-
Connection:
|
62
|
-
- keep-alive
|
63
|
-
Vary:
|
64
|
-
- User-Agent,Accept-Encoding
|
65
|
-
body:
|
66
|
-
encoding: US-ASCII
|
67
|
-
string: ! '[{"fullName":"Australia","countryCode":"aus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Australian
|
68
|
-
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
69
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
70
|
-
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
71
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
72
|
-
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
73
|
-
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
74
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
75
|
-
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
76
|
-
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
77
|
-
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
78
|
-
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
79
|
-
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
80
|
-
http_version:
|
81
|
-
recorded_at: Thu, 29 Nov 2012 16:59:42 GMT
|
40
|
+
recorded_at: Mon, 02 Dec 2013 17:41:34 GMT
|
82
41
|
recorded_with: VCR 2.3.0
|
@@ -15,32 +15,37 @@ http_interactions:
|
|
15
15
|
Server:
|
16
16
|
- nginx
|
17
17
|
Date:
|
18
|
-
-
|
18
|
+
- Mon, 02 Dec 2013 17:41:33 GMT
|
19
19
|
Content-Type:
|
20
|
-
-
|
20
|
+
- application/json
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '6678'
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Vary:
|
26
|
-
- User-Agent
|
26
|
+
- User-Agent
|
27
27
|
body:
|
28
28
|
encoding: US-ASCII
|
29
29
|
string: ! '[{"fullName":"Australia","countryCode":"aus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Australian
|
30
30
|
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
31
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
31
|
+
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Canada","countryCode":"can","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alberta","British
|
32
|
+
Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest
|
33
|
+
Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"]},{"fullName":"China","countryCode":"chn","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
32
34
|
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
33
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"
|
35
|
+
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hong
|
36
|
+
Kong","countryCode":"hkg","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
34
37
|
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
35
38
|
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
36
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
39
|
+
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Russia","countryCode":"rus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
40
|
+
Africa","countryCode":"zaf","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
41
|
+
Korea","countryCode":"rok","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
37
42
|
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
38
43
|
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
39
44
|
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
40
45
|
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
41
46
|
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
42
47
|
http_version:
|
43
|
-
recorded_at:
|
48
|
+
recorded_at: Mon, 02 Dec 2013 17:41:33 GMT
|
44
49
|
- request:
|
45
50
|
method: get
|
46
51
|
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getSupportedCountries
|
@@ -56,32 +61,37 @@ http_interactions:
|
|
56
61
|
Server:
|
57
62
|
- nginx
|
58
63
|
Date:
|
59
|
-
-
|
64
|
+
- Mon, 02 Dec 2013 17:42:19 GMT
|
60
65
|
Content-Type:
|
61
|
-
-
|
66
|
+
- application/json
|
62
67
|
Content-Length:
|
63
|
-
- '
|
68
|
+
- '6678'
|
64
69
|
Connection:
|
65
70
|
- keep-alive
|
66
71
|
Vary:
|
67
|
-
- User-Agent
|
72
|
+
- User-Agent
|
68
73
|
body:
|
69
74
|
encoding: US-ASCII
|
70
75
|
string: ! '[{"fullName":"Australia","countryCode":"aus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Australian
|
71
76
|
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
72
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
77
|
+
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Canada","countryCode":"can","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alberta","British
|
78
|
+
Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest
|
79
|
+
Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"]},{"fullName":"China","countryCode":"chn","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
73
80
|
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
74
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"
|
81
|
+
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hong
|
82
|
+
Kong","countryCode":"hkg","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
75
83
|
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
76
84
|
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
77
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
85
|
+
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Russia","countryCode":"rus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
86
|
+
Africa","countryCode":"zaf","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
87
|
+
Korea","countryCode":"rok","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
78
88
|
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
79
89
|
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
80
90
|
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
81
91
|
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
82
92
|
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
83
93
|
http_version:
|
84
|
-
recorded_at:
|
94
|
+
recorded_at: Mon, 02 Dec 2013 17:42:19 GMT
|
85
95
|
- request:
|
86
96
|
method: get
|
87
97
|
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getSupportedCountries
|
@@ -97,32 +107,37 @@ http_interactions:
|
|
97
107
|
Server:
|
98
108
|
- nginx
|
99
109
|
Date:
|
100
|
-
-
|
110
|
+
- Mon, 02 Dec 2013 17:42:20 GMT
|
101
111
|
Content-Type:
|
102
|
-
-
|
112
|
+
- application/json
|
103
113
|
Content-Length:
|
104
|
-
- '
|
114
|
+
- '6678'
|
105
115
|
Connection:
|
106
116
|
- keep-alive
|
107
117
|
Vary:
|
108
|
-
- User-Agent
|
118
|
+
- User-Agent
|
109
119
|
body:
|
110
120
|
encoding: US-ASCII
|
111
121
|
string: ! '[{"fullName":"Australia","countryCode":"aus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Australian
|
112
122
|
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
113
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
123
|
+
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Canada","countryCode":"can","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alberta","British
|
124
|
+
Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest
|
125
|
+
Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"]},{"fullName":"China","countryCode":"chn","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
114
126
|
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
115
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"
|
127
|
+
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hong
|
128
|
+
Kong","countryCode":"hkg","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
116
129
|
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
117
130
|
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
118
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
131
|
+
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Russia","countryCode":"rus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
132
|
+
Africa","countryCode":"zaf","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
133
|
+
Korea","countryCode":"rok","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
119
134
|
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
120
135
|
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
121
136
|
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
122
137
|
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
123
138
|
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
124
139
|
http_version:
|
125
|
-
recorded_at:
|
140
|
+
recorded_at: Mon, 02 Dec 2013 17:42:20 GMT
|
126
141
|
- request:
|
127
142
|
method: get
|
128
143
|
uri: http://kayaposoft.com/enrico/json/v1.0/?action=getSupportedCountries
|
@@ -138,30 +153,35 @@ http_interactions:
|
|
138
153
|
Server:
|
139
154
|
- nginx
|
140
155
|
Date:
|
141
|
-
-
|
156
|
+
- Mon, 02 Dec 2013 17:42:20 GMT
|
142
157
|
Content-Type:
|
143
|
-
-
|
158
|
+
- application/json
|
144
159
|
Content-Length:
|
145
|
-
- '
|
160
|
+
- '6678'
|
146
161
|
Connection:
|
147
162
|
- keep-alive
|
148
163
|
Vary:
|
149
|
-
- User-Agent
|
164
|
+
- User-Agent
|
150
165
|
body:
|
151
166
|
encoding: US-ASCII
|
152
167
|
string: ! '[{"fullName":"Australia","countryCode":"aus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Australian
|
153
168
|
Capital Territory","Queensland","New South Wales","Northern Territory","South
|
154
|
-
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
169
|
+
Australia","Tasmania","Victoria","Western Australia"]},{"fullName":"Austria","countryCode":"aut","fromDate":{"day":1,"month":1,"year":1946},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Belgium","countryCode":"bel","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Canada","countryCode":"can","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alberta","British
|
170
|
+
Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest
|
171
|
+
Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon"]},{"fullName":"China","countryCode":"chn","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Croatia","countryCode":"hrv","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Czech
|
155
172
|
Republic","countryCode":"cze","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Denmark","countryCode":"dnk","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"England","countryCode":"eng","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Estonia","countryCode":"est","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Finland","countryCode":"fin","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"France","countryCode":"fra","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alsace","Moselle"]},{"fullName":"Germany","countryCode":"ger","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Baden-W\u00fcrttemberg","Bavaria","Berlin","Brandenburg","Bremen","Hamburg","Hesse","Mecklenburg-Vorpommern","Lower
|
156
|
-
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"
|
173
|
+
Saxony","North Rhine-Westphalia","Rhineland-Palatinate","Saarland","Saxony","Saxony-Anhalt","Schleswig-Holstein","Thuringia"]},{"fullName":"Hong
|
174
|
+
Kong","countryCode":"hkg","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Hungary","countryCode":"hun","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Iceland","countryCode":"isl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Ireland","countryCode":"irl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Italy","countryCode":"ita","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Japan","countryCode":"jpn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Latvia","countryCode":"lva","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Lithuania","countryCode":"ltu","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Luxembourg","countryCode":"lux","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Netherlands","countryCode":"nld","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"New
|
157
175
|
Zealand","countryCode":"nzl","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Auckland","Canterbury","Chatham
|
158
176
|
Islands","Hawkes'' Bay","Marlborough","Nelson","Otago","South Canterbury","Southland","Taranaki","Wellington","Westland"]},{"fullName":"Northern
|
159
|
-
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"
|
177
|
+
Ireland","countryCode":"nir","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Norway","countryCode":"nor","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Poland","countryCode":"pol","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Portugal","countryCode":"prt","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Russia","countryCode":"rus","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Serbia","countryCode":"srb","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":2100},"regions":[]},{"fullName":"Slovakia","countryCode":"svk","fromDate":{"day":1,"month":1,"year":1952},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Slovenia","countryCode":"svn","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
178
|
+
Africa","countryCode":"zaf","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"South
|
179
|
+
Korea","countryCode":"rok","fromDate":{"day":1,"month":1,"year":2013},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"Sweden","countryCode":"swe","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]},{"fullName":"United
|
160
180
|
States of America","countryCode":"usa","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District
|
161
181
|
Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New
|
162
182
|
Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode
|
163
183
|
Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West
|
164
184
|
Virginia","Wisconsin","Wyoming"]},{"fullName":"Wales","countryCode":"wal","fromDate":{"day":1,"month":1,"year":2011},"toDate":{"day":31,"month":12,"year":32767},"regions":[]}]'
|
165
185
|
http_version:
|
166
|
-
recorded_at:
|
186
|
+
recorded_at: Mon, 02 Dec 2013 17:42:20 GMT
|
167
187
|
recorded_with: VCR 2.3.0
|
@@ -7,21 +7,23 @@ require_relative '../../spec_helper'
|
|
7
7
|
describe Enrico::VacationDay do
|
8
8
|
|
9
9
|
describe "default instance attributes" do
|
10
|
-
let(:vacatin_date) {
|
11
|
-
Enrico::VacationDay.new(Date.today.beginning_of_year, "Neujahrstag", "New Year's Day")
|
10
|
+
let(:vacatin_date) {
|
11
|
+
Enrico::VacationDay.new(Date.today.beginning_of_year, "Neujahrstag", "New Year's Day")
|
12
12
|
}
|
13
13
|
|
14
14
|
it "test initializer methods" do
|
15
|
-
|
16
|
-
|
15
|
+
beginning_of_year = Date.today.beginning_of_year
|
16
|
+
rsp = {"date"=>{"day"=> beginning_of_year.day, "month" => beginning_of_year.month, "year"=>beginning_of_year.year, "dayOfWeek"=>beginning_of_year.wday}, "localName"=>"Neujahrstag", "englishName"=>"New Year's Day"}
|
17
|
+
day = Enrico::VacationDay.new(rsp)
|
17
18
|
day.date.must_equal Date.today.beginning_of_year
|
18
19
|
day.local_name.must_equal "Neujahrstag"
|
19
20
|
day.english_name.must_equal "New Year's Day"
|
20
21
|
end
|
21
22
|
|
22
23
|
it "test initializer methods" do
|
23
|
-
|
24
|
-
|
24
|
+
beginning_of_year = Date.today.beginning_of_year
|
25
|
+
rsp = {"date"=>{"day"=> beginning_of_year.day, "month" => beginning_of_year.month, "year"=>beginning_of_year.year, "dayOfWeek"=>beginning_of_year.wday}, "localName"=>"Neujahrstag", "englishName"=>"New Year's Day"}
|
26
|
+
day = Enrico::VacationDay.new(rsp)
|
25
27
|
day.date.must_equal Date.today.beginning_of_year
|
26
28
|
day.local_name.must_equal "Neujahrstag"
|
27
29
|
day.english_name.must_equal "New Year's Day"
|
metadata
CHANGED
@@ -1,36 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enrico
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kalle Saas
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: httparty
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: !binary |-
|
20
|
+
MC4xMi4w
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
|
-
- -
|
25
|
+
- - '='
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
27
|
+
version: !binary |-
|
28
|
+
MC4xMi4w
|
30
29
|
- !ruby/object:Gem::Dependency
|
31
30
|
name: bundler
|
32
31
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
32
|
requirements:
|
35
33
|
- - ! '>='
|
36
34
|
- !ruby/object:Gem::Version
|
@@ -38,7 +36,6 @@ dependencies:
|
|
38
36
|
type: :development
|
39
37
|
prerelease: false
|
40
38
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
39
|
requirements:
|
43
40
|
- - ! '>='
|
44
41
|
- !ruby/object:Gem::Version
|
@@ -46,23 +43,22 @@ dependencies:
|
|
46
43
|
- !ruby/object:Gem::Dependency
|
47
44
|
name: jeweler
|
48
45
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
46
|
requirements:
|
51
|
-
- -
|
47
|
+
- - '='
|
52
48
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
49
|
+
version: !binary |-
|
50
|
+
MS44Ljg=
|
54
51
|
type: :development
|
55
52
|
prerelease: false
|
56
53
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
54
|
requirements:
|
59
|
-
- -
|
55
|
+
- - '='
|
60
56
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
57
|
+
version: !binary |-
|
58
|
+
MS44Ljg=
|
62
59
|
- !ruby/object:Gem::Dependency
|
63
60
|
name: simplecov
|
64
61
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
62
|
requirements:
|
67
63
|
- - ! '>='
|
68
64
|
- !ruby/object:Gem::Version
|
@@ -70,7 +66,6 @@ dependencies:
|
|
70
66
|
type: :development
|
71
67
|
prerelease: false
|
72
68
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
69
|
requirements:
|
75
70
|
- - ! '>='
|
76
71
|
- !ruby/object:Gem::Version
|
@@ -78,7 +73,6 @@ dependencies:
|
|
78
73
|
- !ruby/object:Gem::Dependency
|
79
74
|
name: rdoc
|
80
75
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
76
|
requirements:
|
83
77
|
- - ! '>='
|
84
78
|
- !ruby/object:Gem::Version
|
@@ -86,7 +80,6 @@ dependencies:
|
|
86
80
|
type: :development
|
87
81
|
prerelease: false
|
88
82
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
83
|
requirements:
|
91
84
|
- - ! '>='
|
92
85
|
- !ruby/object:Gem::Version
|
@@ -94,7 +87,6 @@ dependencies:
|
|
94
87
|
- !ruby/object:Gem::Dependency
|
95
88
|
name: shoulda
|
96
89
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
90
|
requirements:
|
99
91
|
- - ! '>='
|
100
92
|
- !ruby/object:Gem::Version
|
@@ -102,7 +94,6 @@ dependencies:
|
|
102
94
|
type: :development
|
103
95
|
prerelease: false
|
104
96
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
97
|
requirements:
|
107
98
|
- - ! '>='
|
108
99
|
- !ruby/object:Gem::Version
|
@@ -110,7 +101,6 @@ dependencies:
|
|
110
101
|
- !ruby/object:Gem::Dependency
|
111
102
|
name: minitest
|
112
103
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
104
|
requirements:
|
115
105
|
- - ! '>='
|
116
106
|
- !ruby/object:Gem::Version
|
@@ -118,7 +108,6 @@ dependencies:
|
|
118
108
|
type: :development
|
119
109
|
prerelease: false
|
120
110
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
111
|
requirements:
|
123
112
|
- - ! '>='
|
124
113
|
- !ruby/object:Gem::Version
|
@@ -140,6 +129,8 @@ files:
|
|
140
129
|
- README.rdoc
|
141
130
|
- Rakefile
|
142
131
|
- VERSION
|
132
|
+
- enrico-0.1.5.gem
|
133
|
+
- enrico-0.1.6.gem
|
143
134
|
- enrico.gemspec
|
144
135
|
- lib/enrico.rb
|
145
136
|
- lib/enrico/country.rb
|
@@ -157,29 +148,25 @@ files:
|
|
157
148
|
homepage: http://github.com/easyPEP/enrico
|
158
149
|
licenses:
|
159
150
|
- MIT
|
151
|
+
metadata: {}
|
160
152
|
post_install_message:
|
161
153
|
rdoc_options: []
|
162
154
|
require_paths:
|
163
155
|
- lib
|
164
156
|
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
-
none: false
|
166
157
|
requirements:
|
167
158
|
- - ! '>='
|
168
159
|
- !ruby/object:Gem::Version
|
169
160
|
version: '0'
|
170
|
-
segments:
|
171
|
-
- 0
|
172
|
-
hash: -4538822451665088345
|
173
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
162
|
requirements:
|
176
163
|
- - ! '>='
|
177
164
|
- !ruby/object:Gem::Version
|
178
165
|
version: '0'
|
179
166
|
requirements: []
|
180
167
|
rubyforge_project:
|
181
|
-
rubygems_version: 1.
|
168
|
+
rubygems_version: 2.1.5
|
182
169
|
signing_key:
|
183
|
-
specification_version:
|
170
|
+
specification_version: 4
|
184
171
|
summary: A ruby wrapper around enrico holiday API
|
185
172
|
test_files: []
|