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 +4 -4
- data/lib/coursegen/course/helpers/content_helpers.rb +5 -2
- data/lib/coursegen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93427c36eea397d629a4ce4da85facafb60360d50ce0d3b04986c7147d17e71f
|
4
|
+
data.tar.gz: 716677e71ecaa2f717a96b65c43d096a0775c55b0a7faa8cce68d6fb06ab6c07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/coursegen/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|