indoctrinatr-tools 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.rubocop.yml +10 -4
  5. data/.travis.yml +8 -7
  6. data/CHANGELOG.md +6 -0
  7. data/LICENSE +1 -1
  8. data/README.md +1 -1
  9. data/bin/indoctrinatr +30 -33
  10. data/certs/dkd-reuschling.pem +18 -20
  11. data/features/demo.feature +11 -11
  12. data/features/doc_keepauxfiles.feature +6 -6
  13. data/features/documentation.feature +10 -10
  14. data/features/fieldnames_pdf.feature +2 -2
  15. data/features/fieldnames_pdf_auxfiles.feature +3 -3
  16. data/features/pdf.feature +6 -6
  17. data/features/pdf_keepauxfiles.feature +4 -4
  18. data/features/pdf_with_timestamp.feature +2 -2
  19. data/features/scaffold.feature +1 -1
  20. data/features/version.feature +1 -1
  21. data/features/workflow.feature +4 -4
  22. data/indoctrinatr-tools.gemspec +14 -15
  23. data/lib/indoctrinatr/tools/content_for_tex_files.rb +1 -1
  24. data/lib/indoctrinatr/tools/directory_helpers.rb +2 -1
  25. data/lib/indoctrinatr/tools/field_name_values.rb +1 -0
  26. data/lib/indoctrinatr/tools/template_documentation_helpers.rb +1 -1
  27. data/lib/indoctrinatr/tools/template_pack_configuration.rb +2 -1
  28. data/lib/indoctrinatr/tools/template_pack_documentation.rb +2 -2
  29. data/lib/indoctrinatr/tools/template_pack_error_checker.rb +8 -4
  30. data/lib/indoctrinatr/tools/template_pack_helpers.rb +2 -1
  31. data/lib/indoctrinatr/tools/template_pack_scaffold.rb +2 -2
  32. data/lib/indoctrinatr/tools/version.rb +1 -1
  33. data/lib/redcloth_latex_formatter_patch/patch.rb +3 -3
  34. data/spec/indoctrinatr/templates/configuration_file_spec.rb +1 -1
  35. data/spec/indoctrinatr/templates/tex_file_spec.rb +1 -1
  36. data/spec/indoctrinatr/tools/textile_support_spec.rb +1 -1
  37. data/spec/indoctrinatr/tools/version_spec.rb +1 -1
  38. data/spec/redcloth_latex_formatter_patch/patch_spec.rb +1 -1
  39. metadata +77 -67
  40. metadata.gz.sig +0 -0
  41. data/.arcconfig +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 569e7656b8197682d1109ec495b26d331f08ffe7
4
- data.tar.gz: 6c63a429e5457f4fd3f3809417c943e72bc06952
2
+ SHA256:
3
+ metadata.gz: 6a20a3417d2320bbee925716116c0abe837b378e4de871a4e90784435be78a69
4
+ data.tar.gz: 25119cb987c05ab753652ce16beca1a19e345bfa87fe6bfd957129bd8074ab1f
5
5
  SHA512:
6
- metadata.gz: 6b44dc06e7ed80e07cecf71dc5d0732429aaaaa3849f0cdbe8c6fecb58a86a21d68fa12251bd7d587ef0645277d9cc33822986b099afe589f0254505cb51b7c7
7
- data.tar.gz: de94350496af62ada8b9ee9cb35487a2ca51be6d89fd840b0ec2e218065d874ab151722dbea7eb1b4d30f757f985afe4b30b678374904283f7773c754388611c
6
+ metadata.gz: fce3a5ed1d1ba3ddce352de0c068046867bf63b75e003e532c8c0f3b4ba2affaa1d1b6d1ef9a3115d522c37615f08f80d751d4e67c96f3639f7b82bc0631131b
7
+ data.tar.gz: 4d126f8b3d4394b869a67bb76330dc16617980ccbd163cbe79e790eeace8b5c4412997b7d87c517894813fb8a8f3619be499bbe3bb2ca3195c50a998a0ae0fa6
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,12 +1,18 @@
1
- require: rubocop-rspec
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rspec
2
4
 
3
5
  AllCops:
4
- AllCops:
5
- TargetRubyVersion: 2.2
6
+ TargetRubyVersion: 2.5
7
+ ExtraDetails: true
8
+ DisplayStyleGuide: true
9
+ DisplayCopNames: true
6
10
  Exclude:
7
11
  - tmp/**/*
8
12
  - vendor/**/*
9
- Metrics/LineLength:
13
+ Style/FrozenStringLiteralComment:
14
+ Enabled: false
15
+ Layout/LineLength:
10
16
  Max: 240
11
17
  Style/MethodDefParentheses:
12
18
  EnforcedStyle: require_no_parentheses
@@ -1,15 +1,16 @@
1
1
  sudo: false
2
2
  language: ruby
3
- rvm:
4
- - '2.4.1'
5
- - '2.3.4'
6
- - '2.2.7'
7
3
  cache: bundler
4
+ rvm:
5
+ - 2.7
6
+ - 2.6
7
+ - 2.5
8
8
 
9
9
  before_install:
10
- - gem install bundler --no-document
10
+ - gem install bundler --version=2.1.4 --no-doc
11
+ - gem install bundler-audit --no-doc
11
12
 
12
13
  script:
13
- - bundle exec rubocop --version
14
- - bundle exec rubocop --display-cop-names --extra-details
14
+ - bundle-audit check --update
15
+ - bundle exec rubocop .
15
16
  - bundle exec indoctrinatr new demo
@@ -1,5 +1,11 @@
1
1
  # indoctrinatr-tools
2
2
 
3
+ ## v0.15.0 (2020-02-14)
4
+
5
+ ### changes
6
+
7
+ * updated infrastructure
8
+
3
9
  ## v0.15.0 (2017-04-16)
4
10
 
5
11
  ### changes
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2017 Indoctrinatr Development Team, dkd Internet Service GmbH, Frankfurt am Main
3
+ Copyright (c) 2014-2020 Indoctrinatr Development Team, dkd Internet Service GmbH, Frankfurt am Main
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Installation
8
8
 
