asciidoctor-revealjs 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: f17adb228c81df3f330ecd97c9d714daaf373dd7
4
- data.tar.gz: e9093a912c533f637661ad9eadc8d6661e923199
3
+ metadata.gz: 5368399f156f92de3794d4919d8fc0740fbec78d
4
+ data.tar.gz: 3ad253db3e4038170b061836a8fe4c27c35fd674
5
5
  SHA512:
6
- metadata.gz: 7e35b9133b7406edf2d4a0a5e9aec0c38b6672036a06ce32fae84f348c73e1b124ee137f3097328f9005965fa1ab90f0eca97e3d56abeba232154fc5d921a56e
7
- data.tar.gz: 58b3fa54575ea6af8dd1d5fb27fe7086c6bf9de65a6a7779154fd12b6ea1ddac120d27a9c37d9cd683e4ffb77cb3494eeeabf03e9976f6a9d1f3a0389fc7d1ad
6
+ metadata.gz: dd3c0ec294a8b66ad5cf1d761642d30b8b461a1a4f54e8021997dd0a7960f82afdf0a780f576b1680188e3bda89693c6dfcdf64b131addd98ec1c17e7adce937
7
+ data.tar.gz: b44326137fc221a903834d047254c34b30d335d263913e12e9fb77618e5bbaca0f298aab8be8374f54ffdae926b8ede32c51e045a13caba701bc78002e91cb2d
@@ -5,20 +5,11 @@
5
5
  This document provides a high-level view of the changes introduced in {project-name} by release.
6
6
  For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
7
7
 
8
- == 1.0.0 (2016-09-06) - @obilodeau
9
-
10
- Since this is the first ever "release" of asciidoctor-reveal.js (we used to do continuous improvements w/o releases in the past), this list focuses on the major enhancements introduced over the last few weeks.
8
+ == 1.0.1 (2016-10-12) - @obilodeau
11
9
 
12
10
  Enhancements::
