jekyll-thumbor 0.4.0 → 0.4.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: fc16e805534c4b29e22e016579e879505e0bad6c
4
- data.tar.gz: 2cb1bc7de8c620963fe6cfe021809dbf6a9f868d
3
+ metadata.gz: ba5bd159fb7f87db7c8fb1862fca556aa0e2d959
4
+ data.tar.gz: 6011292dc7b4a3ad917fc3116ce17a4890aabd41
5
5
  SHA512:
6
- metadata.gz: f7fb479893313be077ff7e0092266f80023d615f9bf62da2b6d5ca3fa94bc3e3f1c75099823da67bac0166917511f781000ae3181e95d45923705a2ec280241b
7
- data.tar.gz: 371ab1697454f68fc236488858b75287c0aa8b99e71db21c9c640d9c1fe9496784aba0157842944f0e15705e336b75c6feb90892b33313baa48702dc10b028cb
6
+ metadata.gz: ae912eb68157fcb7bd34eb5e995144a0e3880866ffcbdcb07922502bee0842ed1a550413a016421d9faa8bffaa621e33939fe3fbef22d6464c1b4d7699f1fb68
7
+ data.tar.gz: f491abbf96f8271fc93dc49215dab35510fc4740814469fe3ac7c6b9ecf3f5e0f723803266a56c169ae854903af94c6e74326981c19aa2e27fbb02eb607ba80a
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.4.0
2
+ current_version = 0.4.1
3
3
  commit = True
4
4
  tag = False
5
5
  message = :bookmark: {current_version} → {new_version}
@@ -9,3 +9,4 @@ search = v{current_version}
9
9
  replace = v{new_version}
10
10
 
11
11
  [bumpversion:file:lib/jekyll/thumbor_tag/version.rb]
12
+
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-thumbor (0.4.0)
4
+ jekyll-thumbor (0.4.1)
5
5
  ruby-thumbor
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -42,7 +42,7 @@ thumbor:
42
42
  Then in the liquid template you can use the template tag:
43
43
 
44
44
  ```html
45
- <img src="{% thumbor_tag https://example.org/picture.jpg, width: 500, height: 500 %}"
45
+ <img src="{% thumbor https://example.org/picture.jpg, width: 500, height: 500 %}"
46
46
  ```
47
47
 
48
48
  ## Development
@@ -1,4 +1,4 @@
1
- version: v0.4.0-{branch}-{build}
1
+ version: v0.4.1-{branch}-{build}
2
2
 
3
3
  environment:
4
4
  matrix:
@@ -19,8 +19,14 @@ module Jekyll
19
19
  end
20
20
  end
21
21
 
22
+ <<<<<<< HEAD
22
23
  def render(context)
23
24
  @config = context.registers[:site].config['thumbor']
25
+ =======
26
+ def render(context)
27
+ @url = Liquid::Template.parse(@url).render context
28
+ @config = context.registers[:site].config['thumbor']
29
+ >>>>>>> ad314eb... added functionality to interpret jekyll variables
24
30
 
25
31
  image = Thumbor::Cascade.new(@config['key'], @url)
26
32
  image_url = image.width(@parameters['width']).height(@parameters['height']).generate
@@ -31,4 +37,8 @@ module Jekyll
31
37
  end
32
38
  end
33
39
 
40
+ <<<<<<< HEAD
34
41
  Liquid::Template.register_tag('thumbor', Jekyll::ThumborTag::ThumborTag)
42
+ =======
43
+ Liquid::Template.register_tag('thumbor_tag', Jekyll::ThumborTag)
44
+ >>>>>>> ad314eb... added functionality to interpret jekyll variables
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module ThumborTag
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-thumbor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Braithwaite