jekyll-google-photos 1.0.0 → 1.0.1

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: 4196827dd3a3b94ca00f5a0a3e7c4a5f47c9447a
4
- data.tar.gz: ddbb5f23ce3c09a237db5c9a87b1de74315d644c
3
+ metadata.gz: ae2cadb34945a246661a9e66b455e065120f7c96
4
+ data.tar.gz: fbc291d9890e4dd111684f816b4b4f88e0cf6f75
5
5
  SHA512:
6
- metadata.gz: 427374f095a2a4f984a6b5c0ad6fce8e35c20d9bc310b12af509b13691a7a72de361b2c6c50cf0cad8d6d9378ae09b10d633b8a90d29f1f10d3c40efba33e89e
7
- data.tar.gz: 50947e581864842ac80d77aaf70ef155ba31f2b49f8d285642ad4c73edcb95fb89550b46fc82fdaa32cbb5ae5499034d871384372f7ac8a4b49837855f277e86
6
+ metadata.gz: d55b36e7a274d0f93f4b5ec9e1fd507c7a3f230bfcb5c55d534b51982c28c55193e1dd44713f4c61af56e3eacafd966c5dbcb49e42a06fec2c6e685629b69238
7
+ data.tar.gz: c890900bf019522d2e759b4f98ae9a2ce713d3c65b8c914daace012b0e4798c11fa7bd7d76cb3d04898ba464cfb3057f6897aa61f58bebe397e3426a6923a62c
data/Gemfile.lock CHANGED
@@ -9,7 +9,6 @@ GEM
9
9
  eventmachine (>= 0.12.9)
10
10
  http_parser.rb (~> 0.6.0)
11
11
  eventmachine (1.2.7)
12
- fastimage (2.1.5)
13
12
  ffi (1.11.1)
14
13
  forwardable-extended (2.6.0)
15
14
  http_parser.rb (0.6.0)
@@ -69,7 +68,6 @@ PLATFORMS
69
68
  ruby
70
69
 
71
70
  DEPENDENCIES
72
- fastimage (~> 2.1)
73
71
  jekyll (~> 3.7.2)
74
72
  jekyll-feed (~> 0.6)
75
73
  minima (~> 2.0)
data/README.md CHANGED
@@ -6,17 +6,15 @@
6
6
 
7
7
  # Installing
8
8
 
9
- add the following to your Gemfile:
9
+ add the following to your plugins in `_config.yml`:
10
10
  ```
11
- gem 'jekyll-google-photos'
12
- gem 'fastimage'
11
+ - jekyll-google-photos
13
12
  ```
14
13
 
15
- then:
14
+ Install the gem using bundle or use the regular gem installation method
16
15
  ```
17
- bundle install
16
+ bundle add jekyll-google-photos
18
17
  ```
19
- Note: Simplified installation is still a WIP
20
18
 
21
19
  You also need to add this plugin to your `_config.yml` file:
22
20
  ```
@@ -26,16 +24,21 @@ plugins:
26
24
 
27
25
  # Usage:
28
26
  ```
29
- {% google_photos <Link to Shared Google Photos Album> %}
27
+ {% google_photos <link_to_album> row_height row_height_tablet row_height_phone tablet_max phone_max margin %}
30
28
  ```
29
+ `row_height`: Row height on the biggest screen (in pixels)
30
+ `row_height_tablet`: Row height on tablets (in pixels)
31
+ `row_height_phone`: Row height on phones (in pixels)
32
+ `tablet_max`: Width below which `row_height_tablet` will be used (in pixels)
33
+ `phone_max`: Width below which `row_height_phone` will be used (in pixels)
34
+ `margin`: space or margin between rows and adjacent photos
35
+
31
36
  Example:
32
37
  ```
33
- {% google_photos https://photos.app.goo.gl/bhWukds8QVodFU246 %}
38
+ {% google_photos https://photos.app.goo.gl/bhWukds8QVodFU246 300 150 100 1280 400 5 %}
34
39
  ```
35
40
 
36
41
  # Features to implement
37
42
 
38
- * Revamp Grid Layout Algorithm
39
- * Let users decide how many photos in each row
40
43
  * Full-Screen HQ Image View and Slider
41
44
  * Do something about Videos
@@ -1,3 +1,3 @@
1
1
  module JekyllGooglePhotos
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-google-photos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chirag Arora