calendar-assistant 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calendar_assistant/event_repository.rb +2 -2
- data/lib/calendar_assistant/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b36795650bc886d212685306086c8246386f3c42c6c9fd96c8e6a6160c8c5d
|
4
|
+
data.tar.gz: 7483de7e5f91466a4ba6a57123a2ee2a560a0b7c7d01740c51ee9ce129642e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5782aef4b890f1ae811d5bd34b0f62bfb5b4801f13e57b6acb536e64ad9880aed2572f51e5b9d57d911e42665316f0ae9d45dde18841fa5d68f374d19a6a8a7d
|
7
|
+
data.tar.gz: e4aa2b60676902a910fba44d7586e4790f658cff99bca35ab0357056c68d9a8b717d35eba2296f0791d2b1dd999eba21695b7f6189c52f2d3b3747b4192fe0b6
|
@@ -35,7 +35,7 @@ class CalendarAssistant
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def new(event_attributes)
|
38
|
-
event = Google::Apis::CalendarV3::Event.new
|
38
|
+
event = Google::Apis::CalendarV3::Event.new(**DateHelpers.cast_dates(event_attributes))
|
39
39
|
event.visibility ||= config.event_visibility
|
40
40
|
CalendarAssistant::Event.new(event, config: config)
|
41
41
|
end
|
@@ -52,7 +52,7 @@ class CalendarAssistant
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def update(event, attributes)
|
55
|
-
event.update!
|
55
|
+
event.update!(**DateHelpers.cast_dates(attributes))
|
56
56
|
updated_event = @service.update_event @calendar_id, event.id, event
|
57
57
|
CalendarAssistant::Event.new(updated_event, config: config)
|
58
58
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calendar-assistant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
version: '0.24'
|
83
83
|
- - "<"
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: '0.
|
85
|
+
version: '0.40'
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -92,7 +92,7 @@ dependencies:
|
|
92
92
|
version: '0.24'
|
93
93
|
- - "<"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0.
|
95
|
+
version: '0.40'
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
97
|
name: launchy
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,14 +161,14 @@ dependencies:
|
|
161
161
|
requirements:
|
162
162
|
- - "~>"
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: 0.1.
|
164
|
+
version: 0.1.4
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
169
|
- - "~>"
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.1.
|
171
|
+
version: 0.1.4
|
172
172
|
- !ruby/object:Gem::Dependency
|
173
173
|
name: aruba
|
174
174
|
requirement: !ruby/object:Gem::Requirement
|
@@ -362,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
362
362
|
- !ruby/object:Gem::Version
|
363
363
|
version: '0'
|
364
364
|
requirements: []
|
365
|
-
rubygems_version: 3.
|
365
|
+
rubygems_version: 3.1.2
|
366
366
|
signing_key:
|
367
367
|
specification_version: 4
|
368
368
|
summary: A command-line tool to help manage your Google Calendar.
|