puppet-strings 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/CONTRIBUTING.md +3 -7
  4. data/JSON.md +126 -8
  5. data/README.md +16 -498
  6. data/lib/puppet-strings.rb +6 -0
  7. data/lib/puppet-strings/json.rb +2 -0
  8. data/lib/puppet-strings/markdown.rb +6 -1
  9. data/lib/puppet-strings/markdown/puppet_plan.rb +14 -0
  10. data/lib/puppet-strings/markdown/puppet_plans.rb +37 -0
  11. data/lib/puppet-strings/markdown/puppet_task.rb +24 -0
  12. data/lib/puppet-strings/markdown/puppet_tasks.rb +34 -0
  13. data/lib/puppet-strings/markdown/table_of_contents.rb +3 -1
  14. data/lib/puppet-strings/markdown/templates/classes_and_defines.erb +8 -5
  15. data/lib/puppet-strings/markdown/templates/function.erb +2 -3
  16. data/lib/puppet-strings/markdown/templates/puppet_task.erb +28 -0
  17. data/lib/puppet-strings/markdown/templates/resource_type.erb +9 -5
  18. data/lib/puppet-strings/markdown/templates/table_of_contents.erb +5 -0
  19. data/lib/puppet-strings/monkey_patches/display_object_command.rb +11 -0
  20. data/lib/puppet-strings/yard.rb +15 -1
  21. data/lib/puppet-strings/yard/code_objects.rb +2 -0
  22. data/lib/puppet-strings/yard/code_objects/plan.rb +56 -0
  23. data/lib/puppet-strings/yard/code_objects/task.rb +70 -0
  24. data/lib/puppet-strings/yard/handlers.rb +6 -0
  25. data/lib/puppet-strings/yard/handlers/json/base.rb +5 -0
  26. data/lib/puppet-strings/yard/handlers/json/task_handler.rb +31 -0
  27. data/lib/puppet-strings/yard/handlers/puppet/base.rb +1 -1
  28. data/lib/puppet-strings/yard/handlers/puppet/class_handler.rb +1 -1
  29. data/lib/puppet-strings/yard/handlers/puppet/defined_type_handler.rb +1 -1
  30. data/lib/puppet-strings/yard/handlers/puppet/function_handler.rb +1 -1
  31. data/lib/puppet-strings/yard/handlers/puppet/plan_handler.rb +27 -0
  32. data/lib/puppet-strings/yard/handlers/ruby/function_handler.rb +4 -1
  33. data/lib/puppet-strings/yard/handlers/ruby/rsapi_handler.rb +12 -2
  34. data/lib/puppet-strings/yard/parsers.rb +4 -0
  35. data/lib/puppet-strings/yard/parsers/json/parser.rb +33 -0
  36. data/lib/puppet-strings/yard/parsers/json/task_statement.rb +35 -0
  37. data/lib/puppet-strings/yard/parsers/puppet/parser.rb +11 -0
  38. data/lib/puppet-strings/yard/parsers/puppet/statement.rb +14 -0
  39. data/lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_plan.erb +9 -0
  40. data/lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_task.erb +9 -0
  41. data/lib/puppet-strings/yard/templates/default/fulldoc/html/setup.rb +18 -0
  42. data/lib/puppet-strings/yard/templates/default/layout/html/setup.rb +42 -2
  43. data/lib/puppet-strings/yard/templates/default/puppet_plan/html/box_info.erb +10 -0
  44. data/lib/puppet-strings/yard/templates/default/puppet_plan/html/header.erb +1 -0
  45. data/lib/puppet-strings/yard/templates/default/puppet_plan/html/overview.erb +6 -0
  46. data/lib/puppet-strings/yard/templates/default/puppet_plan/html/setup.rb +11 -0
  47. data/lib/puppet-strings/yard/templates/default/puppet_plan/html/source.erb +12 -0
  48. data/lib/puppet-strings/yard/templates/default/puppet_plan/html/summary.erb +4 -0
  49. data/lib/puppet-strings/yard/templates/default/puppet_task/html/box_info.erb +9 -0
  50. data/lib/puppet-strings/yard/templates/default/puppet_task/html/header.erb +1 -0
  51. data/lib/puppet-strings/yard/templates/default/puppet_task/html/input.erb +5 -0
  52. data/lib/puppet-strings/yard/templates/default/puppet_task/html/overview.erb +6 -0
  53. data/lib/puppet-strings/yard/templates/default/puppet_task/html/parameters.erb +16 -0
  54. data/lib/puppet-strings/yard/templates/default/puppet_task/html/setup.rb +22 -0
  55. data/lib/puppet-strings/yard/templates/default/puppet_task/html/supports_noop.erb +3 -0
  56. data/lib/puppet-strings/yard/templates/default/tags/setup.rb +3 -1
  57. data/lib/puppet-strings/yard/util.rb +14 -0
  58. data/spec/fixtures/unit/json/output.json +50 -0
  59. data/spec/fixtures/unit/json/output_with_plan.json +689 -0
  60. data/spec/fixtures/unit/markdown/output.md +63 -8
  61. data/spec/fixtures/unit/markdown/output_with_plan.md +472 -0
  62. data/spec/spec_helper.rb +5 -2
  63. data/spec/unit/puppet-strings/json_spec.rb +42 -2
  64. data/spec/unit/puppet-strings/markdown_spec.rb +41 -8
  65. data/spec/unit/puppet-strings/yard/code_objects/task_spec.rb +92 -0
  66. data/spec/unit/puppet-strings/yard/handlers/json/task_handler_spec.rb +124 -0
  67. data/spec/unit/puppet-strings/yard/handlers/puppet/class_handler_spec.rb +1 -1
  68. data/spec/unit/puppet-strings/yard/handlers/puppet/defined_type_handler_spec.rb +19 -12
  69. data/spec/unit/puppet-strings/yard/handlers/ruby/function_handler_spec.rb +33 -0
  70. data/spec/unit/puppet-strings/yard/handlers/ruby/rsapi_handler_spec.rb +8 -7
  71. data/spec/unit/puppet-strings/yard/parsers/json/parser_spec.rb +70 -0
  72. data/spec/unit/puppet-strings/yard/parsers/json/task_statement_spec.rb +56 -0
  73. data/spec/unit/puppet-strings/yard/parsers/puppet/parser_spec.rb +1 -1
  74. data/spec/unit/puppet-strings/yard/util_spec.rb +17 -0
  75. metadata +38 -5
  76. data/MAINTAINERS +0 -17
