jekyll-plantuml-base64 0.1.4.36 → 0.1.4.36.1

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
  SHA256:
3
- metadata.gz: 44aadf5dcb505f68c5bb567f12178a05d12b447b1a69848f91ae74db7a442da2
4
- data.tar.gz: 527964e789b049de5c30332dc6ae0deeb2f51a5cf07b70f82d9f8fff82d9e876
3
+ metadata.gz: a5832dd099c0a084e6857901452d659a5f50baed187eb0e65afaca2baaca1ac7
4
+ data.tar.gz: c11ac6bf19d708ce970e2e5bc230e7cb857019b1d07f6f38de7aff28ce31396e
5
5
  SHA512:
6
- metadata.gz: 03523a9a51538d487f5ec43c9ed81a848aeb0624e91d87138666ca39e1a81552f4a8dbc89e508c08299e86e205e71475d3ee353ef0a376589eb84bd3d402c0cd
7
- data.tar.gz: eaa7f896b954308586b8b4db09bf6a0e693b5328f602550a2634752992d57ee6c8a0e28344595c65527b9e090b68bace2a3f5bab280a8413c49c178f7923439b
6
+ metadata.gz: 5a4e9e4f6ed6e4084491e487560ab067e3f5d8d638a3c9859e78a66214be839f679a810551e7d4aa9f294c51f1d999bf73c76b6fb499d94b67a65cb11ec1d2aa
7
+ data.tar.gz: ee3264682c59cea75e1a60377beaf52a2d3e666e6a9f5748a2e4e6e629628e8688ce661c42a866df696b4dead95d9dd1905a34877f5559f5dffed54d965a5f3b
data/README.md CHANGED
@@ -17,10 +17,10 @@ Option 1:
17
17
  To install this plugin on Jekyll, you just have to follow the guideline of Jekyll [documentation](http://jekyllrb.com/docs/plugins/)
18
18
 
19
19
  Option 2:
20
- Use rubygems, by adding `gem 'jekyll-plantuml-base64', '~> 0.1.4.34'` on your gemfile then `bundle install`
20
+ Use rubygems, by adding `gem 'jekyll-plantuml-base64', '~> 0.1.4.36'` on your gemfile then `bundle install`
21
21
 
22
22
  Option 3:
23
- Pull the gems directly from git by adding `gem 'jekyll-remote-plantuml', '0.1.4.34', git: 'https://github.com/RobbiNespu/jekyll-remote-plantuml'` on your gemfile and then `bundle install`
23
+ Pull the gems directly from git by adding `gem 'jekyll-remote-plantuml', '0.1.4.36', git: 'https://github.com/RobbiNespu/jekyll-remote-plantuml'` on your gemfile and then `bundle install`
24
24
  ## Usage
25
25
 
26
26
  To use the jekyll-plantuml-base64 plugin, you just have to wrap you text between `{% plantuml %}` and `{% endplantuml %}` tags.
@@ -43,10 +43,11 @@ module Jekyll
43
43
  # Render
44
44
  def render(context)
45
45
  output = super(context);
46
+ #Jekyll.logger.info "ZZZZZ we got > #{output}"
46
47
  code, pconf, baseurl = PlantUmlEncode64.new(output).encode(), PlantUmlConfig::DEFAULT, Jekyll.configuration({})['baseurl'];
47
48
  host,port = Jekyll.configuration({})['host'], Jekyll.configuration({})['port']
48
49
  p = {:url => pconf[:url], :type => pconf[:type], :code => code }
49
- Jekyll.logger.debug "Generate html with input params :", p;
50
+ #Jekyll.logger.info "Generate html with input params :", p;
50
51
  #d = RemoteLoader.instance.savedRemoteBinary(p);
51
52
  d = RemoteLoader.instance.savedRemoteBinaryBase64(p);
52
53
  #puts d
@@ -122,7 +122,7 @@ class RemoteLoader
122
122
  base64 = `#{echo} | base64`
123
123
  #Jekyll.logger.info "ZZZZZ we got > #{base64}"
124
124
  #return base64
125
- return "<img src=\"data:image/png;base64, #{base64}\">"
125
+ return "<img src=\"data:image/png;base64, #{base64}#center\">"
126
126
  end
127
127
 
128
128
  # Public : get and saved the remote uri from a parameters hash
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-plantuml-base64
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.36
4
+ version: 0.1.4.36.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robbi Nespu