coursegen 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/coursegen/course/helpers/content_helpers.rb +3 -3
- 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: f9cb3cbe909c32d021c79b9c28bb7563364d92e2469a6504c249739b7599416a
|
4
|
+
data.tar.gz: 7481e0ff4afd182159ed69342ea5bc22852c37b41105c0f4b61147fdf88ae1bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 944004fe2d95fec10e224c42b9b0979c669b1bbe276aaba06de92d7c1e1d37ad9bb1defff4ecf662dc2669b2c5a61438211a4fa2e7ebcdc5ab48d8997fd45f3a
|
7
|
+
data.tar.gz: '0268bf1102d9297e7cee57b6808e1e712df5ea79b231fbd5f6955a2594329ae80a11da95f67418a72336275ab289050c2bb8561aff9a57839d0430b467e8b983'
|
data/Gemfile.lock
CHANGED
@@ -77,7 +77,7 @@ module ContentHelpers
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def iconbadge(icon, tooltip)
|
80
|
-
%(<svg class="bi iconbadge" fill="blue"><use xlink:href="/bootstrap/bootstrap-icons-1.0.0/bootstrap-icons.svg##{icon}"/></svg>)
|
80
|
+
%(<svg class="bi iconbadge" title="#{tooltip}" data-placement="top" data-title="#{tooltip}" data-toggle="tooltip" fill="blue"><use xlink:href="/bootstrap/bootstrap-icons-1.0.0/bootstrap-icons.svg##{icon}"/></svg>)
|
81
81
|
end
|
82
82
|
|
83
83
|
def textbadge(text, tooltip)
|
@@ -89,7 +89,7 @@ module ContentHelpers
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def pdfbadge
|
92
|
-
iconbadge('file-earmark-richtext-fill', 'Submit
|
92
|
+
iconbadge('file-earmark-richtext-fill', 'Submit a pdf file')
|
93
93
|
end
|
94
94
|
|
95
95
|
def codebadge
|
@@ -244,7 +244,7 @@ module ContentHelpers
|
|
244
244
|
active = count == 0 ? 'active' : ''
|
245
245
|
body << <<~HEREDOC
|
246
246
|
<div class="carousel-item #{active}">
|
247
|
-
<img class="d-block w-
|
247
|
+
<img class="d-block w-80" src="/content/topics/images/#{fname}">
|
248
248
|
</div>
|
249
249
|
HEREDOC
|
250
250
|
count += 1
|
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.9.
|
4
|
+
version: 0.9.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: 2020-10-
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|