article_fixture_gen 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rubocop.yml +6 -0
  4. data/.travis.yml +5 -0
  5. data/CODE_OF_CONDUCT.md +49 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +220 -0
  9. data/Rakefile +48 -0
  10. data/article_fixture_gen.gemspec +55 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +16 -0
  13. data/config.reek +8 -0
  14. data/data/all_specs.yml +127 -0
  15. data/data/validations.yml +35 -0
  16. data/exe/article_fixture_gen +16 -0
  17. data/lib/article_fixture_gen/cli/config.rb +57 -0
  18. data/lib/article_fixture_gen/cli/dump_config.rb +43 -0
  19. data/lib/article_fixture_gen/cli.rb +5 -0
  20. data/lib/article_fixture_gen/config/builder.rb +99 -0
  21. data/lib/article_fixture_gen/config/constants.rb +25 -0
  22. data/lib/article_fixture_gen/config/data.rb +26 -0
  23. data/lib/article_fixture_gen/config/option_validator.rb +74 -0
  24. data/lib/article_fixture_gen/config.rb +45 -0
  25. data/lib/article_fixture_gen/data/article.rb +55 -0
  26. data/lib/article_fixture_gen/data/article_content.rb +64 -0
  27. data/lib/article_fixture_gen/data/build_fragment_list.rb +68 -0
  28. data/lib/article_fixture_gen/data/build_target_entry_list.rb +68 -0
  29. data/lib/article_fixture_gen/data/build_word_list.rb +140 -0
  30. data/lib/article_fixture_gen/data/marker_array.rb +29 -0
  31. data/lib/article_fixture_gen/data/marker_tag_pair.rb +25 -0
  32. data/lib/article_fixture_gen/data/mtp_decorated_markup.rb +67 -0
  33. data/lib/article_fixture_gen/data/node_markup.rb +25 -0
  34. data/lib/article_fixture_gen/data/parent_element_for.rb +18 -0
  35. data/lib/article_fixture_gen/data/pmtp_attributes.rb +44 -0
  36. data/lib/article_fixture_gen/data/pmtp_decorated_markup.rb +27 -0
  37. data/lib/article_fixture_gen/data/pmtp_decorator_params.rb +16 -0
  38. data/lib/article_fixture_gen/data/replace_child_nodes_using_new_child.rb +67 -0
  39. data/lib/article_fixture_gen/data/single_marker_tag_pair.rb +31 -0
  40. data/lib/article_fixture_gen/data/smtp_attributes.rb +30 -0
  41. data/lib/article_fixture_gen/data/smtp_decorated_markup.rb +27 -0
  42. data/lib/article_fixture_gen/data/smtp_decorator_params.rb +16 -0
  43. data/lib/article_fixture_gen/data/split_text_at_target_word.rb +59 -0
  44. data/lib/article_fixture_gen/exe/config.rb +42 -0
  45. data/lib/article_fixture_gen/exe/generate_config.rb +51 -0
  46. data/lib/article_fixture_gen/exe/option_parser/trollop/option_spec.rb +30 -0
  47. data/lib/article_fixture_gen/exe/option_parser/trollop/option_spec_item.rb +16 -0
  48. data/lib/article_fixture_gen/exe/option_parser/trollop/options_and_mods.rb +57 -0
  49. data/lib/article_fixture_gen/exe/option_parser/trollop/options_with_defaults.rb +45 -0
  50. data/lib/article_fixture_gen/exe/option_parser/trollop/validator.rb +63 -0
  51. data/lib/article_fixture_gen/exe/option_parser/trollop.rb +49 -0
  52. data/lib/article_fixture_gen/exe/option_parser.rb +13 -0
  53. data/lib/article_fixture_gen/support/logging.rb +25 -0
  54. data/lib/article_fixture_gen/version.rb +6 -0
  55. data/lib/article_fixture_gen.rb +10 -0
  56. data/lib/tasks/prolog_flog_task.rb +12 -0
  57. data/vendor/ruby/2.3.0/bin/article_fixture_gen +22 -0
  58. metadata +515 -0
