asciinurse 0.1.1 → 0.1.2

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: ce23bddfcf3459dec977ee6252c5250a31a6c1ff
4
- data.tar.gz: 179718fa3c9876c1fd4a6eb49a2ce3d15b18748c
3
+ metadata.gz: 0e696ea11c55f080b823069a696f7baa35d0b7ba
4
+ data.tar.gz: 89fc32d5a5c19bc31b26a93d653c1c361d2c7d73
5
5
  SHA512:
6
- metadata.gz: ae85a1e801b750655e66b478d6ba7aa1cef5fc8a13291ad88e8572b6addf5a16e0c99de47568c67066ca0f358da6a767a0cd5a17bc09f34c7cdd513dba921815
7
- data.tar.gz: 474a4643d1ee2521510a5770ac1f6168a4618a9759367cb2c41d1f5a2582e5c90330085a0121b21b62ed20d6772be0aaeb8b3f6f0dbc2c32e9d09c11f405774e
6
+ metadata.gz: 352436651420ccd8fcebd2741bb168addbb0875ff3ef357e45a39cb141846c0a45acee1124dd9cf40d6ff172d816db66e113bc7b6a63b2f3c7b4155e33d56010
7
+ data.tar.gz: 0d46fcb628d98035f554f2a45491e2099fe03a314828877f4b7a0879991cb7233492bf561676de33c6adb0a0d3efb3237fc8715535b3322a233e64e182a2d01d
data/.idea/asciinurse.iml CHANGED
@@ -1,5 +1,14 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="" />
7
+ <option name="GEM_APP_TEST_PATH" value="" />
8
+ <option name="GEM_APP_LIB_PATH" value="" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
3
12
  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
13
  <exclude-output />
5
14
  <content url="file://$MODULE_DIR$" />
@@ -9,24 +18,24 @@
9
18
  <orderEntry type="library" scope="PROVIDED" name="addressable (v2.3.8, RVM: ruby-2.2-head) [gem]" level="application" />
10
19
  <orderEntry type="library" scope="PROVIDED" name="afm (v0.2.2, RVM: ruby-2.2-head) [gem]" level="application" />
11
20
  <orderEntry type="library" scope="PROVIDED" name="asciidoctor (v1.5.2, RVM: ruby-2.2-head) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="asciidoctor-pdf (v1.5.0.alpha.7, RVM: ruby-2.2-head) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.8.4, RVM: ruby-2.2-head) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="css_parser (v1.3.6, RVM: ruby-2.2-head) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="asciidoctor-pdf (v1.5.0.alpha.9, RVM: ruby-2.2-head) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, RVM: ruby-2.2-head) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="css_parser (v1.3.7, RVM: ruby-2.2-head) [gem]" level="application" />
15
24
  <orderEntry type="library" scope="PROVIDED" name="hashery (v2.1.1, RVM: ruby-2.2-head) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="pdf-core (v0.2.5, RVM: ruby-2.2-head) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="pdf-core (v0.6.0, RVM: ruby-2.2-head) [gem]" level="application" />
17
26
  <orderEntry type="library" scope="PROVIDED" name="pdf-reader (v1.3.3, RVM: ruby-2.2-head) [gem]" level="application" />
18
27
  <orderEntry type="library" scope="PROVIDED" name="polyglot (v0.3.5, RVM: ruby-2.2-head) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="prawn (v1.2.1, RVM: ruby-2.2-head) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="prawn (v2.0.2, RVM: ruby-2.2-head) [gem]" level="application" />
20
29
  <orderEntry type="library" scope="PROVIDED" name="prawn-icon (v0.6.4, RVM: ruby-2.2-head) [gem]" level="application" />
21
- <orderEntry type="library" scope="PROVIDED" name="prawn-svg (v0.18.0, RVM: ruby-2.2-head) [gem]" level="application" />
22
- <orderEntry type="library" scope="PROVIDED" name="prawn-table (v0.1.1, RVM: ruby-2.2-head) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="prawn-svg (v0.21.0, RVM: ruby-2.2-head) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="prawn-table (v0.2.2, RVM: ruby-2.2-head) [gem]" level="application" />
23
32
  <orderEntry type="library" scope="PROVIDED" name="prawn-templates (v0.0.3, RVM: ruby-2.2-head) [gem]" level="application" />
