pairing_shuffler 0.0.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -1
- data/lib/pairing_shuffler.rb +3 -2
- data/lib/pairing_shuffler/version.rb +1 -1
- metadata +32 -47
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 90e74765465ced421246d417b53ec264bb8ae269
|
4
|
+
data.tar.gz: 8e5c5dbf9795c3d5b6b3fd33f9e4bdefa8172626
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d9697da45a567d6a7a94340d75c11af0db8be9caff89a3d1ed0b5747f50dcffa04cbc9d0e6690b60b82adda276b16a9053e2c7ce232c3edc8d2ccee0e2627659
|
7
|
+
data.tar.gz: 69e83a032f17e6fc8c83844aec8ad05bc960f1021829259b0c22d902f7eda4461ecb8faa10961259b7322e76a5959da25aa8c3cede7b43b447c110f3a047d8bb
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
�
|
2
|
+
X����RsV��6�V9㣟���n@@����Nc�@��d1�l0N�
|
data/lib/pairing_shuffler.rb
CHANGED
@@ -33,7 +33,7 @@ module PairingShuffler
|
|
33
33
|
data[row - 1] ||= []
|
34
34
|
data[row - 1][column - 1] = value
|
35
35
|
end
|
36
|
-
data
|
36
|
+
data.compact
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
@@ -72,11 +72,12 @@ module PairingShuffler
|
|
72
72
|
|
73
73
|
def notify(emails)
|
74
74
|
subject = "PairingShuffler winners"
|
75
|
+
url = config[:short] || "https://docs.google.com/spreadsheet/ccc?key=#{config[:doc]}"
|
75
76
|
# FYI: if the first line is a url the email is blank in gmail
|
76
77
|
body = <<-MAIL.gsub(/^ {8}/, "")
|
77
78
|
Hello #{emails.map{|e|e.sub(/@.*/,"")}.join(" & ")}!
|
78
79
|
|
79
|
-
You both singed up for PairingShuffler at
|
80
|
+
You both singed up for PairingShuffler at #{url}
|
80
81
|
so let's pair!
|
81
82
|
|
82
83
|
Tips:
|
metadata
CHANGED
@@ -1,57 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pairing_shuffler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael Grosser
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
QWRkaXNSK0tWNVkxCk5tVkh1THRRY05UWnkrZ1JodDNhaEpSTXVDNlF5TG1r
|
36
|
-
VHNmKzZNYWVud0FNa0FnSGRzd0dzSnp0T25ObkJhM0YKeTBrQ1NXbUs2RCt4
|
37
|
-
L1NiZlM2cjdLZTA3TVJxemlKZEI5R3VFMSswY0lSdUZoOEVRK0xONkhYQ0tN
|
38
|
-
NXBvbi9HVQp5Y3dNWGZsMAotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
39
|
-
date: 2013-07-08 00:00:00.000000000 Z
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MRAwDgYDVQQDDAdtaWNo
|
14
|
+
YWVsMRcwFQYKCZImiZPyLGQBGRYHZ3Jvc3NlcjESMBAGCgmSJomT8ixkARkWAml0
|
15
|
+
MB4XDTE0MDIw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tSEiivTf2ntciebOqS93f
|
30
|
+
F5etKHZg0j3eHO31/i2HnswY04lqGImUu6aM5EnijFTB7PPW2KwKKM4+kKDYFdlw
|
31
|
+
/0WV1Ng2/Y6qsHwmqGg2VlYj2h4=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
40
34
|
dependencies:
|
41
35
|
- !ruby/object:Gem::Dependency
|
42
36
|
name: google_drive
|
43
37
|
requirement: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
38
|
requirements:
|
46
|
-
- -
|
39
|
+
- - '>='
|
47
40
|
- !ruby/object:Gem::Version
|
48
41
|
version: '0'
|
49
42
|
type: :runtime
|
50
43
|
prerelease: false
|
51
44
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
45
|
requirements:
|
54
|
-
- -
|
46
|
+
- - '>='
|
55
47
|
- !ruby/object:Gem::Version
|
56
48
|
version: '0'
|
57
49
|
description:
|
@@ -60,37 +52,30 @@ executables: []
|
|
60
52
|
extensions: []
|
61
53
|
extra_rdoc_files: []
|
62
54
|
files:
|
63
|
-
- lib/pairing_shuffler/version.rb
|
64
55
|
- lib/pairing_shuffler.rb
|
56
|
+
- lib/pairing_shuffler/version.rb
|
65
57
|
homepage: http://github.com/grosser/pairing_shuffler
|
66
58
|
licenses:
|
67
59
|
- MIT
|
60
|
+
metadata: {}
|
68
61
|
post_install_message:
|
69
62
|
rdoc_options: []
|
70
63
|
require_paths:
|
71
64
|
- lib
|
72
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
66
|
requirements:
|
75
|
-
- -
|
67
|
+
- - '>='
|
76
68
|
- !ruby/object:Gem::Version
|
77
69
|
version: '0'
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
hash: -1871156547713194696
|
81
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
71
|
requirements:
|
84
|
-
- -
|
72
|
+
- - '>='
|
85
73
|
- !ruby/object:Gem::Version
|
86
74
|
version: '0'
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
hash: -1871156547713194696
|
90
75
|
requirements: []
|
91
76
|
rubyforge_project:
|
92
|
-
rubygems_version:
|
77
|
+
rubygems_version: 2.0.14
|
93
78
|
signing_key:
|
94
|
-
specification_version:
|
79
|
+
specification_version: 4
|
95
80
|
summary: Assign random pairs from a google docs spreadsheet
|
96
81
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|