coursegen 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cbb8c92d9286443400bc58faf5177ff3d146b2b05e41575f5e5884c0993c92f
4
- data.tar.gz: 17838a1463efab4249cb1cdd1d8d5d78600bc3c66173b4f19d39165d8bec9810
3
+ metadata.gz: 93427c36eea397d629a4ce4da85facafb60360d50ce0d3b04986c7147d17e71f
4
+ data.tar.gz: 716677e71ecaa2f717a96b65c43d096a0775c55b0a7faa8cce68d6fb06ab6c07
5
5
  SHA512:
6
- metadata.gz: 6addf58a4a5f1d156a7f72e1eeb7ed572713d9e311d7894d222ef0e21189a0e5d84ac66d3df9f71ee287d79883991a3d866a94b42943f64fc996a372e264cccb
7
- data.tar.gz: 90b3bb4e3b38a15d2deb5cd7abb18bfa6689f4b1a988244f9e386405365c632488bc8230d4c119b93f5c5c5c692fc86bae47583f08de51f8001b002945b8b93c
6
+ metadata.gz: bd0ba1345337def6748f0bde784436bfc167304808d9122c523640fd71a0b925931e37f00a782d2afc1a3156c9712a7743503292eef861b0acbbaffcc98fc829
7
+ data.tar.gz: 1e606aeb7d0948091447956e90f0c247ddad4031ebdf46758d8d6e43201c203ee37165bd499c9a9a9d4abca2059080da1bda6443352d01417e5130bd524a2695
@@ -153,8 +153,11 @@ HTMLSTRING
153
153
  %(<div class="alert alert-info"><strong>Discussion:</strong> #{string}</div>)
154
154
  end
155
155
 
156
- def homework_hdr
157
- "#### Homework due for today"
156
+ def homework_hdr(show_legend: :on)
157
+ body = "#### Homework due for today"
158
+ legend = "\n**Legend**: #{partbadge}: Participation | #{timebadge}: Early | #{pdfbadge}: PDF | #{teambadge}: Team | #{zipbadge}: Zipped"
159
+ body += legend if show_legend == :on
160
+ body
158
161
  end
159
162
 
160
163
  def carousel(filenames)
@@ -1,3 +1,3 @@
1
1
  module Coursegen
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coursegen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pito Salas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-29 00:00:00.000000000 Z
11
+ date: 2018-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler