blackboard 3.1.6 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +132 -0
  3. data/exe/jekyll +55 -0
  4. data/lib/jekyll.rb +179 -0
  5. data/lib/jekyll/cleaner.rb +105 -0
  6. data/lib/jekyll/collection.rb +205 -0
  7. data/lib/jekyll/command.rb +65 -0
  8. data/lib/jekyll/commands/build.rb +77 -0
  9. data/lib/jekyll/commands/clean.rb +42 -0
  10. data/lib/jekyll/commands/doctor.rb +114 -0
  11. data/lib/jekyll/commands/help.rb +31 -0
  12. data/lib/jekyll/commands/new.rb +82 -0
  13. data/lib/jekyll/commands/serve.rb +205 -0
  14. data/lib/jekyll/commands/serve/servlet.rb +61 -0
  15. data/lib/jekyll/configuration.rb +348 -0
  16. data/lib/jekyll/converter.rb +48 -0
  17. data/lib/jekyll/converters/identity.rb +21 -0
  18. data/lib/jekyll/converters/markdown.rb +92 -0
  19. data/lib/jekyll/converters/markdown/kramdown_parser.rb +117 -0
  20. data/lib/jekyll/converters/markdown/rdiscount_parser.rb +33 -0
  21. data/lib/jekyll/converters/markdown/redcarpet_parser.rb +102 -0
  22. data/lib/jekyll/converters/smartypants.rb +34 -0
  23. data/lib/jekyll/convertible.rb +300 -0
  24. data/lib/jekyll/deprecator.rb +46 -0
  25. data/lib/jekyll/document.rb +447 -0
  26. data/lib/jekyll/drops/collection_drop.rb +22 -0
  27. data/lib/jekyll/drops/document_drop.rb +60 -0
  28. data/lib/jekyll/drops/drop.rb +200 -0
  29. data/lib/jekyll/drops/excerpt_drop.rb +15 -0
  30. data/lib/jekyll/drops/jekyll_drop.rb +33 -0
  31. data/lib/jekyll/drops/site_drop.rb +38 -0
  32. data/lib/jekyll/drops/unified_payload_drop.rb +25 -0
  33. data/lib/jekyll/drops/url_drop.rb +83 -0
  34. data/lib/jekyll/entry_filter.rb +72 -0
  35. data/lib/jekyll/errors.rb +10 -0
  36. data/lib/jekyll/excerpt.rb +124 -0
  37. data/lib/jekyll/external.rb +59 -0
  38. data/lib/jekyll/filters.rb +367 -0
  39. data/lib/jekyll/frontmatter_defaults.rb +188 -0
  40. data/lib/jekyll/generator.rb +3 -0
  41. data/lib/jekyll/hooks.rb +101 -0
  42. data/lib/jekyll/layout.rb +49 -0
  43. data/lib/jekyll/liquid_extensions.rb +22 -0
  44. data/lib/jekyll/liquid_renderer.rb +39 -0
  45. data/lib/jekyll/liquid_renderer/file.rb +50 -0
  46. data/lib/jekyll/liquid_renderer/table.rb +94 -0
  47. data/lib/jekyll/log_adapter.rb +115 -0
  48. data/lib/jekyll/mime.types +800 -0
  49. data/lib/jekyll/page.rb +180 -0
  50. data/lib/jekyll/plugin.rb +96 -0
  51. data/lib/jekyll/plugin_manager.rb +95 -0
  52. data/lib/jekyll/publisher.rb +21 -0
  53. data/lib/jekyll/reader.rb +126 -0
  54. data/lib/jekyll/readers/collection_reader.rb +20 -0
  55. data/lib/jekyll/readers/data_reader.rb +69 -0
  56. data/lib/jekyll/readers/layout_reader.rb +53 -0
  57. data/lib/jekyll/readers/page_reader.rb +21 -0
  58. data/lib/jekyll/readers/post_reader.rb +62 -0
  59. data/lib/jekyll/readers/static_file_reader.rb +21 -0
  60. data/lib/jekyll/regenerator.rb +175 -0
  61. data/lib/jekyll/related_posts.rb +56 -0
  62. data/lib/jekyll/renderer.rb +194 -0
  63. data/lib/jekyll/site.rb +392 -0
  64. data/lib/jekyll/static_file.rb +141 -0
  65. data/lib/jekyll/stevenson.rb +58 -0
  66. data/lib/jekyll/tags/highlight.rb +122 -0
  67. data/lib/jekyll/tags/include.rb +190 -0
  68. data/lib/jekyll/tags/post_url.rb +88 -0
  69. data/lib/jekyll/url.rb +136 -0
  70. data/lib/jekyll/utils.rb +300 -0
  71. data/lib/jekyll/utils/ansi.rb +59 -0
  72. data/lib/jekyll/utils/platforms.rb +30 -0
  73. data/lib/jekyll/version.rb +3 -0
  74. data/lib/site_template/.gitignore +3 -0
  75. data/lib/site_template/_config.yml +24 -0
  76. data/lib/site_template/_includes/footer.html +38 -0
  77. data/lib/site_template/_includes/head.html +12 -0
  78. data/lib/site_template/_includes/header.html +27 -0
  79. data/lib/site_template/_includes/icon-github.html +1 -0
  80. data/lib/site_template/_includes/icon-github.svg +1 -0
  81. data/lib/site_template/_includes/icon-twitter.html +1 -0
  82. data/lib/site_template/_includes/icon-twitter.svg +1 -0
  83. data/lib/site_template/_layouts/default.html +20 -0
  84. data/lib/site_template/_layouts/page.html +14 -0
  85. data/lib/site_template/_layouts/post.html +15 -0
  86. data/lib/site_template/_pages/about.md +15 -0
  87. data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +25 -0
  88. data/lib/site_template/_sass/_base.scss +206 -0
  89. data/lib/site_template/_sass/_layout.scss +242 -0
  90. data/lib/site_template/_sass/_syntax-highlighting.scss +71 -0
  91. data/lib/site_template/css/main.scss +53 -0
  92. data/lib/site_template/feed.xml +30 -0
  93. data/lib/site_template/index.html +23 -0
  94. data/lib/theme_template/CODE_OF_CONDUCT.md.erb +74 -0
  95. data/lib/theme_template/Gemfile +2 -0
  96. data/lib/theme_template/LICENSE.txt.erb +21 -0
  97. data/lib/theme_template/README.md.erb +46 -0
  98. data/lib/theme_template/Rakefile.erb +74 -0
  99. data/lib/theme_template/_layouts/default.html +1 -0
  100. data/lib/theme_template/_layouts/page.html +5 -0
  101. data/lib/theme_template/_layouts/post.html +5 -0
  102. data/lib/theme_template/example/_config.yml.erb +1 -0
  103. data/lib/theme_template/example/_post.md +12 -0
  104. data/lib/theme_template/example/index.html +14 -0
  105. data/lib/theme_template/example/style.scss +7 -0
  106. data/lib/theme_template/gitignore.erb +4 -0
  107. data/lib/theme_template/theme.gemspec.erb +22 -0
  108. metadata +109 -2
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 <%= user_name %>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,46 @@
1
+ # <%= theme_name %>
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's Gemfile:
10
+
11
+ ```ruby
12
+ gem <%= theme_name.inspect %>
13
+ ```
14
+
15
+ And add this line to your Jekyll site:
16
+
17
+ ```yaml
18
+ theme: <%= theme_name %>
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install <%= theme_name %>
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ To test your theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme and the contents of the `example/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
42
+
43
+ ## License
44
+
45
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
46
+
@@ -0,0 +1,74 @@
1
+ require "bundler/gem_tasks"
2
+ require "jekyll"
3
+ require "listen"
4
+
5
+ def listen_ignore_paths(base, options)
6
+ [
7
+ /_config\.ya?ml/,
8
+ /_site/,
9
+ /\.jekyll-metadata/
10
+ ]
11
+ end
12
+
13
+ def listen_handler(base, options)
14
+ site = Jekyll::Site.new(options)
15
+ Jekyll::Command.process_site(site)
16
+ proc do |modified, added, removed|
17
+ t = Time.now
18
+ c = modified + added + removed
19
+ n = c.length
20
+ relative_paths = c.map{ |p| Pathname.new(p).relative_path_from(base).to_s }
21
+ print Jekyll.logger.message("Regenerating:", "#{relative_paths.join(", ")} changed... ")
22
+ begin
23
+ Jekyll::Command.process_site(site)
24
+ puts "regenerated in #{Time.now - t} seconds."
25
+ rescue => e
26
+ puts "error:"
27
+ Jekyll.logger.warn "Error:", e.message
28
+ Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
29
+ end
30
+ end
31
+ end
32
+
33
+ task :preview do
34
+ base = Pathname.new('.').expand_path
35
+ options = {
36
+ "source" => base.join('example').to_s,
37
+ "destination" => base.join('example/_site').to_s,
38
+ "force_polling" => false,
39
+ "serving" => true,
40
+ "theme" => <%= theme_name.inspect %>
41
+ }
42
+
43
+ options = Jekyll.configuration(options)
44
+
45
+ ENV["LISTEN_GEM_DEBUGGING"] = "1"
46
+ listener = Listen.to(
47
+ base.join("_includes"),
48
+ base.join("_layouts"),
49
+ base.join("_sass"),
50
+ options["source"],
51
+ :ignore => listen_ignore_paths(base, options),
52
+ :force_polling => options['force_polling'],
53
+ &(listen_handler(base, options))
54
+ )
55
+
56
+ begin
57
+ listener.start
58
+ Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options["source"]}'"
59
+
60
+ unless options['serving']
61
+ trap("INT") do
62
+ listener.stop
63
+ puts " Halting auto-regeneration."
64
+ exit 0
65
+ end
66
+
67
+ loop { sleep 1000 }
68
+ end
69
+ rescue ThreadError
70
+ # You pressed Ctrl-C, oh my!
71
+ end
72
+
73
+ Jekyll::Commands::Serve.process(options)
74
+ end
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1 @@
1
+ theme: <%= theme_name %>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: post
3
+ ---
4
+
5
+ Eos eu docendi tractatos sapientem, brute option menandri in vix, quando vivendo accommodare te ius. Nec melius fastidii constituam id, viderer theophrastus ad sit, hinc semper periculis cum id. Noluisse postulant assentior est in, no choro sadipscing repudiandae vix. Vis in euismod delenit dignissim. Ex quod nostrum sit, suas decore animal id ius, nobis solet detracto quo te.
6
+
7
+ {% comment %}
8
+ Might you have an include in your theme? Why not try it here!
9
+ {% include my-themes-great-include.html %}
10
+ {% endcomment %}
11
+
12
+ No laudem altera adolescens has, volumus lucilius eum no. Eam ei nulla audiam efficiantur. Suas affert per no, ei tale nibh sea. Sea ne magna harum, in denique scriptorem sea, cetero alienum tibique ei eos. Labores persequeris referrentur eos ei.
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ Lorem ipsum dolor sit amet, quo id prima corrumpit pertinacia, id ius dolor dolores, an veri pertinax explicari mea. Agam solum et qui, his id ludus graeco adipiscing. Duis theophrastus nam in, at his vidisse atomorum. Tantas gloriatur scripserit ne eos. Est wisi tempor habemus at, ei graeco dissentiet eos. Ne usu aliquip sanctus conceptam, te vis ignota animal, modus latine contentiones ius te.
6
+
7
+ {% for post in site.posts %}
8
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
9
+ <blockquote>{{ post.excerpt }}</blockquote>
10
+ {% endfor %}
11
+
12
+ Te falli veritus sea, at molestiae scribentur deterruisset vix, et mea zril phaedrum vulputate. No cum dicit consulatu. Ut has nostro noluisse expetendis, te pro quaeque disputando, eu sed summo omnes. Eos at tale aperiam, usu cu propriae quaestio constituto, sed aperiam erroribus temporibus an.
13
+
14
+ Quo eu liber mediocritatem, vix an delectus eleifend, iuvaret suscipit ei vel. Partem invenire per an, mea postulant dissentias eu, ius tantas audire nominavi eu. Dicunt tritani veritus ex vis, mei in case sententiae. At exerci democritum nam, cu lobortis iracundia mei. Alia eligendi consectetuer eu sed, paulo docendi noluisse sit ex.
@@ -0,0 +1,7 @@
1
+ ---
2
+ ---
3
+
4
+ // Here, you can test out the Sass/SCSS that you include in your theme.
5
+ // Simply `@import` the necessary file(s) to get the proper styles on the site.
6
+ // E.g.:
7
+ // @import "a-file-from-my-theme";
@@ -0,0 +1,4 @@
1
+ .bundle
2
+ .sass-cache
3
+ _site
4
+ Gemfile.lock
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = <%= theme_name.inspect %>
5
+ spec.version = "0.1.0"
6
+ spec.authors = [<%= user_name.inspect %>]
7
+ spec.email = [<%= user_email.inspect %>]
8
+
9
+ spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
10
+ spec.homepage = "TODO: Put your gem's website or public repo URL here."
11
+ spec.license = "MIT"
12
+
13
+ spec.metadata["plugin_type"] = "theme"
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(exe|<%= theme_directories.join("|") %>)/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+
19
+ spec.add_development_dependency "jekyll", "~> <%= jekyll_version_with_minor %>"
20
+ spec.add_development_dependency "bundler", "~> 1.12"
21
+ spec.add_development_dependency "rake", "~> 10.0"
22
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wirth
@@ -138,14 +138,121 @@ dependencies:
138
138
  version: '0.9'
