coursegen 0.9.2 → 0.9.3

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: f9cb3cbe909c32d021c79b9c28bb7563364d92e2469a6504c249739b7599416a
4
- data.tar.gz: 7481e0ff4afd182159ed69342ea5bc22852c37b41105c0f4b61147fdf88ae1bc
3
+ metadata.gz: 48f4828ee2d6ff56978fcc1e5a594d67e7dbec604c926b3bfc8fe3afbf0950dc
4
+ data.tar.gz: dfcb173a2fdff7d569a6e0cf2c589d2839db33b115ed1c9a72be26242df2c2c5
5
5
  SHA512:
6
- metadata.gz: 944004fe2d95fec10e224c42b9b0979c669b1bbe276aaba06de92d7c1e1d37ad9bb1defff4ecf662dc2669b2c5a61438211a4fa2e7ebcdc5ab48d8997fd45f3a
7
- data.tar.gz: '0268bf1102d9297e7cee57b6808e1e712df5ea79b231fbd5f6955a2594329ae80a11da95f67418a72336275ab289050c2bb8561aff9a57839d0430b467e8b983'
6
+ metadata.gz: 4cf676844ea34b6c2be7fff204031ddc9e39c3d8aeb8b34592564974a127db2583079158e5507f69e56d97e4d841d7f3ec5ed5fb3dc9677d33100ef284e73009
7
+ data.tar.gz: e2a6eff08930b360c7c458126436b65b34f7d51dc4b59c4c1e60ab319e8d70bc8777f4145610f189e9d994f6dfe544c63cd1072e7a3af7f6407365b8e2d6894a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coursegen (0.9.2)
4
+ coursegen (0.9.3)
5
5
  activesupport
6
6
  adsf
7
7
  byebug
@@ -19,29 +19,28 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- activesupport (6.0.3.1)
22
+ activesupport (6.1.1)
23
23
  concurrent-ruby (~> 1.0, >= 1.0.2)
24
- i18n (>= 0.7, < 2)
25
- minitest (~> 5.1)
26
- tzinfo (~> 1.1)
27
- zeitwerk (~> 2.2, >= 2.2.2)
24
+ i18n (>= 1.6, < 2)
25
+ minitest (>= 5.1)
26
+ tzinfo (~> 2.0)
27
+ zeitwerk (~> 2.3)
28
28
  addressable (2.7.0)
29
29
  public_suffix (>= 2.0.2, < 5.0)
30
- adsf (1.4.3)
30
+ adsf (1.4.5)
31
31
  rack (>= 1.0.0, < 3.0.0)
32
32
  byebug (11.1.3)
33
33
  coderay (1.1.3)
34
34
  colored (1.2)
35
- concurrent-ruby (1.1.6)
36
- cri (2.15.10)
35
+ concurrent-ruby (1.1.8)
36
+ cri (2.15.11)
37
37
  ddmemoize (1.0.0)
38
38
  ddmetrics (~> 1.0)
39
39
  ref (~> 2.0)
40
40
  ddmetrics (1.0.1)
41
- ddplugin (1.0.2)
41
+ ddplugin (1.0.3)
42
42
  diff-lcs (1.4.4)
43
- equatable (0.6.1)
44
- ffi (1.13.1)
43
+ ffi (1.14.2)
45
44
  formatador (0.2.5)
46
45
  guard (2.16.2)
47
46
  formatador (>= 0.2.4)
@@ -58,41 +57,41 @@ GEM
58
57
  guard-compat (~> 1.0)
59
58
  hamster (3.0.0)
60
59
  concurrent-ruby (~> 1.0)
61
- i18n (1.8.3)
60
+ i18n (1.8.7)
62
61
  concurrent-ruby (~> 1.0)
63
- icalendar (2.6.1)
62
+ icalendar (2.7.0)
64
63
  ice_cube (~> 0.16)
65
64
  ice_cube (0.16.3)
66
- json (2.3.0)
67
- json_schema (0.20.8)
68
- kramdown (2.2.1)
65
+ json (2.5.1)
66
+ json_schema (0.20.9)
67
+ kramdown (2.3.0)
69
68
  rexml
70
- listen (3.2.1)
69
+ listen (3.4.1)
71
70
  rb-fsevent (~> 0.10, >= 0.10.3)
72
71
  rb-inotify (~> 0.9, >= 0.9.10)
73
- lumberjack (1.2.5)
72
+ lumberjack (1.2.8)
74
73
  method_source (1.0.0)
