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: 58c10edea93c0d927782843a1d76e3f5142d19e9
4
- data.tar.gz: 1baaeed9de730c623a6f7fa494233258a96ee1e3
3
+ metadata.gz: 99bc0c9733d88958450afb77b0b2e90bd61704a7
4
+ data.tar.gz: 73a2323001eb77ce1ef3d458759dcf080d86bdb3
5
5
  SHA512:
6
- metadata.gz: ccb0426eba03d4cadf0d866f8dd7de7180b2bee44e4bc7d839e288002d701b4ceb8e7da39e561a20474ea72f1d75c74e1558e0768e3807e0d0a9c42ee4f604f2
7
- data.tar.gz: 7e5c658770ef6ae0c1b9bf019c9f77241a08cf177a58d2110d1bfffb838726a3ca699f05c82a130dd81979f0015518ec367ef0c38d91569c0bdb5efd459d9987
6
+ metadata.gz: 569d45deb461ba5d42cbb088e16a44c5293cc3c2bb25c1c93b1b4941a2d9c4813e84662ee9ddf76cc5b110790225094418e99970d754f878bea951e2fec06379
7
+ data.tar.gz: 1edb1f148b29c29980db863fa5e38b688230145d31eb0b168cb05ee5065346e82dd44b82f42b4f4afec8c36da6629679419c115e0a7201863638576416a90976
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- middleman-presentation (0.15.6)
14
+ middleman-presentation (0.15.7)
15
15
  addressable (~> 2.3.5)
16
16
  bundler
17
17
  erubis
@@ -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
- When I cd to "presentation1"
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
- When I cd to "presentation1"
135
- When I successfully run `env`
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
  """
@@ -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'
@@ -3,6 +3,6 @@
3
3
  module Middleman
4
4
  # Presentation
5
5
  module Presentation
6
- VERSION = '0.15.7'
6
+ VERSION = '0.15.8'
7
7
  end
8
8
  end
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.7
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-13 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman