limarka 0.4.5 → 0.4.6

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: 21da50b020bf07d44668b264dd2a014a3dfee9bd
4
- data.tar.gz: 5d7afab61696403096825635c919c8adf468c102
3
+ metadata.gz: d7773b3a9edba1e4281ed38eac49fab213c1025a
4
+ data.tar.gz: 14352047c73a1da7b148b47f0b37d34e26577712
5
5
  SHA512:
6
- metadata.gz: d3e4767268647880bf0c67d34bb185c5df79ddb2663654cfed1d889110616cf5b308815e2af86b29a8fc655a9f780eeb0179eded79073bfe965a5171ff24543b
7
- data.tar.gz: 33376976a00659fd17d3fe000cfd7baca821555b8548bcc3fb8996b2f7554bb2f0de90bf48a8d86f15310b6be1e86434cb9aec66a455331f2312c4bd9e8a58b0
6
+ metadata.gz: 83133830a8348f29cf53b74412ee61fda9dbd8236d665c482d44bc717732bccc53a7f437cc3ed20bfa24536e08c9ce5a9c794f5b6195ed69c878364b338537e6
7
+ data.tar.gz: a7aaec9d8416b06faab479f9b8206666a014aa233de4a3b2a8c8e5c8a1f5777314c144dd7f86dfa46dca69a772abd8e9aba72c420a697f7a14684896b73d920e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.4.6](https://github.com/abntex/limarka/tree/v0.4.6) (2016-11-28)
4
+ [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.5...v0.4.6)
5
+
6
+ **Melhorias implementadas:**
7
+
8
+ - Antecipar validação de dados quando inserido figuras [\#78](https://github.com/abntex/limarka/issues/78)
9
+
10
+ **Bugs corrigidos:**
11
+
12
+ - Apresentação do número da página [\#71](https://github.com/abntex/limarka/issues/71)
13
+
3
14
  ## [v0.4.5](https://github.com/abntex/limarka/tree/v0.4.5) (2016-11-20)
4
15
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.4...v0.4.5)
5
16
 
data/README.md CHANGED
@@ -48,11 +48,11 @@ A documentação do limarka será mantida no [wiki do projeto](https://github.co
48
48
 
49
49
  - [Vídeos](https://www.youtube.com/playlist?list=PLTnAY6TvPRKK6OgGYy3UA0oFdfCfRZesY)
50
50
 
51
- # Origem do projeto
51
+ # Contribua participando da pesquisa sobre o limarka
52
52
 
53
- O projeto tem como origem uma pesquisa científica sobre utilização de linguagem de marcação de texto para elaboração de monografias (em andamento).
53
+ O projeto tem como origem uma pesquisa científica (em andamento) sobre utilização de linguagem de marcação de texto para elaboração de monografias.
54
54
 
55
- - Deseja participar da pesquisa científica do projeto?
55
+ - [Deseja participar da pesquisa científica do projeto](https://docs.google.com/forms/d/e/1FAIpQLSeNjcfJx0HQuR1p4d7moeJSL0gg25dGw0gepIBtyf6XdV9Zxw/viewform)?
56
56
  - [Deseja contribuir com o desenvolvimento?](https://github.com/abntex/limarka/wiki/Desenvolvimento)
57
57
 
58
58
  # Contributing
data/lib/limarka/cli.rb CHANGED
@@ -79,9 +79,11 @@ DESC
79
79
 
80
80
  if (options[:interativo]) then
81
81
  arquivo = ask_figura_arquivo(arquivo)
82
+ valida_figura_arquivo(arquivo) # antecipando validação issue #78
82
83
  legenda = ask_figura_legenda
83
84
  fonte = ask_figura_fonte
84
85
  rotulo = ask_figura_rotulo(rotulo, arquivo)
86
+ valida_figura_rotulo(rotulo) # antecipando validação issue #78
85
87
  dimensoes = ask_figura_dimensoes
86
88
  else
87
89
  legenda = options[:legenda]
@@ -90,12 +92,14 @@ DESC
90
92
  if (not arquivo) then
91
93
  arquivo = ask_figura_arquivo(nil)
92
94
  end
95
+ valida_figura_arquivo(arquivo) # antecipando validação issue #78
93
96
  rotulo = "fig:" + propoe_rotulo(File.basename arquivo, ".*") if rotulo.nil?
97
+ valida_figura_rotulo(rotulo) # antecipando validação issue #78
94
98
  dimensoes = options[:dimensoes]
95
99
  end
96
100
 
97
- valida_figura_arquivo(arquivo)
98
- valida_figura_rotulo(rotulo)
101
+
102
+
99
103
 
100
104
  dimensoes.each do |dim|
101
105
 
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limarka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-20 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler