jekyll-gallery-generator 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 200369582df5f115d3e63d2f008dc385a8c99cd6
4
- data.tar.gz: 1e8b3b8ecff031e23be82515651be182d242602d
3
+ metadata.gz: d70ad91339c8d48cb87fc16a6d3b431cc136096c
4
+ data.tar.gz: 155ad711a770bec8480548b9443a23bb0bc59dd5
5
5
  SHA512:
6
- metadata.gz: de928bc42c7541908600645b6cd7318e2132adfb7836577fdd4e82c19f976d33a6499a9bb0432420ebb313ea034a20cb37bef16516e51f2c7e4d72ded7cb6c00
7
- data.tar.gz: 5da66490466bbedc1642fce394ba8c4030118485f9c4d27cac5f19d5325d09197a3da33995fa2d79ae06bb031a4def5d604151fcd783f98659c4dbaa71e09fab
6
+ metadata.gz: 4ac75b160f42bb8114c770c3cba54d54a9972a167f6dfdf716fcb45d0aa4ef9bddb6e1ea566ac7e71228a2395a4ec70aaa2101a2bcbfd56f5174890f41e4b182
7
+ data.tar.gz: 3c6436e0aee5e777ec66fbfe774d4b1405a1353f090e958c8800961d9973051da78fa8e49b23af18604d8981c88906b123840aad8db7281bd1c36720e7f8c1fd
data/README.md CHANGED
@@ -8,6 +8,8 @@ This plugin is quite minimalist. It generates galleries with no pagination, no s
8
8
 
9
9
  [![Build Status](https://travis-ci.org/ggreer/jekyll-gallery-generator.svg?branch=master)](https://travis-ci.org/ggreer/jekyll-gallery-generator)
10
10
 
11
+ [![Floobits Status](https://floobits.com/ggreer/jekyll-gallery-generator.svg)](https://floobits.com/ggreer/jekyll-gallery-generator/redirect)
12
+
11
13
 
12
14
  ## Usage
13
15
 
@@ -15,10 +17,10 @@ This plugin is quite minimalist. It generates galleries with no pagination, no s
15
17
 
16
18
  2. Add `jekyll-gallery-generator` to the gems list in your `_config.yml`:
17
19
 
18
-
19
- gems:
20
- - jekyll-gallery-generator
21
-
20
+ ```
21
+ gems:
22
+ - jekyll-gallery-generator
23
+ ```
22
24
 
23
25
  3. Copy your image directories into `jekyl-site/photos/`. Here's what my directory structure looks like:
24
26
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "jekyll-gallery-generator"
3
3
  spec.summary = "Generate galleries with thumbnails for your Jekyll site."
4
- spec.version = "0.0.4"
4
+ spec.version = "0.0.5"
5
5
  spec.authors = ["Geoff Greer"]
6
6
  spec.email = "geoff@greer.fm"
7
7
  spec.homepage = "https://github.com/ggreer/jekyll-gallery-generator"
@@ -1,12 +1,23 @@
1
1
  ---
2
2
  layout: page
3
3
  ---
4
+ <style TYPE="text/css">
5
+ .gallery-wrapper {
6
+ width: 35em;
7
+ text-align: center;
8
+ padding: 1em 0 4em 0;
9
+ }
10
+ .gallery-best-image{
11
+ max-height: 20em;
12
+ max-width: 20em;
13
+ }
14
+ </style>
4
15
  {% for gallery in page.galleries %}
5
- <div style="width: 35em; text-align: center; padding: 1em 0 4em 0;">
16
+ <div class="gallery-wrapper">
6
17
  <a href="{{ gallery['gallery'] }}">
7
- <img style="max-height: 20em; max-width: 20em;" src="{{ gallery['gallery'] }}/thumbs/{{ gallery['best_image'] }}">
18
+ <img class="gallery-best-image" src="{{ gallery['gallery'] }}/thumbs/{{ gallery['best_image'] }}">
8
19
  </a>
9
20
  <h3><a href="{{ gallery['gallery'] }}">{{ gallery["name"] }}</a></h3>
10
- {{ gallery["images"] | size }} images
21
+ {{ gallery["images"] | size }} image{% if gallery["images"].size != 1 %}s{% endif %}
11
22
  </div>
12
23
  {% endfor %}
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-gallery-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Greer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-24 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exifr
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rmagick
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.12'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.12'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
69
  description:
@@ -72,8 +72,8 @@ executables: []
72
72
  extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
- - ".gitignore"
76
- - ".travis.yml"
75
+ - .gitignore
76
+ - .travis.yml
77
77
  - Gemfile
78
78
  - LICENSE
79
79
  - NOTICE
@@ -93,18 +93,18 @@ require_paths:
93
93
  - lib
94
94
  required_ruby_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
96
+ - - '>='
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements:
105
105
  - imagemagick, >=v6.9 (needed by RMagick)
106
106
  rubyforge_project:
107
- rubygems_version: 2.4.5
107
+ rubygems_version: 2.0.14
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Generate galleries with thumbnails for your Jekyll site.