139
139
  description: Jekyll is a simple, blog aware, static site generator.
140
140
  email: chriswirthdesign@gmail.com
141
- executables: []
141
+ executables:
142
+ - jekyll
142
143
  extensions: []
143
144
  extra_rdoc_files:
144
145
  - README.markdown
145
146
  - LICENSE
146
147
  files:
148
+ - ".rubocop.yml"
147
149
  - LICENSE
148
150
  - README.markdown
151
+ - exe/jekyll
152
+ - lib/jekyll.rb
153
+ - lib/jekyll/cleaner.rb
154
+ - lib/jekyll/collection.rb
155
+ - lib/jekyll/command.rb
156
+ - lib/jekyll/commands/build.rb
157
+ - lib/jekyll/commands/clean.rb
158
+ - lib/jekyll/commands/doctor.rb
159
+ - lib/jekyll/commands/help.rb
160
+ - lib/jekyll/commands/new.rb
161
+ - lib/jekyll/commands/serve.rb
162
+ - lib/jekyll/commands/serve/servlet.rb
163
+ - lib/jekyll/configuration.rb
164
+ - lib/jekyll/converter.rb
165
+ - lib/jekyll/converters/identity.rb
166
+ - lib/jekyll/converters/markdown.rb
167
+ - lib/jekyll/converters/markdown/kramdown_parser.rb
168
+ - lib/jekyll/converters/markdown/rdiscount_parser.rb
169
+ - lib/jekyll/converters/markdown/redcarpet_parser.rb
170
+ - lib/jekyll/converters/smartypants.rb
171
+ - lib/jekyll/convertible.rb
172
+ - lib/jekyll/deprecator.rb
173
+ - lib/jekyll/document.rb
174
+ - lib/jekyll/drops/collection_drop.rb
175
+ - lib/jekyll/drops/document_drop.rb
176
+ - lib/jekyll/drops/drop.rb
177
+ - lib/jekyll/drops/excerpt_drop.rb
178
+ - lib/jekyll/drops/jekyll_drop.rb
179
+ - lib/jekyll/drops/site_drop.rb
180
+ - lib/jekyll/drops/unified_payload_drop.rb
181
+ - lib/jekyll/drops/url_drop.rb
182
+ - lib/jekyll/entry_filter.rb
183
+ - lib/jekyll/errors.rb
184
+ - lib/jekyll/excerpt.rb
185
+ - lib/jekyll/external.rb
186
+ - lib/jekyll/filters.rb
187
+ - lib/jekyll/frontmatter_defaults.rb
188
+ - lib/jekyll/generator.rb
189
+ - lib/jekyll/hooks.rb
190
+ - lib/jekyll/layout.rb
191
+ - lib/jekyll/liquid_extensions.rb
192
+ - lib/jekyll/liquid_renderer.rb
193
+ - lib/jekyll/liquid_renderer/file.rb
194
+ - lib/jekyll/liquid_renderer/table.rb
195
+ - lib/jekyll/log_adapter.rb
196
+ - lib/jekyll/mime.types
197
+ - lib/jekyll/page.rb
198
+ - lib/jekyll/plugin.rb
199
+ - lib/jekyll/plugin_manager.rb
200
+ - lib/jekyll/publisher.rb
201
+ - lib/jekyll/reader.rb
202
+ - lib/jekyll/readers/collection_reader.rb
203
+ - lib/jekyll/readers/data_reader.rb
204
+ - lib/jekyll/readers/layout_reader.rb
205
+ - lib/jekyll/readers/page_reader.rb
206
+ - lib/jekyll/readers/post_reader.rb
207
+ - lib/jekyll/readers/static_file_reader.rb
208
+ - lib/jekyll/regenerator.rb
209
+ - lib/jekyll/related_posts.rb
210
+ - lib/jekyll/renderer.rb
211
+ - lib/jekyll/site.rb
212
+ - lib/jekyll/static_file.rb
213
+ - lib/jekyll/stevenson.rb
214
+ - lib/jekyll/tags/highlight.rb
215
+ - lib/jekyll/tags/include.rb
216
+ - lib/jekyll/tags/post_url.rb
217
+ - lib/jekyll/url.rb
218
+ - lib/jekyll/utils.rb
219
+ - lib/jekyll/utils/ansi.rb
220
+ - lib/jekyll/utils/platforms.rb
221
+ - lib/jekyll/version.rb
222
+ - lib/site_template/.gitignore
223
+ - lib/site_template/_config.yml
224
+ - lib/site_template/_includes/footer.html
225
+ - lib/site_template/_includes/head.html
226
+ - lib/site_template/_includes/header.html
227
+ - lib/site_template/_includes/icon-github.html
228
+ - lib/site_template/_includes/icon-github.svg
229
+ - lib/site_template/_includes/icon-twitter.html
230
+ - lib/site_template/_includes/icon-twitter.svg
231
+ - lib/site_template/_layouts/default.html
232
+ - lib/site_template/_layouts/page.html
233
+ - lib/site_template/_layouts/post.html
234
+ - lib/site_template/_pages/about.md
235
+ - lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb
236
+ - lib/site_template/_sass/_base.scss
237
+ - lib/site_template/_sass/_layout.scss
238
+ - lib/site_template/_sass/_syntax-highlighting.scss
239
+ - lib/site_template/css/main.scss
240
+ - lib/site_template/feed.xml
241
+ - lib/site_template/index.html
242
+ - lib/theme_template/CODE_OF_CONDUCT.md.erb
243
+ - lib/theme_template/Gemfile
244
+ - lib/theme_template/LICENSE.txt.erb
245
+ - lib/theme_template/README.md.erb
246
+ - lib/theme_template/Rakefile.erb
247
+ - lib/theme_template/_layouts/default.html
248
+ - lib/theme_template/_layouts/page.html
249
+ - lib/theme_template/_layouts/post.html
250
+ - lib/theme_template/example/_config.yml.erb
251
+ - lib/theme_template/example/_post.md
252
+ - lib/theme_template/example/index.html
253
+ - lib/theme_template/example/style.scss
254
+ - lib/theme_template/gitignore.erb
255
+ - lib/theme_template/theme.gemspec.erb
149
256
  homepage: https://gitlab.com/blackboard/gem.git
150
257
  licenses:
151
258
  - MIT