metadata ADDED
@@ -0,0 +1,515 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: article_fixture_gen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Jeff Dickey
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-10-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: awesome_print
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.7.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.7'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.7.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: ffaker
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.2'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.2.0
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.2'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.2.0
53
+ - !ruby/object:Gem::Dependency
54
+ name: ox
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.4'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 2.4.4
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '2.4'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 2.4.4
73
+ - !ruby/object:Gem::Dependency
74
+ name: prolog-dry_types
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '0.3'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 0.3.0
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.3'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 0.3.0
93
+ - !ruby/object:Gem::Dependency
94
+ name: semantic_logger
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '3.3'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 3.3.0
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '3.3'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 3.3.0
113
+ - !ruby/object:Gem::Dependency
114
+ name: trollop
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '2.1'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 2.1.2
123
+ type: :runtime
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '2.1'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 2.1.2
133
+ - !ruby/object:Gem::Dependency
134
+ name: bundler
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '1.12'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 1.12.5
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '1.12'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 1.12.5
153
+ - !ruby/object:Gem::Dependency
154
+ name: rake
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '11.2'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 11.2.2
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '11.2'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 11.2.2
173
+ - !ruby/object:Gem::Dependency
174
+ name: minitest
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '5.9'
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: 5.9.0
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '5.9'
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: 5.9.0
193
+ - !ruby/object:Gem::Dependency
194
+ name: minitest-matchers
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - "~>"
198
+ - !ruby/object:Gem::Version
199
+ version: '1.4'
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: 1.4.1
203
+ type: :development
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '1.4'
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ version: 1.4.1
213
+ - !ruby/object:Gem::Dependency
214
+ name: minitest-profile
215
+ requirement: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ type: :development
221
+ prerelease: false
222
+ version_requirements: !ruby/object:Gem::Requirement
223
+ requirements:
224
+ - - ">="
225
+ - !ruby/object:Gem::Version
226
+ version: '0'
227
+ - !ruby/object:Gem::Dependency
228
+ name: minitest-reporters
229
+ requirement: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - "~>"
232
+ - !ruby/object:Gem::Version
233
+ version: '1.1'
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: 1.1.11
237
+ type: :development
238
+ prerelease: false
239
+ version_requirements: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '1.1'
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ version: 1.1.11
247
+ - !ruby/object:Gem::Dependency
248
+ name: minitest-tagz
249
+ requirement: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - "~>"
252
+ - !ruby/object:Gem::Version
253
+ version: '1.5'
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: 1.5.1
257
+ type: :development
258
+ prerelease: false
259
+ version_requirements: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - "~>"
262
+ - !ruby/object:Gem::Version
263
+ version: '1.5'
264
+ - - ">="
265
+ - !ruby/object:Gem::Version
266
+ version: 1.5.1
267
+ - !ruby/object:Gem::Dependency
268
+ name: prolog_minitest_matchers
269
+ requirement: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - "~>"
272
+ - !ruby/object:Gem::Version
273
+ version: '0.3'
274
+ - - ">="
275
+ - !ruby/object:Gem::Version
276
+ version: 0.3.1
277
+ type: :development
278
+ prerelease: false
279
+ version_requirements: !ruby/object:Gem::Requirement
280
+ requirements:
281
+ - - "~>"
282
+ - !ruby/object:Gem::Version
283
+ version: '0.3'
284
+ - - ">="
285
+ - !ruby/object:Gem::Version
286
+ version: 0.3.1
287
+ - !ruby/object:Gem::Dependency
288
+ name: flay
289
+ requirement: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - "~>"
292
+ - !ruby/object:Gem::Version
293
+ version: '2.8'
294
+ - - ">="
295
+ - !ruby/object:Gem::Version
296
+ version: 2.8.0
297
+ type: :development
298
+ prerelease: false
299
+ version_requirements: !ruby/object:Gem::Requirement
300
+ requirements:
301
+ - - "~>"
302
+ - !ruby/object:Gem::Version
303
+ version: '2.8'
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: 2.8.0
307
+ - !ruby/object:Gem::Dependency
308
+ name: flog
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - "~>"
312
+ - !ruby/object:Gem::Version
313
+ version: '4.4'
314
+ - - ">="
315
+ - !ruby/object:Gem::Version
316
+ version: 4.4.0
317
+ type: :development
318
+ prerelease: false
319
+ version_requirements: !ruby/object:Gem::Requirement
320
+ requirements:
321
+ - - "~>"
322
+ - !ruby/object:Gem::Version
323
+ version: '4.4'
324
+ - - ">="
325
+ - !ruby/object:Gem::Version
326
+ version: 4.4.0
327
+ - !ruby/object:Gem::Dependency
328
+ name: reek
329
+ requirement: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - "~>"
332
+ - !ruby/object:Gem::Version
333
+ version: '4'
334
+ - - ">="
335
+ - !ruby/object:Gem::Version
336
+ version: 4.2.4
337
+ type: :development
338
+ prerelease: false
339
+ version_requirements: !ruby/object:Gem::Requirement
340
+ requirements:
341
+ - - "~>"
342
+ - !ruby/object:Gem::Version
343
+ version: '4'
344
+ - - ">="
345
+ - !ruby/object:Gem::Version
346
+ version: 4.2.4
347
+ - !ruby/object:Gem::Dependency
348
+ name: rubocop
349
+ requirement: !ruby/object:Gem::Requirement
350
+ requirements:
351
+ - - "~>"
352
+ - !ruby/object:Gem::Version
353
+ version: '0.42'
354
+ - - ">="
355
+ - !ruby/object:Gem::Version
356
+ version: 0.42.0
357
+ type: :development
358
+ prerelease: false
359
+ version_requirements: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - "~>"
362
+ - !ruby/object:Gem::Version
363
+ version: '0.42'
364
+ - - ">="
365
+ - !ruby/object:Gem::Version
366
+ version: 0.42.0
367
+ - !ruby/object:Gem::Dependency
368
+ name: simplecov
369
+ requirement: !ruby/object:Gem::Requirement
370
+ requirements:
371
+ - - "~>"
372
+ - !ruby/object:Gem::Version
373
+ version: '0.12'
374
+ - - ">="
375
+ - !ruby/object:Gem::Version
376
+ version: 0.12.0
377
+ type: :development
378
+ prerelease: false
379
+ version_requirements: !ruby/object:Gem::Requirement
380
+ requirements:
381
+ - - "~>"
382
+ - !ruby/object:Gem::Version
383
+ version: '0.12'
384
+ - - ">="
385
+ - !ruby/object:Gem::Version
386
+ version: 0.12.0
387
+ - !ruby/object:Gem::Dependency
388
+ name: pry-byebug
389
+ requirement: !ruby/object:Gem::Requirement
390
+ requirements:
391
+ - - "~>"
392
+ - !ruby/object:Gem::Version
393
+ version: '3.4'
394
+ - - ">="
395
+ - !ruby/object:Gem::Version
396
+ version: 3.4.0
397
+ type: :development
398
+ prerelease: false
399
+ version_requirements: !ruby/object:Gem::Requirement
400
+ requirements:
401
+ - - "~>"
402
+ - !ruby/object:Gem::Version
403
+ version: '3.4'
404
+ - - ">="
405
+ - !ruby/object:Gem::Version
406
+ version: 3.4.0
407
+ - !ruby/object:Gem::Dependency
408
+ name: pry-doc
409
+ requirement: !ruby/object:Gem::Requirement
410
+ requirements:
411
+ - - "~>"
412
+ - !ruby/object:Gem::Version
413
+ version: '0.9'
414
+ - - ">="
415
+ - !ruby/object:Gem::Version
416
+ version: 0.9.0
417
+ type: :development
418
+ prerelease: false
419
+ version_requirements: !ruby/object:Gem::Requirement
420
+ requirements:
421
+ - - "~>"
422
+ - !ruby/object:Gem::Version
423
+ version: '0.9'
424
+ - - ">="
425
+ - !ruby/object:Gem::Version
426
+ version: 0.9.0
427
+ description:
428
+ email:
429
+ - jdickey@seven-sigma.com
430
+ executables:
431
+ - article_fixture_gen
432
+ extensions: []
433
+ extra_rdoc_files: []
434
+ files:
435
+ - ".gitignore"
436
+ - ".rubocop.yml"
437
+ - ".travis.yml"
438
+ - CODE_OF_CONDUCT.md
439
+ - Gemfile
440
+ - LICENSE.txt
441
+ - README.md
442
+ - Rakefile
443
+ - article_fixture_gen.gemspec
444
+ - bin/console
445
+ - bin/setup
446
+ - config.reek
447
+ - data/all_specs.yml
448
+ - data/validations.yml
449
+ - exe/article_fixture_gen
450
+ - lib/article_fixture_gen.rb
451
+ - lib/article_fixture_gen/cli.rb
452
+ - lib/article_fixture_gen/cli/config.rb
453
+ - lib/article_fixture_gen/cli/dump_config.rb
454
+ - lib/article_fixture_gen/config.rb
455
+ - lib/article_fixture_gen/config/builder.rb
456
+ - lib/article_fixture_gen/config/constants.rb
457
+ - lib/article_fixture_gen/config/data.rb
458
+ - lib/article_fixture_gen/config/option_validator.rb
459
+ - lib/article_fixture_gen/data/article.rb
460
+ - lib/article_fixture_gen/data/article_content.rb
461
+ - lib/article_fixture_gen/data/build_fragment_list.rb
462
+ - lib/article_fixture_gen/data/build_target_entry_list.rb
463
+ - lib/article_fixture_gen/data/build_word_list.rb
464
+ - lib/article_fixture_gen/data/marker_array.rb
465
+ - lib/article_fixture_gen/data/marker_tag_pair.rb
466
+ - lib/article_fixture_gen/data/mtp_decorated_markup.rb
467
+ - lib/article_fixture_gen/data/node_markup.rb
468
+ - lib/article_fixture_gen/data/parent_element_for.rb
469
+ - lib/article_fixture_gen/data/pmtp_attributes.rb
470
+ - lib/article_fixture_gen/data/pmtp_decorated_markup.rb
471
+ - lib/article_fixture_gen/data/pmtp_decorator_params.rb
472
+ - lib/article_fixture_gen/data/replace_child_nodes_using_new_child.rb
473
+ - lib/article_fixture_gen/data/single_marker_tag_pair.rb
474
+ - lib/article_fixture_gen/data/smtp_attributes.rb
475
+ - lib/article_fixture_gen/data/smtp_decorated_markup.rb
476
+ - lib/article_fixture_gen/data/smtp_decorator_params.rb
477
+ - lib/article_fixture_gen/data/split_text_at_target_word.rb
478
+ - lib/article_fixture_gen/exe/config.rb
479
+ - lib/article_fixture_gen/exe/generate_config.rb
480
+ - lib/article_fixture_gen/exe/option_parser.rb
481
+ - lib/article_fixture_gen/exe/option_parser/trollop.rb
482
+ - lib/article_fixture_gen/exe/option_parser/trollop/option_spec.rb
483
+ - lib/article_fixture_gen/exe/option_parser/trollop/option_spec_item.rb
484
+ - lib/article_fixture_gen/exe/option_parser/trollop/options_and_mods.rb
485
+ - lib/article_fixture_gen/exe/option_parser/trollop/options_with_defaults.rb
486
+ - lib/article_fixture_gen/exe/option_parser/trollop/validator.rb
487
+ - lib/article_fixture_gen/support/logging.rb
488
+ - lib/article_fixture_gen/version.rb
489
+ - lib/tasks/prolog_flog_task.rb
490
+ - vendor/ruby/2.3.0/bin/article_fixture_gen
491
+ homepage: https://github.com/jdickey/article_fixture_gen
492
+ licenses:
493
+ - MIT
494
+ metadata: {}
495
+ post_install_message:
496
+ rdoc_options: []
497
+ require_paths:
498
+ - lib
499
+ required_ruby_version: !ruby/object:Gem::Requirement
500
+ requirements:
501
+ - - ">="
502
+ - !ruby/object:Gem::Version
503
+ version: 2.3.0
504
+ required_rubygems_version: !ruby/object:Gem::Requirement
505
+ requirements:
506
+ - - ">="
507
+ - !ruby/object:Gem::Version
508
+ version: '0'
509
+ requirements: []
510
+ rubyforge_project:
511
+ rubygems_version: 2.6.6
512
+ signing_key:
513
+ specification_version: 4
514
+ summary: Generate blog post/article fixture data, with embedded marker tag pairs.
515
+ test_files: []