9
- [![Gem Version](https://badge.fury.io/rb/indoctrinatr-tools.svg)](http://badge.fury.io/rb/indoctrinatr-tools) [![Coverage Status](https://coveralls.io/repos/dkd/indoctrinatr-tools/badge.svg?branch=development&service=github)](https://coveralls.io/github/dkd/indoctrinatr-tools?branch=development) [![Dependency Status](https://gemnasium.com/badges/github.com/dkd/indoctrinatr-tools.svg)](https://gemnasium.com/github.com/dkd/indoctrinatr-tools) master [![Travis CI Status: master](https://travis-ci.org/dkd/indoctrinatr-tools.svg?branch=master)](https://travis-ci.org/dkd/indoctrinatr-tools) development [![Travis CI Status: development](https://travis-ci.org/dkd/indoctrinatr-tools.svg?branch=development)](https://travis-ci.org/dkd/indoctrinatr-tools)
9
+ [![Gem Version](https://badge.fury.io/rb/indoctrinatr-tools.svg)](http://badge.fury.io/rb/indoctrinatr-tools) [![Coverage Status](https://coveralls.io/repos/dkd/indoctrinatr-tools/badge.svg?branch=development&service=github)](https://coveralls.io/github/dkd/indoctrinatr-tools?branch=development) master [![Travis CI Status: master](https://travis-ci.org/dkd/indoctrinatr-tools.svg?branch=master)](https://travis-ci.org/dkd/indoctrinatr-tools) development [![Travis CI Status: development](https://travis-ci.org/dkd/indoctrinatr-tools.svg?branch=development)](https://travis-ci.org/dkd/indoctrinatr-tools)
10
10
 
11
11
 
12
12
  1. Install XeTeX:
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
-
3
2
  require 'gli'
4
3
  require 'indoctrinatr/tools/version'
5
4
  require 'indoctrinatr/tools/template_pack_demo'
@@ -11,8 +10,10 @@ require 'indoctrinatr/tools/template_pack_fieldnames_creator'
11
10
  require 'indoctrinatr/tools/template_pack_documentation'
12
11
  require 'indoctrinatr/tools/template_pack_error_checker'
13
12
 
13
+ # rubocop:disable Style/MixinUsage
14
14
  include GLI::App
15
15
  include Indoctrinatr::Tools
16
+ # rubocop:enable Style/MixinUsage
16
17
 
17
18
  program_desc 'Create and manage Template Packs for Indoctrinatr'
18
19
  version Indoctrinatr::Tools::VERSION
@@ -28,29 +29,29 @@ end
28
29
  desc 'Display the suggested workflow'
29
30
  command :workflow do |c|
30
31
  c.action do
31
- puts 'The workflow for a project (e.g. demo) typically looks like this:
32
-
33
- 1. Run in shell: indoctrinatr new demo
34
- Creates a new Indoctrinatr Template Pack in the folder demo
32
+ puts <<~HEREDOC
33
+ The workflow for a project (e.g. demo) typically looks like this:
35
34
 
36
- 2. Edit demo.tex.erb and configuration.yaml according to needs
35
+ 1. Run in shell: indoctrinatr new demo
36
+ Creates a new Indoctrinatr Template Pack in the folder demo
37
37
 
38
- 3. Run in shell: indoctrinatr parse demo
39
- Parses tex file demo_with_default_values.tex with ERB and default values from configuration.yaml
38
+ 2. Edit demo.tex.erb and configuration.yaml according to needs
40
39
 
41
- 4. Run in shell: indoctrinatr pdf demo
42
- Compiles PDF from demo_with_default_values.tex
40
+ 3. Run in shell: indoctrinatr parse demo
41
+ Parses tex file demo_with_default_values.tex with ERB and default values from configuration.yaml
43
42
 
44
- 5. Run in shell: indoctrinatr check demo
45
- Analyzes your Template Pack for potential errors
43
+ 4. Run in shell: indoctrinatr pdf demo
44
+ Compiles PDF from demo_with_default_values.tex
46
45
 
47
- 6. Run in shell: indoctrinatr doc demo
48
- Creates a technical documentation for the Template Pack
46
+ 5. Run in shell: indoctrinatr check demo
47
+ Analyzes your Template Pack for potential errors
49
48
 
50
- 7. Run in shell: indoctrinatr pack demo
51
- Creates demo.zip with all required file for upload to Indoctrinatr server
49
+ 6. Run in shell: indoctrinatr doc demo
50
+ Creates a technical documentation for the Template Pack
52
51
 
53
- '
52
+ 7. Run in shell: indoctrinatr pack demo
53
+ Creates demo.zip with all required file for upload to Indoctrinatr server
54
+ HEREDOC
54
55
  end
55
56
  end
56
57
 
@@ -143,19 +144,18 @@ end
143
144
  desc 'Display instructions for bash completion'
144
145
  command :bashcompletion do |c|
145
146
  c.action do
146
- puts 'Add this to your .bashrc (and open up a new shell):
147
-
148
- complete -F get_indoctrinatr_targets indoctrinatr
149
- function get_indoctrinatr_targets()
150
- {
151
- if [ -z $2 ] ; then
152
- COMPREPLY=(`indoctrinatr help -c`)
153
- else
154
- COMPREPLY=(`indoctrinatr help -c $2`)
155
- fi
156
- }
157
-
158
- '
147
+ puts <<~HEREDOC
148
+ Add this to your .bashrc (and open up a new shell):
149
+ complete -F get_indoctrinatr_targets indoctrinatr
150
+ function get_indoctrinatr_targets()
151
+ {
152
+ if [ -z $2 ] ; then
153
+ COMPREPLY=(`indoctrinatr help -c`)
154
+ else
155
+ COMPREPLY=(`indoctrinatr help -c $2`)
156
+ fi
157
+ }
158
+ HEREDOC
159
159
  end
160
160
  end
161
161
 
@@ -164,11 +164,9 @@ desc 'Display instructions for zsh completion'
164
164
  command :zshcompletion do |c|
165
165
  c.action do
166
166
  puts 'Add this to your .zshrc (and open up a new shell):
167
-
168
167
  if [[ -n ${ZSH_VERSION-} ]]; then
169
168
  autoload -U +X bashcompinit && bashcompinit
170
169
  fi
171
-
172
170
  complete -F get_indoctrinatr_commands indoctrinatr
173
171
  function get_indoctrinatr_commands()
174
172
  {
@@ -177,7 +175,6 @@ function get_indoctrinatr_commands()
177
175
  clean_params=${help_params//-*([^ ])?( )}
178
176
  COMPREPLY=(`$binary help -c $clean_params`)
179
177
  }
180
-
181
178
  '
182
179
  end
183
180
  end
@@ -1,22 +1,20 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRswGQYDVQQDDBJuaWNv
3
- bGFpLnJldXNjaGxpbmcxEzARBgoJkiaJk/IsZAEZFgNka2QxEjAQBgoJkiaJk/Is
4
- ZAEZFgJkZTAeFw0xNjA5MTQwODI4MDFaFw0xNzA5MTQwODI4MDFaMEYxGzAZBgNV
5
- BAMMEm5pY29sYWkucmV1c2NobGluZzETMBEGCgmSJomT8ixkARkWA2RrZDESMBAG
6
- CgmSJomT8ixkARkWAmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
7
- vlHNuOcO6oCtv59swqYd181lxf2sCVwajmLuXC0EiYfwMCKRlelLmmYOH61arTCJ
8
- iUaoGOCE9HCt1ZxVkN/bcSIqMO4MNbRuq2o2DrBsKWSMaCvUYTJi6F+JyKlL/XFY
9
- Pc9NoIyT1FJ5UnDC3M0lBsvJOdRkjxuK5pImv+lei3ZarIL/7TP511fMjTRbrzo1
10
- GltFvcM1HaXk/n2DU2IevCI+PNaP6+I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+ rdWcVZDf23EiKjDuDDW0bqtqNg6wbClkjGgr1GEyYuhficipS/1xWD3PTaCMk9RS
8
+ eVJwwtzNJQbLyTnUZI8biuaSJr/pXot2WqyC/+0z+ddXzI00W686NRpbRb3DNR2l
9
+ 5P59g1NiHrwiPjzWj+viIgCXt4j5wxJcZmEDuJQIZLdkcLcp7XGMpFnNsOcr7BMv
10
+ w4/5NJS/7QG/n7j3xMOrCRpred346xlUoG5seVuu7mvChkOFleEkkKomvAEdiC5Y
11
+ wB2Zd1EptkkCAwEAAaOBhjCBgzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
12
+ HQ4EFgQUbCmdTAu9t3RJwYPe9hOJ3JWBlfowJAYDVR0RBB0wG4EZbmljb2xhaS5y
13
+ ZXVzY2hsaW5nQGRrZC5kZTAkBgNVHRIEHTAbgRluaWNvbGFpLnJldXNjaGxpbmdA
14
+ ZGtkLmRlMA0GCSqGSIb3DQEBCwUAA4IBAQBk1mExobXS3Uljuvadir5gAWkGQSRt
15
+ queISF2e9iQKmuXV3auAy0UWbHTBqjwu8dJtzQTX5UOtfG/Jt1QIU3X6sEBuMY76
16
+ Zbyu2NYp54ESAAyZFpt2prs7oDkRiDYk6FdZ7mHLTjPgr8nZV0qqONRfzmWmpImG
17
+ PxsXUcEiEZej8d8C5vcHy3bwXb/+CjzcKrcqN67lkXwrA9jzqMuqnjVuhx+JMXJ5
18
+ kHAKYJXqSQLXcRmkRlqCNGKAJSy6FmpClVbei309Yg3dl4PmFSc8GdLcWD1keOvE
19
+ qzeIYbdD18i9ZRk4hfm8vEpevt+xRgM+3ughiJIaiWI3eO3C+VRszvqU
22
20
  -----END CERTIFICATE-----
@@ -4,14 +4,14 @@ Feature: Running the "demo" command
4
4
  Given the default aruba exit timeout is 60 seconds
5
5
 
6
6
  Scenario:
7
- When I successfully run `indoctrinatr demo`
8
- Then a file named "demo/doc/demo_technical_documentation.pdf" should exist
9
- And a directory named "demo" should exist
10
- And a directory named "demo/assets" should exist
11
- And the following files should exist:
12
- | demo/configuration.yaml |
13
- | demo/demo.tex.erb |
14
- | demo/doc/examples/demo_with_default_values.tex |
15
- | demo/doc/examples/demo_with_default_values.pdf |
16
- | demo/doc/demo_technical_documentation.pdf |
17
- | demo.zip |
7
+ When I successfully run `indoctrinatr demo`
8
+ Then a file named "demo/doc/demo_technical_documentation.pdf" should exist
9
+ And a directory named "demo" should exist
10
+ And a directory named "demo/assets" should exist
11
+ And the following files should exist:
12
+ | demo/configuration.yaml |
13
+ | demo/demo.tex.erb |
14
+ | demo/doc/examples/demo_with_default_values.tex |
15
+ | demo/doc/examples/demo_with_default_values.pdf |
16
+ | demo/doc/demo_technical_documentation.pdf |
17
+ | demo.zip |
@@ -5,9 +5,9 @@ Feature: Running the 'doc' command with keepauxfiles
5
5
 
6
6
  Scenario: creating documentation for given project
7
7
  Given I do not have a 'demo' project
8
- When I successfully run `indoctrinatr new demo`
9
- And I successfully run `indoctrinatr doc demo --keep-aux-files`
10
- Then the output should match /A documentation for 'demo' has been successfully generated/
11
- Then a file named "demo/doc/demo_technical_documentation.pdf" should exist
12
- And a file named "demo/doc/indoctrinatr-technical-documentation.log" should exist
13
- And a file named "demo/doc/indoctrinatr-technical-documentation.tex" should exist
8
+ When I successfully run `indoctrinatr new demo`
9
+ And I successfully run `indoctrinatr doc demo --keep-aux-files`
10
+ Then the output should match /A documentation for 'demo' has been successfully generated/
11
+ And a file named "demo/doc/demo_technical_documentation.pdf" should exist
12
+ And a file named "demo/doc/indoctrinatr-technical-documentation.log" should exist
13
+ And a file named "demo/doc/indoctrinatr-technical-documentation.tex" should exist
@@ -2,19 +2,19 @@ Feature: Running the 'doc' command
2
2
 
3
3
  Background:
4
4
  Given the default aruba exit timeout is 40 seconds
5
- Given I do not have a 'demo' project
6
- When I successfully run `indoctrinatr new demo`
5
+ And I do not have a 'demo' project
6
+ And I successfully run `indoctrinatr new demo`
7
7
 
8
8
  Scenario: creating documentation for given project
9
- And I successfully run `indoctrinatr doc demo`
9
+ When I successfully run `indoctrinatr doc demo`
10
10
  Then the output should match /Example with field names has been automatically generated for the documentation/
11
- Then the output should match /A documentation for 'demo' has been successfully generated/
12
- Then a file named "demo/doc/demo_technical_documentation.pdf" should exist
11
+ And the output should match /A documentation for 'demo' has been successfully generated/
12
+ And a file named "demo/doc/demo_technical_documentation.pdf" should exist
13
13
 
14
14
  Scenario: creating the documentation without overwriting a FieldNames PDF example
15
- And I successfully run `indoctrinatr pdf_with_field_names demo`
15
+ When I successfully run `indoctrinatr pdf_with_field_names demo`
16
16
  Then a file named "demo/doc/examples/demo_with_fieldname_values.pdf" should exist
17
- And I successfully run `indoctrinatr doc demo`
18
- Then the output should not match /Example with field names has been automatically generated for the documentation/
19
- Then the output should match /A documentation for 'demo' has been successfully generated/
20
- Then a file named "demo/doc/demo_technical_documentation.pdf" should exist
17
+ And I successfully run `indoctrinatr doc demo`
18
+ And the output should not match /Example with field names has been automatically generated for the documentation/
19
+ And the output should match /A documentation for 'demo' has been successfully generated/
20
+ And a file named "demo/doc/demo_technical_documentation.pdf" should exist
@@ -5,5 +5,5 @@ Feature: Running the 'pdf_with_field_names' command
5
5
 
6
6
  Scenario: for a given 'demo' project
7
7
  Given I have an Indoctrinatr project 'demo'
8
- And I run `indoctrinatr pdf_with_field_names demo`
9
- Then a file named "demo/doc/examples/demo_with_fieldname_values.pdf" should exist
8
+ When I run `indoctrinatr pdf_with_field_names demo`
9
+ Then a file named "demo/doc/examples/demo_with_fieldname_values.pdf" should exist
@@ -5,6 +5,6 @@ Feature: Running the 'pdf_with_field_names' command with keepauxfiles
5
5
 
6
6
  Scenario: for a given 'demo' project
7
7
  Given I have an Indoctrinatr project 'demo'
8
- And I run `indoctrinatr pdf_with_field_names demo --keep-aux-files`
9
- Then a file named "demo/doc/examples/demo_with_fieldname_values.pdf" should exist
10
- And a file named "demo/doc/examples/demo_with_fieldname_values.log" should exist
8
+ When I run `indoctrinatr pdf_with_field_names demo --keep-aux-files`
9
+ Then a file named "demo/doc/examples/demo_with_fieldname_values.pdf" should exist
10
+ And a file named "demo/doc/examples/demo_with_fieldname_values.log" should exist
@@ -2,14 +2,14 @@ Feature: Running the 'pdf' command
2
2
 
3
3
  Background:
4
4
  Given the default aruba exit timeout is 20 seconds
5
- Given I have an Indoctrinatr project 'demo'
6
- When I successfully run `indoctrinatr parse demo`
5
+ And I have an Indoctrinatr project 'demo'
6
+ And I successfully run `indoctrinatr parse demo`
7
7
 
8
8
  Scenario: for a given 'demo' project
9
- And I run `indoctrinatr pdf demo`
10
- Then a file named "demo/doc/examples/demo_with_default_values.pdf" should exist
9
+ When I run `indoctrinatr pdf demo`
10
+ Then a file named "demo/doc/examples/demo_with_default_values.pdf" should exist
11
11
 
12
12
  Scenario: for a given 'demo' project and usage with tab-completion
13
- And I run `indoctrinatr pdf demo/`
14
- Then a file named "demo/doc/examples/demo_with_default_values.pdf" should exist
13
+ When I run `indoctrinatr pdf demo/`
14
+ Then a file named "demo/doc/examples/demo_with_default_values.pdf" should exist
15
15
 
@@ -5,7 +5,7 @@ Feature: Running the 'pdf' command with keepauxfiles option
5
5
 
6
6
  Scenario: for a given 'demo' project
7
7
  Given I have an Indoctrinatr project 'demo'
8
- And I run `indoctrinatr pdf demo --keep-aux-files`
9
- Then a file named "demo/doc/examples/demo_with_default_values.pdf" should exist
10
- And a file named "demo/doc/examples/demo_with_default_values.log" should exist
11
- # there is not (an easy) way to use the current timestamp. Therefore the template for the 'new' command should not be static
8
+ When I run `indoctrinatr pdf demo --keep-aux-files`
9
+ Then a file named "demo/doc/examples/demo_with_default_values.pdf" should exist
10
+ And a file named "demo/doc/examples/demo_with_default_values.log" should exist
11
+ # there is not (an easy) way to use the current timestamp. Therefore the template for the 'new' command should not be static
@@ -2,7 +2,7 @@ Feature: Running the 'pdf' command with timestamp in filename
2
2
  Scenario: using the test fixture
3
3
  Given I use the fixture named "test"
4
4
  When I cd to "../"
5
- When I run the Indoctrinatr command 'parse test'
5
+ And I run the Indoctrinatr command 'parse test'
6
6
  And I run `indoctrinatr pdf test`
7
- # String interpolation for "file named should exist" does not work. Therefore less strict regexp matching:
7
+ # String interpolation for "file named should exist" does not work. Therefore less strict regexp matching:
8
8
  Then a file matching %r<test/doc/examples/\d{4}_hello_world\.pdf> should exist
@@ -8,7 +8,7 @@ Feature: Running the 'new' command
8
8
  And a directory named "demo/assets" should exist
9
9
  And the following files should exist:
10
10
  | demo/configuration.yaml |
11
- | demo/demo.tex.erb |
11
+ | demo/demo.tex.erb |
12
12
 
13
13
  Scenario: with an empty name
14
14
  Given I do not have a 'demo' project
@@ -2,4 +2,4 @@ Feature: Running the "version" command
2
2
 
3
3
  Scenario:
4
4
  When I successfully run `indoctrinatr version`
5
- Then the output should contain "0.15.0"
5
+ Then the output should contain "0.16.0"
@@ -3,7 +3,7 @@ Feature: Running the "workflow" command
3
3
  Scenario:
4
4
  When I successfully run `indoctrinatr workflow`
5
5
  Then the output should contain "new"
6
- Then the output should contain "parse"
7
- Then the output should contain "pdf"
8
- Then the output should contain "check"
9
- Then the output should contain "pack"
6
+ And the output should contain "parse"
7
+ And the output should contain "pdf"
8
+ And the output should contain "check"
9
+ And the output should contain "pack"
@@ -1,10 +1,8 @@
1
- # coding: utf-8
2
-
3
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require 'indoctrinatr/tools/version'
6
4
 
7
- Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
5
+ Gem::Specification.new do |spec|
8
6
  spec.name = 'indoctrinatr-tools'
9
7
  spec.version = Indoctrinatr::Tools::VERSION
10
8
  spec.authors = ['Nicolai Reuschling', 'Luka Lüdicke']
@@ -14,28 +12,29 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
14
12
  spec.homepage = ''
15
13
  spec.license = 'MIT'
16
14
 
17
- spec.required_ruby_version = '~> 2.2'
15
+ spec.required_ruby_version = '~> 2.5'
18
16
 
19
17
  spec.files = `git ls-files -z`.split("\x0")
20
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
22
20
  spec.require_paths = ['lib']
23
21
 
24
- spec.add_development_dependency 'bundler', '~> 1.14'
25
- spec.add_development_dependency 'rake', '~> 12.0'
26
- spec.add_development_dependency 'rspec', '~> 3.5'
27
- spec.add_development_dependency 'cucumber', '~> 2.4'
28
22
  spec.add_development_dependency 'aruba', '~> 0.14'
29
- spec.add_development_dependency 'rubocop', '~> 0.48'
30
- spec.add_development_dependency 'rubocop-rspec', '~> 1.15'
31
- spec.add_development_dependency 'pry', '~> 0.10'
23
+ spec.add_development_dependency 'bundler', '~> 2.0'
32
24
  spec.add_development_dependency 'coveralls', '~> 0.8'
25
+ spec.add_development_dependency 'cucumber', '~> 3.0'
26
+ spec.add_development_dependency 'pry', '~> 0.11'
27
+ spec.add_development_dependency 'rake', '~> 13.0'
28
+ spec.add_development_dependency 'rspec', '~> 3.7'
29
+ spec.add_development_dependency 'rubocop', '~> 0.79'
30
+ spec.add_development_dependency 'rubocop-performance', '~> 1.3'
31
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.22'
33
32
 
34
- spec.add_dependency 'gli', '~> 2.16'
35
- spec.add_dependency 'rubyzip', '~> 1.2'
36
33
  spec.add_dependency 'erubis', '~> 2.7'
37
- spec.add_dependency 'to_latex', '~> 0.5'
34
+ spec.add_dependency 'gli', '~> 2.16'
38
35
  spec.add_dependency 'RedCloth', '~> 4.3'
36
+ spec.add_dependency 'rubyzip', '~> 2'
37
+ spec.add_dependency 'to_latex', '~> 0.5'
39
38
 
40
39
  spec.cert_chain = ['certs/dkd-reuschling.pem']
41
40
  spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $PROGRAM_NAME.end_with?('gem')
@@ -19,7 +19,7 @@ module Indoctrinatr
19
19
  end
20
20
 
21
21
  def customized_output_file_name
22
- @_customized_output_file_name ||= eval('"' + @_output_file_name + '"') # rubocop:disable Security/Eval
22
+ @_customized_output_file_name ||= eval('"' + @_output_file_name + '"') # rubocop:disable Security/Eval, Naming/MemoizedInstanceVariableName
23
23
  end
24
24
 
25
25
  def template_asset_path
@@ -9,7 +9,8 @@ module Indoctrinatr
9
9
  end
10
10
  end
11
11
 
12
- def list_files_of_type directory = '.', types = %w[erb rb yaml sty tex] # default file types for template docs
12
+ # default file types for template docs
13
+ def list_files_of_type directory = '.', types = %w[erb rb yaml sty tex]
13
14
  # found and modified from http://stackoverflow.com/a/3504307/1796645
14
15
  Dir.glob("#{directory}/**/*.{#{types.join(',')}}") # recursively list files of type in types array
15
16
  end
@@ -33,6 +33,7 @@ module Indoctrinatr
33
33
  attributes_as_hashes.each do |attribute_hash|
34
34
  # search for typical picture file endings
35
35
  next unless detect_picture_file_names attribute_hash['default_value']
36
+
36
37
  instance_variable_set("@_#{attribute_hash['name']}", attribute_hash['default_value'])
37
38
 
38
39
  define_singleton_method "raw_#{attribute_hash['name']}".to_sym do
@@ -65,7 +65,7 @@ module Indoctrinatr
65
65
  private
66
66
 
67
67
  def documentation_files_path
68
- Pathname.new(File.expand_path(File.dirname(__FILE__))).join('..', 'templates', 'documentation')
68
+ Pathname.new(File.expand_path(__dir__)).join('..', 'templates', 'documentation')
69
69
  end
70
70
  end
71
71
  end
@@ -1,6 +1,7 @@
1
1
  module Indoctrinatr
2
2
  module Tools
3
- class TemplatePackConfiguration # wrapper class for config. See ConfigurationExtractor for details
3
+ # wrapper class for config. See ConfigurationExtractor for details
4
+ class TemplatePackConfiguration
4
5
  attr_accessor :template_asset_path, :default_file_name, :template_name, :textual_description, :output_file_name, :attributes_as_hashes_in_array
5
6
  end
6
7
  end
@@ -55,8 +55,8 @@ module Indoctrinatr
55
55
  configuration = ConfigurationExtractor.new(template_pack_name).call
56
56
  begin
57
57
  @documentation_content = TemplateDocumentationContent.new template_pack_name, configuration
58
- rescue IOError => ex
59
- abort ex.message
58
+ rescue IOError => e
59
+ abort e.message
60
60
  end
61
61
  end
62
62
 
@@ -24,18 +24,20 @@ module Indoctrinatr
24
24
 
25
25
  def check_config_file_existence
26
26
  return true if File.exist? config_file_path
27
+
27
28
  puts 'The file configuration.yaml does not exist in the template_pack directory'
28
29
  false
29
30
  end
30
31
 
31
- def check_config_file_syntax # YAML syntax check
32
+ # YAML syntax check
33
+ def check_config_file_syntax
32
34
  puts 'Checking YAML syntax...'
33
35
  YAML.parse_file config_file_path
34
36
  puts 'YAML syntax ok!'
35
37
  true
36
- rescue YAML::SyntaxError => exception # no program abort when this exception is thrown
38
+ rescue YAML::SyntaxError => e # no program abort when this exception is thrown
37
39
  puts 'YAML syntax error in configuration.yaml, see error for details:'
38
- puts exception.message
40
+ puts e.message
39
41
  false
40
42
  end
41
43
 
@@ -57,7 +59,8 @@ module Indoctrinatr
57
59
  end
58
60
  end
59
61
 
60
- def check_field_attribute attribute_hash, field_identifier, key # false if something wrong, otherwise returns the key value
62
+ # false if something wrong, otherwise returns the key value
63
+ def check_field_attribute attribute_hash, field_identifier, key
61
64
  unless attribute_hash.key? key
62
65
  puts "The #{field_identifier} has no #{key} type set!"
63
66
  return false
@@ -73,6 +76,7 @@ module Indoctrinatr
73
76
  def check_presentation attribute_hash, identifier
74
77
  presentation = check_field_attribute attribute_hash, identifier, 'presentation'
75
78
  return false unless presentation
79
+
76
80
  # check if it is one of the options
77
81
  puts "Not an allowed presentation option set for #{identifier}" unless VALID_PRESENTATIONS.include? presentation
78
82
  check_available_options attribute_hash, identifier, presentation if REQUIRES_AVAILABLE_OPTIONS.include? presentation
@@ -2,7 +2,8 @@ require 'indoctrinatr/tools/default_values'
2
2
 
3
3
  module Indoctrinatr
4
4
  module Tools
5
- module TemplatePackHelpers # classes that use this model are required to have template_pack_name as instance variable
5
+ # classes that use this model are required to have template_pack_name as instance variable
6
+ module TemplatePackHelpers
6
7
  def path_name
7
8
  Pathname.new(Dir.pwd).join template_pack_name
8
9
  end
@@ -46,11 +46,11 @@ module Indoctrinatr
46
46
  end
47
47
 
48
48
  def source_config_file_path
49
- Pathname.new(File.expand_path(File.dirname(__FILE__))).join('..', 'templates', 'configuration.yaml')
49
+ Pathname.new(File.expand_path(__dir__)).join('..', 'templates', 'configuration.yaml')
50
50
  end
51
51
 
52
52
  def source_tex_file_path
53
- Pathname.new(File.expand_path(File.dirname(__FILE__))).join('..', 'templates', 'template.tex.erb')
53
+ Pathname.new(File.expand_path(__dir__)).join('..', 'templates', 'template.tex.erb')
54
54
  end
55
55
  end
56
56
  end
@@ -1,5 +1,5 @@
1
1
  module Indoctrinatr
2
2
  module Tools
3
- VERSION = '0.15.0'.freeze
3
+ VERSION = '0.16.0'.freeze
4
4
  end
5
5
  end
@@ -11,11 +11,11 @@ module RedCloth
11
11
  }.each do |m, tag|
12
12
  define_method(m) do |opts|
13
13
  case opts[:align]
14
- when 'left' then
14
+ when 'left'
15
15
  "\\begin{flushleft}\\#{tag}{#{opts[:text]}}\\end{flushleft}\n\n"
16
- when 'right' then
16
+ when 'right'
17
17
  "\\begin{flushright}\\#{tag}{#{opts[:text]}}\\end{flushright}\n\n"
18
- when 'center' then
18
+ when 'center'
19
19
  "\\begin{center}\\#{tag}{#{opts[:text]}}\\end{center}\n\n"
20
20
  else
21
21
  "\\#{tag}{#{opts[:text]}}\n\n"
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'pathname'
3
3
 
4
- context 'configuration.yaml' do
4
+ context 'with configuration.yaml' do
5
5
  it 'exists' do
6
6
  configuration_file = Pathname.new(__FILE__).join '..', '..', '..', '..', 'lib', 'indoctrinatr', 'templates', 'configuration.yaml'
7
7
  expect(File.exist?(configuration_file)).to eq true
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'pathname'
3
3
 
4
- context 'template.tex.erb' do
4
+ context 'with template.tex.erb' do
5
5
  it 'exists' do
6
6
  template_file = Pathname.new(__FILE__).join '..', '..', '..', '..', 'lib', 'indoctrinatr', 'templates', 'template.tex.erb'
7
7
  expect(File.exist?(template_file)).to eq true
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'indoctrinatr/tools/default_values'
3
3
  require 'indoctrinatr/tools/template_pack_configuration'
4
4
 
5
- context "support for Textile with 'textilize' function" do
5
+ context "when supporting Textile with 'textilize' function" do
6
6
  let(:configuration) do
7
7
  c = Indoctrinatr::Tools::TemplatePackConfiguration.new
8
8
  c.attributes_as_hashes_in_array = []
@@ -3,6 +3,6 @@ require 'indoctrinatr/tools/version'
3
3
 
4
4
  describe Indoctrinatr::Tools do
5
5
  it 'defines a VERSION constant' do
6
- expect(Indoctrinatr::Tools::VERSION).to eq '0.15.0'
6
+ expect(Indoctrinatr::Tools::VERSION).to eq '0.16.0'
7
7
  end
8
8
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'redcloth_latex_formatter_patch/patch'
3
3
 
4
- context 'patches for RedCloth::LATEX::Formatter' do
4
+ context 'with patches for RedCloth::LATEX::Formatter' do
5
5
  it 'tranforms a h1. headline to LaTeX chapter notation' do
6
6
  text = 'h1. Headline'
7
7
  expect(RedCloth.new(text).to_latex).to eq "\\chapter{Headline}\n\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indoctrinatr-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Reuschling
@@ -11,225 +11,237 @@ bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRswGQYDVQQDDBJuaWNv
15
- bGFpLnJldXNjaGxpbmcxEzARBgoJkiaJk/IsZAEZFgNka2QxEjAQBgoJkiaJk/Is
16
- ZAEZFgJkZTAeFw0xNjA5MTQwODI4MDFaFw0xNzA5MTQwODI4MDFaMEYxGzAZBgNV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cEiEZej8d8C5vcHy3bwXb/+CjzcKrcqN67lkXwrA9jzqMuqnjVuhx+JMXJ5
30
+ kHAKYJXqSQLXcRmkRlqCNGKAJSy6FmpClVbei309Yg3dl4PmFSc8GdLcWD1keOvE
31
+ qzeIYbdD18i9ZRk4hfm8vEpevt+xRgM+3ughiJIaiWI3eO3C+VRszvqU
34
32
  -----END CERTIFICATE-----
35
- date: 2017-04-16 00:00:00.000000000 Z
33
+ date: 2020-02-14 00:00:00.000000000 Z
36
34
  dependencies:
37
35
  - !ruby/object:Gem::Dependency
38
- name: bundler
36
+ name: aruba
39
37
  requirement: !ruby/object:Gem::Requirement
40
38
  requirements:
41
39
  - - "~>"
42
40
  - !ruby/object:Gem::Version
43
- version: '1.14'
41
+ version: '0.14'
44
42
  type: :development
45
43
  prerelease: false
46
44
  version_requirements: !ruby/object:Gem::Requirement
47
45
  requirements:
48
46
  - - "~>"
49
47
  - !ruby/object:Gem::Version
50
- version: '1.14'
48
+ version: '0.14'
51
49
  - !ruby/object:Gem::Dependency
52
- name: rake
50
+ name: bundler
53
51
  requirement: !ruby/object:Gem::Requirement
54
52
  requirements:
55
53
  - - "~>"
56
54
  - !ruby/object:Gem::Version
57
- version: '12.0'
55
+ version: '2.0'
58
56
  type: :development
59
57
  prerelease: false
60
58
  version_requirements: !ruby/object:Gem::Requirement
61
59
  requirements:
62
60
  - - "~>"
63
61
  - !ruby/object:Gem::Version
64
- version: '12.0'
62
+ version: '2.0'
65
63
  - !ruby/object:Gem::Dependency
66
- name: rspec
64
+ name: coveralls
67
65
  requirement: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - "~>"
70
68
  - !ruby/object:Gem::Version
71
- version: '3.5'
69
+ version: '0.8'
72
70
  type: :development
73
71
  prerelease: false
74
72
  version_requirements: !ruby/object:Gem::Requirement
75
73
  requirements:
76
74
  - - "~>"
77
75
  - !ruby/object:Gem::Version
78
- version: '3.5'
76
+ version: '0.8'
79
77
  - !ruby/object:Gem::Dependency
80
78
  name: cucumber
81
79
  requirement: !ruby/object:Gem::Requirement
82
80
  requirements:
83
81
  - - "~>"
84
82
  - !ruby/object:Gem::Version
85
- version: '2.4'
83
+ version: '3.0'
86
84
  type: :development
87
85
  prerelease: false
88
86
  version_requirements: !ruby/object:Gem::Requirement
89
87
  requirements:
90
88
  - - "~>"
91
89
  - !ruby/object:Gem::Version
92
- version: '2.4'
90
+ version: '3.0'
93
91
  - !ruby/object:Gem::Dependency
94
- name: aruba
92
+ name: pry
95
93
  requirement: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - "~>"
98
96
  - !ruby/object:Gem::Version
99
- version: '0.14'
97
+ version: '0.11'
100
98
  type: :development
101
99
  prerelease: false
102
100
  version_requirements: !ruby/object:Gem::Requirement
103
101
  requirements:
104
102
  - - "~>"
105
103
  - !ruby/object:Gem::Version
106
- version: '0.14'
104
+ version: '0.11'
107
105
  - !ruby/object:Gem::Dependency
108
- name: rubocop
106
+ name: rake
109
107
  requirement: !ruby/object:Gem::Requirement
110
108
  requirements:
111
109
  - - "~>"
112
110
  - !ruby/object:Gem::Version
113
- version: '0.48'
111
+ version: '13.0'
114
112
  type: :development
115
113
  prerelease: false
116
114
  version_requirements: !ruby/object:Gem::Requirement
117
115
  requirements:
118
116
  - - "~>"
119
117
  - !ruby/object:Gem::Version
120
- version: '0.48'
118
+ version: '13.0'
121
119
  - !ruby/object:Gem::Dependency
122
- name: rubocop-rspec
120
+ name: rspec
123
121
  requirement: !ruby/object:Gem::Requirement
124
122
  requirements:
125
123
  - - "~>"
126
124
  - !ruby/object:Gem::Version
127
- version: '1.15'
125
+ version: '3.7'
128
126
  type: :development
129
127
  prerelease: false
130
128
  version_requirements: !ruby/object:Gem::Requirement
131
129
  requirements:
132
130
  - - "~>"
133
131
  - !ruby/object:Gem::Version
134
- version: '1.15'
132
+ version: '3.7'
135
133
  - !ruby/object:Gem::Dependency
136
- name: pry
134
+ name: rubocop
137
135
  requirement: !ruby/object:Gem::Requirement
138
136
  requirements:
139
137
  - - "~>"
140
138
  - !ruby/object:Gem::Version
141
- version: '0.10'
139
+ version: '0.79'
142
140
  type: :development
143
141
  prerelease: false
144
142
  version_requirements: !ruby/object:Gem::Requirement
145
143
  requirements:
146
144
  - - "~>"
147
145
  - !ruby/object:Gem::Version
148
- version: '0.10'
146
+ version: '0.79'
149
147
  - !ruby/object:Gem::Dependency
150
- name: coveralls
148
+ name: rubocop-performance
151
149
  requirement: !ruby/object:Gem::Requirement
152
150
  requirements:
153
151
  - - "~>"
154
152
  - !ruby/object:Gem::Version
155
- version: '0.8'
153
+ version: '1.3'
156
154
  type: :development
157
155
  prerelease: false
158
156
  version_requirements: !ruby/object:Gem::Requirement
159
157
  requirements:
160
158
  - - "~>"
161
159
  - !ruby/object:Gem::Version
162
- version: '0.8'
160
+ version: '1.3'
163
161
  - !ruby/object:Gem::Dependency
164
- name: gli
162
+ name: rubocop-rspec
165
163
  requirement: !ruby/object:Gem::Requirement
166
164
  requirements:
167
165
  - - "~>"
168
166
  - !ruby/object:Gem::Version
169
- version: '2.16'
167
+ version: '1.22'
168
+ type: :development
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '1.22'
175
+ - !ruby/object:Gem::Dependency
176
+ name: erubis
177
+ requirement: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '2.7'
170
182
  type: :runtime
171
183
  prerelease: false
172
184
  version_requirements: !ruby/object:Gem::Requirement
173
185
  requirements:
174
186
  - - "~>"
175
187
  - !ruby/object:Gem::Version
176
- version: '2.16'
188
+ version: '2.7'
177
189
  - !ruby/object:Gem::Dependency
178
- name: rubyzip
190
+ name: gli
179
191
  requirement: !ruby/object:Gem::Requirement
180
192
  requirements:
181
193
  - - "~>"
182
194
  - !ruby/object:Gem::Version
183
- version: '1.2'
195
+ version: '2.16'
184
196
  type: :runtime
185
197
  prerelease: false
186
198
  version_requirements: !ruby/object:Gem::Requirement
187
199
  requirements:
188
200
  - - "~>"
189
201
  - !ruby/object:Gem::Version
190
- version: '1.2'
202
+ version: '2.16'
191
203
  - !ruby/object:Gem::Dependency
192
- name: erubis
204
+ name: RedCloth
193
205
  requirement: !ruby/object:Gem::Requirement
194
206
  requirements:
195
207
  - - "~>"
196
208
  - !ruby/object:Gem::Version
197
- version: '2.7'
209
+ version: '4.3'
198
210
  type: :runtime
199
211
  prerelease: false
200
212
  version_requirements: !ruby/object:Gem::Requirement
201
213
  requirements:
202
214
  - - "~>"
203
215
  - !ruby/object:Gem::Version
204
- version: '2.7'
216
+ version: '4.3'
205
217
  - !ruby/object:Gem::Dependency
206
- name: to_latex
218
+ name: rubyzip
207
219
  requirement: !ruby/object:Gem::Requirement
208
220
  requirements:
209
221
  - - "~>"
210
222
  - !ruby/object:Gem::Version
211
- version: '0.5'
223
+ version: '2'
212
224
  type: :runtime
213
225
  prerelease: false
214
226
  version_requirements: !ruby/object:Gem::Requirement
215
227
  requirements:
216
228
  - - "~>"
217
229
  - !ruby/object:Gem::Version
218
- version: '0.5'
230
+ version: '2'
219
231
  - !ruby/object:Gem::Dependency
220
- name: RedCloth
232
+ name: to_latex
221
233
  requirement: !ruby/object:Gem::Requirement
222
234
  requirements:
223
235
  - - "~>"
224
236
  - !ruby/object:Gem::Version
225
- version: '4.3'
237
+ version: '0.5'
226
238
  type: :runtime
227
239
  prerelease: false
228
240
  version_requirements: !ruby/object:Gem::Requirement
229
241
  requirements:
230
242
  - - "~>"
231
243
  - !ruby/object:Gem::Version
232
- version: '4.3'
244
+ version: '0.5'
233
245
  description:
234
246
  email:
235
247
  - nicolai.reuschling@dkd.de
@@ -239,7 +251,6 @@ executables:
239
251
  extensions: []
240
252
  extra_rdoc_files: []
241
253
  files:
242
- - ".arcconfig"
243
254
  - ".coveralls.yml"
244
255
  - ".gitignore"
245
256
  - ".rubocop.yml"
@@ -321,7 +332,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
332
  requirements:
322
333
  - - "~>"
323
334
  - !ruby/object:Gem::Version
324
- version: '2.2'
335
+ version: '2.5'
325
336
  required_rubygems_version: !ruby/object:Gem::Requirement
326
337
  requirements:
327
338
  - - ">="
@@ -329,8 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
340
  version: '0'
330
341
  requirements:
331
342
  - LaTeX development enviroment
332
- rubyforge_project:
333
- rubygems_version: 2.6.11
343
+ rubygems_version: 3.1.2
334
344
  signing_key:
335
345
  specification_version: 4
336
346
  summary: indoctrinatr-tools provides a set of command line tools for Indoctrinatr
metadata.gz.sig CHANGED
Binary file
data/.arcconfig DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "phabricator.uri": "https://phabricator.dkd.de/",
3
- "project.name": "indoctrinatr-tools",
4
- "repository.callsign": "INDOCTRINATRTOOLS",
5
- "arc.feature.start.default": "development",
6
- "arc.land.onto.default": "development",
7
- "history.immutable": true,
8
- "base": "git:merge-base(development),arc:upstream"
9
- }