middleman-presentation-helpers 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -11
- data/lib/middleman-presentation/helpers.rb +2 -0
- data/lib/middleman-presentation/helpers/plugins/common_plugin.rb +22 -0
- data/lib/middleman-presentation/helpers/plugins/diagram_plugin.rb +19 -0
- data/lib/middleman-presentation/helpers/plugins/footer_plugin.rb +3 -5
- data/lib/middleman-presentation/helpers/plugins/image_gallery_plugin.rb +10 -6
- data/lib/middleman-presentation/helpers/plugins/slides_plugin.rb +22 -2
- data/lib/middleman-presentation/helpers/version.rb +1 -1
- data/vendor/assets/{footer → javascripts}/footer.js +0 -0
- data/vendor/assets/stylesheets/footer.scss +29 -0
- data/vendor/assets/{image_gallery → stylesheets}/image_gallery.scss +0 -0
- data/vendor/assets/{images → stylesheets}/images.scss +0 -0
- metadata +9 -8
- data/lib/middleman-presentation/helpers/plugins/images_plugin.rb +0 -14
- data/vendor/assets/footer/footer.scss +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 876b18b3f9d70c049bef406627c51b9ed376b772
|
4
|
+
data.tar.gz: 1eb02bac537e4102136f1a13847d3d05dae28e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a9576ac8bff208629b9263613ba85445cde1b9ff42cac93f0f126c525a92a8cf6423a1762b0d43adb838082ef00737a14ae5ad24746519e87f049932a6f53d
|
7
|
+
data.tar.gz: a2176cfcf94cbd60d8f3a792c0709ae037b21d8779594619d25801c3e7f876462699f26e3f927210e16ec3d9b1780dc9ff7c8be6b8fe34aa3846005dc55c3dd4
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
middleman-presentation-helpers (0.0.
|
4
|
+
middleman-presentation-helpers (0.0.6)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -34,8 +34,8 @@ GEM
|
|
34
34
|
columnize (~> 0.8)
|
35
35
|
debugger-linecache (~> 1.2)
|
36
36
|
slop (~> 3.6)
|
37
|
-
celluloid (0.
|
38
|
-
timers (~>
|
37
|
+
celluloid (0.16.0)
|
38
|
+
timers (~> 4.0.0)
|
39
39
|
childprocess (0.5.3)
|
40
40
|
ffi (~> 1.0, >= 1.0.11)
|
41
41
|
chunky_png (1.3.1)
|
@@ -87,7 +87,7 @@ GEM
|
|
87
87
|
execjs (2.2.1)
|
88
88
|
facter (2.2.0)
|
89
89
|
CFPropertyList (~> 2.2.6)
|
90
|
-
fedux_org-stdlib (0.7.
|
90
|
+
fedux_org-stdlib (0.7.27)
|
91
91
|
activesupport
|
92
92
|
ffi (1.9.3)
|
93
93
|
filegen (0.4.3)
|
@@ -106,6 +106,7 @@ GEM
|
|
106
106
|
tilt
|
107
107
|
hike (1.2.3)
|
108
108
|
hirb (0.7.2)
|
109
|
+
hitimes (1.2.2)
|
109
110
|
hooks (0.4.0)
|
110
111
|
uber (~> 0.0.4)
|
111
112
|
httparty (0.13.1)
|
@@ -123,7 +124,7 @@ GEM
|
|
123
124
|
kramdown (1.4.1)
|
124
125
|
launchy (2.4.2)
|
125
126
|
addressable (~> 2.3)
|
126
|
-
libv8 (3.16.14.
|
127
|
+
libv8 (3.16.14.5)
|
127
128
|
license_finder (1.1.1)
|
128
129
|
bundler
|
129
130
|
httparty
|
@@ -173,14 +174,14 @@ GEM
|
|
173
174
|
kramdown
|
174
175
|
launchy (~> 2.4.2)
|
175
176
|
liquid
|
176
|
-
middleman (~> 3.3.
|
177
|
-
middleman-presentation-helpers (>= 0.0.
|
177
|
+
middleman (~> 3.3.5)
|
178
|
+
middleman-presentation-helpers (>= 0.0.5)
|
178
179
|
middleman-sprockets (~> 3.3.8)
|
179
180
|
nokogiri
|
180
181
|
rake
|
181
182
|
rubyzip (~> 1.1.6)
|
182
183
|
tzinfo (>= 0.3.0)
|
183
|
-
middleman-sprockets (3.3.
|
184
|
+
middleman-sprockets (3.3.10)
|
184
185
|
middleman-core (~> 3.3)
|
185
186
|
sprockets (~> 2.12.1)
|
186
187
|
sprockets-helpers (~> 1.1.0)
|
@@ -281,7 +282,7 @@ GEM
|
|
281
282
|
ruby-progressbar (~> 1.4)
|
282
283
|
ruby-progressbar (1.5.1)
|
283
284
|
rubyzip (1.1.6)
|
284
|
-
sass (3.4.
|
285
|
+
sass (3.4.3)
|
285
286
|
sequel (4.14.0)
|
286
287
|
simplecov (0.9.0)
|
287
288
|
docile (~> 1.1.0)
|
@@ -291,7 +292,7 @@ GEM
|
|
291
292
|
slop (3.6.0)
|
292
293
|
smart_colored (1.1.1)
|
293
294
|
sparkr (0.4.1)
|
294
|
-
sprockets (2.12.
|
295
|
+
sprockets (2.12.2)
|
295
296
|
hike (~> 1.2)
|
296
297
|
multi_json (~> 1.0)
|
297
298
|
rack (~> 1.0)
|
@@ -313,7 +314,8 @@ GEM
|
|
313
314
|
thor (0.19.1)
|
314
315
|
thread_safe (0.3.4)
|
315
316
|
tilt (1.4.1)
|
316
|
-
timers (
|
317
|
+
timers (4.0.1)
|
318
|
+
hitimes
|
317
319
|
tins (1.3.2)
|
318
320
|
tmrb (1.2.7)
|
319
321
|
thor
|
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'middleman-presentation/helpers/version'
|
2
2
|
|
3
|
+
require 'middleman-presentation/helpers/plugins/common_plugin'
|
4
|
+
require 'middleman-presentation/helpers/plugins/diagram_plugin'
|
3
5
|
require 'middleman-presentation/helpers/plugins/image_gallery_plugin'
|
4
6
|
require 'middleman-presentation/helpers/plugins/slides_plugin'
|
5
7
|
require 'middleman-presentation/helpers/plugins/footer_plugin'
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Middleman
|
4
|
+
module Presentation
|
5
|
+
# Helpers plugin
|
6
|
+
module Helpers
|
7
|
+
module CommonPlugin
|
8
|
+
extend PluginApi
|
9
|
+
|
10
|
+
#importable_files = %w(
|
11
|
+
# .png .gif .jpg .jpeg .svg .webp
|
12
|
+
# .eot .otf .svc .woff .ttf
|
13
|
+
#).map { |e| Regexp.new("#{Regexp.escape(e)}$") }
|
14
|
+
|
15
|
+
add_assets(
|
16
|
+
File.expand_path('../../../../../vendor/assets', __FILE__) # ,
|
17
|
+
# importable_files: importable_files
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
module Middleman
|
3
|
+
module Presentation
|
4
|
+
# Helpers plugin
|
5
|
+
module Helpers
|
6
|
+
module DiagramPlugin
|
7
|
+
extend PluginApi
|
8
|
+
|
9
|
+
add_component(
|
10
|
+
name: 'd3',
|
11
|
+
version: 'latest',
|
12
|
+
importable_files: [
|
13
|
+
%r{d3/d3.js},
|
14
|
+
]
|
15
|
+
)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -6,14 +6,12 @@ module Middleman
|
|
6
6
|
module SlidesPlugin
|
7
7
|
extend PluginApi
|
8
8
|
|
9
|
-
add_assets(
|
10
|
-
File.expand_path('../../../../vendor/assets/footer', __FILE__)
|
11
|
-
)
|
12
|
-
|
13
9
|
add_component(
|
14
10
|
name: 'jquery',
|
15
11
|
version: '~1.11',
|
16
|
-
|
12
|
+
importable_files: [
|
13
|
+
/dist\/jquery\.js$/
|
14
|
+
]
|
17
15
|
)
|
18
16
|
end
|
19
17
|
end
|
@@ -8,20 +8,24 @@ module Middleman
|
|
8
8
|
module ImageGalleryPlugin
|
9
9
|
extend PluginApi
|
10
10
|
|
11
|
-
add_assets(
|
12
|
-
File.expand_path('../../../../vendor/assets/image_gallery', __FILE__)
|
13
|
-
)
|
14
|
-
|
15
11
|
add_component(
|
16
12
|
name: 'jquery',
|
17
13
|
version: '~1.11',
|
18
|
-
|
14
|
+
importable_files: [
|
15
|
+
%r{dist/jquery\.js$}
|
16
|
+
]
|
19
17
|
)
|
20
18
|
|
21
19
|
add_component(
|
22
20
|
name: 'lightbox2',
|
23
21
|
github: 'dg-vrnetze/revealjs-lightbox2',
|
24
|
-
|
22
|
+
importable_files: [
|
23
|
+
%r{js/lightbox\.js$},
|
24
|
+
%r{sass/lightbox\.scss$},
|
25
|
+
],
|
26
|
+
ignorable_files: [
|
27
|
+
%r{/demopage/}
|
28
|
+
]
|
25
29
|
)
|
26
30
|
|
27
31
|
add_helpers Middleman::Presentation::Helpers::ImageGallery
|
@@ -12,8 +12,28 @@ module Middleman
|
|
12
12
|
add_component(
|
13
13
|
name: 'reveal.js',
|
14
14
|
version: 'latest',
|
15
|
-
|
16
|
-
|
15
|
+
importable_files: [
|
16
|
+
%r{lib/js/head\.min},
|
17
|
+
%r{js/reveal\.min\.js},
|
18
|
+
%r{css/reveal\.min\.css},
|
19
|
+
%r{lib/css/zenburn\.css},
|
20
|
+
%r{css/theme/template/mixins\.scss},
|
21
|
+
%r{css/theme/template/settings\.scss}
|
22
|
+
],
|
23
|
+
loadable_files: [
|
24
|
+
%r{notes\.html},
|
25
|
+
%r{reveal\.js/.*/.*\.js$}
|
26
|
+
],
|
27
|
+
ignorable_files: [
|
28
|
+
/src/,
|
29
|
+
/test/,
|
30
|
+
/demo/,
|
31
|
+
/source/
|
32
|
+
],
|
33
|
+
output_directories: {
|
34
|
+
/notes\.html$/ => Pathname.new('javascripts'),
|
35
|
+
/pdf\.css$/ => Pathname.new('stylesheets')
|
36
|
+
}
|
17
37
|
)
|
18
38
|
|
19
39
|
add_helpers Middleman::Presentation::Helpers::Slides
|
File without changes
|
@@ -0,0 +1,29 @@
|
|
1
|
+
.reveal footer.mp-presentation-footer {
|
2
|
+
position: absolute;
|
3
|
+
bottom: 20px;
|
4
|
+
left: 0px;
|
5
|
+
width: 100%;
|
6
|
+
text-align: center;
|
7
|
+
z-index: 29;
|
8
|
+
|
9
|
+
span {
|
10
|
+
margin-left: .2rem;
|
11
|
+
margin-right: .2rem;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.reveal .mp-copyright-notice {
|
16
|
+
min-height: 10px;
|
17
|
+
font-size: 0.75rem;
|
18
|
+
display: inline-block;
|
19
|
+
}
|
20
|
+
|
21
|
+
.reveal a.mp-print-link {
|
22
|
+
font-size: 0.75rem;
|
23
|
+
}
|
24
|
+
|
25
|
+
.reveal i.mp-print {
|
26
|
+
@extend .fa;
|
27
|
+
@extend .fa-print;
|
28
|
+
margin-left: 5px;
|
29
|
+
}
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-presentation-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Meyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -45,18 +45,19 @@ files:
|
|
45
45
|
- fixtures/images/image02.png
|
46
46
|
- lib/middleman-presentation/helpers.rb
|
47
47
|
- lib/middleman-presentation/helpers/image_gallery.rb
|
48
|
+
- lib/middleman-presentation/helpers/plugins/common_plugin.rb
|
49
|
+
- lib/middleman-presentation/helpers/plugins/diagram_plugin.rb
|
48
50
|
- lib/middleman-presentation/helpers/plugins/footer_plugin.rb
|
49
51
|
- lib/middleman-presentation/helpers/plugins/image_gallery_plugin.rb
|
50
|
-
- lib/middleman-presentation/helpers/plugins/images_plugin.rb
|
51
52
|
- lib/middleman-presentation/helpers/plugins/slides_plugin.rb
|
52
53
|
- lib/middleman-presentation/helpers/slides.rb
|
53
54
|
- lib/middleman-presentation/helpers/version.rb
|
54
55
|
- middleman-presentation-helpers.gemspec
|
55
56
|
- templates/image_gallery.erb
|
56
|
-
- vendor/assets/
|
57
|
-
- vendor/assets/
|
58
|
-
- vendor/assets/
|
59
|
-
- vendor/assets/
|
57
|
+
- vendor/assets/javascripts/footer.js
|
58
|
+
- vendor/assets/stylesheets/footer.scss
|
59
|
+
- vendor/assets/stylesheets/image_gallery.scss
|
60
|
+
- vendor/assets/stylesheets/images.scss
|
60
61
|
homepage: https://github.com/maxmeyer/middleman-presentation-helpers
|
61
62
|
licenses:
|
62
63
|
- MIT
|
@@ -77,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
78
|
version: '0'
|
78
79
|
requirements: []
|
79
80
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.4.1
|
81
|
+
rubygems_version: 2.4.5.1
|
81
82
|
signing_key:
|
82
83
|
specification_version: 4
|
83
84
|
summary: Helpers for middleman-presentation
|