revealing 1.7.1 → 1.8.0

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: 6b180ab4da6a2867654ca51da49884705aa5b079ef79a262541bb0c183025134
4
- data.tar.gz: 9056ac5328a69df0094da47bed70835fc0e6acf5a16638e4528fa845f73a1902
3
+ metadata.gz: ba0459725f394a996bff9d927b894b0e0832ebc03bcd62ae7ed46ce0f12b4ca3
4
+ data.tar.gz: cfa2bba3e6504479eea98c3ce22abef6248211011abef59b11a970fd42e2373b
5
5
  SHA512:
6
- metadata.gz: 5543fd86c1184fe32409bf3ad00c9f21e6f0fee19aa7c591dd150ad793c69574c9dbacd865d75a387094c4689c2d98864ea5cf270f0e24d69e5fad076bff5cee
7
- data.tar.gz: daf22681dc8e97435648e39c1d13eeedb3e7063439cbf9a6a07c066ca9155aff4aa115984f8d0e6f4d9e034ab6cc1957e7dd198c2718c4aafbb5a59ec5e1946b
6
+ metadata.gz: dcbf7a782297e19eefd4b8834b6b7fa8051a5966c885e69fdc65c40663ff86634a147f85aa9d87b9ee71c60824b42d66e5b56f55b090c74ab4f55690c59f7336
7
+ data.tar.gz: a8f3fed0cae1b4e2415df18ea6ddb18636bc5e73f903d5412d5fa74fcc8d82c8063d4e4d28e8bd260f133bf639de3c02c10aeaecb9630c187550a9d5b2e7e1be
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "09:00"
8
+ open-pull-requests-limit: 10
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  .DS_Store
2
2
  .envrc
3
+ .rake_tasks
3
4
  Gemfile.lock
4
5
  pkg
5
6
  tmp
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7
2
+ TargetRubyVersion: 3.1
3
3
  Include:
4
4
  - '**/Gemfile'
5
5
  - '**/Rakefile'
@@ -14,6 +14,8 @@ AllCops:
14
14
  DisplayStyleGuide:
15
15
  Enabled: true
16
16
 
17
+ NewCops: enable
18
+
17
19
  Metrics/BlockLength:
18
20
  Exclude:
19
21
  - spec/**/*
@@ -34,4 +36,4 @@ Lint/MixedRegexpCaptureTypes: { Enabled: true }
34
36
  Style/RedundantFetchBlock: { Enabled: true }
35
37
  Style/RedundantRegexpCharacterClass: { Enabled: true }
36
38
  Style/RedundantRegexpEscape: { Enabled: true }
37
- Style/SlicingWithRange: { Enabled: true }
39
+ Style/SlicingWithRange: { Enabled: true }
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.1.2
data/.travis.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  dist: xenial
3
3
  language: ruby
4
4
  rvm:
5
- - 2.7.1
5
+ - 3.1.2
data/README.markdown CHANGED
@@ -1,6 +1,6 @@
1
1
  # `revealing` - A Workflow for reveal.js Presentations
2
2
 
