Skip to content

Commit

Permalink
Fix #92 and update minumum supported Ruby version to 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
htdebeer committed Mar 4, 2021
1 parent 600e85d commit f8c49b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ guide](https://pandoc.org/installing.html) for more information about
installing pandoc.

You can also download the latest gem,
[pandocomatic-0.2.7.4](https://github.com/htdebeer/pandocomatic/blob/master/releases/pandocomatic-0.2.7.4.gem),
[pandocomatic-0.2.7.5](https://github.com/htdebeer/pandocomatic/blob/master/releases/pandocomatic-0.2.7.5.gem),
from Github and install it manually as follows:

``` bash
cd /directory/you/downloaded/the/gem/to
gem install pandocomatic-0.2.7.4.gem
gem install pandocomatic-0.2.7.5.gem
```

## Examples
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ guide](https://pandoc.org/installing.html) for more information about
installing pandoc.

You can also download the latest gem,
[pandocomatic-0.2.7.4](https://github.com/htdebeer/pandocomatic/blob/master/releases/pandocomatic-0.2.7.4.gem),
[pandocomatic-0.2.7.5](https://github.com/htdebeer/pandocomatic/blob/master/releases/pandocomatic-0.2.7.5.gem),
from Github and install it manually as follows:

``` {.bash}
cd /directory/you/downloaded/the/gem/to
gem install pandocomatic-0.2.7.4.gem
gem install pandocomatic-0.2.7.5.gem
```

## Why pandocomatic?
Expand Down
2 changes: 1 addition & 1 deletion lib/pandocomatic/pandocomatic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Pandocomatic
ERROR_STATUS = 1266 # This is the sum of the ascii values of the characters in 'pandocomatic'

# Pandocomatic's current version
VERSION = [0, 2, 7, 4]
VERSION = [0, 2, 7, 5]

# Run pandocomatic given options
#
Expand Down
2 changes: 1 addition & 1 deletion lib/pandocomatic/printer/printer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def set_template(template_file)
#
# @return [String]
def to_s()
erb = ERB.new(File.read(@template), 0, '>')
erb = ERB.new(File.read(@template), trim_mode: '>')
erb.result(binding())
end

Expand Down
6 changes: 3 additions & 3 deletions pandocomatic.gemspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Gem::Specification.new do |s|
s.name = 'pandocomatic'
s.version = '0.2.7.4'
s.version = '0.2.7.5'
s.license = 'GPL-3.0'
s.date = '2020-11-04'
s.date = '2021-03-04'
s.summary = 'Automate the use of pandoc'
s.description = 'Pandocomatic is a tool to automate using pandoc. With pandocomatic you can express common patterns of using pandoc for generating your documents. Applied to a directory, pandocomatic can act as a static site generator.'
s.author = ['Huub de Beer']
s.email = '[email protected]'
s.required_ruby_version = ">= 2.5"
s.required_ruby_version = ">= 2.6"
s.files = Dir['lib/pandocomatic/*.rb']
s.files += Dir['lib/pandocomatic/default_configuration.yaml']
s.files += Dir['lib/pandocomatic/command/*.rb']
Expand Down
Binary file added releases/pandocomatic-0.2.7.5.gem
Binary file not shown.

0 comments on commit f8c49b0

Please sign in to comment.