nora 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nora/core.rb +1 -1
- data/lib/nora/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e39fef7732f4c1e9f80e5871912333e63ad2dd9c
|
4
|
+
data.tar.gz: ca0ad2c69141c0d958f4862b60f5fc6828431342
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f0aeea7d94c490577c98698ca86e91cc1ac96ec1e54f6a260a9b5a804eb6a56ca50629184a48c76a7176faa18c050f9acf70fe6ca9e1d36c81d5f28c59e4fee
|
7
|
+
data.tar.gz: 32921ec2f0c477b397da1c3cf48ff272a919419592e6c41586340cc9e8f7e1ac22ebcf475db83c0057f5c59b143020b89034a52256525082d9a4168646fb632f
|
data/lib/nora/core.rb
CHANGED
@@ -93,6 +93,7 @@ module Nora
|
|
93
93
|
# calendar in the configuration file without us
|
94
94
|
# having to manually add them in the UI.
|
95
95
|
def load_calendars!
|
96
|
+
@emails = CONFIGURATION["people"].map { |p| p["email"] }.shuffle
|
96
97
|
@emails.each do |email|
|
97
98
|
@service.insert_calendar_list(
|
98
99
|
Google::Apis::CalendarV3::CalendarListEntry.new(id: email)
|
@@ -121,7 +122,6 @@ module Nora
|
|
121
122
|
end
|
122
123
|
|
123
124
|
def create_groups!
|
124
|
-
@emails = CONFIGURATION["people"].map { |p| p["email"] }.shuffle
|
125
125
|
@emails.each_slice(group_size).each do |emails|
|
126
126
|
return create_groups! unless (@history & emails.combination(2)).empty?
|
127
127
|
end
|
data/lib/nora/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Evelyn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|