middleman-presentation-helpers 0.0.7 → 0.1.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +0 -2
  3. data/.rubocop.yml +45 -4
  4. data/README.md +23 -2
  5. data/Rakefile +6 -2
  6. data/features/image_gallery.feature +3 -4
  7. data/features/metadata.feature +40 -0
  8. data/features/step_definitions.rb +0 -1
  9. data/features/support/aruba.rb +1 -1
  10. data/features/support/ci.rb +1 -1
  11. data/features/support/env.rb +1 -1
  12. data/lib/middleman-presentation-helpers.rb +24 -0
  13. data/lib/middleman-presentation-helpers/helpers/image.rb +20 -0
  14. data/lib/{middleman-presentation → middleman-presentation-helpers}/helpers/image_gallery.rb +9 -7
  15. data/lib/middleman-presentation-helpers/helpers/metadata.rb +29 -0
  16. data/lib/{middleman-presentation → middleman-presentation-helpers}/helpers/slides.rb +6 -4
  17. data/lib/middleman-presentation-helpers/plugins/footer_plugin.rb +17 -0
  18. data/lib/middleman-presentation-helpers/plugins/highlight_plugin.rb +23 -0
  19. data/lib/middleman-presentation-helpers/plugins/image_gallery_plugin.rb +25 -0
  20. data/lib/middleman-presentation-helpers/plugins/images_plugin.rb +19 -0
  21. data/lib/{middleman-presentation/helpers/plugins/footer_plugin.rb → middleman-presentation-helpers/plugins/jquery_plugin.rb} +4 -5
  22. data/lib/middleman-presentation-helpers/plugins/metadata_plugin.rb +13 -0
  23. data/lib/{middleman-presentation/helpers/plugins/diagram_plugin.rb → middleman-presentation-helpers/plugins/normalize_plugin.rb} +4 -5
  24. data/lib/middleman-presentation-helpers/plugins/print_plugin.rb +17 -0
  25. data/lib/middleman-presentation-helpers/plugins/slides_plugin.rb +33 -0
  26. data/lib/{middleman-presentation/helpers → middleman-presentation-helpers}/version.rb +1 -1
  27. data/lib/middleman-presentation-plugin.rb +1 -0
  28. data/middleman-presentation-helpers.gemspec +5 -5
  29. data/vendor/assets/{javascripts → middleman-presentation-helpers/footer}/footer.js +4 -2
  30. data/vendor/assets/middleman-presentation-helpers/footer/footer.scss +3 -0
  31. data/vendor/assets/{stylesheets → middleman-presentation-helpers/image_gallery}/image_gallery.scss +0 -0
  32. data/vendor/assets/{stylesheets → middleman-presentation-helpers/images}/images.scss +0 -0
  33. data/vendor/assets/middleman-presentation-helpers/print/pdf.scss +200 -0
  34. metadata +29 -24
  35. data/.travis.yml +0 -8
  36. data/Gemfile +0 -50
  37. data/Gemfile.lock +0 -382
  38. data/config/rubocop/exclude.yml +0 -25
  39. data/config/rubocop/include.yml +0 -142
  40. data/lib/middleman-presentation/helpers.rb +0 -14
  41. data/lib/middleman-presentation/helpers/plugins/common_plugin.rb +0 -22
  42. data/lib/middleman-presentation/helpers/plugins/image_gallery_plugin.rb +0 -35
  43. data/lib/middleman-presentation/helpers/plugins/slides_plugin.rb +0 -43
  44. data/vendor/assets/stylesheets/footer.scss +0 -29
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- language: ruby
2
- bundler_args: --without development
3
- rvm:
4
- - 2.1.0
5
- - 2.1.1
6
- - 2.1.2
7
- install: script/bootstrap
8
- script: script/ci
data/Gemfile DELETED
@@ -1,50 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'middleman-presentation', '>= 0.15.8'
6
-
7
- group :development, :test do
8
- gem 'rspec', require: false
9
- gem 'rspec-legacy_formatters', require: false
10
- gem 'fuubar', require: false
11
- gem 'simplecov', require: false
12
- gem 'rubocop', require: false
13
- gem 'coveralls', require: false
14
- gem 'cucumber', require: false
15
- gem 'aruba'
16
- gem 'bundler', require: false
17
- gem 'erubis'
18
- gem 'versionomy', require: false
19
- gem 'activesupport', require: false
20
- gem 'awesome_print', require: 'ap'
21
-
22
- gem 'mutant'
23
- gem 'mutant-rspec'
24
-
25
- if !ENV.key?('CI') && !ENV.key?('TRAVIS')
26
- gem 'byebug'
27
- gem 'pry'
28
- gem 'pry-byebug', require: false
29
- gem 'pry-doc', require: false
30
- end
31
-
32
- gem 'foreman', require: false
33
- gem 'github-markup'
34
- gem 'redcarpet', require: false
35
- gem 'tmrb', require: false
36
- gem 'yard', require: false
37
- gem 'inch', require: false
38
- gem 'license_finder'
39
- gem 'filegen', require: false
40
- gem 'travis-lint', require: false
41
- gem 'command_exec', require: false
42
- gem 'rake', require: false
43
- gem 'launchy', require: false
44
- gem 'hirb'
45
-
46
- gem 'therubyracer'
47
- gem 'therubyrhino'
48
-
49
- gem 'fedux_org-stdlib', '>= 0.7.20'
50
- end
data/Gemfile.lock DELETED
@@ -1,382 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- middleman-presentation-helpers (0.0.6)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- CFPropertyList (2.2.8)
10
- abstract_type (0.0.7)
11
- activesupport (4.1.5)
12
- i18n (~> 0.6, >= 0.6.9)
13
- json (~> 1.7, >= 1.7.7)
14
- minitest (~> 5.1)
15
- thread_safe (~> 0.1)
16
- tzinfo (~> 1.1)
17
- adamantium (0.2.0)
18
- ice_nine (~> 0.11.0)
19
- memoizable (~> 0.4.0)
20
- addressable (2.3.6)
21
- anima (0.2.0)
22
- abstract_type (~> 0.0.7)
23
- adamantium (~> 0.1)
24
- equalizer (~> 0.0.8)
25
- aruba (0.6.1)
26
- childprocess (>= 0.3.6)
27
- cucumber (>= 1.1.1)
28
- rspec-expectations (>= 2.7.0)
29
- ast (2.0.0)
30
- awesome_print (1.2.0)
31
- blockenspiel (0.4.5)
32
- builder (3.2.2)
33
- byebug (3.4.0)
34
- columnize (~> 0.8)
35
- debugger-linecache (~> 1.2)
36
- slop (~> 3.6)
37
- celluloid (0.16.0)
38
- timers (~> 4.0.0)
39
- childprocess (0.5.3)
40
- ffi (~> 1.0, >= 1.0.11)
41
- chunky_png (1.3.1)
42
- coderay (1.1.0)
43
- coffee-script (2.3.0)
44
- coffee-script-source
45
- execjs
46
- coffee-script-source (1.8.0)
47
- columnize (0.8.9)
48
- command_exec (0.2.0)
49
- activesupport
50
- smart_colored
51
- xml-simple
52
- compass (1.0.1)
53
- chunky_png (~> 1.2)
54
- compass-core (~> 1.0.1)
55
- compass-import-once (~> 1.0.5)
56
- rb-fsevent (>= 0.9.3)
57
- rb-inotify (>= 0.9)
58
- sass (>= 3.3.13, < 3.5)
59
- compass-core (1.0.1)
60
- multi_json (~> 1.0)
61
- sass (>= 3.3.0, < 3.5)
62
- compass-import-once (1.0.5)
63
- sass (>= 3.2, < 3.5)
64
- concord (0.1.5)
65
- adamantium (~> 0.2.0)
66
- equalizer (~> 0.0.9)
67
- coveralls (0.7.1)
68
- multi_json (~> 1.3)
69
- rest-client
70
- simplecov (>= 0.7)
71
- term-ansicolor
72
- thor
73
- cucumber (1.3.16)
74
- builder (>= 2.1.2)
75
- diff-lcs (>= 1.1.3)
76
- gherkin (~> 2.12)
77
- multi_json (>= 1.7.5, < 2.0)
78
- multi_test (>= 0.1.1)
79
- debugger-linecache (1.2.0)
80
- diff-lcs (1.2.5)
81
- docile (1.1.5)
82
- dotenv (0.11.1)
83
- dotenv-deployment (~> 0.0.2)
84
- dotenv-deployment (0.0.2)
85
- equalizer (0.0.9)
86
- erubis (2.7.0)
87
- execjs (2.2.1)
88
- facter (2.2.0)
89
- CFPropertyList (~> 2.2.6)
90
- fedux_org-stdlib (0.7.27)
91
- activesupport
92
- ffi (1.9.3)
93
- filegen (0.4.3)
94
- activesupport
95
- foreman (0.75.0)
96
- dotenv (~> 0.11.1)
97
- thor (~> 0.19.1)
98
- fuubar (2.0.0)
99
- rspec (~> 3.0)
100
- ruby-progressbar (~> 1.4)
101
- gherkin (2.12.2)
102
- multi_json (~> 1.3)
103
- github-markup (1.2.1)
104
- posix-spawn (~> 0.3.8)
105
- haml (4.0.5)
106
- tilt
107
- hike (1.2.3)
108
- hirb (0.7.2)
109
- hitimes (1.2.2)
110
- hooks (0.4.0)
111
- uber (~> 0.0.4)
112
- httparty (0.13.1)
113
- json (~> 1.8)
114
- multi_xml (>= 0.5.2)
115
- i18n (0.6.11)
116
- ice_nine (0.11.0)
117
- inch (0.4.10)
118
- pry
119
- sparkr (>= 0.2.0)
120
- term-ansicolor
121
- yard (~> 0.8.7)
122
- inflecto (0.0.2)
123
- json (1.8.1)
124
- kramdown (1.4.1)
125
- launchy (2.4.2)
126
- addressable (~> 2.3)
127
- libv8 (3.16.14.5)
128
- license_finder (1.1.1)
129
- bundler
130
- httparty
131
- sequel
132
- sqlite3
133
- thor
134
- xml-simple
135
- liquid (2.6.1)
136
- listen (2.7.9)
137
- celluloid (>= 0.15.2)
138
- rb-fsevent (>= 0.9.3)
139
- rb-inotify (>= 0.9)
140
- memoizable (0.4.2)
141
- thread_safe (~> 0.3, >= 0.3.1)
142
- method_source (0.8.2)
143
- middleman (3.3.5)
144
- coffee-script (~> 2.2)
145
- compass (>= 0.12.4)
146
- compass-import-once (= 1.0.5)
147
- execjs (~> 2.0)
148
- haml (>= 4.0.5)
149
- kramdown (~> 1.2)
150
- middleman-core (= 3.3.5)
151
- middleman-sprockets (>= 3.1.2)
152
- sass (>= 3.2.17, < 4.0)
153
- uglifier (~> 2.5)
154
- middleman-core (3.3.5)
155
- activesupport (~> 4.1.0)
156
- bundler (~> 1.1)
157
- erubis
158
- hooks (~> 0.3)
159
- i18n (~> 0.6.9)
160
- listen (>= 2.7.9, < 3.0)
161
- padrino-helpers (~> 0.12.3)
162
- rack (>= 1.4.5, < 2.0)
163
- rack-test (~> 0.6.2)
164
- thor (>= 0.15.2, < 2.0)
165
- tilt (~> 1.4.1, < 2.0)
166
- middleman-presentation (0.15.8)
167
- addressable (~> 2.3.5)
168
- bundler
169
- erubis
170
- facter
171
- fedux_org-stdlib (>= 0.7.20)
172
- hirb
173
- i18n
174
- kramdown
175
- launchy (~> 2.4.2)
176
- liquid
177
- middleman (~> 3.3.5)
178
- middleman-presentation-helpers (>= 0.0.5)
179
- middleman-sprockets (~> 3.3.8)
180
- nokogiri
181
- rake
182
- rubyzip (~> 1.1.6)
183
- tzinfo (>= 0.3.0)
184
- middleman-sprockets (3.3.10)
185
- middleman-core (~> 3.3)
186
- sprockets (~> 2.12.1)
187
- sprockets-helpers (~> 1.1.0)
188
- sprockets-sass (~> 1.2.0)
189
- mime-types (2.3)
190
- mini_portile (0.6.0)
191
- minitest (5.4.1)
192
- morpher (0.2.3)
193
- abstract_type (~> 0.0.7)
194
- adamantium (~> 0.2.0)
195
- anima (~> 0.2.0)
196
- ast (~> 2.0.0)
197
- concord (~> 0.1.4)
198
- equalizer (~> 0.0.9)
199
- ice_nine (~> 0.11.0)
200
- procto (~> 0.0.2)
201
- multi_json (1.10.1)
202
- multi_test (0.1.1)
203
- multi_xml (0.5.5)
204
- mutant (0.6.0)
205
- abstract_type (~> 0.0.7)
206
- adamantium (~> 0.2.0)
207
- anima (~> 0.2.0)
208
- ast (~> 2.0)
209
- concord (~> 0.1.5)
210
- diff-lcs (~> 1.2)
211
- equalizer (~> 0.0.9)
212
- ice_nine (~> 0.11.0)
213
- inflecto (~> 0.0.2)
214
- memoizable (~> 0.4.2)
215
- morpher (~> 0.2.3)
216
- parallel (~> 1.2.0)
217
- parser (~> 2.1)
218
- procto (~> 0.0.2)
219
- unparser (~> 0.1.14)
220
- mutant-rspec (0.6.0)
221
- mutant (~> 0.6.0)
222
- rspec-core (>= 2.14.1, < 3.1.0)
223
- netrc (0.7.7)
224
- nokogiri (1.6.3.1)
225
- mini_portile (= 0.6.0)
226
- padrino-helpers (0.12.3)
227
- i18n (~> 0.6, >= 0.6.7)
228
- padrino-support (= 0.12.3)
229
- tilt (~> 1.4.1)
230
- padrino-support (0.12.3)
231
- activesupport (>= 3.1)
232
- parallel (1.2.4)
233
- parser (2.1.9)
234
- ast (>= 1.1, < 3.0)
235
- slop (~> 3.4, >= 3.4.5)
236
- posix-spawn (0.3.9)
237
- powerpack (0.0.9)
238
- procto (0.0.2)
239
- pry (0.10.1)
240
- coderay (~> 1.1.0)
241
- method_source (~> 0.8.1)
242
- slop (~> 3.4)
243
- pry-byebug (2.0.0)
244
- byebug (~> 3.4)
245
- pry (~> 0.10)
246
- pry-doc (0.6.0)
247
- pry (~> 0.9)
248
- yard (~> 0.8)
249
- rack (1.5.2)
250
- rack-test (0.6.2)
251
- rack (>= 1.0)
252
- rainbow (2.0.0)
253
- rake (10.3.2)
254
- rb-fsevent (0.9.4)
255
- rb-inotify (0.9.5)
256
- ffi (>= 0.5.0)
257
- redcarpet (3.1.2)
258
- ref (1.0.5)
259
- rest-client (1.7.2)
260
- mime-types (>= 1.16, < 3.0)
261
- netrc (~> 0.7)
262
- rspec (3.0.0)
263
- rspec-core (~> 3.0.0)
264
- rspec-expectations (~> 3.0.0)
265
- rspec-mocks (~> 3.0.0)
266
- rspec-core (3.0.4)
267
- rspec-support (~> 3.0.0)
268
- rspec-expectations (3.0.4)
269
- diff-lcs (>= 1.2.0, < 2.0)
270
- rspec-support (~> 3.0.0)
271
- rspec-legacy_formatters (1.0.0)
272
- rspec-core (>= 3.0.0.beta2)
273
- rspec-support (>= 3.0.0.beta2)
274
- rspec-mocks (3.0.4)
275
- rspec-support (~> 3.0.0)
276
- rspec-support (3.0.4)
277
- rubocop (0.23.0)
278
- json (>= 1.7.7, < 2)
279
- parser (~> 2.1.9)
280
- powerpack (~> 0.0.6)
281
- rainbow (>= 1.99.1, < 3.0)
282
- ruby-progressbar (~> 1.4)
283
- ruby-progressbar (1.5.1)
284
- rubyzip (1.1.6)
285
- sass (3.4.3)
286
- sequel (4.14.0)
287
- simplecov (0.9.0)
288
- docile (~> 1.1.0)
289
- multi_json
290
- simplecov-html (~> 0.8.0)
291
- simplecov-html (0.8.0)
292
- slop (3.6.0)
293
- smart_colored (1.1.1)
294
- sparkr (0.4.1)
295
- sprockets (2.12.2)
296
- hike (~> 1.2)
297
- multi_json (~> 1.0)
298
- rack (~> 1.0)
299
- tilt (~> 1.1, != 1.3.0)
300
- sprockets-helpers (1.1.0)
301
- sprockets (~> 2.0)
302
- sprockets-sass (1.2.0)
303
- sprockets (~> 2.0)
304
- tilt (~> 1.1)
305
- sqlite3 (1.3.9)
306
- term-ansicolor (1.3.0)
307
- tins (~> 1.0)
308
- therubyracer (0.12.1)
309
- libv8 (~> 3.16.14.0)
310
- ref
311
- therubyrhino (2.0.4)
312
- therubyrhino_jar (>= 1.7.3)
313
- therubyrhino_jar (1.7.4)
314
- thor (0.19.1)
315
- thread_safe (0.3.4)
316
- tilt (1.4.1)
317
- timers (4.0.1)
318
- hitimes
319
- tins (1.3.2)
320
- tmrb (1.2.7)
321
- thor
322
- travis-lint (2.0.0)
323
- json
324
- tzinfo (1.2.2)
325
- thread_safe (~> 0.1)
326
- uber (0.0.8)
327
- uglifier (2.5.3)
328
- execjs (>= 0.3.0)
329
- json (>= 1.8.0)
330
- unparser (0.1.14)
331
- abstract_type (~> 0.0.7)
332
- adamantium (~> 0.2.0)
333
- concord (~> 0.1.5)
334
- equalizer (~> 0.0.9)
335
- parser (~> 2.1)
336
- procto (~> 0.0.2)
337
- versionomy (0.4.4)
338
- blockenspiel (>= 0.4.5)
339
- xml-simple (1.1.4)
340
- yard (0.8.7.4)
341
-
342
- PLATFORMS
343
- ruby
344
-
345
- DEPENDENCIES
346
- activesupport
347
- aruba
348
- awesome_print
349
- bundler
350
- byebug
351
- command_exec
352
- coveralls
353
- cucumber
354
- erubis
355
- fedux_org-stdlib (>= 0.7.20)
356
- filegen
357
- foreman
358
- fuubar
359
- github-markup
360
- hirb
361
- inch
362
- launchy
363
- license_finder
364
- middleman-presentation (>= 0.15.8)
365
- middleman-presentation-helpers!
366
- mutant
367
- mutant-rspec
368
- pry
369
- pry-byebug
370
- pry-doc
371
- rake
372
- redcarpet
373
- rspec
374
- rspec-legacy_formatters
375
- rubocop
376
- simplecov
377
- therubyracer
378
- therubyrhino
379
- tmrb
380
- travis-lint
381
- versionomy
382
- yard
@@ -1,25 +0,0 @@
1
- AllCops:
2
- Exclude:
3
- - 'tmp/**/*'
4
-
5
- # Offense count: 1
6
- # Configuration parameters: Exclude.
7
- Style/FileName:
8
- Enabled: false
9
-
10
- # Offense count: 8
11
- # Configuration parameters: CountComments.
12
- Style/MethodLength:
13
- Max: 118
14
- Enabled: false
15
-
16
- # Offense count: 1
17
- # Configuration parameters: CountComments.
18
- Style/ClassLength:
19
- Max: 160
20
- Enabled: false
21
-
22
- # Offense count: 3
23
- Style/CyclomaticComplexity:
24
- Max: 9
25
- Enabled: false