24
33
  <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2-head) [gem]" level="application" />
25
34
  <orderEntry type="library" scope="PROVIDED" name="ruby-rc4 (v0.1.5, RVM: ruby-2.2-head) [gem]" level="application" />
26
35
  <orderEntry type="library" scope="PROVIDED" name="safe_yaml (v1.0.4, RVM: ruby-2.2-head) [gem]" level="application" />
27
- <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.4, RVM: ruby-2.2-head) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.5, RVM: ruby-2.2-head) [gem]" level="application" />
28
37
  <orderEntry type="library" scope="PROVIDED" name="treetop (v1.5.3, RVM: ruby-2.2-head) [gem]" level="application" />
29
- <orderEntry type="library" scope="PROVIDED" name="ttfunk (v1.2.2, RVM: ruby-2.2-head) [gem]" level="application" />
38
+ <orderEntry type="library" scope="PROVIDED" name="ttfunk (v1.4.0, RVM: ruby-2.2-head) [gem]" level="application" />
30
39
  </component>
31
40
  <component name="RModuleSettingsStorage">
32
41
  <LOAD_PATH number="0" />
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
data/changelog.adoc CHANGED
@@ -1,5 +1,10 @@
1
1
  = CHANGELOG
2
2
 
3
+ == Version 0.1.2
4
+
5
+ - Centered charts by default in pdf output
6
+ - Improved chart image in pdf
7
+
3
8
  == Version 0.1.1
4
9
 
5
10
  - Fix requires in some ruby files
Binary file
Binary file
@@ -18,8 +18,9 @@ module Asciinurse
18
18
  create_pass_block parent, html, attrs, subs: nil
19
19
  else
20
20
  attrs['target'] = create_image document, config, attrs
21
- attrs['width'] ||= 480
22
- attrs['height'] ||= 250
21
+ attrs['width'] ||= 800
22
+ attrs['height'] ||= 600
23
+ attrs['align'] ||= 'center'
23
24
 
24
25
  create_image_block parent, attrs
25
26
  end
@@ -1,3 +1,3 @@
1
1
  module Asciinurse
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciinurse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ataxexe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -79,6 +79,7 @@ files:
79
79
  - ".idea/asciinurse.iml"
80
80
  - ".idea/compiler.xml"
81
81
  - ".idea/copyright/profiles_settings.xml"
82
+ - ".idea/encodings.xml"
82
83
  - ".idea/misc.xml"
83
84
  - ".idea/modules.xml"
84
85
  - ".idea/uiDesigner.xml"
@@ -101,8 +102,6 @@ files:
101
102
  - examples/charts/highcharts.pdf
102
103
  - examples/charts/indicators.csv
103
104
  - examples/convert.rb
104
- - i18n/en_US.yml
105
- - i18n/pt_BR.yml
106
105
  - lib/asciinurse.rb
107
106
  - lib/asciinurse/extensions/charts/chart_data.rb
108
107
  - lib/asciinurse/extensions/charts/extension.rb
data/i18n/en_US.yml DELETED
@@ -1,12 +0,0 @@
1
- en_US:
2
- document:
3
- figure-caption: Figure
4
- table-caption: Table
5
- warning-caption: Warning
6
- caution-caption: Caution
7
- important-caption: Important
8
- note-caption: Note
9
- tip-caption: Tip
10
- example-caption: Example
11
- toc-title: Table of Contents
12
- last-update-label: Last updated
data/i18n/pt_BR.yml DELETED
@@ -1,12 +0,0 @@
1
- pt_BR:
2
- document:
3
- figure-caption: Figura
4
- table-caption: Tabela
5
- warning-caption: Atenção
6
- caution-caption: Cuidado
7
- important-caption: Importante
8
- note-caption: Nota
9
- tip-caption: Dica
10
- example-caption: Exemplo
11
- toc-title: Índice
12
- last-update-label: Atualizado em