75
- mini_portile2 (2.4.0)
76
- minitest (5.14.1)
77
- nanoc (4.11.16)
74
+ minitest (5.14.3)
75
+ nanoc (4.11.23)
78
76
  addressable (~> 2.5)
79
77
  colored (~> 1.2)
80
78
  nanoc-checking (~> 1.0)
81
- nanoc-cli (= 4.11.16)
82
- nanoc-core (= 4.11.16)
79
+ nanoc-cli (= 4.11.23)
80
+ nanoc-core (= 4.11.23)
83
81
  nanoc-deploying (~> 1.0)
84
82
  parallel (~> 1.12)
85
83
  tty-command (~> 0.8)
86
84
  tty-which (~> 0.4)
87
- nanoc-checking (1.0.0)
85
+ nanoc-checking (1.0.1)
88
86
  nanoc-cli (~> 4.11, >= 4.11.15)
89
87
  nanoc-core (~> 4.11, >= 4.11.15)
90
- nanoc-cli (4.11.16)
88
+ nanoc-cli (4.11.23)
91
89
  cri (~> 2.15)
92
90
  diff-lcs (~> 1.3)
93
- nanoc-core (= 4.11.16)
91
+ nanoc-core (= 4.11.23)
94
92
  zeitwerk (~> 2.1)
95
- nanoc-core (4.11.16)
93
+ nanoc-core (4.11.23)
94
+ concurrent-ruby (~> 1.1)
96
95
  ddmemoize (~> 1.0)
97
96
  ddmetrics (~> 1.0)
98
97
  ddplugin (~> 1.0)
@@ -102,61 +101,60 @@ GEM
102
101
  tomlrb (~> 1.2)
103
102
  tty-platform (~> 0.2)
104
103
  zeitwerk (~> 2.1)
105
- nanoc-deploying (1.0.0)
104
+ nanoc-deploying (1.0.1)
106
105
  nanoc-checking (~> 1.0)
107
106
  nanoc-cli (~> 4.11, >= 4.11.15)
108
107
  nanoc-core (~> 4.11, >= 4.11.15)
109
108
  nenv (0.3.0)
110
- nokogiri (1.10.9)
111
- mini_portile2 (~> 2.4.0)
109
+ nokogiri (1.11.1-x86_64-darwin)
110
+ racc (~> 1.4)
112
111
  notiffany (0.1.3)
113
112
  nenv (~> 0.1)
114
113
  shellany (~> 0.0)
115
- parallel (1.19.1)
116
- pastel (0.7.4)
117
- equatable (~> 0.6)
114
+ parallel (1.20.1)
115
+ pastel (0.8.0)
118
116
  tty-color (~> 0.5)
119
117
  pry (0.13.1)
120
118
  coderay (~> 1.1)
121
119
  method_source (~> 1.0)
122
- public_suffix (4.0.5)
123
- rack (2.2.2)
124
- rake (13.0.1)
120
+ public_suffix (4.0.6)
121
+ racc (1.5.2)
122
+ rack (2.2.3)
123
+ rake (13.0.3)
125
124
  rb-fsevent (0.10.4)
126
125
  rb-inotify (0.10.1)
127
126
  ffi (~> 1.0)
128
127
  ref (2.0.0)
129
128
  rexml (3.2.4)
130
- rspec (3.9.0)
131
- rspec-core (~> 3.9.0)
132
- rspec-expectations (~> 3.9.0)
133
- rspec-mocks (~> 3.9.0)
134
- rspec-core (3.9.2)
135
- rspec-support (~> 3.9.3)
136
- rspec-expectations (3.9.2)
129
+ rspec (3.10.0)
130
+ rspec-core (~> 3.10.0)
131
+ rspec-expectations (~> 3.10.0)
132
+ rspec-mocks (~> 3.10.0)
133
+ rspec-core (3.10.1)
134
+ rspec-support (~> 3.10.0)
135
+ rspec-expectations (3.10.1)
137
136
  diff-lcs (>= 1.2.0, < 2.0)
138
- rspec-support (~> 3.9.0)
139
- rspec-mocks (3.9.1)
137
+ rspec-support (~> 3.10.0)
138
+ rspec-mocks (3.10.1)
140
139
  diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.9.0)
142
- rspec-support (3.9.3)
140
+ rspec-support (~> 3.10.0)
141
+ rspec-support (3.10.1)
143
142
  rubytree (1.0.0)
144
143
  json (~> 2.1)
145
144
  structured_warnings (~> 0.3)
146
145
  shellany (0.0.1)
147
146
  slow_enumerator_tools (1.1.0)
148
147
  structured_warnings (0.4.0)
