pandocomatic 0.2.3.0 → 0.2.3.1

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
- SHA1:
3
- metadata.gz: 2404350331ff44bd5be259f0f1144f50c16142c8
4
- data.tar.gz: fae1d00979bca480cdf077a933b866458432f0b7
2
+ SHA256:
3
+ metadata.gz: f70c3c049370f742ababfe2f6afa17ccd070ca0822925e3e78ab960e2b62cde7
4
+ data.tar.gz: 39bcbc5c4ed1fd94e2ae72b22b4cafd73c46a8da3c74bbacafcf1fbe2343044d
5
5
  SHA512:
6
- metadata.gz: cbeeae2d004e5410b498b2d85abd9cf0071c03a35604249090c44c87eaf6d6ecfa145c6daeb703340ca6e4b53f400505bb65e9cdeacf64133a1daba366fe8f27
7
- data.tar.gz: 9f9bc474a5a22c4f7afa18c5fcc1bda0e665adcff77bb2117d6a9fd09272e0a47ce115ea92b364528209d69ee22c75bc228c361224847c9dca843b22ab7bad9f
6
+ metadata.gz: 6cbc38f32923e9c2700553f9798e4b4b0d0444e036fd07df06db2950d092a4e5e9d91bdda41e8cdaaf328d845ddda7fcb9f0cfe79b47d76505434befa9086d12
7
+ data.tar.gz: 28c6d2f2ff9475fc7e5f5c3c2902619376da48880e7c346ddec1e24b664196ca9999d339943c0f5fb61064c1ed516541e781614059a4c291317a7238d8009b32
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
2
+ # Copyright 2017-2019, Huub de Beer <Huub@heerdebeer.org>
3
3
  #
4
4
  # This file is part of pandocomatic.
5
5
  #
@@ -17,7 +17,7 @@
17
17
  # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
18
  #++
19
19
  module Pandocomatic
20
- require 'trollop'
20
+ require 'optimist'
21
21
 
22
22
  require_relative './error/cli_error.rb'
23
23
 
@@ -41,7 +41,7 @@ module Pandocomatic
41
41
  begin
42
42
  options = parse_options args || {:help => true, :help_given => true}
43
43
  options
44
- rescue Trollop::CommandlineError => e
44
+ rescue Optimist::CommandlineError => e
45
45
  raise CLIError.new(:problematic_invocation, e, args)
46
46
  end
47
47
  end
@@ -50,7 +50,7 @@ module Pandocomatic
50
50
 
51
51
  # Parse pandocomatic's global options.
52
52
  def self.parse_options(args)
53
- parser = Trollop::Parser.new do
53
+ parser = Optimist::Parser.new do
54
54
  # General options
55
55
  opt :dry_run, 'Do a dry run', :short => '-y'
56
56
  opt :quiet, 'Run quietly', :short => '-q'
@@ -73,7 +73,7 @@ module Pandocomatic
73
73
  # All options should be parsed according to the specification given in the parser
74
74
  begin
75
75
  options = parser.parse args
76
- rescue Trollop::CommandlineError => e
76
+ rescue Optimist::CommandlineError => e
77
77
  raise CLIError.new(:problematic_invocation, e, args)
78
78
  end
79
79
 
@@ -140,7 +140,7 @@ module Pandocomatic
140
140
  end
141
141
 
142
142
  #--
143
- #Trollop has special behavior for the version and help options. To
143
+ #Optimist has special behavior for the version and help options. To
144
144
  # overcome, "show_version" and "show_help" options are introduced. When
145
145
  # set, these are put in the options as "version" and "help"
146
146
  # respectively.
@@ -50,7 +50,7 @@ module Pandocomatic
50
50
  ERROR_STATUS = 1266 # This is the sum of the ascii values of the characters in 'pandocomatic'
51
51
 
52
52
  # Pandocomatic's current version
53
- VERSION = [0, 2, 3, 0]
53
+ VERSION = [0, 2, 3, 1]
54
54
 
55
55
  # Pandocomatic's default configuration file
56
56
  CONFIG_FILE = 'pandocomatic.yaml'
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandocomatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3.0
4
+ version: 0.2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huub de Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-18 00:00:00.000000000 Z
11
+ date: 2019-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paru
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.3.0
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
19
  version: 0.3.0.0
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: 0.3.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: 0.3.0
30
27
  - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 0.3.0.0
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: 0.3.0
33
33
  - !ruby/object:Gem::Dependency
34
- name: trollop
34
+ name: optimist
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: 2.1.2
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
- version: 2.1.0
39
+ version: 3.0.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: 3.0.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: 2.1.2
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
- version: 2.1.0
49
+ version: 3.0.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: 3.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: minitest-reporters
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - pandoc, a universal document converer <http://pandoc.org>
156
156
  rubyforge_project:
157
- rubygems_version: 2.5.2.1
157
+ rubygems_version: 3.0.0.beta1
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Automating the use of pandoc