timetree 0.1.1 → 0.1.2

This diff has not been reviewed by any users.
Log in in order to be able to vote.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2dae80734f5e01b46019848d001a7e7b0033c0e994be55bb6ecffc55a3db52e
4
- data.tar.gz: aea19d34752f6b3e54787aa591cba2dd6b0792e22f59072910a41db919387002
3
+ metadata.gz: de434a07fd2b0d7024c41f1bc6a555a053fe07da002a60b91479a3f239a5bac6
4
+ data.tar.gz: a6ab608d7d5bceb77e05d97b2243bc804171602d538f29494b3c6796737f7fc1
5
5
  SHA512:
6
- metadata.gz: c1cd756a8842af55f31f2b1e02c424ad07f05a002aa7428319146448000b5b89a53f59ca5c30656f52b2c8e3819bfcfbac62933595afcd9169ace00f587d045c
7
- data.tar.gz: 8a3d6e2fe00a922ad000eeaaa4e623f037c1fa587b3f2199cf2fd87d31bb7c856248829de5c8161af9c703c21ea92d52b5c28b63517c918bedc818565bffd992
6
+ metadata.gz: 67ba773c6beef87fb6e23c9e386b6d685ac4317b99516690ca321f3c216df695fa9a5b7a33c979dd142e37cd95d9ab0f400ffb3c421f77ac20339b2ed344495c
7
+ data.tar.gz: 85957d72ca8df7f9be67cfaa7b962d892add2a3d2c5745efd41d89a0120553628e36c828de5b6b482e57e0cce7a67ce9959df2542222e4217f339a495283997c
@@ -1,3 +1,8 @@
1
+ # 0.1.2
2
+
3
+ - refs #1 fix typo Event#recurrences to recurrence
4
+ - refs #2 add a note for debugging guide on README
5
+
1
6
  # 0.1.1
2
7
 
3
8
  - set current version on this gem's documentation_uri.
data/README.md CHANGED
@@ -87,6 +87,15 @@ rescue TimeTree::ApiError => e
87
87
  e.response
88
88
  => #<Faraday::Response>
89
89
  end
90
+
91
+ # if the log level set :debug, you can get the request/response information.
92
+ TimeTree.configuration.logger.level = :debug
93
+ => #<TimeTree::Event id:event_id_001_not_found>
94
+ >> client.event 'cal_id_001', 'event_id_001_not_found'
95
+ I, [2020-06-24T10:05:07.294807] INFO -- : GET https://timetreeapis.com/calendars/cal_id_001/events/event_id_001_not_found?include=creator%2Clabel%2Cattendees
96
+ D, [2020-06-24T10:05:07.562038] DEBUG -- : Response status:404, body:{:type=>"https://developers.timetreeapp.com/en/docs/api#client-failure", :title=>"Not Found", :status=>404, :errors=>"Event not found"}
97
+ Traceback (most recent call last):
98
+ TimeTree::ApiError (TimeTree::ApiError)
90
99
  ```
91
100
 
92
101
  ## Contributing
@@ -17,8 +17,8 @@ module TimeTree
17
17
  attr_accessor :end_at
18
18
  # @return [String]
19
19
  attr_accessor :end_timezone
20
- # @return [String]
21
- attr_accessor :recurrences
20
+ # @return [Array<String>]
21
+ attr_accessor :recurrence
22
22
  # @return [String]
23
23
  attr_accessor :recurring_uuid
24
24
  # @return [String]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TimeTree
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timetree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
@@ -160,7 +160,7 @@ metadata:
160
160
  homepage_uri: https://github.com/koshilife/timetree-api-ruby-client
161
161
  source_code_uri: https://github.com/koshilife/timetree-api-ruby-client
162
162
  changelog_uri: https://github.com/koshilife/timetree-api-ruby-client/blob/master/CHANGELOG.md
163
- documentation_uri: https://www.rubydoc.info/gems/timetree/0.1.1
163
+ documentation_uri: https://www.rubydoc.info/gems/timetree/0.1.2
164
164
  post_install_message:
165
165
  rdoc_options: []
166
166
  require_paths: