coursegen 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c8c20c18654bed952a0b1f5e488977f54e613bb0a0c6934e472d028a4abed89
4
- data.tar.gz: 8db99fc9a6fa6aea08b9b6dd4d1f6de1a1e3a9b7e1757f1305482ac781bccd89
3
+ metadata.gz: f9cb3cbe909c32d021c79b9c28bb7563364d92e2469a6504c249739b7599416a
4
+ data.tar.gz: 7481e0ff4afd182159ed69342ea5bc22852c37b41105c0f4b61147fdf88ae1bc
5
5
  SHA512:
6
- metadata.gz: 4ab21fdc5c79763690101f1ddd93ff37ec94d26033e6d6f0f35f20ce65bee9d4e7294b2ee5bb667d6319455662fa9b258c231bba79e1b181d072f577049f962f
7
- data.tar.gz: 981f8abcb7940b83582b8dbb998449871acf2d8a8704d7b575cd8b1b6a072287916850a0187bf0e3dc45f6a50deec36b8843f1b1f8ea7039813b0dabc265e46e
6
+ metadata.gz: 944004fe2d95fec10e224c42b9b0979c669b1bbe276aaba06de92d7c1e1d37ad9bb1defff4ecf662dc2669b2c5a61438211a4fa2e7ebcdc5ab48d8997fd45f3a
7
+ data.tar.gz: '0268bf1102d9297e7cee57b6808e1e712df5ea79b231fbd5f6955a2594329ae80a11da95f67418a72336275ab289050c2bb8561aff9a57839d0430b467e8b983'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coursegen (0.9.1)
4
+ coursegen (0.9.2)
5
5
  activesupport
6
6
  adsf
7
7
  byebug
@@ -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 as 1 page pdf, include name and homework #')
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-100" src="/content/topics/images/#{fname}">
247
+ <img class="d-block w-80" src="/content/topics/images/#{fname}">
248
248
  </div>
249
249
  HEREDOC
250
250
  count += 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coursegen
4
- VERSION = '0.9.1'
4
+ VERSION = '0.9.2'
5
5
  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.9.1
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-06 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler