middleman-presentation 0.15.7 → 0.15.8
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99bc0c9733d88958450afb77b0b2e90bd61704a7
|
|
4
|
+
data.tar.gz: 73a2323001eb77ce1ef3d458759dcf080d86bdb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 569d45deb461ba5d42cbb088e16a44c5293cc3c2bb25c1c93b1b4941a2d9c4813e84662ee9ddf76cc5b110790225094418e99970d754f878bea951e2fec06379
|
|
7
|
+
data.tar.gz: 1edb1f148b29c29980db863fa5e38b688230145d31eb0b168cb05ee5065346e82dd44b82f42b4f4afec8c36da6629679419c115e0a7201863638576416a90976
|
data/Gemfile.lock
CHANGED
|
@@ -118,9 +118,21 @@ Feature: Initialize presentation
|
|
|
118
118
|
speaker: TestUser
|
|
119
119
|
"""
|
|
120
120
|
|
|
121
|
+
Scenario: Use language from configuration file
|
|
122
|
+
Given a file named "~/.config/middleman/presentation/presentations.yaml" with:
|
|
123
|
+
"""
|
|
124
|
+
language: de
|
|
125
|
+
"""
|
|
126
|
+
When I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation"`
|
|
127
|
+
And I cd to "presentation1"
|
|
128
|
+
Then the file "source/slides/999980.html.erb" should contain:
|
|
129
|
+
"""
|
|
130
|
+
Fragen
|
|
131
|
+
"""
|
|
132
|
+
|
|
121
133
|
Scenario: German umlauts, French accents and special chars are not a problem for project id
|
|
122
134
|
When I successfully run `middleman-presentation create presentation presentation1 --title "üöà~?§$%&/()=#!"`
|
|
123
|
-
|
|
135
|
+
And I cd to "presentation1"
|
|
124
136
|
And the file "data/metadata.yml" should contain:
|
|
125
137
|
"""
|
|
126
138
|
project_id: uoa
|
|
@@ -131,9 +143,8 @@ Feature: Initialize presentation
|
|
|
131
143
|
| variable | value |
|
|
132
144
|
| LANG | de_DE.UTF-8|
|
|
133
145
|
When I successfully run `middleman-presentation create presentation presentation1 --title "My Presentation"`
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
And the file "source/slides/999980.html.erb" should contain:
|
|
146
|
+
And I cd to "presentation1"
|
|
147
|
+
Then the file "source/slides/999980.html.erb" should contain:
|
|
137
148
|
"""
|
|
138
149
|
Fragen
|
|
139
150
|
"""
|
data/features/slide-cli.feature
CHANGED
|
@@ -304,7 +304,6 @@ Feature: Add new slide
|
|
|
304
304
|
Then the following files should exist:
|
|
305
305
|
| source/slides/01namespace/01.html.md |
|
|
306
306
|
|
|
307
|
-
@wip
|
|
308
307
|
Scenario: Create Group with same name as slide
|
|
309
308
|
When I successfully run `middleman slide 01:01`
|
|
310
309
|
Then the following files should exist:
|
|
@@ -39,7 +39,7 @@ module Middleman
|
|
|
39
39
|
|
|
40
40
|
class_option :create_predefined_slides, type: :boolean, default: Middleman::Presentation.config.create_predefined_slides, desc: 'Install predefined slides'
|
|
41
41
|
|
|
42
|
-
class_option :language, type: :array, desc: 'Language to use for translatable slide templates, e.g. "de", "en"'
|
|
42
|
+
class_option :language, default: Middleman::Presentation.config.language, type: :array, desc: 'Language to use for translatable slide templates, e.g. "de", "en"'
|
|
43
43
|
class_option :version, default: Middleman::Presentation.config.default_version_number, desc: 'Version number for your presentation'
|
|
44
44
|
|
|
45
45
|
argument :directory, default: Dir.getwd, desc: 'Directory to create presentation in'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: middleman-presentation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Max Meyer
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-08-
|
|
12
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: middleman
|