13
- * Initial release
14
- * Ruby package (#93)
15
- * Node package (#95)
16
- * `:customcss:` attribute for easy per-presentation CSS (#85)
17
- * Video support improvements (#81)
18
- * Reveal.js `data-state` support (#61)
19
- * Subtitle partioning (#70)
20
- * Background image rework (#52)
21
- * `:imagesdir:` properly enforced (#17, #67)
11
+ * Documentation: aligned release process for both npm and ruby gems packages
12
+ * npm package in sync with ruby gem
22
13
 
23
14
  ////
24
15
  Compliance::
@@ -31,12 +22,27 @@ Infrastructure::
31
22
  * item
32
23
  ////
33
24
 
25
+ == 1.0.0 (2016-10-06) - @obilodeau
26
+
27
+ Since this is the first ever "release" of asciidoctor-reveal.js (we used to do continuous improvements w/o releases in the past), this list focuses on the major enhancements introduced over the last few weeks.
28
+
29
+ Enhancements::
30
+ * Initial release
31
+ * Ruby package (#93)
32
+ * Node package (#95)
33
+ * `:customcss:` attribute for easy per-presentation CSS (#85)
34
+ * Video support improvements (#81)
35
+ * Reveal.js `data-state` support (#61)
36
+ * Subtitle partioning (#70)
37
+ * Background image rework (#52)
38
+ * `:imagesdir:` properly enforced (#17, #67)
39
+
34
40
  === Release meta
35
41
 
36
42
  Released by @obilodeau
37
43
 
38
- {uri-repo}/issues?q=milestone%3A1.0[issues resolved] |
39
- {uri-repo}/releases/tag/1.0[git tag]
44
+ {uri-repo}/issues?q=milestone%3A1.0.0[issues resolved] |
45
+ {uri-repo}/releases/tag/v1.0.0[git tag]
40
46
  // TODO full-diff when we can at the next release
41
47
 
42
48
  === Credits
@@ -213,26 +213,14 @@ NOTE: The relative portion of the last command is where you are installing the l
213
213
  Then proceed as documented in the `README.adoc`.
214
214
 
215
215
 
216
- === Publish a new version
216
+ == Release process
217
217
 
218
- . Update the "version" field in `package.json`
219
- . Commit and push your changes
220
- . Create a tag
221
- . Using npm:
218
+ . Update the version in `lib/asciidoctor-revealjs/version.rb` and `package.json`
219
+ . Update the changelog
220
+ ** Generate author list with:
222
221
  +
223
- $ npm login
224
- $ npm publish
225
-
226
- . Check that the new version is available on https://www.npmjs.com/package/asciidoctor-reveal.js[npmjs.com]
227
-
228
-
229
- == Ruby gem
222
+ git log <commit>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort
230
223
 
231
- === Publish a new version
232
-
233
- . Update the version in `lib/asciidoctor-revealjs/version.rb`
234
- . Update the changelog
235
- ** Generate author list with `git log <commit>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort `
236
224
  . Prepare release commit
237
225
  ** commit msg: Prepare %version% release
238
226
  ** release commit (--allow-empty) msg: Release %version%
@@ -245,6 +233,12 @@ Then proceed as documented in the `README.adoc`.
245
233
  $ gem push asciidoctor-revealjs-X.Y.Z.gem
246
234
 
247
235
  . Check that the new version is available on https://rubygems.org/gems/asciidoctor-revealjs[rubygems.org]
236
+ . Publish the node package on npm:
237
+ +
238
+ $ npm login
239
+ $ npm publish
240
+
241
+ . Check that the new version is available on https://www.npmjs.com/package/asciidoctor-reveal.js[npmjs.com]
248
242
  . Update version (+1 bugfix and append '.dev') and commit
249
243
  ** commit msg: Begin development on next release
250
244
 
@@ -63,7 +63,8 @@ NOTE: These instructions should be repeated for every presentation project.
63
63
  ----
64
64
  source 'https://rubygems.org'
65
65
 
66
- gem 'asciidoctor-revealjs', github: 'asciidoctor/asciidoctor-reveal.js'
66
+ gem 'asciidoctor-revealjs' # latest released version
67
+ #gem 'asciidoctor-revealjs', github: 'asciidoctor/asciidoctor-reveal.js' # github master branch
67
68
  ----
68
69
  +
69
70
  NOTE: For some reason, when you use the system Ruby on Fedora, you also have to add the json gem to the Gemfile.
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.email = ['olivier@bottomlesspit.org']
9
9
  s.homepage = 'https://github.com/asciidoctor/asciidoctor-reveal.js'
10
10
  s.summary = 'Converts AsciiDoc to HTML for a Reveal.js presentation'
11
- s.description = 'An Asciidoctor converter that generates the HTML component of a Reveal.js presentation from AsciiDoc.'
11
+ s.description = 'Reveal.JS back-end for Asciidoctor and Asciidoctor.js. Write slides in AsciiDoc!'
12
12
  s.license = 'MIT'
13
13
  s.required_ruby_version = '>= 1.9.3'
14
14
 
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Revealjs
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-revealjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bilodeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-07 00:00:00.000000000 Z
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -66,8 +66,8 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 10.4.2
69
- description: An Asciidoctor converter that generates the HTML component of a Reveal.js
70
- presentation from AsciiDoc.
69
+ description: Reveal.JS back-end for Asciidoctor and Asciidoctor.js. Write slides in
70
+ AsciiDoc!
71
71
  email:
72
72
  - olivier@bottomlesspit.org
73
73
  executables:
@@ -158,7 +158,6 @@ files:
158
158
  - templates/slim/inline_menu.html.slim
159
159
  - templates/slim/inline_quoted.html.slim
160
160
  - templates/slim/section.html.slim
161
- - templates/slim/section.html.slim.orig
162
161
  homepage: https://github.com/asciidoctor/asciidoctor-reveal.js
163
162
  licenses:
164
163
  - MIT
@@ -1,97 +0,0 @@
1
- / OPTIONS PROCESSING
2
- / strip IDs the same way revealjs does (remove when hakimel/reveal.js#1230 is fixed)
3
- - @id = @id.gsub(/[^a-zA-Z0-9\-\_\:\.]/, '')
4
-
5
- / hide slides on %conceal, %notitle and named "!"
6
- - titleless = (title = self.title) == '!'
7
- - hide_title = (titleless || (option? :notitle) || (option? :conceal))
8
-
9
- - vertical_slides = find_by(context: :section) {|section| section.level == 2 }
10
-
11
- / extracting block image attributes to find an image to use as a
12
- / background_image attribute
13
- - data_background_image, data_background_size, data_background_repeat,
14
- data_background_transition = nil
15
-
16
- / process the first image block in the current section that acts as a background
17
- - section_images = blocks.map do |block|
18
- - if (ctx = block.context) == :image
19
- - ['background', 'canvas'].include?(block.attr 1) ? block : []
20
- - elsif ctx == :section
21
- - []
22
- - else
23
- - block.find_by(context: :image) {|image| ['background', 'canvas'].include?(image.attr 1) } || []
24
- - if (bg_image = section_images.flatten.first)
25
- - data_background_image = image_uri(bg_image.attr 'target')
26
- / make sure no crash on nil and default values make sense
27
- - data_background_size = bg_image.attr 'size'
28
- - data_background_repeat = bg_image.attr 'repeat'
29
- - data_background_transition = bg_image.attr 'transition'
30
-
31
- / background-image section attribute overrides the image one
32
- - if attr? 'background-image'
33
- - data_background_image = image_uri(attr 'background-image')
34
-
35
- - if attr? 'background-color'
36
- - data_background_color = attr 'background-color'
37
-
38
- / RENDERING
39
- / render parent section of vertical slides set
40
- - if @level == 1 && !vertical_slides.empty?
41
- section
42
- <<<<<<< HEAD
43
- / TODO: try to get rid of duplication w/ standalone slide section
44
- section(id=(titleless ? nil : @id)
45
- class=roles
46
- data-transition=(attr 'transition')
47
- data-transition-speed=(attr 'transition-speed')
48
- data-background-color=data_background_color
49
- data-background-image=data_background_image
50
- data-background-size=(data_background_size || attr('background-size'))
51
- data-background-repeat=(data_background_repeat || attr('background-repeat'))
52
- data-background-transition=(data_background_transition || attr('background-transition'))
53
- data-background-iframe=(attr "background-iframe")
54
- data-background-video=(attr "background-video")
55
- data-background-video-loop=((attr? 'background-video-loop') || (option? 'loop'))
56
- data-background-video-muted=((attr? 'background-video-muted') || (option? 'muted')))
57
-
58
- =======
59
- section id=(hide_title ? nil : @id) data-state=(attr 'data-state') data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
60
- >>>>>>> fc370f99c97d6c4ec041d39a07912afe73e4fdf3
61
- - unless hide_title
62
- h2=title
63
- - (blocks - vertical_slides).each do |block|
64
- =block.convert
65
- - vertical_slides.each do |subsection|
66
- =subsection.convert
67
-
68
- / render standalone slides (or vertical slide subsection)
69
- - else
70
- <<<<<<< HEAD
71
- - if @level >= 3
72
- / dynamic tags which maps <hX> with level
73
- *{tag: %(h#{@level})} =title
74
- =======
75
- section id=(hide_title ? nil : @id) data-state=(attr 'data-state') data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
76
- - unless hide_title
77
- h2=title
78
- >>>>>>> fc370f99c97d6c4ec041d39a07912afe73e4fdf3
79
- =content.chomp
80
- - else
81
- section(id=(titleless ? nil : @id)
82
- class=roles
83
- data-transition=(attr 'transition')
84
- data-transition-speed=(attr 'transition-speed')
85
- data-background-color=data_background_color
86
- data-background-image=data_background_image
87
- data-background-size=(data_background_size || attr('background-size'))
88
- data-background-repeat=(data_background_repeat || attr('background-repeat'))
89
- data-background-transition=(data_background_transition || attr('background-transition'))
90
- data-background-iframe=(attr "background-iframe")
91
- data-background-video=(attr "background-video")
92
- data-background-video-loop=((attr? 'background-video-loop') || (option? 'loop'))
93
- data-background-video-muted=((attr? 'background-video-muted') || (option? 'muted')))
94
-
95
- - unless hide_title
96
- h2=title
97
- =content.chomp