pairing_shuffler 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pairing_shuffler/version.rb +1 -1
- data/lib/pairing_shuffler.rb +5 -4
- metadata +10 -32
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56a8b56611d8a2608c03ded3e9b62c6501aca6f7
|
4
|
+
data.tar.gz: b73aed10fba7b6f2593d3a906cbb3e2175824255
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb093154b81569b19d8e22f1305b467104ec035ef0129c4d191e0dd8c5e11e6eb66a39c64a1bcacd1196db04ae5e0c15ebe0b5012e16497c1323169558ef8961
|
7
|
+
data.tar.gz: d832c39b89abd930be3876aeecb7d7123986c5b93e5b56f769cdd4f38acc48cacf0e04ea27de1260aa6af66033ad820d0921072d1c478926d977fad48daf0421
|
data/lib/pairing_shuffler.rb
CHANGED
@@ -26,7 +26,7 @@ module PairingShuffler
|
|
26
26
|
|
27
27
|
def content
|
28
28
|
@content ||= begin
|
29
|
-
session = GoogleDrive.
|
29
|
+
session = GoogleDrive.login_with_oauth(@config.fetch(:access_token))
|
30
30
|
cells = session.spreadsheet_by_key(@config[:doc]).worksheets[0].cells
|
31
31
|
data = []
|
32
32
|
cells.each do |(row, column), value|
|
@@ -38,7 +38,7 @@ module PairingShuffler
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def list
|
41
|
-
emails = content.select { |row| row.first.include?("@") && present?(row) }.map(&:first)
|
41
|
+
emails = content.compact.select { |row| row.first.include?("@") && present?(row) }.map(&:first)
|
42
42
|
emails.sort_by{ rand }.each_slice(2).to_a.reject { |group| group.size == 1 }
|
43
43
|
end
|
44
44
|
|
@@ -80,9 +80,10 @@ module PairingShuffler
|
|
80
80
|
You both singed up for PairingShuffler at #{url}
|
81
81
|
so let's pair!
|
82
82
|
|
83
|
-
|
83
|
+
What time would work for you ?
|
84
|
+
|
85
|
+
Ideas:
|
84
86
|
- Talk out loud & explain: what are you thinking / what are you going to do
|
85
|
-
- Avoid keyboard fights: use 2 keyboards + 2 mice
|
86
87
|
- Ping pong with tests: A writes tests, B writes implementation
|
87
88
|
- Invite others to sign up for pairing
|
88
89
|
|
metadata
CHANGED
@@ -1,51 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pairing_shuffler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MRAwDgYDVQQDDAdtaWNo
|
14
|
-
YWVsMRcwFQYKCZImiZPyLGQBGRYHZ3Jvc3NlcjESMBAGCgmSJomT8ixkARkWAml0
|
15
|
-
MB4XDTE0MDIwNDIwMjk0MVoXDTE1MDIwNDIwMjk0MVowPzEQMA4GA1UEAwwHbWlj
|
16
|
-
aGFlbDEXMBUGCgmSJomT8ixkARkWB2dyb3NzZXIxEjAQBgoJkiaJk/IsZAEZFgJp
|
17
|
-
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMorXo/hgbUq97+kII9H
|
18
|
-
MsQcLdC/7wQ1ZP2OshVHPkeP0qH8MBHGg6eYisOX2ubNagF9YTCZWnhrdKrwpLOO
|
19
|
-
cPLaZbjUjljJ3cQR3B8Yn1veV5IhG86QseTBjymzJWsLpqJ1UZGpfB9tXcsFtuxO
|
20
|
-
6vHvcIHdzvc/OUkICttLbH+1qb6rsHUceqh+JrH4GrsJ5H4hAfIdyS2XMK7YRKbh
|
21
|
-
h+IBu6dFWJJByzFsYmV1PDXln3UBmgAt65cmCu4qPfThioCGDzbSJrGDGLmw/pFX
|
22
|
-
FPpVCm1zgYSb1v6Qnf3cgXa2f2wYGm17+zAVyIDpwryFru9yF/jJxE38z/DRsd9R
|
23
|
-
/88CAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFLIj
|
24
|
-
Z1x7SnjGGHK+MiVZkFjjS/iMMB0GA1UdEQQWMBSBEm1pY2hhZWxAZ3Jvc3Nlci5p
|
25
|
-
dDAdBgNVHRIEFjAUgRJtaWNoYWVsQGdyb3NzZXIuaXQwDQYJKoZIhvcNAQEFBQAD
|
26
|
-
ggEBAExBcUWfGuamYn+IddOA0Ws8jUKwB14RXoZRDrTiTAlMm3Bkg2OKyxS3uJXa
|
27
|
-
6Z+LwFiZwVYk62yHXqNzEJycQk4SEmY+xDWLj0p7X6qEeU4QZKwR1TwJ5z3PTrZ6
|
28
|
-
irJgM3q7NIBRvmTzRaAghWcQn+Eyr5YLOfMksjVBMUMnzh5/ZDgq53LphgJbGwvz
|
29
|
-
ScJAgfNclLHnjk9q1mT1s0e1FPWbiAL3siBIR5HpH8qtSEiivTf2ntciebOqS93f
|
30
|
-
F5etKHZg0j3eHO31/i2HnswY04lqGImUu6aM5EnijFTB7PPW2KwKKM4+kKDYFdlw
|
31
|
-
/0WV1Ng2/Y6qsHwmqGg2VlYj2h4=
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2014-02-13 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: google_drive
|
37
15
|
requirement: !ruby/object:Gem::Requirement
|
38
16
|
requirements:
|
39
|
-
- -
|
17
|
+
- - ">="
|
40
18
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
19
|
+
version: 1.0.0
|
42
20
|
type: :runtime
|
43
21
|
prerelease: false
|
44
22
|
version_requirements: !ruby/object:Gem::Requirement
|
45
23
|
requirements:
|
46
|
-
- -
|
24
|
+
- - ">="
|
47
25
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
26
|
+
version: 1.0.0
|
49
27
|
description:
|
50
28
|
email: michael@grosser.it
|
51
29
|
executables: []
|
@@ -64,17 +42,17 @@ require_paths:
|
|
64
42
|
- lib
|
65
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
44
|
requirements:
|
67
|
-
- -
|
45
|
+
- - ">="
|
68
46
|
- !ruby/object:Gem::Version
|
69
47
|
version: '0'
|
70
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
49
|
requirements:
|
72
|
-
- -
|
50
|
+
- - ">="
|
73
51
|
- !ruby/object:Gem::Version
|
74
52
|
version: '0'
|
75
53
|
requirements: []
|
76
54
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
55
|
+
rubygems_version: 2.2.2
|
78
56
|
signing_key:
|
79
57
|
specification_version: 4
|
80
58
|
summary: Assign random pairs from a google docs spreadsheet
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
metadata.gz.sig
DELETED
Binary file
|