limarka 20.6.8.pre.351 → 20.6.8.pre.354

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
  SHA256:
3
- metadata.gz: 5f65d72a53174f30db8e5e57221dab617b6b7d521e5c1451b15981ce42b08827
4
- data.tar.gz: eb985af704f309b924e7d6fb9e88440c8fb22e579c4facbea569f35bb62c53cc
3
+ metadata.gz: 2cdced2bed63c39cd0d7a3c53f0d173f0c6055b7c126357b093c0190bd6f4376
4
+ data.tar.gz: 819791f59b79d7dc9eab61ce3db6d29d8ad1aed6bbf43a148f7d0ae873ec7d8a
5
5
  SHA512:
6
- metadata.gz: 6e06ebfb8f02daa6def659de28e77e630b07b17cc9da1c2831019da366975017379c0e8f272c034c8f0ae79819b7fa51cfe6a0650511dcb8daced950ee07bc52
7
- data.tar.gz: 88bb3615d254ca791ff3097fa05adc5bff6b3a9340ebc80e40f12f0dc0d179c53d2aded9ac21eb7d0e5007275da17f1d02eb34f8d566d9b104d3af77e0e0aa3e
6
+ metadata.gz: e47ba713bec00ae9097b4110015fbba740f19b351eeb382cb0c4b68a85578b8c02bcad4d7c7baacc46cfdccc7fed8e4755ee2ab64bd0bdd6865c9e14bed3d0ab
7
+ data.tar.gz: 12287d6639af0445c9ee62e25bb61676028afb802eab92395db6fe6fbf8eafd813409ac812c9b739fcc245a8ae0c23467a87d2542b7e90a0101d637e94a75800
@@ -11,9 +11,11 @@ env:
11
11
  jobs:
12
12
  include:
13
13
  - stage: testes
14
+ name: "Testes do ruby (sem compilação pdf)"
14
15
  before_install:
15
16
  - sudo apt-get update -qq
16
- - bin/instalador.sh -dp
17
+ - bin/instaladores/dependencias_execucao_install.sh && bin/instaladores/dependencias_desenvolvimento_install.sh
18
+ - bin/instaladores/pandoc_install.sh -q
17
19
  before_script:
18
20
  - pandoc -v
19
21
  - git clone --depth=1 https://github.com/abntex/trabalho-academico-limarka.git modelo-oficial
@@ -21,14 +23,18 @@ jobs:
21
23
  - bundle exec rake spec:ruby
22
24
  - bundle exec rake cucumber:ruby
23
25
  - stage: testes
26
+ name: "Testes do latex (com compilação pdf)"
24
27
  cache:
25
28
  directories:
26
29
  - $HOME/.TinyTeX
27
30
  before_install:
28
31
  - sudo apt-get update -qq
32
+ - bin/instaladores/dependencias_execucao_install.sh && bin/instaladores/dependencias_desenvolvimento_install.sh
33
+ - bin/instaladores/pandoc_install.sh -q
34
+ - bin/instaladores/tinytex_install.sh
29
35
  - export PATH=$PATH:~/.TinyTeX/bin/x86_64-linux
30
- - bin/instalador.sh -dptc
31
36
  before_script:
37
+ - tlmgr --version && tlmgr show --only-installed
32
38
  - latexmk -v
33
39
  - xelatex -v
34
40
  - pdftotext -v
@@ -66,7 +66,7 @@ if [ "$codename" = "bionic" ]; then
66
66
  wget \
67
67
  perl \
68
68
  luajit \
69
- python
69
+ python
70
70
  fi
71
71
 
72
72
  if [ -n "$tex" ]; then
@@ -87,7 +87,7 @@ if [ "$codename" = "bionic" ]; then
87
87
  abntex2 \
88
88
  babel-portuges \
89
89
  bookmark \
90
- caption \
90
+ caption \
91
91
  enumitem \
92
92
  epstopdf-pkg \
93
93
  lastpage \