@@ -70,6 +70,7 @@ SOURCE
70
70
  Puppet::ResourceApi.register_type(
71
71
  name: 'database',
72
72
  docs: 'An example database server resource type.',
73
+ features: ['remote-resource'],
73
74
  attributes: {
74
75
  ensure: {
75
76
  type: 'Enum[present, absent, up, down]',
@@ -133,19 +134,19 @@ SOURCE
133
134
  expect(object.properties[1].docstring).to eq('What state the database should be in.')
134
135
  expect(object.properties[1].isnamevar).to eq(false)
135
136
  expect(object.properties[1].default).to eq('up')
136
- expect(object.properties[1].values).to eq(['Enum[present, absent, up, down]'])
137
+ expect(object.properties[1].data_type).to eq('Enum[present, absent, up, down]')
137
138
  expect(object.properties[1].aliases).to eq({})
138
139
  expect(object.properties[2].name).to eq('file')
139
140
  expect(object.properties[2].docstring).to eq('The database file to use.')
140
141
  expect(object.properties[2].isnamevar).to eq(false)
141
142
  expect(object.properties[2].default).to be_nil
142
- expect(object.properties[2].values).to eq(['String'])
143
+ expect(object.properties[2].data_type).to eq('String')
143
144
  expect(object.properties[2].aliases).to eq({})
144
145
  expect(object.properties[3].name).to eq('log_level')
145
146
  expect(object.properties[3].docstring).to eq('The log level to use.')
146
147
  expect(object.properties[3].isnamevar).to eq(false)
147
148
  expect(object.properties[3].default).to eq('warn')
148
- expect(object.properties[3].values).to eq(['Enum[debug, warn, error]'])
149
+ expect(object.properties[3].data_type).to eq('Enum[debug, warn, error]')
149
150
  expect(object.properties[3].aliases).to eq({})
150
151
  expect(object.parameters.size).to eq(5)
151
152
  expect(object.parameters[0].name).to eq('dynamic_param')
@@ -156,25 +157,25 @@ SOURCE
156
157
  expect(object.parameters[1].docstring).to eq('The database server name.')
157
158
  expect(object.parameters[1].isnamevar).to eq(true)
158
159
  expect(object.parameters[1].default).to be_nil
159
- expect(object.parameters[1].values).to eq(['String'])
160
+ expect(object.parameters[1].data_type).to eq('String')
160
161
  expect(object.parameters[1].aliases).to eq({})
161
162
  expect(object.parameters[2].name).to eq('encrypt')
162
163
  expect(object.parameters[2].docstring).to eq('Whether or not to encrypt the database.')
163
164
  expect(object.parameters[2].isnamevar).to eq(false)
164
165
  expect(object.parameters[2].default).to eq(false)
165
- expect(object.parameters[2].values).to eq(["Boolean"])
166
+ expect(object.parameters[2].data_type).to eq("Boolean")
166
167
  expect(object.parameters[2].aliases).to eq({})
167
168
  expect(object.parameters[3].name).to eq('encryption_key')
168
169
  expect(object.parameters[3].docstring).to eq('The encryption key to use.')
169
170
  expect(object.parameters[3].isnamevar).to eq(false)
170
171
  expect(object.parameters[3].default).to be_nil
171
- expect(object.parameters[3].values).to eq(["Optional[String]"])
172
+ expect(object.parameters[3].data_type).to eq("Optional[String]")
172
173
  expect(object.parameters[3].aliases).to eq({})
173
174
  expect(object.parameters[4].name).to eq('backup')
174
175
  expect(object.parameters[4].docstring).to eq('How often to backup the database.')
175
176
  expect(object.parameters[4].isnamevar).to eq(false)
176
177
  expect(object.parameters[4].default).to eq('never')
177
- expect(object.parameters[4].values).to eq(["Enum[daily, monthly, never]"])
178
+ expect(object.parameters[4].data_type).to eq("Enum[daily, monthly, never]")
178
179
  end
179
180
  end
180
181
 
@@ -0,0 +1,70 @@
1
+ require 'spec_helper'
2
+ require 'puppet-strings/yard'
3
+
4
+ describe PuppetStrings::Yard::Parsers::JSON::Parser do
5
+ subject { PuppetStrings::Yard::Parsers::JSON::Parser.new(source, file) }
6
+ let(:file) { 'test.json' }
7
+
8
+ describe 'initialization of the parser' do
9
+ let(:source) { 'notice hi' }
10
+
11
+ it 'should store the original source' do
12
+ expect(subject.source).to eq(source)
13
+ end
14
+
15
+ it 'should store the original file name' do
16
+ expect(subject.file).to eq(file)
17
+ end
18
+
19
+ it 'should have no relevant statements' do
20
+ subject.parse
21
+ expect(subject.enumerator.empty?).to be_truthy
22
+ end
23
+ end
24
+
25
+ describe 'parsing invalid JSON' do
26
+ let(:source) { <<SOURCE
27
+ class foo {
28
+ SOURCE
29
+ }
30
+
31
+ it 'should raise an exception' do
32
+ expect{ subject.parse }.to output(/\[error\]: Failed to parse test.json/).to_stdout_from_any_process
33
+ end
34
+ end
35
+
36
+
37
+ describe 'parsing puppet functions with return type in defintion', if: TEST_FUNCTION_RETURN_TYPE do
38
+ let(:source) { <<SOURCE
39
+ {
40
+ "description": "Allows you to backup your database to local file.",
41
+ "input_method": "stdin",
42
+ "parameters": {
43
+ "database": {
44
+ "description": "Database to connect to",
45
+ "type": "Optional[String[1]]"
46
+ },
47
+ "user": {
48
+ "description": "The user",
49
+ "type": "Optional[String[1]]"
50
+ },
51
+ "password": {
52
+ "description": "The password",
53
+ "type": "Optional[String[1]]"
54
+ },
55
+ "sql": {
56
+ "description": "Path to file you want backup to",
57
+ "type": "String[1]"
58
+ }
59
+ }
60
+ }
61
+ SOURCE
62
+ }
63
+ it 'should parse the puppet function statement' do
64
+ subject.parse
65
+ expect(subject.enumerator.size).to eq(1)
66
+ statement = subject.enumerator.first
67
+ expect(statement).to be_instance_of(PuppetStrings::Yard::Parsers::JSON::TaskStatement)
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,56 @@
1
+ require 'spec_helper'
2
+
3
+ describe PuppetStrings::Yard::Parsers::JSON::TaskStatement do
4
+ let(:source) { <<-SOURCE
5
+ {
6
+ "description": "Allows you to backup your database to local file.",
7
+ "input_method": "stdin",
8
+ "parameters": {
9
+ "database": {
10
+ "description": "Database to connect to",
11
+ "type": "Optional[String[1]]"
12
+ },
13
+ "user": {
14
+ "description": "The user",
15
+ "type": "Optional[String[1]]"
16
+ },
17
+ "password": {
18
+ "description": "The password",
19
+ "type": "Optional[String[1]]"
20
+ },
21
+ "sql": {
22
+ "description": "Path to file you want backup to",
23
+ "type": "String[1]"
24
+ }
25
+ }
26
+ }
27
+ SOURCE
28
+ }
29
+ let(:json) { JSON.parse(source) }
30
+ subject { PuppetStrings::Yard::Parsers::JSON::TaskStatement.new(json, source, "test.json") }
31
+ describe '#comments' do
32
+ it 'returns docstring' do
33
+ expect(subject.comments).to eq "Allows you to backup your database to local file."
34
+ end
35
+ end
36
+ describe '#parameters' do
37
+ context 'with params' do
38
+ it 'returns params' do
39
+ expect(subject.parameters.size > 0).to be true
40
+ end
41
+ end
42
+ context 'no params' do
43
+ let(:source) { <<-SOURCE
44
+ {
45
+ "description": "Allows you to backup your database to local file.",
46
+ "input_method": "stdin"
47
+ }
48
+ SOURCE
49
+ }
50
+ it 'returns an empty hash' do
51
+ expect(subject.parameters).to eq({})
52
+ end
53
+ end
54
+ end
55
+
56
+ end
@@ -29,7 +29,7 @@ SOURCE
29
29
  }
30
30
 
31
31
  it 'should raise an exception' do
32
- expect{ subject.parse }.to output(/\[error\]: Failed to parse test.pp: Syntax error at end of file/).to_stdout_from_any_process
32
+ expect{ subject.parse }.to output(/\[error\]: Failed to parse test.pp: Syntax error at end of (file|input)/).to_stdout_from_any_process
33
33
  end
34
34
  end
35
35
 
@@ -28,4 +28,21 @@ STR
28
28
  expect(subject.scrub_string(str)).to eq('this is a test string')
29
29
  end
30
30
  end
31
+
32
+ describe 'github_to_yard_links' do
33
+ it 'converts a link correctly' do
34
+ str = '<a href="#module-description">'
35
+ expect(subject.github_to_yard_links(str)).to eq('<a href="#label-Module+description">')
36
+ end
37
+
38
+ it 'leaves other links with hashes alone' do
39
+ str = '<a href="www.github.com/blah/document.html#module-description">'
40
+ expect(subject.github_to_yard_links(str)).to eq(str)
41
+ end
42
+
43
+ it 'leaves plain text alone' do
44
+ str = '<a href="#module-description"> module-description'
45
+ expect(subject.github_to_yard_links(str)).to eq('<a href="#label-Module+description"> module-description')
46
+ end
47
+ end
31
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-strings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-01 00:00:00.000000000 Z
11
+ date: 2018-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard
@@ -55,7 +55,6 @@ files:
55
55
  - Gemfile
56
56
  - JSON.md
57
57
  - LICENSE
58
- - MAINTAINERS
59
58
  - README.md
60
59
  - Rakefile
61
60
  - codecov.yml
@@ -69,13 +68,19 @@ files:
69
68
  - lib/puppet-strings/markdown/functions.rb
70
69
  - lib/puppet-strings/markdown/puppet_class.rb
71
70
  - lib/puppet-strings/markdown/puppet_classes.rb
71
+ - lib/puppet-strings/markdown/puppet_plan.rb
72
+ - lib/puppet-strings/markdown/puppet_plans.rb
73
+ - lib/puppet-strings/markdown/puppet_task.rb
74
+ - lib/puppet-strings/markdown/puppet_tasks.rb
72
75
  - lib/puppet-strings/markdown/resource_type.rb
73
76
  - lib/puppet-strings/markdown/resource_types.rb
74
77
  - lib/puppet-strings/markdown/table_of_contents.rb
75
78
  - lib/puppet-strings/markdown/templates/classes_and_defines.erb
76
79
  - lib/puppet-strings/markdown/templates/function.erb
80
+ - lib/puppet-strings/markdown/templates/puppet_task.erb
77
81
  - lib/puppet-strings/markdown/templates/resource_type.erb
78
82
  - lib/puppet-strings/markdown/templates/table_of_contents.erb
83
+ - lib/puppet-strings/monkey_patches/display_object_command.rb
79
84
  - lib/puppet-strings/tasks.rb
80
85
  - lib/puppet-strings/tasks/generate.rb
81
86
  - lib/puppet-strings/tasks/gh_pages.rb
@@ -86,20 +91,27 @@ files:
86
91
  - lib/puppet-strings/yard/code_objects/defined_type.rb
87
92
  - lib/puppet-strings/yard/code_objects/function.rb
88
93
  - lib/puppet-strings/yard/code_objects/group.rb
94
+ - lib/puppet-strings/yard/code_objects/plan.rb
89
95
  - lib/puppet-strings/yard/code_objects/provider.rb
96
+ - lib/puppet-strings/yard/code_objects/task.rb
90
97
  - lib/puppet-strings/yard/code_objects/type.rb
91
98
  - lib/puppet-strings/yard/handlers.rb
92
99
  - lib/puppet-strings/yard/handlers/helpers.rb
100
+ - lib/puppet-strings/yard/handlers/json/base.rb
101
+ - lib/puppet-strings/yard/handlers/json/task_handler.rb
93
102
  - lib/puppet-strings/yard/handlers/puppet/base.rb
94
103
  - lib/puppet-strings/yard/handlers/puppet/class_handler.rb
95
104
  - lib/puppet-strings/yard/handlers/puppet/defined_type_handler.rb
96
105
  - lib/puppet-strings/yard/handlers/puppet/function_handler.rb
106
+ - lib/puppet-strings/yard/handlers/puppet/plan_handler.rb
97
107
  - lib/puppet-strings/yard/handlers/ruby/base.rb
98
108
  - lib/puppet-strings/yard/handlers/ruby/function_handler.rb
99
109
  - lib/puppet-strings/yard/handlers/ruby/provider_handler.rb
100
110
  - lib/puppet-strings/yard/handlers/ruby/rsapi_handler.rb
101
111
  - lib/puppet-strings/yard/handlers/ruby/type_handler.rb
102
112
  - lib/puppet-strings/yard/parsers.rb
113
+ - lib/puppet-strings/yard/parsers/json/parser.rb
114
+ - lib/puppet-strings/yard/parsers/json/task_statement.rb
103
115
  - lib/puppet-strings/yard/parsers/puppet/parser.rb
104
116
  - lib/puppet-strings/yard/parsers/puppet/statement.rb
105
117
  - lib/puppet-strings/yard/tags.rb
@@ -111,7 +123,9 @@ files:
111
123
  - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_class.erb
112
124
  - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_defined_type.erb
113
125
  - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_function.erb
126
+ - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_plan.erb
114
127
  - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_provider.erb
128
+ - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_task.erb
115
129
  - lib/puppet-strings/yard/templates/default/fulldoc/html/full_list_puppet_type.erb
116
130
  - lib/puppet-strings/yard/templates/default/fulldoc/html/setup.rb
117
131
  - lib/puppet-strings/yard/templates/default/layout/html/footer.erb
@@ -135,6 +149,12 @@ files:
135
149
  - lib/puppet-strings/yard/templates/default/puppet_function/html/setup.rb
136
150
  - lib/puppet-strings/yard/templates/default/puppet_function/html/source.erb
137
151
  - lib/puppet-strings/yard/templates/default/puppet_function/html/summary.erb
152
+ - lib/puppet-strings/yard/templates/default/puppet_plan/html/box_info.erb
153
+ - lib/puppet-strings/yard/templates/default/puppet_plan/html/header.erb
154
+ - lib/puppet-strings/yard/templates/default/puppet_plan/html/overview.erb
155
+ - lib/puppet-strings/yard/templates/default/puppet_plan/html/setup.rb
156
+ - lib/puppet-strings/yard/templates/default/puppet_plan/html/source.erb
157
+ - lib/puppet-strings/yard/templates/default/puppet_plan/html/summary.erb
138
158
  - lib/puppet-strings/yard/templates/default/puppet_provider/html/box_info.erb
139
159
  - lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
140
160
  - lib/puppet-strings/yard/templates/default/puppet_provider/html/features.erb
@@ -142,6 +162,13 @@ files:
142
162
  - lib/puppet-strings/yard/templates/default/puppet_provider/html/overview.erb
143
163
  - lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
144
164
  - lib/puppet-strings/yard/templates/default/puppet_provider/html/summary.erb
165
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/box_info.erb
166
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/header.erb
167
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/input.erb
168
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/overview.erb
169
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/parameters.erb
170
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/setup.rb
171
+ - lib/puppet-strings/yard/templates/default/puppet_task/html/supports_noop.erb
145
172
  - lib/puppet-strings/yard/templates/default/puppet_type/html/box_info.erb
146
173
  - lib/puppet-strings/yard/templates/default/puppet_type/html/features.erb
147
174
  - lib/puppet-strings/yard/templates/default/puppet_type/html/header.erb
@@ -169,13 +196,17 @@ files:
169
196
  - spec/fixtures/acceptance/modules/test/manifests/triple_nested_classes.pp
170
197
  - spec/fixtures/acceptance/modules/test/metadata.json
171
198
  - spec/fixtures/unit/json/output.json
199
+ - spec/fixtures/unit/json/output_with_plan.json
172
200
  - spec/fixtures/unit/json/output_without_puppet_function.json
173
201
  - spec/fixtures/unit/markdown/output.md
202
+ - spec/fixtures/unit/markdown/output_with_plan.md
174
203
  - spec/spec_helper.rb
175
204
  - spec/spec_helper_acceptance.rb
176
205
  - spec/unit/puppet-strings/json_spec.rb
177
206
  - spec/unit/puppet-strings/markdown/base_spec.rb
178
207
  - spec/unit/puppet-strings/markdown_spec.rb
208
+ - spec/unit/puppet-strings/yard/code_objects/task_spec.rb
209
+ - spec/unit/puppet-strings/yard/handlers/json/task_handler_spec.rb
179
210
  - spec/unit/puppet-strings/yard/handlers/puppet/class_handler_spec.rb
180
211
  - spec/unit/puppet-strings/yard/handlers/puppet/defined_type_handler_spec.rb
181
212
  - spec/unit/puppet-strings/yard/handlers/puppet/function_handler_spec.rb
@@ -183,6 +214,8 @@ files:
183
214
  - spec/unit/puppet-strings/yard/handlers/ruby/provider_handler_spec.rb
184
215
  - spec/unit/puppet-strings/yard/handlers/ruby/rsapi_handler_spec.rb
185
216
  - spec/unit/puppet-strings/yard/handlers/ruby/type_handler_spec.rb
217
+ - spec/unit/puppet-strings/yard/parsers/json/parser_spec.rb
218
+ - spec/unit/puppet-strings/yard/parsers/json/task_statement_spec.rb
186
219
  - spec/unit/puppet-strings/yard/parsers/puppet/parser_spec.rb
187
220
  - spec/unit/puppet-strings/yard/util_spec.rb
188
221
  homepage: https://github.com/puppetlabs/puppet-strings
@@ -197,14 +230,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
197
230
  requirements:
198
231
  - - ">="
199
232
  - !ruby/object:Gem::Version
200
- version: 1.9.3
233
+ version: 2.1.9
201
234
  required_rubygems_version: !ruby/object:Gem::Requirement
202
235
  requirements:
203
236
  - - ">="
204
237
  - !ruby/object:Gem::Version
205
238
  version: '0'
206
239
  requirements:
207
- - puppet, >= 3.7.0
240
+ - puppet, >= 4.0.0
208
241
  rubyforge_project:
209
242
  rubygems_version: 2.6.8
210
243
  signing_key:
@@ -1,17 +0,0 @@
1
- {
2
- "version": 1,
3
- "file_format": "This MAINTAINERS file format is described at http://pup.pt/maintainers",
4
- "issues": "https://tickets.puppetlabs.com/browse/PDOC",
5
- "people": [
6
- {
7
- "github": "whopper",
8
- "email": "whopper@puppet.com",
9
- "name": "Will Hopper"
10
- },
11
- {
12
- "github": "scotje",
13
- "email": "jesse@puppet.com",
14
- "name": "Jesse Scott"
15
- }
16
- ]
17
- }