work_together 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/work_together.rb +12 -12
- data/lib/work_together/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: 1fccbe7fa3e03d12f0a68d31093eab3e8c27fe66
|
4
|
+
data.tar.gz: 1b6fbd88c2d514b1864c72276fda4e13041f1178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3bfe5285318ed8f7434b87f866b129962763b99587d9fb0c53f39848155f694c4de6c242463a63035fc725db7efd7ca1bdf37440d153f9a69026690c589e5a6
|
7
|
+
data.tar.gz: c05872f1546938626402ded167079dc9d927fdad1ae964d210e80292efb25ac03b48c3140c2bdee25874d912163f0f4e6b8b231da61e1428834e71facabc8b99
|
data/lib/work_together.rb
CHANGED
@@ -37,7 +37,6 @@ module WorkTogether
|
|
37
37
|
|
38
38
|
def make_groups(options, quiet=nil, students=nil)
|
39
39
|
students ||= Student.all
|
40
|
-
# binding.pry
|
41
40
|
flag = options[1][2..-1]
|
42
41
|
if options.include?("pairs")
|
43
42
|
pair_maker.public_send("make_pairs_#{flag}", students)
|
@@ -57,18 +56,19 @@ module WorkTogether
|
|
57
56
|
end
|
58
57
|
end
|
59
58
|
|
60
|
-
private
|
61
59
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
60
|
+
def help
|
61
|
+
puts "Available commands:"
|
62
|
+
puts "work-together pairs --random batch-number generate pairs randomly"
|
63
|
+
puts "work-together pairs --progress batch-number generate pairs grouped by similar progress"
|
64
|
+
puts "work-together pairs --mindful batch-number generate pairs with one person who is more advanced, one person less advanced"
|
65
|
+
puts "work-together tables --random batch-number generate tables randomly"
|
66
|
+
puts "work-together tables --progress batch-number generate tables grouped by similar progress"
|
67
|
+
puts "work-together tables --mindful batch-number generate tables with some people more advanced, some less"
|
68
|
+
puts "work-together groups --num-of-groups batch-number genereate n number of groups"
|
69
|
+
end
|
70
|
+
|
71
|
+
private
|
72
72
|
|
73
73
|
def configure_client
|
74
74
|
configure_keys
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: work_together
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sophie DeBenedetto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|