3
- [![Build Status](https://travis-ci.org/suhlig/revealing.svg?branch=master)](https://travis-ci.org/suhlig/revealing)
3
+ [![Build Status](https://app.travis-ci.com/suhlig/revealing.svg?branch=master)](https://app.travis-ci.com/suhlig/revealing)
4
4
 
5
5
  This gem provides a set of [`Rake`](https://github.com/ruby/rake) tasks to create [`reveal.js`](https://revealjs.com) presentations from markdown files. It uses [`pandoc`](https://pandoc.org/) to create the final presentation. The output is a self-contained set of static HTML files that can be viewed locally uploaded to a web server.
6
6
 
@@ -8,6 +8,7 @@ def print_duplicates(list)
8
8
  warn 'Consider renaming them to be unique.'
9
9
  end
10
10
 
11
+ # rubocop:disable Metrics/AbcSize
11
12
  def refute_duplicate_basename(assets)
12
13
  assets = assets.map { |f| Pathname(f) }
13
14
  basenames = assets.map(&:basename)
@@ -20,6 +21,7 @@ def refute_duplicate_basename(assets)
20
21
  print_duplicates(list)
21
22
  raise
22
23
  end
24
+ # rubocop:enable Metrics/AbcSize
23
25
 
24
26
  refute_duplicate_basename(RESIZABLE_ASSETS)
25
27
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- REVEAL_JS_VERSION = ENV.fetch('REVEAL_JS_VERSION', '3.9.2')
3
+ REVEAL_JS_VERSION = ENV.fetch('REVEAL_JS_VERSION', '4.3.1')
4
4
 
5
5
  desc 'reveal.js is present'
6
6
  directory REVEAL_JS_TARGET_DIR => TARGET_DIR do |target|
@@ -10,7 +10,7 @@ directory REVEAL_JS_TARGET_DIR => TARGET_DIR do |target|
10
10
  warn "Downloading reveal.js #{REVEAL_JS_VERSION}. Set REVEAL_JS_DIR in order to use a cached version."
11
11
  sh "curl --location https://github.com/hakimel/reveal.js/archive/#{REVEAL_JS_VERSION}.tar.gz | tar xz -C #{target.name} --strip-components 1"
12
12
  else
13
- warn "Using cached version of reveal.js from #{ENV['REVEAL_JS_DIR']}"
14
- cp_r FileList["#{ENV['REVEAL_JS_DIR']}/."], target.name, remove_destination: true
13
+ warn "Using cached version of reveal.js from #{ENV.fetch('REVEAL_JS_DIR', nil)}"
14
+ cp_r FileList["#{ENV.fetch('REVEAL_JS_DIR', nil)}/."], target.name, remove_destination: true
15
15
  end
16
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Revealing
4
- VERSION = '1.7.1'
4
+ VERSION = '1.8.0'
5
5
  end
data/revealing.gemspec CHANGED
@@ -40,5 +40,6 @@ Gem::Specification.new do |spec|
40
40
  spec.add_development_dependency 'rspec'
41
41
  spec.add_development_dependency 'rspec-collection_matchers'
42
42
  spec.add_development_dependency 'rubocop'
43
+ spec.add_development_dependency 'rubocop-rspec'
43
44
  end
44
45
  # rubocop:enable Metrics/BlockLength
data/templates/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  gpp
2
2
  public_html
3
+ .rake_tasks
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revealing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steffen Uhlig
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-24 00:00:00.000000000 Z
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -220,6 +220,20 @@ dependencies:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: rubocop-rspec
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
223
237
  description: |-
224
238
  Provides a workflow for creating reveal.js
225
239
  presentations. It uses pandoc to create the
@@ -231,6 +245,7 @@ executables:
231
245
  extensions: []
232
246
  extra_rdoc_files: []
233
247
  files:
248
+ - ".github/dependabot.yml"
234
249
  - ".gitignore"
235
250
  - ".overcommit.yml"
236
251
  - ".rspec"
@@ -254,7 +269,7 @@ files:
254
269
  - templates/Gemfile
255
270
  - templates/README.markdown
256
271
  - templates/Rakefile
257
- - templates/headers/mathjax.js
272
+ - templates/headers/mathjax.html
258
273
  - templates/metadata.yml
259
274
  - templates/src/index.markdown
260
275
  - tools/pandoc-ditaa-inline/README.markdown
@@ -264,11 +279,11 @@ files:
264
279
  - tools/pandoc-ditaa-inline/examples/example.markdown
265
280
  - tools/pandoc-ditaa-inline/examples/example.png
266
281
  - tools/pandoc-ditaa-inline/lib/ditaa-0.11.0-standalone.jar
267
- homepage:
282
+ homepage:
268
283
  licenses:
269
284
  - MIT
270
285
  metadata: {}
271
- post_install_message:
286
+ post_install_message:
272
287
  rdoc_options: []
273
288
  require_paths:
274
289
  - lib
@@ -283,8 +298,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
298
  - !ruby/object:Gem::Version
284
299
  version: '0'
285
300
  requirements: []
286
- rubygems_version: 3.1.4
287
- signing_key:
301
+ rubygems_version: 3.3.7
302
+ signing_key:
288
303
  specification_version: 4
289
304
  summary: Rake tasks to for reveal.js presentations
290
305
  test_files: []