limarka 1.1.0 → 19.5.pre.259

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: fe897ea17b11ec8d28793235ce4a7f691156fee1242a7000a38957b6e3c243f2
4
- data.tar.gz: 32c74796324e9b768e3b261c34355ba1de43f5c2dd84b74af21fb6b93d94e6fd
3
+ metadata.gz: 9d2e2480797eff4f23b17da2e9b739525ef3453ef220f074a51ff5da26bff36d
4
+ data.tar.gz: 9ac745cf22af5f120bda0fb20f76075e2973a74a0d048c85c1d3bc687c322e3b
5
5
  SHA512:
6
- metadata.gz: c4f88bfe98f5f8762efc803d8630ca3f88f33ac12fdd75434b897f9bc544354e53275bb881be8ff71c2e01e93a48ff82a0da7e3844a6f41be1ddc51c3728aa12
7
- data.tar.gz: e290641db05810b064ee56bf54e7aa085896b7b66251bc399c222db76ed963caeda449fcd66c772d3c10dc83e86e745f8a95ebf82847bfb73a88d6bd4bc8715b
6
+ metadata.gz: a22b3b7ff9244bb320a8874249ce096071520dc7d0956b881a8e92ba997b46d33b0bbe2d2aceadc0d4219203acee2db78e3e867fb1929653459eed7d1be5ba54
7
+ data.tar.gz: 72891b027eece94f8d7df71a132163a877f6af983f4f9d496f127597e3f5e9347af265b2f2ee001c8866814d52b8c09f5f960873cc00d6c68cca0e0daf1acec2
data/.travis.yml CHANGED
@@ -4,15 +4,35 @@ language: ruby
4
4
  services:
5
5
  - docker
6
6
  cache: bundle
7
-
8
7
  before_install:
9
8
  - sudo apt-get update -qq
10
- - sudo apt-get install -y -qq ruby-full pdftk xclip poppler-utils language-pack-pt libreoffice unzip pdfgrep locales
11
- - wget https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-1-amd64.deb && sudo dpkg -i pandoc-*.deb
9
+ - sudo apt-get install -y -qq
10
+ language-pack-pt
11
+ libreoffice
12
+ locales
13
+ pdfgrep
14
+ pdftk
15
+ poppler-utils
16
+ ruby-full
17
+ unzip
18
+ xclip
19
+ - wget https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-1-amd64.deb
20
+ && sudo dpkg -i pandoc-*.deb
12
21
  - wget -qO- "https://yihui.name/gh/tinytex/tools/install-unx.sh" | sh
13
- - tlmgr install memoir abntex2 lastpage microtype lipsum pdfpages ifetex textcase enumitem xcolor babel-portuges listings
22
+ - tlmgr install
23
+ abntex2
24
+ babel-portuges
25
+ enumitem
26
+ ifetex
27
+ lastpage
28
+ lipsum
29
+ listings
30
+ memoir
31
+ microtype
32
+ pdfpages
33
+ textcase
34
+ xcolor
14
35
  - export PATH=$PATH:~/bin
15
-
16
36
  script:
17
37
  - latexmk -v
18
38
  - xelatex -v
@@ -23,19 +43,15 @@ script:
23
43
  - bundle exec rspec -t @latex_minimo
24
44
  - bundle exec rake
25
45
  - bundle exec rake spec:latex
26
-
27
46
  after_failure:
28
- - cat test/latex/exemplo-minimo/xxx-Monografia.log
29
-
47
+ - cat test/latex/exemplo-minimo/xxx-Monografia.log
30
48
  deploy:
