plans 0.3.0 → 0.4.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: 4051c95d34783fb60570cad2032b31fcda41dc0e
4
- data.tar.gz: e66e5dc50118d847bcc59234ba3bce3698dd4f92
2
+ SHA256:
3
+ metadata.gz: 6b7d22628fd2b39d7d0aff1e10657feb407a3d0659916fbc8ad5654d386a6a99
4
+ data.tar.gz: 72918e5c8190eb0ddbff39c307d116e1761ad461c842e54e83736848fd68db25
5
5
  SHA512:
6
- metadata.gz: 403efa3cc442334309bea0f5d6aad3af8f3eba4e2690ad95149068f6dac1f7908375d4a665fe1fd30b8b90860026ada840297a56884f8fb0f022d483f8786820
7
- data.tar.gz: 13c26d5d41d4d1214cd330ae7acff2a0774354c8695063cd2d861aba1a0e7ecaadb46b4e6189fd9c93a3bf21e81ab781cae30d776a0365143de5484c63680950
6
+ metadata.gz: a0bcc7593cd49a46fd98e6edc4a53bc7ebce55dff162ac9319eb18418f2c9b0ab8d07111d0407b501ab626e7854bc8a2363e6f0c624d9277b92ebbdb410d7808
7
+ data.tar.gz: bda152e83818d992a8c46ffc8c33de76dc89f179dc9da78036f55d713da6c232ffcd0ab62c16f2a5b8b5c670f44db08acd5111efc7865a0bf14e23832c717011
@@ -1,89 +1,95 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plans (0.3.0)
4
+ plans (0.4.0)
5
5
  thor
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- aruba (0.13.0)
11
- childprocess (~> 0.5.6)
10
+ aruba (0.14.6)
11
+ childprocess (>= 0.6.3, < 0.10.0)
12
12
  contracts (~> 0.9)
13
13
  cucumber (>= 1.3.19)
14
14
  ffi (~> 1.9.10)
15
15
  rspec-expectations (>= 2.99)
16
16
  thor (~> 0.19)
17
- builder (3.2.2)
18
- childprocess (0.5.9)
17
+ backports (3.11.4)
18
+ builder (3.2.3)
19
+ childprocess (0.9.0)
19
20
  ffi (~> 1.0, >= 1.0.11)
20
- coderay (1.1.1)
21
- contracts (0.13.0)
22
- cucumber (2.3.2)
21
+ coderay (1.1.2)
22
+ contracts (0.16.0)
23
+ cucumber (3.1.2)
23
24
  builder (>= 2.1.2)
24
- cucumber-core (~> 1.4.0)
25
+ cucumber-core (~> 3.2.0)
26
+ cucumber-expressions (~> 6.0.1)
25
27
  cucumber-wire (~> 0.0.1)
26
- diff-lcs (>= 1.1.3)
27
- gherkin (~> 3.2.0)
28
+ diff-lcs (~> 1.3)
29
+ gherkin (~> 5.1.0)
28
30
  multi_json (>= 1.7.5, < 2.0)
29
31
  multi_test (>= 0.1.2)
30
- cucumber-core (1.4.0)
31
- gherkin (~> 3.2.0)
32
+ cucumber-core (3.2.1)
33
+ backports (>= 3.8.0)
34
+ cucumber-tag_expressions (~> 1.1.0)
35
+ gherkin (~> 5.0)
36
+ cucumber-expressions (6.0.1)
37
+ cucumber-tag_expressions (1.1.1)
32
38
  cucumber-wire (0.0.1)
33
- diff-lcs (1.2.5)
34
- ffi (1.9.10)
39
+ diff-lcs (1.3)
40
+ ffi (1.9.25)
35
41
  formatador (0.2.5)
36
- gherkin (3.2.0)
37
- guard (2.13.0)
42
+ gherkin (5.1.0)
43
+ guard (2.14.2)
38
44
  formatador (>= 0.2.4)
39
- listen (>= 2.7, <= 4.0)
40
- lumberjack (~> 1.0)
45
+ listen (>= 2.7, < 4.0)
46
+ lumberjack (>= 1.0.12, < 2.0)
41
47
  nenv (~> 0.1)
42
48
  notiffany (~> 0.0)
43
49
  pry (>= 0.9.12)
44
50
  shellany (~> 0.0)
45
51
  thor (>= 0.18.1)
46
52
  guard-compat (1.2.1)
47
- guard-rspec (4.6.4)
53
+ guard-rspec (4.7.3)
48
54
  guard (~> 2.1)
49
55
  guard-compat (~> 1.1)
50
56
  rspec (>= 2.99.0, < 4.0)
51
- listen (3.0.6)
52
- rb-fsevent (>= 0.9.3)
53
- rb-inotify (>= 0.9.7)
54
- lumberjack (1.0.10)
55
- method_source (0.8.2)
56
- multi_json (1.11.2)
57
+ listen (3.1.5)
58
+ rb-fsevent (~> 0.9, >= 0.9.4)
59
+ rb-inotify (~> 0.9, >= 0.9.7)
60
+ ruby_dep (~> 1.2)
61
+ lumberjack (1.0.13)
62
+ method_source (0.9.1)
63
+ multi_json (1.13.1)
57
64
  multi_test (0.1.2)
58
65
  nenv (0.3.0)
59
- notiffany (0.0.8)
66
+ notiffany (0.1.1)
60
67
  nenv (~> 0.1)
61
68
  shellany (~> 0.0)
62
- pry (0.10.3)
69
+ pry (0.12.0)
63
70
  coderay (~> 1.1.0)
64
- method_source (~> 0.8.1)
65
- slop (~> 3.4)
71
+ method_source (~> 0.9.0)
66
72
  rake (10.5.0)
67
- rb-fsevent (0.9.7)
68
- rb-inotify (0.9.7)
69
- ffi (>= 0.5.0)
70
- rspec (3.4.0)
71
- rspec-core (~> 3.4.0)
72
- rspec-expectations (~> 3.4.0)
73
- rspec-mocks (~> 3.4.0)
74
- rspec-core (3.4.3)
75
- rspec-support (~> 3.4.0)
76
- rspec-expectations (3.4.0)
73
+ rb-fsevent (0.10.3)
74
+ rb-inotify (0.9.10)
75
+ ffi (>= 0.5.0, < 2)
76
+ rspec (3.8.0)
77
+ rspec-core (~> 3.8.0)
78
+ rspec-expectations (~> 3.8.0)
79
+ rspec-mocks (~> 3.8.0)
80
+ rspec-core (3.8.0)
81
+ rspec-support (~> 3.8.0)
82
+ rspec-expectations (3.8.2)
77
83
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.4.0)
79
- rspec-mocks (3.4.1)
84
+ rspec-support (~> 3.8.0)
85
+ rspec-mocks (3.8.0)
80
86
  diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.4.0)
82
- rspec-support (3.4.1)
87
+ rspec-support (~> 3.8.0)
88
+ rspec-support (3.8.0)
89
+ ruby_dep (1.5.0)
83
90
  shellany (0.0.1)
84
- slop (3.6.0)
85
91
  terminal-notifier-guard (1.7.0)
86
- thor (0.19.1)
92
+ thor (0.20.0)
87
93
 
88
94
  PLATFORMS
89
95
  ruby
@@ -99,4 +105,4 @@ DEPENDENCIES
99
105
  terminal-notifier-guard
100
106
 
101
107
  BUNDLED WITH
102
- 1.11.2
108
+ 1.16.3
data/README.md CHANGED
@@ -34,6 +34,24 @@ ImageMagick works pretty much the same way.
34
34
 
35
35
  You also need Microsoft Word. :)
36
36
 
37
+ ### Tested With
38
+
39
+ ```bash
40
+ (515)⚡ pandoc --version
41
+ pandoc 2.3.1
42
+ ```
43
+
44
+ ```bash
45
+ (518)⚡ mogrify --version
46
+ Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 https://imagemagick.org
47
+ ```
48
+
49
+ ```bash
50
+ (520)⚡ sw_vers
51
+ ProductName: Mac OS X
52
+ ProductVersion: 10.14
53
+ ```
54
+
37
55
  ## Installation
38
56
 
39
57
  Install it:
@@ -1,4 +1,5 @@
1
1
  require 'thor'
2
+ require 'pathname'
2
3
 
3
4
  module Plans
4
5
  class Command
@@ -38,7 +39,7 @@ module Plans
38
39
  # The full current path, as a pathname object.
39
40
  # @return [Pathname] The full path to the directory where the command is to be executed.
40
41
  def pathname(path)
41
- Pathname(File.expand_path(path))
42
+ Pathname.new(File.expand_path(path))
42
43
  end
43
44
 
44
45
  # Get the path as a pathname object to the
@@ -32,7 +32,7 @@ module Plans
32
32
  # the images render correctly.
33
33
  # Pandoc only looks in the current working directory.
34
34
  Dir.chdir(path) do
35
- `pandoc #{toc_flag} #{source_file} --reference-docx=#{reference_docx} --standalone -f markdown+backtick_code_blocks -t docx -o #{output_file}`
35
+ `pandoc #{toc_flag} #{source_file} --reference-doc=#{reference_docx} --standalone -f markdown+backtick_code_blocks -t docx -o #{output_file}`
36
36
  end
37
37
 
38
38
  # Get the return code from pandoc.
@@ -1,3 +1,3 @@
1
1
  module Plans
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Cook
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-29 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  requirements: []
202
202
  rubyforge_project:
203
- rubygems_version: 2.4.5.1
203
+ rubygems_version: 2.7.6
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: Command line application for creating markdown documents from templates and