calendar-assistant 0.10.0 → 0.11.0

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
  SHA256:
3
- metadata.gz: 9acd200de6edb4b52d97c1994e25d657195e595c1042ef676c552ff6904d6c88
4
- data.tar.gz: 59926908cc71682f6480d561323eebdc29aec95fdf351c8a73a6dddefed9f9fc
3
+ metadata.gz: f0174aefee9829241b32df9ea1a7aa504f9d47a880b1f81127c53ba42eb60729
4
+ data.tar.gz: 2a7d278cdb98c5f57fe654246d89efb5c72e18eda868f60174437ecfc89cdcbf
5
5
  SHA512:
6
- metadata.gz: 9756ccc795a449ac0fde9707b5b87f6d03457b7ba22a7c802a9073e592c1c758d561223b873e7c2c6b71a336d80329998a0556545183a1ad536d3fab1f25b703
7
- data.tar.gz: eb497928c8fd6ae16fad8ee0d2b093cd3417338457367c99a8c8efb94c3a8a48d467215e1f93eddfe0f0e4f147312defc7649d3431f8e0fe4f9e24f0e481d3d8
6
+ metadata.gz: 5666768812d2311994cb432cb9a4eda6fafdc81cefca37a9553b4ee5ba2bc649efc4692d79f812443838c4a18e8a3ea5db12cbc76a11bce433061e113c805bbe
7
+ data.tar.gz: ef79b326c22630e48aef7cbf444172b04faeab3a087c5c44457ad16600b0ccffbc56ce269ea882c0b0dbbbcc43a8b2d10b45a14435930fa4caf7b3337cf9ef78
@@ -8,6 +8,7 @@ Encoding.default_internal = Encoding::UTF_8
8
8
  Rainbow.enabled = true
9
9
 
10
10
  begin
11
+ require "calendar_assistant/cli"
11
12
  CalendarAssistant::CLI::Commands.start ARGV
12
13
  rescue Google::Apis::AuthorizationError, CalendarAssistant::BaseException => e
13
14
  printf "ERROR: %s\n", e
@@ -42,5 +42,3 @@ class CalendarAssistant
42
42
  autoload :PredicateCollection, "calendar_assistant/predicate_collection"
43
43
  autoload :LocationConfigValidator, "calendar_assistant/location_config_validator"
44
44
  end
45
-
46
- require "calendar_assistant/cli"
@@ -20,7 +20,7 @@ class CalendarAssistant
20
20
  FileUtils.chmod 0600, config_file_path
21
21
  TOML.load_file config_file_path
22
22
  rescue Exception => e
23
- raise TomlParseFailure, "could not parse #{config_file_path}: #{e}"
23
+ raise TomlParseFailure, "could not parse TOML file '#{config_file_path}': #{e}"
24
24
  end
25
25
  else
26
26
  Hash.new
@@ -192,6 +192,10 @@ class CalendarAssistant
192
192
 
193
193
  def av_uri
194
194
  @av_uri ||= begin
195
+ if conference_data && conference_data.conference_solution.name == "Zoom Meeting"
196
+ return conference_data.entry_points.detect{|d| d.entry_point_type == "video" }.uri
197
+ end
198
+
195
199
  description_link = CalendarAssistant::StringHelpers.find_uri_for_domain(description, "zoom.us")
196
200
  return description_link if description_link
197
201
 
@@ -1,3 +1,3 @@
1
1
  class CalendarAssistant
2
- VERSION = "0.10.0"
2
+ VERSION = "0.11.0"
3
3
  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.10.0
4
+ version: 0.11.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: 2019-02-26 00:00:00.000000000 Z
12
+ date: 2019-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -149,14 +149,14 @@ dependencies:
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.1.1
152
+ version: 0.1.2
153
153
  type: :runtime
154
154
  prerelease: false
155
155
  version_requirements: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.1.1
159
+ version: 0.1.2
160
160
  - !ruby/object:Gem::Dependency
161
161
  name: aruba
162
162
  requirement: !ruby/object:Gem::Requirement
@@ -177,14 +177,14 @@ dependencies:
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 2.0.0
180
+ version: 2.0.1
181
181
  type: :development
182
182
  prerelease: false
183
183
  version_requirements: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 2.0.0
187
+ version: 2.0.1
188
188
  - !ruby/object:Gem::Dependency
189
189
  name: concourse
190
190
  requirement: !ruby/object:Gem::Requirement
@@ -350,7 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
350
  - !ruby/object:Gem::Version
351
351
  version: '0'
352
352
  requirements: []
353
- rubygems_version: 3.0.1
353
+ rubygems_version: 3.0.3
354
354
  signing_key:
355
355
  specification_version: 4
356
356
  summary: A command-line tool to help manage your Google Calendar.