@@ -110,7 +110,7 @@ if [ "$codename" = "bionic" ]; then
110
110
  abntex2 \
111
111
  babel-portuges \
112
112
  bookmark \
113
- caption \
113
+ caption \
114
114
  enumitem \
115
115
  epstopdf-pkg \
116
116
  lastpage \
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env sh
2
+
3
+ sudo apt-get install -y -qq \
4
+ pdfgrep \
5
+ poppler-utils
@@ -3,6 +3,4 @@
3
3
  sudo apt-get install -y -qq \
4
4
  language-pack-pt \
5
5
  locales \
6
- pdfgrep \
7
- poppler-utils \
8
6
  unzip
@@ -11,7 +11,7 @@ while getopts "q" opt; do
11
11
  esac
12
12
  done
13
13
 
14
- if [ $quiet eq 1 ]
14
+ if [ $quiet eq 1 ]; then
15
15
  wget -nv $PANDOC_DEB
16
16
  else
17
17
  wget -c $PANDOC_DEB
@@ -13,7 +13,7 @@ else
13
13
  abntex2 \
14
14
  babel-portuges \
15
15
  bookmark \
16
- caption \
16
+ caption \
17
17
  enumitem \
18
18
  epstopdf-pkg \
19
19
  lastpage \
@@ -50,5 +50,6 @@ Gem::Specification.new do |spec|
50
50
  spec.add_dependency "pandoc_abnt", "~> 2.0.0"
51
51
  spec.add_dependency "guard"
52
52
  spec.add_dependency "guard-shell"
53
+ spec.add_dependency "guard-rake"
53
54
 
54
55
  end
@@ -0,0 +1,28 @@
1
+ ERB_TEMPLATE = <<~HEREDOC
2
+ guard :shell do
3
+ <% all_tasks.each do |t, files| %>
4
+ watch(%r{^(<%= files.join('|') %>)$}) do |m|
5
+ system("rake <%= t %>")
6
+ end
7
+ <% end %>
8
+ end
9
+ HEREDOC
10
+
11
+ desc "Generates a Guardfile from Rake tasks"
12
+ task :guard do
13
+ app = Rake::application
14
+ app.init
15
+ app.load_rakefile
16
+
17
+ all_tasks = {}
18
+ app.tasks.each do |t|
19
+ t.sources.each do |src|
20
+ if File.file?(src) then
21
+ all_tasks[t.name] = [] unless all_tasks[t.name]
22
+ all_tasks[t.name] << src
23
+ end
24
+ end
25
+ end
26
+ template = ERB.new(ERB_TEMPLATE)
27
+ File.write('Guardfile', template.result(binding))
28
+ 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: 20.6.8.pre.351
4
+ version: 20.6.8.pre.354
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: 2020-06-15 00:00:00.000000000 Z
11
+ date: 2020-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -262,6 +262,20 @@ dependencies:
262
262
  - - ">="
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: guard-rake
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
265
279
  description: Com essa ferramenta você poderá escrever sua monografia, dissertação
266
280
  ou tese utilizando Markdown (linguagem mais simples que Latex).
267
281
  email:
@@ -288,7 +302,8 @@ files:
288
302
  - bin/console
289
303
  - bin/deploy-docker.sh
290
304
  - bin/instalador.sh
291
- - bin/instaladores/dependencias_install.sh
305
+ - bin/instaladores/dependencias_desenvolvimento_install.sh
306
+ - bin/instaladores/dependencias_execucao_install.sh
292
307
  - bin/instaladores/pandoc_install.sh
293
308
  - bin/instaladores/tinytex_install.sh
294
309
  - bin/setup
@@ -346,6 +361,7 @@ files:
346
361
  - lib/limarka/trabalho.rb
347
362
  - lib/limarka/version.rb
348
363
  - limarka.gemspec
364
+ - rakelib/guard.rake
349
365
  - referencias.bib
350
366
  homepage: https://github.com/abntex/limarka
351
367
  licenses: