middleman-presentation-core 0.16.0.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +7 -0
  2. data/.rdebugrc +7 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +52 -0
  5. data/.simplecov +25 -0
  6. data/.yardopts +5 -0
  7. data/Guardfile +13 -0
  8. data/LICENSE.software +21 -0
  9. data/Rakefile +200 -0
  10. data/config/license_finder.yml +13 -0
  11. data/cucumber.yml +2 -0
  12. data/doc/licenses/dependencies.csv +55 -0
  13. data/doc/licenses/dependencies.db +0 -0
  14. data/doc/licenses/dependencies.html +1415 -0
  15. data/doc/licenses/dependencies.md +603 -0
  16. data/doc/licenses/dependencies_detailed.csv +190 -0
  17. data/doc/yard/.keep +0 -0
  18. data/features/build_presentation.feature +62 -0
  19. data/features/code_highlighting.feature +43 -0
  20. data/features/components.feature +29 -0
  21. data/features/create_plugin-cli.feature +11 -0
  22. data/features/create_presentation-cli.feature +349 -0
  23. data/features/create_slide-cli.feature +188 -0
  24. data/features/create_slides-templates-cli.feature +114 -0
  25. data/features/create_theme-cli.feature +58 -0
  26. data/features/default_slides.feature +58 -0
  27. data/features/edit_slide-cli.feature +121 -0
  28. data/features/export_presentation-cli.feature +23 -0
  29. data/features/grouping_slides.feature +150 -0
  30. data/features/ignore_slides.feature +103 -0
  31. data/features/init_application-cli.feature +59 -0
  32. data/features/init_predefined_slides.feature +9 -0
  33. data/features/language_detection.feature +0 -0
  34. data/features/list_assets-cli.feature +13 -0
  35. data/features/list_components-cli.feature +13 -0
  36. data/features/list_helpers-cli.feature +13 -0
  37. data/features/list_plugins-cli.feature +13 -0
  38. data/features/list_styles-cli.feature +17 -0
  39. data/features/plugins.feature +63 -0
  40. data/features/presentation.feature +57 -0
  41. data/features/rename_slide-cli.feature +176 -0
  42. data/features/render_slides.feature +76 -0
  43. data/features/show_config-cli.feature +25 -0
  44. data/features/show_footer.feature +14 -0
  45. data/features/show_slide_number.feature +31 -0
  46. data/features/show_support_information-cli.feature +12 -0
  47. data/features/support/aruba.rb +18 -0
  48. data/features/support/ci.rb +3 -0
  49. data/features/support/env.rb +25 -0
  50. data/features/support/fixtures.rb +21 -0
  51. data/features/support/hash.rb +2 -0
  52. data/features/support/reporting.rb +2 -0
  53. data/features/version_number.feature +15 -0
  54. data/fixtures/middleman-presentation-simple_plugin/Rakefile +1 -0
  55. data/fixtures/middleman-presentation-simple_plugin/lib/middleman-presentation-plugin.rb +0 -0
  56. data/fixtures/middleman-presentation-simple_plugin/lib/middleman-presentation-simple_plugin/helpers.rb +13 -0
  57. data/fixtures/middleman-presentation-simple_plugin/lib/middleman-presentation-simple_plugin/plugin.rb +34 -0
  58. data/fixtures/middleman-presentation-simple_plugin/lib/middleman-presentation-simple_plugin/version.rb +8 -0
  59. data/fixtures/middleman-presentation-simple_plugin/lib/middleman-presentation-simple_plugin.rb +11 -0
  60. data/fixtures/middleman-presentation-simple_plugin/middleman-presentation-simple_plugin.gemspec +22 -0
  61. data/fixtures/middleman-presentation-simple_plugin/vendor/assets/stylesheets/test_simple.scss +3 -0
  62. data/lib/middleman-presentation-core/application_config.rb +198 -0
  63. data/lib/middleman-presentation-core/asset.rb +103 -0
  64. data/lib/middleman-presentation-core/asset_component.rb +34 -0
  65. data/lib/middleman-presentation-core/asset_list.rb +84 -0
  66. data/lib/middleman-presentation-core/asset_store.rb +73 -0
  67. data/lib/middleman-presentation-core/assets_loader.rb +95 -0
  68. data/lib/middleman-presentation-core/assets_manager.rb +73 -0
  69. data/lib/middleman-presentation-core/cache.rb +49 -0
  70. data/lib/middleman-presentation-core/cli/base.rb +30 -0
  71. data/lib/middleman-presentation-core/cli/base_group.rb +11 -0
  72. data/lib/middleman-presentation-core/cli/build.rb +13 -0
  73. data/lib/middleman-presentation-core/cli/build_presentation.rb +57 -0
  74. data/lib/middleman-presentation-core/cli/change.rb +13 -0
  75. data/lib/middleman-presentation-core/cli/change_slide.rb +82 -0
  76. data/lib/middleman-presentation-core/cli/create.rb +16 -0
  77. data/lib/middleman-presentation-core/cli/create_plugin.rb +62 -0
  78. data/lib/middleman-presentation-core/cli/create_presentation.rb +300 -0
  79. data/lib/middleman-presentation-core/cli/create_slide.rb +52 -0
  80. data/lib/middleman-presentation-core/cli/create_theme.rb +81 -0
  81. data/lib/middleman-presentation-core/cli/edit.rb +13 -0
  82. data/lib/middleman-presentation-core/cli/edit_slide.rb +49 -0
  83. data/lib/middleman-presentation-core/cli/export.rb +11 -0
  84. data/lib/middleman-presentation-core/cli/export_presentation.rb +55 -0
  85. data/lib/middleman-presentation-core/cli/init.rb +12 -0
  86. data/lib/middleman-presentation-core/cli/init_application.rb +48 -0
  87. data/lib/middleman-presentation-core/cli/init_predefined_slides.rb +31 -0
  88. data/lib/middleman-presentation-core/cli/list.rb +66 -0
  89. data/lib/middleman-presentation-core/cli/reset_thor.rb +18 -0
  90. data/lib/middleman-presentation-core/cli/runner.rb +47 -0
  91. data/lib/middleman-presentation-core/cli/serve.rb +13 -0
  92. data/lib/middleman-presentation-core/cli/serve_presentation.rb +30 -0
  93. data/lib/middleman-presentation-core/cli/shared.rb +51 -0
  94. data/lib/middleman-presentation-core/cli/show.rb +70 -0
  95. data/lib/middleman-presentation-core/comparable_slide.rb +69 -0
  96. data/lib/middleman-presentation-core/component.rb +86 -0
  97. data/lib/middleman-presentation-core/components_manager.rb +96 -0
  98. data/lib/middleman-presentation-core/configuration_file.rb +15 -0
  99. data/lib/middleman-presentation-core/css_class_extracter.rb +41 -0
  100. data/lib/middleman-presentation-core/custom_template.rb +15 -0
  101. data/lib/middleman-presentation-core/erb_template.rb +15 -0
  102. data/lib/middleman-presentation-core/errors.rb +10 -0
  103. data/lib/middleman-presentation-core/existing_slide.rb +92 -0
  104. data/lib/middleman-presentation-core/frontend_component.rb +75 -0
  105. data/lib/middleman-presentation-core/group_template.rb +15 -0
  106. data/lib/middleman-presentation-core/helpers_manager.rb +37 -0
  107. data/lib/middleman-presentation-core/ignore_file.rb +52 -0
  108. data/lib/middleman-presentation-core/liquid_template.rb +15 -0
  109. data/lib/middleman-presentation-core/list.rb +7 -0
  110. data/lib/middleman-presentation-core/locale_configurator.rb +84 -0
  111. data/lib/middleman-presentation-core/logger.rb +8 -0
  112. data/lib/middleman-presentation-core/main.rb +55 -0
  113. data/lib/middleman-presentation-core/markdown_template.rb +15 -0
  114. data/lib/middleman-presentation-core/middleman_environment.rb +108 -0
  115. data/lib/middleman-presentation-core/middleman_extension.rb +12 -0
  116. data/lib/middleman-presentation-core/middleman_step_definitions.rb +131 -0
  117. data/lib/middleman-presentation-core/new_slide.rb +140 -0
  118. data/lib/middleman-presentation-core/overwrite_sass.rb +22 -0
  119. data/lib/middleman-presentation-core/plugin.rb +8 -0
  120. data/lib/middleman-presentation-core/plugin_api.rb +65 -0
  121. data/lib/middleman-presentation-core/plugins_manager.rb +7 -0
  122. data/lib/middleman-presentation-core/predefined_slide_templates_directory.rb +15 -0
  123. data/lib/middleman-presentation-core/presentation_helper.rb +69 -0
  124. data/lib/middleman-presentation-core/register_extension.rb +4 -0
  125. data/lib/middleman-presentation-core/roles/comparable_by_name.rb +24 -0
  126. data/lib/middleman-presentation-core/slide_group.rb +33 -0
  127. data/lib/middleman-presentation-core/slide_list.rb +52 -0
  128. data/lib/middleman-presentation-core/slide_name.rb +61 -0
  129. data/lib/middleman-presentation-core/start.rb +68 -0
  130. data/lib/middleman-presentation-core/step_definitions.rb +238 -0
  131. data/lib/middleman-presentation-core/syntax_highlighter.rb +42 -0
  132. data/lib/middleman-presentation-core/test_helpers.rb +22 -0
  133. data/lib/middleman-presentation-core/transformers/file_keeper.rb +13 -0
  134. data/lib/middleman-presentation-core/transformers/group_slides.rb +34 -0
  135. data/lib/middleman-presentation-core/transformers/ignore_slides.rb +28 -0
  136. data/lib/middleman-presentation-core/transformers/remove_duplicate_slides.rb +32 -0
  137. data/lib/middleman-presentation-core/transformers/sort_slides.rb +13 -0
  138. data/lib/middleman-presentation-core/utils.rb +40 -0
  139. data/lib/middleman-presentation-core/version.rb +8 -0
  140. data/lib/middleman-presentation-core.rb +127 -0
  141. data/locales/de.yml +233 -0
  142. data/locales/en.yml +236 -0
  143. data/middleman-presentation-core.gemspec +40 -0
  144. data/source/slides/01.html.liquid +0 -0
  145. data/spec/asset_component_spec.rb +13 -0
  146. data/spec/asset_list_spec.rb +50 -0
  147. data/spec/asset_spec.rb +45 -0
  148. data/spec/asset_store_spec.rb +61 -0
  149. data/spec/assets_manager_spec.rb +111 -0
  150. data/spec/components_manager_spec.rb +142 -0
  151. data/spec/css_class_extracter_spec.rb +28 -0
  152. data/spec/existing_slide_spec.rb +177 -0
  153. data/spec/frontend_component_spec.rb +94 -0
  154. data/spec/helpers_manager_spec.rb +90 -0
  155. data/spec/ignore_file_spec.rb +75 -0
  156. data/spec/new_slide_spec.rb +155 -0
  157. data/spec/presentation_helper_spec.rb +137 -0
  158. data/spec/shared_examples/.keep +0 -0
  159. data/spec/slide_group_spec.rb +54 -0
  160. data/spec/slide_list_spec.rb +125 -0
  161. data/spec/slide_name_spec.rb +53 -0
  162. data/spec/spec_helper.rb +19 -0
  163. data/spec/support/aruba.rb +53 -0
  164. data/spec/support/ci.rb +20 -0
  165. data/spec/support/environment.rb +18 -0
  166. data/spec/support/filesystem.rb +22 -0
  167. data/spec/support/locale.rb +2 -0
  168. data/spec/support/reporting.rb +2 -0
  169. data/spec/support/rspec.rb +9 -0
  170. data/spec/support/string.rb +2 -0
  171. data/spec/transformers/file_keeper_spec.rb +24 -0
  172. data/spec/transformers/group_slides_spec.rb +44 -0
  173. data/spec/transformers/ignore_slides_spec.rb +64 -0
  174. data/spec/transformers/remove_duplicate_slides_spec.rb +120 -0
  175. data/spec/transformers/sort_slides_spec.rb +17 -0
  176. data/spec/utils_spec.rb +14 -0
  177. data/templates/.bowerrc.tt +4 -0
  178. data/templates/.gitignore +5 -0
  179. data/templates/Gemfile.tt +32 -0
  180. data/templates/LICENSE.presentation +1 -0
  181. data/templates/Rakefile +59 -0
  182. data/templates/bower.json.tt +8 -0
  183. data/templates/bundler_config.tt +6 -0
  184. data/templates/config.rb.tt +2 -0
  185. data/templates/config.yaml.tt +17 -0
  186. data/templates/gitignore.tt +14 -0
  187. data/templates/plugin/%plugin_name%.gemspec.tt +24 -0
  188. data/templates/plugin/.gitignore +13 -0
  189. data/templates/plugin/Gemfile.tt +4 -0
  190. data/templates/plugin/LICENSE.txt.tt +22 -0
  191. data/templates/plugin/README.md.tt +31 -0
  192. data/templates/plugin/Rakefile +1 -0
  193. data/templates/plugin/lib/%plugin_name%/version.rb.tt +8 -0
  194. data/templates/plugin/lib/%plugin_name%.rb.tt +10 -0
  195. data/templates/predefined_slides.d/00_00.html.erb.tt +26 -0
  196. data/templates/predefined_slides.d/00_01.html.md.tt +6 -0
  197. data/templates/predefined_slides.d/999980.html.erb.tt +4 -0
  198. data/templates/predefined_slides.d/999981.html.erb.tt +27 -0
  199. data/templates/predefined_slides.d/999982.html.erb.tt +4 -0
  200. data/templates/presentation_theme/bower.json.tt +20 -0
  201. data/templates/presentation_theme/images/.keep +0 -0
  202. data/templates/presentation_theme/javascripts/%theme_name%.js.tt +0 -0
  203. data/templates/presentation_theme/stylesheets/%theme_name%.scss.tt +9 -0
  204. data/templates/presentation_theme/stylesheets/_fonts.scss.tt +0 -0
  205. data/templates/presentation_theme/stylesheets/_images.scss.tt +5 -0
  206. data/templates/presentation_theme/stylesheets/_theme.scss.tt +251 -0
  207. data/templates/rackup.config.erb +16 -0
  208. data/templates/script/bootstrap +5 -0
  209. data/templates/script/build +3 -0
  210. data/templates/script/export +3 -0
  211. data/templates/script/presentation +3 -0
  212. data/templates/script/slide +3 -0
  213. data/templates/script/start +43 -0
  214. data/templates/slides/custom.md.tt +3 -0
  215. data/templates/slides/erb.tt +5 -0
  216. data/templates/slides/group.tt +3 -0
  217. data/templates/slides/liquid.tt +5 -0
  218. data/templates/slides/markdown.tt +3 -0
  219. data/templates/source/index.html.erb +1 -0
  220. data/templates/source/javascripts/application.js.tt +3 -0
  221. data/templates/source/layout.erb +133 -0
  222. data/templates/source/stylesheets/application.scss.tt +3 -0
  223. metadata +574 -0
@@ -0,0 +1,127 @@
1
+ # encoding: utf-8
2
+ require 'middleman-core'
3
+ require 'middleman-core/cli'
4
+ require 'middleman-sprockets'
5
+
6
+ require 'set'
7
+ require 'bundler'
8
+ require 'English'
9
+ # require 'ptools'
10
+ require 'pathname'
11
+ require 'fileutils'
12
+ require 'uri'
13
+ require 'addressable/uri'
14
+ require 'securerandom'
15
+ require 'fedux_org_stdlib/app_config'
16
+ require 'fedux_org_stdlib/logging/logger'
17
+ require 'fedux_org_stdlib/file_template'
18
+ require 'fedux_org_stdlib/template_directory'
19
+ require 'fedux_org_stdlib/list'
20
+ require 'fedux_org_stdlib/core_ext/array/list'
21
+ require 'fedux_org_stdlib/core_ext/hash/list'
22
+ require 'fedux_org_stdlib/core_ext/hash/options'
23
+ require 'fedux_org_stdlib/core_ext/string/characterize'
24
+ require 'fedux_org_stdlib/roles/comparable_by_name'
25
+ require 'fedux_org_stdlib/roles/typable'
26
+ require 'fedux_org_stdlib/core_ext/string/underline'
27
+ require 'fedux_org_stdlib/recursive_file_finder'
28
+ require 'fedux_org_stdlib/shell_language_detector'
29
+ require 'fedux_org_stdlib/support_information'
30
+ require 'fedux_org_stdlib/gem_plugins'
31
+ require 'fedux_org_stdlib/editor'
32
+ require 'securerandom'
33
+ require 'shellwords'
34
+ require 'nokogiri'
35
+ require 'rake/file_list'
36
+ require 'zip'
37
+
38
+ require 'active_support/core_ext/string/strip'
39
+ require 'active_support/core_ext/string/inflections'
40
+ require 'active_support/core_ext/object/blank'
41
+ require 'active_support/core_ext/kernel/reporting'
42
+
43
+ require 'middleman-presentation-core/errors'
44
+ require 'middleman-presentation-core/configuration_file'
45
+ require 'middleman-presentation-core/middleman_environment'
46
+ require 'middleman-presentation-core/overwrite_sass'
47
+ require 'middleman-presentation-core/plugin'
48
+ require 'middleman-presentation-core/version'
49
+ require 'middleman-presentation-core/syntax_highlighter'
50
+ require 'middleman-presentation-core/list'
51
+ require 'middleman-presentation-core/asset_store'
52
+ require 'middleman-presentation-core/plugin_api'
53
+ require 'middleman-presentation-core/logger'
54
+ require 'middleman-presentation-core/application_config'
55
+ require 'middleman-presentation-core/asset_list'
56
+ require 'middleman-presentation-core/cache'
57
+ require 'middleman-presentation-core/asset'
58
+ require 'middleman-presentation-core/presentation_helper'
59
+ require 'middleman-presentation-core/locale_configurator'
60
+ require 'middleman-presentation-core/component'
61
+ require 'middleman-presentation-core/frontend_component'
62
+ require 'middleman-presentation-core/asset_component'
63
+ require 'middleman-presentation-core/plugins_manager'
64
+ require 'middleman-presentation-core/assets_manager'
65
+ require 'middleman-presentation-core/helpers_manager'
66
+ require 'middleman-presentation-core/components_manager'
67
+ require 'middleman-presentation-core/assets_loader'
68
+
69
+ # This loads a lot
70
+ require 'middleman-presentation-core/main'
71
+
72
+ Middleman::Presentation.enable_debug_mode if ENV.key? 'DEBUG'
73
+
74
+ require 'middleman-presentation-core/predefined_slide_templates_directory'
75
+ require 'middleman-presentation-core/comparable_slide'
76
+ require 'middleman-presentation-core/existing_slide'
77
+ require 'middleman-presentation-core/new_slide'
78
+ require 'middleman-presentation-core/css_class_extracter'
79
+ require 'middleman-presentation-core/slide_name'
80
+ require 'middleman-presentation-core/slide_list'
81
+ require 'middleman-presentation-core/ignore_file'
82
+ require 'middleman-presentation-core/slide_group'
83
+ require 'middleman-presentation-core/group_template'
84
+ require 'middleman-presentation-core/erb_template'
85
+ require 'middleman-presentation-core/markdown_template'
86
+ require 'middleman-presentation-core/liquid_template'
87
+ require 'middleman-presentation-core/custom_template'
88
+
89
+ require 'middleman-presentation-core/transformers/group_slides'
90
+ require 'middleman-presentation-core/transformers/sort_slides'
91
+ require 'middleman-presentation-core/transformers/ignore_slides'
92
+ require 'middleman-presentation-core/transformers/remove_duplicate_slides'
93
+ require 'middleman-presentation-core/transformers/file_keeper'
94
+
95
+ require 'middleman-presentation-core/cli/shared'
96
+ require 'middleman-presentation-core/cli/base'
97
+ require 'middleman-presentation-core/cli/base_group'
98
+ require 'middleman-presentation-core/cli/reset_thor'
99
+ require 'middleman-presentation-core/cli/create_theme'
100
+ require 'middleman-presentation-core/cli/create_slide'
101
+ require 'middleman-presentation-core/cli/create_plugin'
102
+ require 'middleman-presentation-core/cli/create_presentation'
103
+ require 'middleman-presentation-core/cli/create'
104
+ require 'middleman-presentation-core/cli/change_slide'
105
+ require 'middleman-presentation-core/cli/change'
106
+ require 'middleman-presentation-core/cli/edit_slide'
107
+ require 'middleman-presentation-core/cli/edit'
108
+ require 'middleman-presentation-core/cli/serve_presentation'
109
+ require 'middleman-presentation-core/cli/build_presentation'
110
+ require 'middleman-presentation-core/cli/build'
111
+ require 'middleman-presentation-core/cli/export_presentation'
112
+ require 'middleman-presentation-core/cli/export'
113
+ require 'middleman-presentation-core/cli/show'
114
+ require 'middleman-presentation-core/cli/serve'
115
+ require 'middleman-presentation-core/cli/list'
116
+ require 'middleman-presentation-core/cli/init_application'
117
+ require 'middleman-presentation-core/cli/init_predefined_slides'
118
+ require 'middleman-presentation-core/cli/init'
119
+ require 'middleman-presentation-core/cli/runner'
120
+
121
+ require 'middleman-presentation-core/utils'
122
+ require 'middleman-presentation-core/test_helpers'
123
+
124
+ require 'middleman-presentation-core/middleman_extension'
125
+ require 'middleman-presentation-core/register_extension'
126
+
127
+ require 'middleman-presentation-core/start'
data/locales/de.yml ADDED
@@ -0,0 +1,233 @@
1
+ ---
2
+ de:
3
+ errors:
4
+ standard_error: "Es ist ein Fehler aufgetreten. Die Fehlermeldung lautet wie folgt:\n%{message}"
5
+ argument_error: Der Wert "%{value}" für "%{argument}" ist unzulässig.
6
+ middleman_build_error: 'Es ist ein Fehler beim Generieren der statischen Variante der Präsentation aufgetreten:'
7
+ zip_filename_error: Der gegebene Dateiname für die ZIP-Datei "%{name}" ist nicht korrekt. Er muss auf ".zip" enden.
8
+ invalid_component: Es werden nur FrontendComponents, Hashes oder Arrays mit Hashes unterstützt.
9
+ undefined_arguments: Mindestens ein argument für %{arguments} muss angegeben werden.
10
+ too_many_arguments: Sie haben zu viele Argument übergeben. Es ist/sind nur "%{count}" Argument(e) erlaubt.
11
+ doubled_arguments: Für %{arguments} darf nur ein Argument angegeben werden.
12
+ template_is_undefined: Sie müssen Informationen über Ihr "Standard-Theme" in der "application.yaml" hinterlegen.
13
+ asset_not_found: Ich bin nicht in der Lage die Datei '%{asset}' zu finden. Prüfen Sie bitte den Pfad und versuchen Sie es erneut.
14
+ slide_not_found: Ich konnte keine Folien finden, welche zu %{patterns} passen.
15
+ duplicate_slide_names: "Ihre Eingabe \"%{slide_names}\" führt zu einer Dopplung bei den Namen für die Folien Ihrer Präsentation. Vielleicht gibt es schon eine existierende Folien mit einem ähnlichen Name, z.B. 01.html.md (markdown) existiert bereit und Sie versuchen eine Folie mit dem Dateinamen 01.html.erb (eruby) anzulegen."
16
+ missing_argument: Sie müssen einen Wert für das Argument "%{argument}" angeben.
17
+ missing_data_attribute: "Sie müssen eine Option in einer Ihrer Konfigurations- oder Datendateien definieren: %{message}."
18
+ invalid_helper_module: Sie haben kein "Ruby-Module" oder einen "Ruby-Block" angeben. Alle anderen Ruby-Datentypen werden nicht unterstützt.
19
+ add_empty_frontend_component: Sie haben versucht eine leere "Frontend"-Komponente hinzuzufügen. Dies wird nicht unterstützt. Bitte prüfen und korrigieren Sie Ihren Quellcode, damit diese Warnmeldung verschwindet.
20
+ use_empty_locale: "Sie haben versucht einen leeren Sprachcode (\"locale\") zu verwenden. Verwenden Sie stattdessen einen der folgenden Sprachcodes %{codes}. Ich werde Ihre Eingabe ignorieren und stattdessen \"%{fallback_locale}\" als Sprachcode verwenden."
21
+ use_invalid_locale: "Sie haben versucht einen unbekannten Sprachcode (\"locale\") zu verwenden. Verwenden Sie stattdessen einen der folgenden Sprachcodes %{codes}. Ich werde Ihre Eingabe ignorieren und stattdessen \"%{fallback_locale}\" als Sprachcode verwenden."
22
+ programm_execution_interrupted: Sie haben die Ausführung von "middleman-presentation" abgebrochen...
23
+ init_middleman_failed: Es ist ein Fehler bei der Ausführung von "middleman init" aufgetreten. Bitte richten Sie das Programm korrekt ein und versuchen Sie es erneut.
24
+ bower_command_not_found: Das "bower"-Programm kann nicht im Pfad "%{path}" gefunden werden. Bitte sorgen Sie dafür, dass es installiert ist und die Umgebungsvariable "PATH" das Verzeichnis enthält, in dem es abgelegt wurde.
25
+ bower_command_failed: "Es ist ein Fehler bei der Ausführung von \"bower\" aufgetreten. Bitte richten Sie das Programm korrekt ein und versuchen Sie es erneut:\n%{result}."
26
+ bundle_command_failed: "Es ist ein Fehler bei der Ausführung von \"bundle\" aufgetreten. Bitte richten Sie das Programm korrekt ein und versuchen Sie es erneut:\n%{result}."
27
+ extension_not_activated: Bitte aktivieren Sie die "middleman"-Erweiterung "presentation" in der "config.rb" und versuchen Sie es erneut.
28
+ path_is_empty: Die Pfad-Variable darf nicht leer sein.
29
+ infos:
30
+ open_slide_in_editor: You've chosen to open the new file in your favorite editor "%{editor}".
31
+ views:
32
+ application:
33
+ help: Beschreibe verfügbare Befehle oder einen bestimmten Befehl
34
+ options:
35
+ debug_mode: 'Aktiviere DEBUG-Modus.'
36
+ edit: 'Start des Editors aus ENV["EDITOR"] um eine Folie zu editieren.'
37
+ editor_command: 'Editor-Kommando, welches benutzt werden soll, z.B. "ENV["EDITOR"] --servername presentation --remote-tab".'
38
+ regex: Suche mit Hilfe regulärer Ausdrücke
39
+ runners:
40
+ init:
41
+ title: 'Initialisiere ...'
42
+ show:
43
+ title: 'Zeige Informationen über ...'
44
+ create:
45
+ title: 'Lege etwas an ...'
46
+ change:
47
+ title: 'Ändere etwas ...'
48
+ list:
49
+ title: 'Liste Informationen über ...'
50
+ export:
51
+ title: 'Exportiere etwas ...'
52
+ build:
53
+ title: 'Exportiere etwas ...'
54
+ serve:
55
+ title: 'Zeige etwas ...'
56
+ edit:
57
+ title: 'Editiere etwas ...'
58
+ presentations:
59
+ create:
60
+ title: 'Erzeuge eine neue Präsentation in Verzeichnis DIR (standard: aktuelles Arbeitsverzeichnis)'
61
+ options:
62
+ runtime_environment: Laufzeit-Umgebung in der middleman-presentation läuft, z.B. "test"
63
+ activate_center: 'Aktiviere "center" in reveal.js'
64
+ activate_controls: 'Aktiviere "controls" in reveal.js'
65
+ activate_embedded: Aktiviere den Embedded-Modus
66
+ activate_fragments: Aktiviere Fragmente
67
+ activate_history: 'Aktiviere "history" in reveal.js'
68
+ activate_keyboard: Aktiviere Shortcuts für die Tastaturnavigation
69
+ activate_loop: Ständige Wiederholung der Präsentation
70
+ activate_mouse_wheel: Ermögliche die Navigation durch die Folien mit dem Mausrad
71
+ activate_overview: Aktivere die Folienübersicht
72
+ activate_progress: 'Aktiviere "progress" in reveal.js'
73
+ activate_rtl: Anzeige der Folien von Rechts nach Links
74
+ activate_slide_number: 'Aktiviere "slide number" in reveal.js'
75
+ activate_touch: Aktivere Touchgesten für die Präsentation
76
+ audience: 'Zielgruppe der Präsentation'
77
+ author: 'Autor der Präsentation'
78
+ auto_slide: Wartezeit für den automatischen Wechsel zwischen den Folien in Millisekunden
79
+ auto_slide_stoppable: Stoppe den automatischen Wechsel zwischen Folien nach einer Benutzereingabe
80
+ bower_directory: 'Verzeichnis für die "bower"-Komponenten im "source"-Verzeichnis'
81
+ check_for_bowe: 'Prüfung durchführen, ob "bower" auf dem System installiert ist'
82
+ company: 'Unternehmen oder Arbeitgeber des Präsentierenden'
83
+ create_predefined_slides: 'Installiere vordefinierte Folien'
84
+ date: 'Datum der Präsentation'
85
+ default_background_transition: Standard-Animation für Vollbild-Hintergründe beim Wechsel der Folien
86
+ default_transition_speed: 'Standard-Geschwindigkeit beim Wechsel der Folien'
87
+ default_transition_type: 'Standard-Animation beim Wechsel der Folien'
88
+ description: 'Beschreibung für die Präsentation'
89
+ email_address: 'E-Mail-Adresse des Präsentierenden'
90
+ force: 'Überschreibe existierende Dateien'
91
+ github_url: 'URL zum Github Benutzerkonto des Präsentierenden'
92
+ height: Höhe der Präsentation
93
+ hide_address_bar: Ausblenden der Browser-Adresszeile auf Mobilen Endgeräten
94
+ homepage: 'Webseite des Unternehmens oder des Präsentierenden'
95
+ initialize_git: 'Initialisiere git repository'
96
+ install_assets: 'Installiere Assets'
97
+ language: 'Sprache, welche für übersetzbare Inhalte der vordefinierten Folien genutzt werden kann, z.B. "de", "en"'
98
+ license: 'Lizenz unter der die Präsentation veröffentlicht wird, z.B. CC BY'
99
+ location: 'Örtlichkeit in dem die Präsentation vorgetragen wird'
100
+ margin: Freiraum um die einzelnen Folien
101
+ max_scale: Obergrenze für die Skalierung der Folien
102
+ min_scale: Untergrenze für die Skalierung der Folien
103
+ parallax_background_image: Parallax Hintergrund-Bild
104
+ parallax_background_size: Parallax Hintergrund-Größe
105
+ phone_number: 'Telefonnumer des Präsentierenden'
106
+ preview_links: Zeige eine Vorschauer externer Links an
107
+ speaker: 'Name des Präsentierenden'
108
+ subtitle: 'Sub-Titel für die die Präsentation'
109
+ title: 'Titel der Präsentation'
110
+ version: 'Versionsnummer für die Präsentation'
111
+ view_distance: Menge der zukünftigen Folien, welche angezeigt werden sollen
112
+ width: Breite der Präsentation
113
+ arguments:
114
+ directory: 'Verzeichnis in dem die Präsentation erstellt werden soll'
115
+ plugins:
116
+ create:
117
+ title: 'Erstellen eines neuen Plugins für "middleman-presentation"'
118
+ options:
119
+ prefix: 'Präfix für das Verzeichnis des Plugins'
120
+ author: 'Autor des Plugins'
121
+ email: 'E-Mail Adresse des Plugin-Autors'
122
+ homepage: 'URL zur Website des Projektes'
123
+ year: 'Copyright Jahr für das Plugin'
124
+ initialize_git: 'Initialisiere git'
125
+ arguments:
126
+ name: 'Name des Plugins'
127
+ themes:
128
+ create:
129
+ title: 'Erstellen eines neuen Präsentations-Themes für "middleman-presentation"'
130
+ options:
131
+ prefix: 'Präfix für das Verzeichnis des Themes'
132
+ stylesheets_directory: 'Erstelle das Verzeichnis für die Stil-Dateien'
133
+ javascripts_directory: 'Erstelle das Verzeichnis für die JavaScript-Dateien'
134
+ images_directory: 'Erstelle das Verzeichnis für die Bilder'
135
+ author: 'Autor des Themes'
136
+ email: 'E-Mail Adresse des Theme-Autors'
137
+ homepage: 'URL zur Website des Projektes'
138
+ version: 'Version des Themes'
139
+ year: 'Copyright Jahr für das Theme'
140
+ license: 'Lizenz des Themes'
141
+ initialize_git: 'Initialisiere git'
142
+ clean_css: 'Generiere CSS-Klassen, ohne dass Stil vordefiniert sind'
143
+ arguments:
144
+ name: 'Name des Themes'
145
+ applications:
146
+ init:
147
+ title: 'Initialisiere das System für die Nutzung von "middleman-presentation"'
148
+ options:
149
+ configuration_file: 'Pfad zur Konfigurationsdatei'
150
+ force: 'Erzwinge die Erzeugung der Konfigurationsdatei'
151
+ predefined_slides:
152
+ init:
153
+ title: 'Erzeuge vordefinierte Folien'
154
+ options:
155
+ directory: 'Verzeichnis, in dem die vordefinierten Folien angelegt werden sollen'
156
+ slides:
157
+ create:
158
+ title: 'Erzeuge einer neue Folie oder bearbeite eine existierende Folie. Wenn Sie mehrere Folien erzeugen/bearbeiten möchten, geben Sie die Namen der Folien durch ein Leerzeichen getrennt ein, z.B. "01 02 03".'
159
+ options:
160
+ error_on_duplicates: 'Generierung eines Fehler, wenn mehrere Folien den gleichen Namen aufweisen.'
161
+ title: 'Titel der Folie.'
162
+ arguments:
163
+ names: Name der neuen Folie(n)
164
+ change:
165
+ title: 'Ändere (eine) existierende Folie(n). Wenn Sie mehrere Folien ändern möchten, geben Sie die Namen der Folien durch ein Leerzeichen getrennt ein, z.B. "01 02 03". Die Änderung des gesamten Foliennamens funktioniert jedoch nur, wenn Sie eine einzelne Folie angeben.'
166
+ options:
167
+ error_on_duplicates: 'Generierung eines Fehler, wenn mehrere Folien nach der Änderung den gleichen Namen aufweisen.'
168
+ base_name: 'Teil des Names vor dem "Punkt" der Folie'
169
+ type: 'Typ der Folie: Erb, Markdown, ...'
170
+ arguments:
171
+ names: Name der neuen Folie(n)
172
+ configs:
173
+ show:
174
+ title: 'Anzeige der Konfiguration.'
175
+ used_config_files:
176
+ zero: 'Es wurden keine Konfigurationsdateien für "middleman-presentation" auf Ihrem System gefunden. Es werden daher die Standardwerte angezeigt.'
177
+ one: 'Verwendete Konfigurationsdatei: %{files}'
178
+ other: 'Verwendete Konfigurationsdateien: %{files}'
179
+ options:
180
+ defaults: 'Anzeige der Konfiguration mit Standard-Werten.'
181
+ helpers:
182
+ list:
183
+ title: 'Anzeige verfügbarer Hilfsmethoden zur Verwendung in den Präsentationsfolien'
184
+ headline: 'In der Präsentation verfügbare Hilfsmethoden'
185
+ assets:
186
+ list:
187
+ title: 'Anzeige verfügbarer Assets zur Verwendung in den Präsentationsfolien'
188
+ headline: 'In der Präsentation verfügbare Assets'
189
+ frontend_components:
190
+ list:
191
+ title: 'Anzeige verfügbarer Frontend-Komponenten'
192
+ headline: 'In der Präsentation verfügbare Frontend-Komponenten'
193
+ plugins:
194
+ list:
195
+ title: 'Anzeige verfügbarer Plugins.'
196
+ headline: 'Auf diesem System verfügbare Plugins'
197
+ support_informations:
198
+ show:
199
+ title: 'Sammeln von Informationen für den Support.'
200
+ headline:
201
+ system_information: System Informationen
202
+ rubygems_information: Information über Rubygems
203
+ installed_rubygems: Installierte Rubygems
204
+ styles:
205
+ list:
206
+ title: 'Anzeige verfügbarer CSS-Stile.'
207
+ headline: 'Verfügbare CSS-Klassen in "Vorlagen", welche von "middleman-presentation" verwendet werden:'
208
+ presentation:
209
+ serve:
210
+ title: Zeige Präsentation
211
+ headline: Zeige Präsentation "%{title}"
212
+ build:
213
+ title: Präsentation generieren
214
+ headline: Generiere die Präsentation "%{title}"
215
+ options:
216
+ title: 'Titel der Präsentation'
217
+ export:
218
+ title: Präsentation exportieren
219
+ headline: Exportiere die Präsentation "%{title}" nach "%{file}"
220
+ options:
221
+ output_file: Erzeuge ein Archiv mit dem gegebenen Dateinamen
222
+ prefix: 'Präfix für Dateien in der Zip-Datei. Bitte denken Sie an "/" am Ende des Präfixes, wenn es sich hierbei um ein Verzeichnis handelt. Bsp: "20140901-titel/"'
223
+ slides:
224
+ contact:
225
+ title: Kontakt
226
+ questions:
227
+ title: Fragen
228
+ end:
229
+ title: Ende
230
+ agenda:
231
+ title: Agenda
232
+ entry_one: TOP 1
233
+ entry_two: TOP 2
data/locales/en.yml ADDED
@@ -0,0 +1,236 @@
1
+ ---
2
+ en:
3
+ errors:
4
+ standard_error: "An error occured. Please see the attached message\n%{message}."
5
+ invalid_component: Sorry, but argument "%{argument}" needs to respond to "#root_directory=".
6
+ argument_error: The value "%{value}" for "%{argument}" is invalid.
7
+ zip_filename_error: The provided zip filename "%{name}" is invalid. It needs to end with ".zip".
8
+ middleman_build_error: 'An error occured while building the static version of the presentation:'
9
+ undefined_arguments: At least one argument of "%{arguments}" needs to be defined.
10
+ too_many_arguments: You pass to many arguments. Only "%{count}" argument(s) are allowed.
11
+ doubled_arguments: Only one argument of "%{arguments}" is allowed to be defined.
12
+ template_is_undefined: You need to provide information about your default template within "application.yaml".
13
+ asset_not_found: I cannot find asset '%{asset}'. Please check the path and try again.
14
+ slide_not_found: I cannot find a slide which matches %{patterns}.
15
+ duplicate_slide_names: Your input will result in duplicate slide file names %{slide_names}. Maybe there are any existing slide names conflicting your input, e.g. 01.html.md (markdown) already exists and you try to create 01.html.erb (eruby).
16
+ missing_argument: You need to define argument "%{argument}".
17
+ missing_data_attribute: "You need to define an option in one of your config or data files: %{message}."
18
+ invalid_helper_module: You did not provide a module or a block. Anything else can not be included as helper
19
+ add_empty_frontend_component: You tried to add an empty frontend component. I will ignore that. Please check your code to make this message disappear.
20
+ use_empty_locale: You tried to use an empty locale. It needs to one of %{codes}. I will ignore your input and will use "%{fallback_locale}" instead.
21
+ use_invalid_locale: You tried to use an invalid locale. It needs to one of %{codes}. I will ignore your input and will use "%{fallback_locale}" instead.
22
+ programm_execution_interrupted: You decided to interrupt the execution of "middleman-presentation" ...
23
+ init_middleman_failed: Error executing "middleman init"-command. Please fix your setup and run again.
24
+ bower_command_not_found: The "bower"-command cannot be found in PATH "%{path}". Please make sure it is installed and the PATH-variable includes the directory where is stored.
25
+ bower_command_failed: "Error executing \"bower\"-command. Please fix your setup and run again:\n%{result}"
26
+ bundle_command_failed: "Error executing \"bundle\"-command. Please fix your setup and run again:\n%{result}"
27
+ extension_not_activated: You need to activate the presentation extension in config.rb before you can create a slide.
28
+ path_is_empty: Path cannot be empty.
29
+ infos:
30
+ open_slide_in_editor: Sie haben sich dazu entschlossen die neue Datei in Ihrem Lieblings-Editor zu bearbeiten "%{editor}".
31
+ views:
32
+ application:
33
+ help: Describe available commands or one specific command
34
+ options:
35
+ debug_mode: 'Enable debug mode.'
36
+ edit: 'Start ENV["EDITOR"] to edit slide.'
37
+ editor_command: Editor command to be used, e.g. ENV["EDITOR"] --servername presentation --remote-tab.
38
+ regex: Search using regular expressions.
39
+ runners:
40
+ init:
41
+ title: 'Initialize system, presentation, ...'
42
+ show:
43
+ title: 'Show information ...'
44
+ create:
45
+ title: 'Create something ...'
46
+ change:
47
+ title: 'Change something ...'
48
+ list:
49
+ title: 'List information about ...'
50
+ export:
51
+ title: 'Export something ...'
52
+ build:
53
+ title: 'Build something ...'
54
+ serve:
55
+ title: 'Serve something ...'
56
+ edit:
57
+ title: 'Edit something ...'
58
+ presentations:
59
+ create:
60
+ title: 'Initialize a new presentation in DIR (default: $PWD)'
61
+ options:
62
+ runtime_environment: Runtime environment in which middleman-presentation is running, e.g. "test"
63
+ activate_center: 'Activate center in reveal.js'
64
+ activate_controls: 'Activate controls in reveal.js'
65
+ activate_embedded: Activate embedded mode
66
+ activate_fragments: Activate fragements
67
+ activate_history: 'Activate history in reveal.js'
68
+ activate_keyboard: Activate keyboard shortcuts
69
+ activate_loop: Loop presentation
70
+ activate_mouse_wheel: Activate mouse wheel for slide navigation
71
+ activate_overview: Activate slides overview
72
+ activate_progress: 'Activate progress in reveal.js'
73
+ activate_rtl: Right to left for slides
74
+ activate_slide_number: 'Activate slide number in reveal.js'
75
+ activate_touch: Activate touch gestures for presentation
76
+ audience: 'Audience of presentation'
77
+ author: 'Author of presentation'
78
+ auto_slide: Waiting time for automatic slide switch in milliseconds
79
+ auto_slide_stoppable: Stop automatic slide switch on user input
80
+ bower_directory: 'Directory for bower components in "source"-directory'
81
+ check_for_bowe: 'Check if bower is installed on the system'
82
+ company: 'Company or employer or organization of speaker'
83
+ create_predefined_slides: 'Install predefined slides'
84
+ date: 'Date of presentation'
85
+ default_background_transition: Default switch animation for slideswith full-screen-backgrounds
86
+ default_transition_speed: 'Default speed for slide transition. Can be overwridden per slide.'
87
+ default_transition_type: 'Default slide transition. Can be overwridden per slide.'
88
+ description: 'Description for presentation'
89
+ email_address: 'Email address to contact speaker'
90
+ force: 'Overwrite existing files'
91
+ github_url: 'Url to Github account of speaker'
92
+ height: Height of presentation
93
+ hide_address_bar: Hide navigation bar of browser
94
+ homepage: 'Homepage of company and/or speaker'
95
+ initialize_git: 'Initialize git repository'
96
+ install_assets: 'Install assets'
97
+ language: 'Language to use for translatable slide templates, e.g. "de", "en"'
98
+ license: 'License of the presentation, e.g. CC BY'
99
+ location: 'Location where the presentation take place'
100
+ margin: Whitespace around slides
101
+ max_scale: Max scale for slides
102
+ min_scale: Min scale for slides
103
+ parallax_background_image: Parallax background image
104
+ parallax_background_size: Parallax background size
105
+ phone_number: 'Phone number to contact speaker'
106
+ preview_links: Preview external links in iframe
107
+ speaker: 'Name of speaker'
108
+ subtitle: 'Subtitle of presentation'
109
+ title: 'Title of presentation'
110
+ version: 'Version number for your presentation'
111
+ view_distance: Amount of future slides
112
+ width: Width of presentation
113
+ arguments:
114
+ directory: 'Directory to create presentation in'
115
+ plugins:
116
+ create:
117
+ title: 'Create a new plugin for middleman-presentation'
118
+ options:
119
+ prefix: 'Prefix for new plugin'
120
+ author: 'Author of plugin'
121
+ email: 'E-mail address of author of plugin'
122
+ homepage: 'Project url'
123
+ year: 'Copyright year for plugin'
124
+ initialize_git: 'Initialize git'
125
+ arguments:
126
+ name: 'Name of plugin'
127
+ themes:
128
+ create:
129
+ title: 'Create a new presentation theme for middleman-presentation'
130
+ options:
131
+ prefix: 'Prefix for new theme'
132
+ stylesheets_directory: 'Create stylesheets directory'
133
+ javascripts_directory: 'Create javascripts directory'
134
+ images_directory: 'Create images directory'
135
+ author: 'Author of theme'
136
+ email: 'E-mail address of author of theme'
137
+ homepage: 'Project homepage'
138
+ version: Version of theme
139
+ year: 'Copyright year for theme'
140
+ license: 'License of theme'
141
+ initialize_git: 'Initialize git'
142
+ clean_css: 'Generate clean css without any classes defined'
143
+ arguments:
144
+ name: 'Name of theme'
145
+ applications:
146
+ init:
147
+ title: 'Initialize system for use of middleman-presentation'
148
+ options:
149
+ configuration_file: 'Path to configuration file'
150
+ force: 'Force creation of config file'
151
+ predefined_slides:
152
+ init:
153
+ title: 'Initialize predefined_slides'
154
+ options:
155
+ directory: 'Directory where the predefined templates should be stored'
156
+ slides:
157
+ create:
158
+ title: 'Create a new slide(s) or edit existing ones. If you want to create multiple slides enter them with a space between the names "01 02 03".'
159
+ options:
160
+ error_on_duplicates: 'Raise an error if a slide of the same base name alread exists, e.g. Filename: 01.html.erb => Basename: 01'
161
+ title: 'Title of slide'
162
+ arguments:
163
+ names: Names of new slides
164
+ change:
165
+ title: 'Change an existing new slide(s). If you want to change multiple slides enter them with a space between the names "01 02 03". Changing the whole file name works only for a single slide.'
166
+ options:
167
+ error_on_duplicates: 'Raise an error if a slide of the same base name alread exists, e.g. Filename: 01.html.erb => Basename: 01'
168
+ type: 'Template type of slide: Erb, Markdown, ...'
169
+ base_name: 'Base name of slide'
170
+ arguments:
171
+ names: Names of slides which should be changed
172
+ configs:
173
+ show:
174
+ title: 'Show configuration'
175
+ used_config_files:
176
+ zero: 'No configuration files for "middleman-presentation" found on your system. The values shown below are the default values.'
177
+ one: 'Used configuration file: %{files}'
178
+ other: 'Used configuration files: %{files}'
179
+ options:
180
+ defaults: 'Show default configuration'
181
+ helpers:
182
+ list:
183
+ title: 'Show available presentation helpers'
184
+ headline: 'Available helpers in this presentation'
185
+ assets:
186
+ list:
187
+ title: 'Show available asset files'
188
+ headline: 'Available assets in this presentation'
189
+ frontend_components:
190
+ list:
191
+ title: 'Show available frontend components'
192
+ headline: 'Available frontend components in this presentation'
193
+ plugins:
194
+ list:
195
+ title: 'Show available plugins'
196
+ headline: 'Available plugins on this system/in this presentation'
197
+ support_informations:
198
+ show:
199
+ title: 'Collect information for support'
200
+ headline:
201
+ system_information: System Information
202
+ rubygems_information: Rubygems Information
203
+ installed_rubygems: Installed Rubygems
204
+ styles:
205
+ list:
206
+ title: 'Show available styles'
207
+ headline: 'Available css classes in templates used by middleman-presentation:'
208
+ presentation:
209
+ serve:
210
+ title: Serve presentation
211
+ headline: Serve presentation "%{title}"
212
+ build:
213
+ title: Build presentation
214
+ headline: Build presentation "%{title}"
215
+ options:
216
+ title: 'Title of presentation'
217
+ export:
218
+ title: Export presentation
219
+ headline: Export presentation "%{title}" to file "%{file}"
220
+ options:
221
+ output_file: 'Write archive to given file name'
222
+ prefix: 'Prefix for files in zip file. Please make sure that the last character is a "/" if the prefix should be a directory'
223
+ version:
224
+ show:
225
+ title: Show version
226
+ slides:
227
+ contact:
228
+ title: Contact
229
+ questions:
230
+ title: Questions
231
+ end:
232
+ title: The End
233
+ agenda:
234
+ title: Agenda
235
+ entry_one: Entry one
236
+ entry_two: Entry two
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
+ require 'middleman-presentation-core/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'middleman-presentation-core'
7
+ spec.version = Middleman::Presentation::VERSION
8
+ spec.platform = Gem::Platform::RUBY
9
+ spec.authors = ['Max Meyer', 'Dennis Guennewig']
10
+ spec.email = ['dev@fedux.org', 'dg1@vrnetze.de']
11
+ spec.homepage = 'https://github.com/maxmeyer/middleman-presentation'
12
+ spec.summary = 'Presentation engine for Middleman'
13
+
14
+ spec.license = 'MIT'
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+
19
+ spec.require_paths = ['lib']
20
+ spec.required_ruby_version = '>= 2.1.0'
21
+
22
+ spec.add_dependency 'middleman', '~> 3.3.5'
23
+ spec.add_dependency 'middleman-sprockets', '~> 3.3.8'
24
+ spec.add_dependency 'bundler'
25
+ spec.add_dependency 'tzinfo', '>= 0.3.0'
26
+ spec.add_dependency 'addressable', '~> 2.3.5'
27
+ spec.add_dependency 'launchy', '~> 2.4.2'
28
+ spec.add_dependency 'fedux_org-stdlib', '>= 0.10.1'
29
+ spec.add_dependency 'rake'
30
+ spec.add_dependency 'rubyzip', '~> 1.1.6'
31
+ spec.add_dependency 'liquid'
32
+ spec.add_dependency 'erubis'
33
+ spec.add_dependency 'kramdown'
34
+ spec.add_dependency 'nokogiri'
35
+ spec.add_dependency 'facter'
36
+ spec.add_dependency 'i18n'
37
+ spec.add_dependency 'hirb'
38
+ spec.add_dependency 'rouge'
39
+ # spec.add_dependency 'ptools', '>= 1.2.6'
40
+ end
File without changes
@@ -0,0 +1,13 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ RSpec.describe AssetComponent do
5
+ context '#name' do
6
+ it 'is the same as path' do
7
+ component = AssetComponent.new(path: 'test1')
8
+
9
+ expect(component.name).to eq 'test1'
10
+ expect(component.path).to eq Pathname.new('test1')
11
+ end
12
+ end
13
+ end