cronofy 0.24.0 → 0.24.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/cronofy/types.rb +20 -24
- data/lib/cronofy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 639cf154e0bae1368e59a8c506f52dcdd0d80d7d
|
|
4
|
+
data.tar.gz: cc17141d1b0eb4b1710dd7a90773a61bfca76e00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c0bbd381139093ebf7ae94c5004ad9099bdcbb9a6aee097a9e8e2d0d1f86b3edeb5e89c9657a294f62360b997cc0b03079e454ad739866aebda7d2360083da3
|
|
7
|
+
data.tar.gz: 4a8f8cb63977c3364e8acdf5c46fa4f4eabacf29de6d5768b4507061241afe6d78de927d3abfef75e58c0483752c523269ec56f59ba8022db98824f68b1208f5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [0.24.1]
|
|
2
|
+
|
|
3
|
+
* Disable Hashie warnings [#52]
|
|
4
|
+
|
|
1
5
|
## [0.24.0]
|
|
2
6
|
|
|
3
7
|
* Support for revoking profile authorization [#48]
|
|
@@ -75,6 +79,7 @@
|
|
|
75
79
|
[0.22.0]: https://github.com/cronofy/cronofy-ruby/releases/tag/v0.22.0
|
|
76
80
|
[0.23.0]: https://github.com/cronofy/cronofy-ruby/releases/tag/v0.23.0
|
|
77
81
|
[0.24.0]: https://github.com/cronofy/cronofy-ruby/releases/tag/v0.24.0
|
|
82
|
+
[0.24.1]: https://github.com/cronofy/cronofy-ruby/releases/tag/v0.24.1
|
|
78
83
|
|
|
79
84
|
[#13]: https://github.com/cronofy/cronofy-ruby/pull/13
|
|
80
85
|
[#16]: https://github.com/cronofy/cronofy-ruby/pull/16
|
|
@@ -96,3 +101,4 @@
|
|
|
96
101
|
[#45]: https://github.com/cronofy/cronofy-ruby/pull/45
|
|
97
102
|
[#46]: https://github.com/cronofy/cronofy-ruby/pull/46
|
|
98
103
|
[#48]: https://github.com/cronofy/cronofy-ruby/pull/48
|
|
104
|
+
[#52]: https://github.com/cronofy/cronofy-ruby/pull/52
|
data/lib/cronofy/types.rb
CHANGED
|
@@ -184,19 +184,25 @@ module Cronofy
|
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class CronofyMash < Hashie::Mash
|
|
188
|
+
include Hashie::Extensions::Coercion
|
|
189
|
+
|
|
190
|
+
disable_warnings
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class Account < CronofyMash
|
|
188
194
|
end
|
|
189
195
|
|
|
190
|
-
class UserInfo <
|
|
196
|
+
class UserInfo < CronofyMash
|
|
191
197
|
end
|
|
192
198
|
|
|
193
|
-
class Calendar <
|
|
199
|
+
class Calendar < CronofyMash
|
|
194
200
|
end
|
|
195
201
|
|
|
196
|
-
class Channel <
|
|
202
|
+
class Channel < CronofyMash
|
|
197
203
|
end
|
|
198
204
|
|
|
199
|
-
class Resource <
|
|
205
|
+
class Resource < CronofyMash
|
|
200
206
|
end
|
|
201
207
|
|
|
202
208
|
class EventTime
|
|
@@ -232,9 +238,7 @@ module Cronofy
|
|
|
232
238
|
end
|
|
233
239
|
end
|
|
234
240
|
|
|
235
|
-
class Event <
|
|
236
|
-
include Hashie::Extensions::Coercion
|
|
237
|
-
|
|
241
|
+
class Event < CronofyMash
|
|
238
242
|
coerce_key :start, EventTime
|
|
239
243
|
coerce_key :end, EventTime
|
|
240
244
|
|
|
@@ -248,15 +252,11 @@ module Cronofy
|
|
|
248
252
|
end
|
|
249
253
|
end
|
|
250
254
|
|
|
251
|
-
class PagedEventsResult <
|
|
252
|
-
include Hashie::Extensions::Coercion
|
|
253
|
-
|
|
255
|
+
class PagedEventsResult < CronofyMash
|
|
254
256
|
coerce_key :events, Events
|
|
255
257
|
end
|
|
256
258
|
|
|
257
|
-
class FreeBusy <
|
|
258
|
-
include Hashie::Extensions::Coercion
|
|
259
|
-
|
|
259
|
+
class FreeBusy < CronofyMash
|
|
260
260
|
coerce_key :start, EventTime
|
|
261
261
|
coerce_key :end, EventTime
|
|
262
262
|
end
|
|
@@ -267,22 +267,20 @@ module Cronofy
|
|
|
267
267
|
end
|
|
268
268
|
end
|
|
269
269
|
|
|
270
|
-
class PagedFreeBusyResult <
|
|
271
|
-
include Hashie::Extensions::Coercion
|
|
272
|
-
|
|
270
|
+
class PagedFreeBusyResult < CronofyMash
|
|
273
271
|
coerce_key :free_busy, FreeBusyEnumerable
|
|
274
272
|
end
|
|
275
273
|
|
|
276
|
-
class Profile <
|
|
274
|
+
class Profile < CronofyMash
|
|
277
275
|
end
|
|
278
276
|
|
|
279
|
-
class PermissionsResponse <
|
|
277
|
+
class PermissionsResponse < CronofyMash
|
|
280
278
|
end
|
|
281
279
|
|
|
282
|
-
class Participant <
|
|
280
|
+
class Participant < CronofyMash
|
|
283
281
|
end
|
|
284
282
|
|
|
285
|
-
class AddToCalendarResponse <
|
|
283
|
+
class AddToCalendarResponse < CronofyMash
|
|
286
284
|
end
|
|
287
285
|
|
|
288
286
|
module ParticipantEnumerable
|
|
@@ -291,9 +289,7 @@ module Cronofy
|
|
|
291
289
|
end
|
|
292
290
|
end
|
|
293
291
|
|
|
294
|
-
class AvailablePeriod <
|
|
295
|
-
include Hashie::Extensions::Coercion
|
|
296
|
-
|
|
292
|
+
class AvailablePeriod < CronofyMash
|
|
297
293
|
coerce_key :start, EventTime
|
|
298
294
|
coerce_key :end, EventTime
|
|
299
295
|
|
data/lib/cronofy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cronofy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.24.
|
|
4
|
+
version: 0.24.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergii Paryzhskyi
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-10-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: oauth2
|