149
- thor (1.0.1)
150
- thread_safe (0.3.6)
148
+ thor (1.1.0)
151
149
  tomlrb (1.3.0)
152
- tty-color (0.5.1)
153
- tty-command (0.9.0)
154
- pastel (~> 0.7.0)
150
+ tty-color (0.6.0)
151
+ tty-command (0.10.0)
152
+ pastel (~> 0.8)
155
153
  tty-platform (0.3.0)
156
154
  tty-which (0.4.2)
157
- tzinfo (1.2.7)
158
- thread_safe (~> 0.1)
159
- zeitwerk (2.3.0)
155
+ tzinfo (2.0.4)
156
+ concurrent-ruby (~> 1.0)
157
+ zeitwerk (2.4.2)
160
158
 
161
159
  PLATFORMS
162
160
  ruby
@@ -50,7 +50,7 @@ module ContentHelpers
50
50
  italic_red(string)
51
51
  end
52
52
 
53
- def callout_1(title, body)
53
+ def callout1(title, body)
54
54
  <<~HTMLSTRING
55
55
  <div class="well well-sm callout">
56
56
  <span class="themebg label label-primary">#{title}</span>#{body}
@@ -58,7 +58,7 @@ module ContentHelpers
58
58
  HTMLSTRING
59
59
  end
60
60
 
61
- def callout_2(title, body)
61
+ def callout2(title, body)
62
62
  <<~HTMLSTRING
63
63
  <div class="callout border border-primary rounded p-2 m-3">
64
64
  <span class="badge badge-pill badge-primary">#{title}</span>#{body}
@@ -66,10 +66,19 @@ module ContentHelpers
66
66
  HTMLSTRING
67
67
  end
68
68
 
69
- def callout(title, body)
70
- %(<div class="jumbotron py-1 border border-primary border-rounded-lg">
71
- <h1 class="display-5">#{title}</h1>
72
- <p class="lead">#{body}</p></div>)
69
+ def callout(title, body, style=:big)
70
+ if (style == :big)
71
+ %(<div class="jumbotron py-1 border border-primary border-rounded-lg">
72
+ <h1 class="display-5">#{title}</h1>
73
+ <p class="lead">#{body}</p></div>)
74
+ elsif (style == :small)
75
+ <<~HTMLSTRING
76
+ <div class="callout border border-primary rounded p-2 m-3">
77
+ <span class="badge badge-pill badge-primary">#{title}</span>#{body}
78
+ </div>
79
+ HTMLSTRING
80
+ end
81
+ "error in callout call."
73
82
  end
74
83
 
75
84
  def iconbadge1(icon, tooltip)
@@ -79,7 +88,7 @@ module ContentHelpers
79
88
  def iconbadge(icon, tooltip)
80
89
  %(<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
90
  end
82
-
91
+
83
92
  def textbadge(text, tooltip)
84
93
  %(<span class="label label-info" data-toggle="tooltip" data-placement="top" title="#{tooltip}">#{text}</span>)
85
94
  end
@@ -200,8 +209,8 @@ module ContentHelpers
200
209
  # body << %(" class="img-polaroid" alt=""></div>)
201
210
  # counter += 1
202
211
  # end
203
- # body << %(</div> <a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
204
- # <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
212
+ # body << %(</div> <a class="left carousel-control" href="#myCarousel" data-slide="prev"></a>
213
+ # <a class="right carousel-control" href="#myCarousel" data-slide="next"></a>
205
214
  # </div>)
206
215
  # body
207
216
  # end
@@ -234,7 +243,7 @@ module ContentHelpers
234
243
  # body
235
244
  # end
236
245
 
237
- def carousel_V4(filenames)
246
+ def carousel_v4(filenames)
238
247
  body = <<~HEREDOC
239
248
  <div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
240
249
  <div class="carousel-inner">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coursegen
4
- VERSION = '0.9.2'
4
+ VERSION = '0.9.3'
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.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pito Salas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2021-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -335,7 +335,7 @@ homepage: ''
335
335
  licenses:
336
336
  - MIT
337
337
  metadata: {}
338
- post_install_message:
338
+ post_install_message:
339
339
  rdoc_options: []
340
340
  require_paths:
341
341
  - lib
@@ -350,8 +350,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
350
  - !ruby/object:Gem::Version
351
351
  version: '0'
352
352
  requirements: []
353
- rubygems_version: 3.0.3
354
- signing_key:
353
+ rubygems_version: 3.1.4
354
+ signing_key:
355
355
  specification_version: 4
356
356
  summary: Use Nanoc to build courses and deploy them to S3
357
357
  test_files: