i2gcal 0.0.2 → 0.0.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43bb9631ae1385c6f04533fdebbed5d024da9e67
|
4
|
+
data.tar.gz: 962ccda8e302f4117f40a991f5c5fa1aa346f617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cb1a8f545fd3fc67210a3495e23ab88d74e4f02ac77991f739061fbe09b54da241abe071a5596e821104f8d040beb47dc60e93a8cd8b68db914373fa35ae892
|
7
|
+
data.tar.gz: 4e1bf286eeaf21edbd1afe6360d2cf5f4679d9b8eaf3909d54d9136c81ef930b5edf818870abb20abcbc939a576b9686ad945a112b3f204c744ed1475b5a989a
|
data/lib/i2gcal/version.rb
CHANGED
@@ -6,7 +6,7 @@ class CatToColFilter
|
|
6
6
|
|
7
7
|
def call(ical_event, representation)
|
8
8
|
@mapping.each_pair do |cat, col|
|
9
|
-
representation['colorId'] = col.to_s if ical_event.categories.any? {|c| c.to_sym == cat}
|
9
|
+
representation['colorId'] = col.to_s if ical_event.categories.flatten.any? {|c| c.to_sym == cat}
|
10
10
|
end
|
11
11
|
representation
|
12
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i2gcal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Watkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|
@@ -123,4 +123,3 @@ signing_key:
|
|
123
123
|
specification_version: 4
|
124
124
|
summary: One-way sync an iCalendar file to Google Calendar
|
125
125
|
test_files: []
|
126
|
-
has_rdoc:
|