31
- - provider: script
32
- skip_cleanup: true
33
- script: bin/build-docker.sh && bin/deploy-docker.sh tag $TRAVIS_TAG
34
- on:
35
- tags: true
36
- - provider: script
37
- skip_cleanup: true
38
- script: bin/build-docker.sh && bin/deploy-docker.sh branch dev
39
- on:
40
- branch: master
41
- tags: false
49
+ - provider: script
50
+ skip_cleanup: true
51
+ script: bin/build-docker.sh && bin/deploy-docker.sh $TRAVIS_TAG
52
+ - provider: rubygems
53
+ api_key:
54
+ secure: YLuHbYsHGPTHoXIBr874CbIAn0/z0H0B8aW39NDQIwk7SMsd4HBgTq/6zgtUVLsp3AO9daHzk0FGcMKAOh9fxFzUuA5MmQTdQA8A3VI7JRM2BEVl8x6Hw2bjMTYMCAVGNGZT9oFKIq2lHByf9zDoQlT7CobKCY3Ofa0MTKcGgvfnqaW+VGosKrcYyZ9HPxBkH8SGnzef1joIcdtWOi3HHV28AacgRslWEkwTmYrsQcamTafQazuIbdhQ5UzvKS6PuIX56wvP6ugy9QTPtsU82x7oaDk+5e8ULJ2BMu/jwM4H3/aJ8ASg17a2EeIJRFckjQpMc+P3WCnbTu4tV2NqsXRzNmTcqwsM4bHTX2/WPlvVNwmTE9f5wSR9uCoQbDvCimCoo0miAE7xMbik0zvWVYZFtIcw3Rn+F+36jXXzY5xLSSYIZgJATbQgnNrYzCs54mUtmF+kUhYzDov4VfYcbc4ihEP6A/AdxvxuO4/xkGIsxlzxjCSw/Bs369zDXO5uUtORSQsLYPW4gZM+p++UMR63l7Radaq45HX0AVtkg9oWMj/UO8XCE2nMEUelcfeseuyy8ZB/Ga97KFVQH/LZLJYYU8+qDXQdfe8oWOlthuOA2QKyErDWQ9YWW2LVRhTacVjLBkYeChgpCReT1FDW982jfSWFCJTtb/XkM+D/90U=
55
+ gem: limarka
56
+ on:
57
+ repo: abntex/limarka
data/CHANGELOG.md CHANGED
@@ -3,13 +3,19 @@
3
3
  Todas as mudanças relevantes deste projeto serão documentadas neste arquivo.
4
4
 
5
5
 
6
- ## [v1.0.2](https://github.com/abntex/limarka/tree/v1.0.2) (2019-01-17)
6
+ ## [v1.1.0](https://github.com/abntex/limarka/tree/v1.1.0) (2019-06-04)
7
+ [Full Changelog](https://github.com/abntex/limarka/compare/v1.0.2...v1.1.0)
7
8
 
8
- [Full Changelog](https://github.com/abntex/limarka/compare/v1.0.1...v1.0.2)
9
+ **Melhorias implementadas:**
9
10
 
10
- A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para o Limarka](https://github.com/abntex/limarka/wiki/Instala%C3%A7%C3%A3o-no-Linux).
11
-
12
- **OBS**: Não se faz necessário atualizar para essa versão.
11
+ - Atualização de testes e dependencias [\#187](https://github.com/abntex/limarka/issues/187)
12
+ - Criar capas personalizadas a partir de arquivos pdf [\#185](https://github.com/abntex/limarka/issues/185)
13
+ - Gerar listas de quadros independente através de configuração [\#181](https://github.com/abntex/limarka/issues/181)
14
+ - Deploy de imagens docker diferenciadas para TAG e desenvolvimento [\#176](https://github.com/abntex/limarka/issues/176)
15
+ - Distriuir o limarka através do docker com tinytex [\#172](https://github.com/abntex/limarka/issues/172)
16
+
17
+ ## [v1.0.2](https://github.com/abntex/limarka/tree/v1.0.2) (2019-01-17)
18
+ [Full Changelog](https://github.com/abntex/limarka/compare/v1.0.1...v1.0.2)
13
19
 
14
20
  **Melhorias implementadas:**
15
21
 
@@ -19,10 +25,10 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
19
25
 
20
26
  - Atualizar documentação sobre o pacote pdftk no Ubuntu 18.04 [\#168](https://github.com/abntex/limarka/issues/168)
21
27
  - Atualizar documentação sobre dependências de compilação no Ubuntu 17.10.1 [\#160](https://github.com/abntex/limarka/issues/160)
28
+ - Sumário da versão v1.0.2 [\#171](https://github.com/abntex/limarka/issues/171)
22
29
  - Atualizar documentação sobre o TinyTex [\#170](https://github.com/abntex/limarka/issues/170)
23
30
 
24
31
  ## [v1.0.1](https://github.com/abntex/limarka/tree/v1.0.1) (2018-10-22)
25
-
26
32
  [Full Changelog](https://github.com/abntex/limarka/compare/v1.0.0...v1.0.1)
27
33
 
28
34
  **Bugs corrigidos:**
@@ -30,7 +36,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
30
36
  - Limarka ainda informava que a versão 2.X era incompatível [\#167](https://github.com/abntex/limarka/issues/167)
31
37
 
32
38
  ## [v1.0.0](https://github.com/abntex/limarka/tree/v1.0.0) (2018-10-22)
33
-
34
39
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.8.0...v1.0.0)
35
40
 
36
41
  **Melhorias implementadas:**
@@ -38,7 +43,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
38
43
  - Tornar o limarka compatível com o pandoc 2.0 [\#159](https://github.com/abntex/limarka/issues/159)
39
44
 
40
45
  ## [v0.8.0](https://github.com/abntex/limarka/tree/v0.8.0) (2018-10-20)
41
-
42
46
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.7.2...v0.8.0)
43
47
 
44
48
  **Melhorias implementadas:**
@@ -53,7 +57,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
53
57
  - Distribuição do limarka através de imagem Docker [\#155](https://github.com/abntex/limarka/issues/155)
54
58
 
55
59
  ## [v0.7.2](https://github.com/abntex/limarka/tree/v0.7.2) (2017-04-09)
56
-
57
60
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.7.1...v0.7.2)
58
61
 
59
62
  **Melhorias implementadas:**
@@ -67,7 +70,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
67
70
  - Identação na lista de siglas [\#139](https://github.com/abntex/limarka/issues/139)
68
71
 
69
72
  ## [v0.7.1](https://github.com/abntex/limarka/tree/v0.7.1) (2017-02-11)
70
-
71
73
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.7.0...v0.7.1)
72
74
 
73
75
  **Melhorias implementadas:**
@@ -75,7 +77,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
75
77
  - Atualização do pandoc para versão 1.19.2 [\#130](https://github.com/abntex/limarka/issues/130)
76
78
 
77
79
  ## [v0.7.0](https://github.com/abntex/limarka/tree/v0.7.0) (2017-02-11)
78
-
79
80
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.7...v0.7.0)
80
81
 
81
82
  **Melhorias implementadas:**
@@ -87,11 +88,9 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
87
88
  - Folha de aprovação gerada não apresenta o mês [\#128](https://github.com/abntex/limarka/issues/128)
88
89
 
89
90
  ## [v0.6.7](https://github.com/abntex/limarka/tree/v0.6.7) (2017-01-31)
90
-
91
91
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.6...v0.6.7)
92
92
 
93
93
  ## [v0.6.6](https://github.com/abntex/limarka/tree/v0.6.6) (2017-01-22)
94
-
95
94
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.5...v0.6.6)
96
95
 
97
96
  **Bugs corrigidos:**
@@ -100,7 +99,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
100
99
  - Erro nas referências quando title está entre duplas chaves e contem subtítulo [\#122](https://github.com/abntex/limarka/issues/122)
101
100
 
102
101
  ## [v0.6.5](https://github.com/abntex/limarka/tree/v0.6.5) (2017-01-16)
103
-
104
102
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.4...v0.6.5)
105
103
 
106
104
  **Melhorias implementadas:**
@@ -108,15 +106,9 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
108
106
  - Documentação da API [\#121](https://github.com/abntex/limarka/issues/121)
109
107
 
110
108
  ## [v0.6.4](https://github.com/abntex/limarka/tree/v0.6.4) (2017-01-16)
111
-
112
109
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.3...v0.6.4)
113
110
 
114
- **Issues fechados:**
115
-
116
- - Updating version software of the paper [\#120](https://github.com/abntex/limarka/issues/120)
117
-
118
111
  ## [v0.6.3](https://github.com/abntex/limarka/tree/v0.6.3) (2017-01-15)
119
-
120
112
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.2...v0.6.3)
121
113
 
122
114
  **Melhorias implementadas:**
@@ -138,19 +130,22 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
138
130
  - Several actions related to the software paper [\#93](https://github.com/abntex/limarka/issues/93)
139
131
 
140
132
  ## [v0.6.2](https://github.com/abntex/limarka/tree/v0.6.2) (2017-01-09)
141
-
142
133
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.1...v0.6.2)
143
134
 
144
135
  **Bugs corrigidos:**
145
136
 
146
137
  - Falta do gem ffi causa problema no Windows [\#115](https://github.com/abntex/limarka/issues/115)
147
138
 
148
- ## [v0.6.1](https://github.com/abntex/limarka/tree/v0.6.1) (2017-01-08)
139
+ **Issues fechados:**
140
+
141
+ - Updating version software of the paper [\#120](https://github.com/abntex/limarka/issues/120)
149
142
 
143
+ ## [v0.6.1](https://github.com/abntex/limarka/tree/v0.6.1) (2017-01-08)
150
144
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.6.0...v0.6.1)
151
145
 
152
146
  **Melhorias implementadas:**
153
147
 
148
+ - Deployment de imagens docker a partir do travis [\#111](https://github.com/abntex/limarka/issues/111)
154
149
  - Utilizar sistema de integração contínua [\#108](https://github.com/abntex/limarka/issues/108)
155
150
 
156
151
  **Bugs corrigidos:**
@@ -163,7 +158,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
163
158
  - Inclusão de badges no README [\#106](https://github.com/abntex/limarka/issues/106)
164
159
 
165
160
  ## [v0.6.0](https://github.com/abntex/limarka/tree/v0.6.0) (2016-12-27)
166
-
167
161
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.5...v0.6.0)
168
162
 
169
163
  **Melhorias implementadas:**
@@ -172,7 +166,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
172
166
  - Inclusão de menu interativo [\#100](https://github.com/abntex/limarka/issues/100)
173
167
 
174
168
  ## [v0.5.5](https://github.com/abntex/limarka/tree/v0.5.5) (2016-12-19)
175
-
176
169
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.4...v0.5.5)
177
170
 
178
171
  **Melhorias implementadas:**
@@ -181,7 +174,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
181
174
  - Tornar compatível com o Windows [\#87](https://github.com/abntex/limarka/issues/87)
182
175
 
183
176
  ## [v0.5.4](https://github.com/abntex/limarka/tree/v0.5.4) (2016-12-19)
184
-
185
177
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.3...v0.5.4)
186
178
 
187
179
  **Bugs corrigidos:**
@@ -189,7 +181,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
189
181
  - Problemas de codificação no Windows [\#98](https://github.com/abntex/limarka/issues/98)
190
182
 
191
183
  ## [v0.5.3](https://github.com/abntex/limarka/tree/v0.5.3) (2016-12-19)
192
-
193
184
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.2...v0.5.3)
194
185
 
195
186
  **Bugs corrigidos:**
@@ -201,7 +192,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
201
192
  - Creating an Open Canvas for limarka [\#95](https://github.com/abntex/limarka/issues/95)
202
193
 
203
194
  ## [v0.5.2](https://github.com/abntex/limarka/tree/v0.5.2) (2016-12-09)
204
-
205
195
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.1...v0.5.2)
206
196
 
207
197
  **Melhorias implementadas:**
@@ -213,7 +203,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
213
203
  - Alteração de configurações nos repositórios do projeto no github [\#85](https://github.com/abntex/limarka/issues/85)
214
204
 
215
205
  ## [v0.5.1](https://github.com/abntex/limarka/tree/v0.5.1) (2016-12-05)
216
-
217
206
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.5.0...v0.5.1)
218
207
 
219
208
  **Bugs corrigidos:**
@@ -221,7 +210,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
221
210
  - Correção da legenda da tabela [\#91](https://github.com/abntex/limarka/issues/91)
222
211
 
223
212
  ## [v0.5.0](https://github.com/abntex/limarka/tree/v0.5.0) (2016-12-05)
224
-
225
213
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.6...v0.5.0)
226
214
 
227
215
  **Melhorias implementadas:**
@@ -230,7 +218,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
230
218
  - Possibilita utilizações de arquivos de rascunho [\#82](https://github.com/abntex/limarka/issues/82)
231
219
 
232
220
  ## [v0.4.6](https://github.com/abntex/limarka/tree/v0.4.6) (2016-11-28)
233
-
234
221
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.5...v0.4.6)
235
222
 
236
223
  **Melhorias implementadas:**
@@ -242,7 +229,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
242
229
  - Apresentação do número da página [\#71](https://github.com/abntex/limarka/issues/71)
243
230
 
244
231
  ## [v0.4.5](https://github.com/abntex/limarka/tree/v0.4.5) (2016-11-20)
245
-
246
232
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.4...v0.4.5)
247
233
 
248
234
  **Melhorias implementadas:**
@@ -259,7 +245,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
259
245
  - Apresentação de funcionalidades no README [\#75](https://github.com/abntex/limarka/issues/75)
260
246
 
261
247
  ## [v0.4.4](https://github.com/abntex/limarka/tree/v0.4.4) (2016-11-18)
262
-
263
248
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.3...v0.4.4)
264
249
 
265
250
  **Bugs corrigidos:**
@@ -267,7 +252,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
267
252
  - Correção no comentário de inserir figura [\#73](https://github.com/abntex/limarka/issues/73)
268
253
 
269
254
  ## [v0.4.3](https://github.com/abntex/limarka/tree/v0.4.3) (2016-11-18)
270
-
271
255
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.2...v0.4.3)
272
256
 
273
257
  **Melhorias implementadas:**
@@ -276,12 +260,10 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
276
260
 
277
261
  **Issues fechados:**
278
262
 
279
- - Atualizando documentação no Wiki [\#65](https://github.com/abntex/limarka/issues/65)
280
263
  - Implementar mecanismo de ajuda [\#25](https://github.com/abntex/limarka/issues/25)
281
264
  - Tarefa rake para geração de releases [\#22](https://github.com/abntex/limarka/issues/22)
282
265
 
283
266
  ## [v0.4.2](https://github.com/abntex/limarka/tree/v0.4.2) (2016-11-18)
284
-
285
267
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.1...v0.4.2)
286
268
 
287
269
  **Melhorias implementadas:**
@@ -289,7 +271,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
289
271
  - Opção de criar tabelas [\#37](https://github.com/abntex/limarka/issues/37)
290
272
 
291
273
  ## [v0.4.1](https://github.com/abntex/limarka/tree/v0.4.1) (2016-11-17)
292
-
293
274
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.4.0...v0.4.1)
294
275
 
295
276
  **Issues fechados:**
@@ -297,7 +278,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
297
278
  - Possibilitar incluir referência bibtex da área de transferência [\#69](https://github.com/abntex/limarka/issues/69)
298
279
 
299
280
  ## [v0.4.0](https://github.com/abntex/limarka/tree/v0.4.0) (2016-11-16)
300
-
301
281
  [Full Changelog](https://github.com/abntex/limarka/compare/v0.3.0...v0.4.0)
302
282
 
303
283
  **Melhorias implementadas:**
@@ -306,7 +286,6 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
306
286
  - Aumentar o provisionamento de inclusão de Figura [\#39](https://github.com/abntex/limarka/issues/39)
307
287
 
308
288
  ## [v0.3.0](https://github.com/abntex/limarka/tree/v0.3.0) (2016-11-02)
309
-
310
289
  [Full Changelog](https://github.com/abntex/limarka/compare/0.2.0...v0.3.0)
311
290
 
312
291
  **Bugs corrigidos:**
@@ -315,6 +294,7 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
315
294
 
316
295
  **Issues fechados:**
317
296
 
297
+ - Atualizando documentação no Wiki [\#65](https://github.com/abntex/limarka/issues/65)
318
298
  - Inclusão de simbolos [\#62](https://github.com/abntex/limarka/issues/62)
319
299
  - Emite mensagem de erro se não encontrar arquivo configuracao.yaml [\#61](https://github.com/abntex/limarka/issues/61)
320
300
  - Remoção de comandos antigos [\#60](https://github.com/abntex/limarka/issues/60)
@@ -344,4 +324,4 @@ A partir desta versão o TinyTex passou a ser a [versão oficinal do Latex para
344
324
 
345
325
 
346
326
 
347
- \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
327
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/bin/deploy-docker.sh CHANGED
@@ -1,46 +1,25 @@
1
1
  # $1: comando valor
2
- # tag v1.2.3
3
- # branch master
2
+ # v1.2.3
3
+ # dev
4
4
  # http://codewiki.wikidot.com/shell-script:if-else
5
- if [ "$1" = "tag" ]
5
+ if [ -n "$1" ]
6
6
  then
7
- # Versionamento Semântico 2.0.0
8
- # https://semver.org/lang/pt-BR/
9
- if [ -n "$2" ]
10
- then
11
- # Versionamento Semântico 2.0.0
7
+ # Versionamento ANO.MÊS
12
8
  # https://semver.org/lang/pt-BR/
13
- MAJOR=`echo $2|cut -f 1 -d '.'`
14
- MINOR=`echo $2|cut -f 2 -d '.'`
15
- #PATCH=`echo $1|cut -f 3 -d '.'`
16
- echo "Aplicando tags da versão $2..."
17
- docker tag limarka "limarka/limarka"
18
- docker tag limarka "limarka/limarka:$MAJOR"
19
- docker tag limarka "limarka/limarka:$MAJOR.$MINOR"
20
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
21
- docker push "limarka/limarka"
22
- docker push "limarka/limarka:$MAJOR"
23
- docker push "limarka/limarka:$MAJOR.$MINOR"
24
- else
25
- >&2 echo "Erro: faltou informar o nome da tag. Ex: tag v1.2.3"
26
- exit 1
27
- fi
28
- elif [ "$1" = "branch" ]
29
- then
30
- if [ -n "$2" ]
31
- then
32
- echo "Aplicando tag $2 na branch..."
33
- docker tag limarka limarka/limarka:$2
34
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
35
- docker push limarka/limarka:$2
36
- else
37
- >&2 echo "Erro: faltou informar o nome da tag para branch. Ex: branch dev"
38
- exit 1
39
- fi
9
+ ANO=`echo $1|cut -f 1 -d '.'`
10
+ MES=`echo $1|cut -f 2 -d '.'`
11
+ tags="limarka/limarka limarka/limarka:$ANO limarka/limarka:$ANO.$MES"
40
12
  else
41
- >&2 echo "Erro: faltou passar os parâmetros."
42
- >&2 echo "Uso:"
43
- >&2 echo " tag v1.2.3"
44
- >&2 echo " branch dev"
45
- exit 1
13
+ tags="limarka/limarka:dev"
46
14
  fi
15
+
16
+ echo "Aplicando tags: $tags..."
17
+ for tag in $tags
18
+ do
19
+ echo docker tag limarka "$tag"
20
+ done
21
+ echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
22
+ for tag in $tags
23
+ do
24
+ echo docker push "$tag"
25
+ done
data/lib/limarka/cli.rb CHANGED
@@ -48,8 +48,8 @@ module Limarka
48
48
  s = `pandoc --version`
49
49
  s << `ruby --version`
50
50
  s << `pdftk --version`
51
- s <<`latexmk --version`
52
- s << `xelatex --version `
51
+ s << `latexmk --version`
52
+ s << `xelatex --version`
53
53
  puts s
54
54
  return
55
55
  end
@@ -1,3 +1,4 @@
1
1
  module Limarka
2
- VERSION = "1.1.0"
2
+ # O Versionamento é ano e mês
3
+ VERSION = "19.5"
3
4
  end
data/limarka.gemspec CHANGED
@@ -3,12 +3,20 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'limarka/version'
5
5
 
6
+ IS_TAGGED = ENV['TRAVIS_TAG'] == "v#{Limarka::VERSION}"
7
+ IS_ORIGIN = ENV['TRAVIS_REPO_SLUG'] == 'abntex/limarka'
8
+ BUILD_NUMBER = ENV['TRAVIS_BUILD_NUMBER']
9
+
6
10
  Gem::Specification.new do |spec|
7
11
  spec.name = "limarka"
8
- spec.version = Limarka::VERSION
12
+ spec.version = if BUILD_NUMBER && IS_ORIGIN && !IS_TAGGED
13
+ # Prereleasing on Travis CI
14
+ Limarka::VERSION + ".pre.#{BUILD_NUMBER}"
15
+ else
16
+ Limarka::VERSION
17
+ end
9
18
  spec.authors = ["Eduardo de Santana Medeiros Alexandre"]
10
19
  spec.email = ["eduardo.ufpb@gmail.com"]
11
-
12
20
  spec.summary = %q{Ferramenta para compilação de trabalhos acadêmicos com markdown e abnTeX2}
13
21
  spec.description = %q{Com essa ferramenta você poderá escrever sua monografia, dissertação ou tese utilizando Markdown (linguagem mais simples que Latex).}
14
22
  spec.homepage = "https://github.com/abntex/limarka"
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: 1.1.0
4
+ version: 19.5.pre.259
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: 2019-06-04 00:00:00.000000000 Z
11
+ date: 2019-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -316,11 +316,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  required_rubygems_version: !ruby/object:Gem::Requirement
318
318
  requirements:
319
- - - ">="
319
+ - - ">"
320
320
  - !ruby/object:Gem::Version
321
- version: '0'
321
+ version: 1.3.1
322
322
  requirements: []
323
- rubygems_version: 3.0.3
323
+ rubyforge_project:
324
+ rubygems_version: 2.7.7
324
325
  signing_key:
325
326
  specification_version: 4
326
327
  summary: Ferramenta para compilação de trabalhos acadêmicos com markdown e abnTeX2