enrico 0.1.5 → 0.2.1

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.
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForMonth&country=deu&month=1&region=&year=2020
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Server:
16
+ - openresty
17
+ Date:
18
+ - Wed, 08 Apr 2020 18:04:51 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Content-Length:
22
+ - '169'
23
+ Connection:
24
+ - keep-alive
25
+ Vary:
26
+ - Accept-Encoding
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ body:
30
+ encoding: UTF-8
31
+ string: '[{"date":{"day":1,"month":1,"year":2020,"dayOfWeek":3},"name":[{"lang":"de","text":"Neujahrstag"},{"lang":"en","text":"New
32
+ Year''s Day"}],"holidayType":"public_holiday"}]'
33
+ http_version:
34
+ recorded_at: Wed, 08 Apr 2020 18:04:50 GMT
35
+ - request:
36
+ method: get
37
+ uri: https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForMonth&country=deu&month=1&region=&year=2020
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ''
41
+ headers: {}
42
+ response:
43
+ status:
44
+ code: 200
45
+ message: OK
46
+ headers:
47
+ Server:
48
+ - openresty
49
+ Date:
50
+ - Tue, 14 Apr 2020 09:31:33 GMT
51
+ Content-Type:
52
+ - application/json
53
+ Content-Length:
54
+ - '169'
55
+ Connection:
56
+ - keep-alive
57
+ Vary:
58
+ - Accept-Encoding
59
+ Access-Control-Allow-Origin:
60
+ - "*"
61
+ body:
62
+ encoding: UTF-8
63
+ string: '[{"date":{"day":1,"month":1,"year":2020,"dayOfWeek":3},"name":[{"lang":"de","text":"Neujahrstag"},{"lang":"en","text":"New
64
+ Year''s Day"}],"holidayType":"public_holiday"}]'
65
+ http_version:
66
+ recorded_at: Tue, 14 Apr 2020 09:31:35 GMT
67
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,100 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForYear&country=deu&region=&year=2020
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Server:
16
+ - openresty
17
+ Date:
18
+ - Wed, 08 Apr 2020 18:04:51 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Content-Length:
22
+ - '2646'
23
+ Connection:
24
+ - keep-alive
25
+ Vary:
26
+ - Accept-Encoding
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ body:
30
+ encoding: UTF-8
31
+ string: '[{"date":{"day":1,"month":1,"year":2020,"dayOfWeek":3},"name":[{"lang":"de","text":"Neujahrstag"},{"lang":"en","text":"New
32
+ Year''s Day"}],"holidayType":"public_holiday"},{"date":{"day":29,"month":3,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Beginn
33
+ der Sommerzeit"},{"lang":"en","text":"Daylight Saving Time Starts"}],"note":[{"lang":"de","text":"Die
34
+ Uhr wird um eine Stunde von 2:00 Uhr auf 3:00 Uhr vorgestellt"},{"lang":"en","text":"A
35
+ one-hour shift occurs at 02:00 local time, the clock jumps forward to 03:00"}],"holidayType":"other_day"},{"date":{"day":10,"month":4,"year":2020,"dayOfWeek":5},"name":[{"lang":"de","text":"Karfreitag"},{"lang":"en","text":"Good
36
+ Friday"}],"holidayType":"public_holiday"},{"date":{"day":13,"month":4,"year":2020,"dayOfWeek":1},"name":[{"lang":"de","text":"Ostermontag"},{"lang":"en","text":"Easter
37
+ Monday"}],"holidayType":"public_holiday"},{"date":{"day":1,"month":5,"year":2020,"dayOfWeek":5},"name":[{"lang":"de","text":"Tag
38
+ der Arbeit"},{"lang":"en","text":"Labour Day"}],"holidayType":"public_holiday"},{"date":{"day":10,"month":5,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Muttertag"},{"lang":"en","text":"Mother''s
39
+ Day"}],"holidayType":"other_day"},{"date":{"day":21,"month":5,"year":2020,"dayOfWeek":4},"name":[{"lang":"de","text":"Christi
40
+ Himmelfahrt"},{"lang":"en","text":"Ascension Day"}],"holidayType":"public_holiday"},{"date":{"day":21,"month":5,"year":2020,"dayOfWeek":4},"name":[{"lang":"de","text":"Vatertag"},{"lang":"en","text":"Father''s
41
+ Day"}],"holidayType":"other_day"},{"date":{"day":1,"month":6,"year":2020,"dayOfWeek":1},"name":[{"lang":"de","text":"Pfingstmontag"},{"lang":"en","text":"Whit
42
+ Monday"}],"holidayType":"public_holiday"},{"date":{"day":3,"month":10,"year":2020,"dayOfWeek":6},"name":[{"lang":"de","text":"Tag
43
+ der Deutschen Einheit"},{"lang":"en","text":"German Unity Day"}],"holidayType":"public_holiday"},{"date":{"day":25,"month":10,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Ende
44
+ der Sommerzeit"},{"lang":"en","text":"Daylight Saving Time Ends"}],"note":[{"lang":"de","text":"Die
45
+ Uhr wird um eine Stunde von 3:00 Uhr auf 2:00 Uhr zur\u00fcckgestellt"},{"lang":"en","text":"A
46
+ one-hour shift occurs at 03:00 local time, the clock jumps backward to 02:00"}],"holidayType":"other_day"},{"date":{"day":25,"month":12,"year":2020,"dayOfWeek":5},"name":[{"lang":"de","text":"Weihnachtstag"},{"lang":"en","text":"Christmas
47
+ Day"}],"holidayType":"public_holiday"},{"date":{"day":26,"month":12,"year":2020,"dayOfWeek":6},"name":[{"lang":"de","text":"Zweiter
48
+ Weihnachtsfeiertag"},{"lang":"en","text":"Boxing Day"}],"holidayType":"public_holiday"}]'
49
+ http_version:
50
+ recorded_at: Wed, 08 Apr 2020 18:04:50 GMT
51
+ - request:
52
+ method: get
53
+ uri: https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForYear&country=deu&region=&year=2020
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ''
57
+ headers: {}
58
+ response:
59
+ status:
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ Server:
64
+ - openresty
65
+ Date:
66
+ - Tue, 14 Apr 2020 09:31:34 GMT
67
+ Content-Type:
68
+ - application/json
69
+ Content-Length:
70
+ - '2834'
71
+ Connection:
72
+ - keep-alive
73
+ Vary:
74
+ - Accept-Encoding
75
+ Access-Control-Allow-Origin:
76
+ - "*"
77
+ body:
78
+ encoding: UTF-8
79
+ string: '[{"date":{"day":1,"month":1,"year":2020,"dayOfWeek":3},"name":[{"lang":"de","text":"Neujahrstag"},{"lang":"en","text":"New
80
+ Year''s Day"}],"holidayType":"public_holiday"},{"date":{"day":8,"month":3,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Internationaler
81
+ Frauentag"},{"lang":"en","text":"International Women''s Day"}],"holidayType":"other_day"},{"date":{"day":29,"month":3,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Beginn
82
+ der Sommerzeit"},{"lang":"en","text":"Daylight Saving Time Starts"}],"note":[{"lang":"de","text":"Die
83
+ Uhr wird um eine Stunde von 2:00 Uhr auf 3:00 Uhr vorgestellt"},{"lang":"en","text":"A
84
+ one-hour shift occurs at 02:00 local time, the clock jumps forward to 03:00"}],"holidayType":"other_day"},{"date":{"day":10,"month":4,"year":2020,"dayOfWeek":5},"name":[{"lang":"de","text":"Karfreitag"},{"lang":"en","text":"Good
85
+ Friday"}],"holidayType":"public_holiday"},{"date":{"day":13,"month":4,"year":2020,"dayOfWeek":1},"name":[{"lang":"de","text":"Ostermontag"},{"lang":"en","text":"Easter
86
+ Monday"}],"holidayType":"public_holiday"},{"date":{"day":1,"month":5,"year":2020,"dayOfWeek":5},"name":[{"lang":"de","text":"Tag
87
+ der Arbeit"},{"lang":"en","text":"Labour Day"}],"holidayType":"public_holiday"},{"date":{"day":10,"month":5,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Muttertag"},{"lang":"en","text":"Mother''s
88
+ Day"}],"holidayType":"other_day"},{"date":{"day":21,"month":5,"year":2020,"dayOfWeek":4},"name":[{"lang":"de","text":"Christi
89
+ Himmelfahrt"},{"lang":"en","text":"Ascension Day"}],"holidayType":"public_holiday"},{"date":{"day":21,"month":5,"year":2020,"dayOfWeek":4},"name":[{"lang":"de","text":"Vatertag"},{"lang":"en","text":"Father''s
90
+ Day"}],"holidayType":"other_day"},{"date":{"day":1,"month":6,"year":2020,"dayOfWeek":1},"name":[{"lang":"de","text":"Pfingstmontag"},{"lang":"en","text":"Whit
91
+ Monday"}],"holidayType":"public_holiday"},{"date":{"day":3,"month":10,"year":2020,"dayOfWeek":6},"name":[{"lang":"de","text":"Tag
92
+ der Deutschen Einheit"},{"lang":"en","text":"German Unity Day"}],"holidayType":"public_holiday"},{"date":{"day":25,"month":10,"year":2020,"dayOfWeek":7},"name":[{"lang":"de","text":"Ende
93
+ der Sommerzeit"},{"lang":"en","text":"Daylight Saving Time Ends"}],"note":[{"lang":"de","text":"Die
94
+ Uhr wird um eine Stunde von 3:00 Uhr auf 2:00 Uhr zur\u00fcckgestellt"},{"lang":"en","text":"A
95
+ one-hour shift occurs at 03:00 local time, the clock jumps backward to 02:00"}],"holidayType":"other_day"},{"date":{"day":25,"month":12,"year":2020,"dayOfWeek":5},"name":[{"lang":"de","text":"Weihnachtstag"},{"lang":"en","text":"Christmas
96
+ Day"}],"holidayType":"public_holiday"},{"date":{"day":26,"month":12,"year":2020,"dayOfWeek":6},"name":[{"lang":"de","text":"Zweiter
97
+ Weihnachtsfeiertag"},{"lang":"en","text":"Boxing Day"}],"holidayType":"public_holiday"}]'
98
+ http_version:
99
+ recorded_at: Tue, 14 Apr 2020 09:31:35 GMT
100
+ recorded_with: VCR 2.8.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=isPublicHoliday&country=ger&date=01-01-2012&region=
5
+ uri: http://kayaposoft.com/enrico/json/v2.0/?action=isPublicHoliday&country=deu&date=29-01-2020&region=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -13,25 +13,89 @@ http_interactions:
13
13
  message: OK
14
14
  headers:
15
15
  Server:
16
- - nginx
16
+ - openresty
17
17
  Date:
18
- - Thu, 29 Nov 2012 17:17:50 GMT
18
+ - Wed, 08 Apr 2020 18:04:51 GMT
19
19
  Content-Type:
20
- - text/html
20
+ - application/json
21
+ Content-Length:
22
+ - '25'
23
+ Connection:
24
+ - keep-alive
25
+ Vary:
26
+ - Accept-Encoding
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ body:
30
+ encoding: UTF-8
31
+ string: '{"isPublicHoliday":false}'
32
+ http_version:
33
+ recorded_at: Wed, 08 Apr 2020 18:04:50 GMT
34
+ - request:
35
+ method: get
36
+ uri: http://kayaposoft.com/enrico/json/v2.0/?action=isPublicHoliday&country=deu&date=01-01-2020&region=
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ''
40
+ headers: {}
41
+ response:
42
+ status:
43
+ code: 200
44
+ message: OK
45
+ headers:
46
+ Server:
47
+ - openresty
48
+ Date:
49
+ - Wed, 08 Apr 2020 18:04:51 GMT
50
+ Content-Type:
51
+ - application/json
21
52
  Content-Length:
22
53
  - '24'
23
54
  Connection:
24
55
  - keep-alive
25
56
  Vary:
26
- - User-Agent,Accept-Encoding
57
+ - Accept-Encoding
58
+ Access-Control-Allow-Origin:
59
+ - "*"
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"isPublicHoliday":true}'
63
+ http_version:
64
+ recorded_at: Wed, 08 Apr 2020 18:04:51 GMT
65
+ - request:
66
+ method: get
67
+ uri: https://kayaposoft.com/enrico/json/v2.0/?action=isPublicHoliday&country=deu&date=01-01-2020&region=
27
68
  body:
28
69
  encoding: US-ASCII
29
- string: ! '{"isPublicHoliday":true}'
70
+ string: ''
71
+ headers: {}
72
+ response:
73
+ status:
74
+ code: 200
75
+ message: OK
76
+ headers:
77
+ Server:
78
+ - openresty
79
+ Date:
80
+ - Tue, 14 Apr 2020 09:34:53 GMT
81
+ Content-Type:
82
+ - application/json
83
+ Content-Length:
84
+ - '24'
85
+ Connection:
86
+ - keep-alive
87
+ Vary:
88
+ - Accept-Encoding
89
+ Access-Control-Allow-Origin:
90
+ - "*"
91
+ body:
92
+ encoding: UTF-8
93
+ string: '{"isPublicHoliday":true}'
30
94
  http_version:
31
- recorded_at: Thu, 29 Nov 2012 17:14:16 GMT
95
+ recorded_at: Tue, 14 Apr 2020 09:34:55 GMT
32
96
  - request:
33
97
  method: get
34
- uri: http://kayaposoft.com/enrico/json/v1.0/?action=isPublicHoliday&country=ger&date=29-01-2012&region=
98
+ uri: https://kayaposoft.com/enrico/json/v2.0/?action=isPublicHoliday&country=deu&date=29-01-2020&region=
35
99
  body:
36
100
  encoding: US-ASCII
37
101
  string: ''
@@ -42,20 +106,22 @@ http_interactions:
42
106
  message: OK
43
107
  headers:
44
108
  Server:
45
- - nginx
109
+ - openresty
46
110
  Date:
47
- - Thu, 29 Nov 2012 17:19:13 GMT
111
+ - Tue, 14 Apr 2020 09:34:53 GMT
48
112
  Content-Type:
49
- - text/html
113
+ - application/json
50
114
  Content-Length:
51
115
  - '25'
52
116
  Connection:
53
117
  - keep-alive
54
118
  Vary:
55
- - User-Agent,Accept-Encoding
119
+ - Accept-Encoding
120
+ Access-Control-Allow-Origin:
121
+ - "*"
56
122
  body:
57
- encoding: US-ASCII
58
- string: ! '{"isPublicHoliday":false}'
123
+ encoding: UTF-8
124
+ string: '{"isPublicHoliday":false}'
59
125
  http_version:
60
- recorded_at: Thu, 29 Nov 2012 17:15:38 GMT
61
- recorded_with: VCR 2.3.0
126
+ recorded_at: Tue, 14 Apr 2020 09:34:55 GMT
127
+ recorded_with: VCR 2.8.0