coursegen 0.9.4 → 0.9.6

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: '087e9a6b825c319f78dcca194ccce680b76a309bc47611d3eb706feaaed8c8b1'
4
- data.tar.gz: 5bdf60dbb0fa91c3b0c957f855a3d43f287049416b9f8193fc771ab10431c9f7
3
+ metadata.gz: 9e20ecf92f9e2f14771707247d4c1b6702712b34b3052debd4fb41634b164e57
4
+ data.tar.gz: 24483683fb54dc6c9b21c0d9ee9e10173146d73e5e3c67f1940d2ca8eac69b38
5
5
  SHA512:
6
- metadata.gz: '008f4ee0fbb60117d5989f3241c5500be02d679d5b51d72409e71ad4ec0ea69c02a34ccac82a11eed5bbe0d9fd564ebd870bdaf891e2ad2639243b2b3cfc45d3'
7
- data.tar.gz: 2c0bfc88ead3fcf7c22fc9f973a00645b2dbb410b8276f056a4c0607a3b38c4923712969f2860d2ed64f8ffcc21f6f68f50ca108f2b78384da87a94a67b753cb
6
+ metadata.gz: 57acc570e097baf83093ec6ecb39579dc093b053d9ffa5b5111547c7c518bbb97fedd4bebe197c4461dc43c4c08b84691b8110e3eda55e3daed08fde7245c96e
7
+ data.tar.gz: 116c04eb495180cde0a12e2513be675c95c72708673a0bf25f858813109fdd7594980b6af2cd6f9521606481aa767909c9767ac7e5e9b4cdb968a7372d7f0d3c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coursegen (0.9.4)
4
+ coursegen (0.9.6)
5
5
  activesupport
6
6
  adsf
7
7
  byebug
@@ -62,7 +62,7 @@ GEM
62
62
  icalendar (2.7.0)
63
63
  ice_cube (~> 0.16)
64
64
  ice_cube (0.16.3)
65
- json (2.5.1)
65
+ json (2.3.0)
66
66
  json_schema (0.20.9)
67
67
  kramdown (2.3.0)
68
68
  rexml
@@ -125,7 +125,7 @@ GEM
125
125
  rb-inotify (0.10.1)
126
126
  ffi (~> 1.0)
127
127
  ref (2.0.0)
128
- rexml (3.2.4)
128
+ rexml (3.2.3)
129
129
  rspec (3.10.0)
130
130
  rspec-core (~> 3.10.0)
131
131
  rspec-expectations (~> 3.10.0)
@@ -86,8 +86,12 @@ module ContentHelpers
86
86
  %(<img src="/bootstrap/bootstrap-icons-1.0.0/#{icon}.svg" title="#{tooltip}" class="iconbadge">)
87
87
  end
88
88
 
89
- def iconbadge(icon, tooltip)
90
- %(<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>)
89
+ def iconbadge3(icon, tooltip, shorttext="")
90
+ %(<svg class="iconbadge bi" 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>#{shorttext})
91
+ end
92
+
93
+ def iconbadge(icon, tooltip, shorttext="")
94
+ %(<svg class="iconbadge bi" 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><span class="icontext" >#{shorttext}</span>)
91
95
  end
92
96
 
93
97
  def textbadge(text, tooltip)
@@ -99,31 +103,31 @@ module ContentHelpers
99
103
  end
100
104
 
101
105
  def pdfbadge
102
- iconbadge('file-earmark-richtext-fill', 'Submit a pdf file')
106
+ iconbadge('file-earmark-richtext-fill', 'Submit a pdf file', "pdf")
103
107
  end
104
108
 
105
109
  def codebadge
106
- iconbadge('file-code-fill', 'Work on code in your portfolio')
110
+ iconbadge('file-code-fill', 'Work on code in your portfolio', "portfolio")
107
111
  end
108
112
 
109
113
  def cloudbadge
110
- iconbadge('cloud-fill', 'Work on code in your portfolio')
114
+ iconbadge('cloud-fill', 'Work on code in your portfolio', 'portfolio')
111
115
  end
112
116
 
113
117
  def zipbadge
114
- iconbadge('file-earmark-zip-fill', 'Submit work as an attachment')
118
+ iconbadge('file-earmark-zip-fill', 'Submit work in a zipfile', 'zip')
115
119
  end
116
120
 
117
121
  def partbadge
118
- iconbadge('heart-half', 'Graded for participation only - pass/fail')
122
+ iconbadge('heart-half', 'Graded for participation only - pass/fail', 'participation')
119
123
  end
120
124
 
121
125
  def timebadge
122
- iconbadge('alarm-fill', 'Must be submitted first thing on day of class')
126
+ iconbadge('alarm-fill', 'Must be submitted first thing on day of class', 'early submit')
123
127
  end
124
128
 
125
129
  def teambadge
126
- iconbadge('people-fill', 'Team Deliverable')
130
+ iconbadge('people-fill', 'Team Deliverable', 'team deliverable')
127
131
  end
128
132
 
129
133
  def include_image_old(filename_string, extra_class: nil)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coursegen
4
- VERSION = '0.9.4'
4
+ VERSION = '0.9.6'
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.4
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pito Salas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler