cronofy 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3467ae0391c9af2279187f55e7077710c716a62f
4
- data.tar.gz: 5aba29d7e88b690d15ed3ddf529c8207af567606
3
+ metadata.gz: 2ef54cf80598736effb76cce568f2e62068814df
4
+ data.tar.gz: 1d6a3ea42bf9aed5dd5baf87bcf8d0d3f102d3cf
5
5
  SHA512:
6
- metadata.gz: af83971d843ba0ebd4a8043e9f93ab551442b580a45ae1969be56ff4294b680fb2252500503acd2d1c46b34206624c5bb07cfaa291700d0ea422978c2a7565e4
7
- data.tar.gz: 1f105236fdd6898bb246bf080265d352dcdedc94d96b65fb48d96b891405a2bddf1a8197e0ad320d9c71f4622c1ec4e6d4b44789c315c8abdde6a805dd8bde42
6
+ metadata.gz: 62669f6fef7ca94d82076133a01c6253cab630bf7d41a7f8c304113cd7a0ee90dfcba7c8bc929463e2329dc3afbeef1d96909c3f8ef950e4e4e4f37d7ba4c095
7
+ data.tar.gz: 3fdffca4993dcd83c62f901dc6a3b422c6b5c98a8183116a869f94eb7e785499c53cb518bfef154dc72a363ebd440d37f5356ff2a7393232d86a9980fdde3d33
@@ -121,8 +121,8 @@ module Cronofy
121
121
  # identifier from the IANA Time Zone Database
122
122
  # (default: Etc/UTC).
123
123
  # :include_deleted - A Boolean specifying whether events that have
124
- # been deleted should included or excluded from
125
- # the results (optional).
124
+ # been deleted should be included or excluded
125
+ # from the results (optional).
126
126
  # :include_moved - A Boolean specifying whether events that have
127
127
  # ever existed within the given window should
128
128
  # be included or excluded from the results
@@ -134,8 +134,14 @@ module Cronofy
134
134
  # :only_managed - A Boolean specifying whether only events that
135
135
  # you are managing for the account should
136
136
  # trigger notifications (optional).
137
+ # :localized_times - A Boolean specifying whether the start and
138
+ # end times should be returned with any
139
+ # available localization information
140
+ # (optional).
137
141
  # :last_modified - The Time that events must be modified on or
138
142
  # after in order to be returned (optional).
143
+ # :calendar_ids - An Array of calendar ids for restricting the
144
+ # returned events (optional).
139
145
  #
140
146
  # The first page will be retrieved eagerly so that common errors will happen
141
147
  # inline. However, subsequent pages (if any) will be requested lazily.
@@ -178,6 +184,12 @@ module Cronofy
178
184
  # are managing for the account should be
179
185
  # included or excluded from the results
180
186
  # (optional).
187
+ # :localized_times - A Boolean specifying whether the start and
188
+ # end times should be returned with any
189
+ # available localization information
190
+ # (optional).
191
+ # :calendar_ids - An Array of calendar ids for restricting the
192
+ # returned events (optional).
181
193
  #
182
194
  # The first page will be retrieved eagerly so that common errors will happen
183
195
  # inline. However, subsequent pages (if any) will be requested lazily.
@@ -250,7 +262,7 @@ module Cronofy
250
262
  # Raises Cronofy::TooManyRequestsError if the request exceeds the rate
251
263
  # limits for the application.
252
264
  def delete_all_events
253
- delete("/v1/events", all_events: true)
265
+ delete("/v1/events", delete_all: true)
254
266
  nil
255
267
  end
256
268
 
@@ -1,3 +1,3 @@
1
1
  module Cronofy
2
- VERSION = "0.8.1".freeze
2
+ VERSION = "0.8.2".freeze
3
3
  end
@@ -457,7 +457,7 @@ describe Cronofy::Client do
457
457
  let(:request_url) { "https://api.cronofy.com/v1/events" }
458
458
  let(:method) { :delete }
459
459
  let(:request_headers) { json_request_headers }
460
- let(:request_body) { { :all_events => true } }
460
+ let(:request_body) { { :delete_all => true } }
461
461
  let(:correct_response_code) { 202 }
462
462
  let(:correct_response_body) { nil }
463
463
 
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.8.1
4
+ version: 0.8.2
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: 2016-01-01 00:00:00.000000000 Z
12
+ date: 2016-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth2