puppet-retrospec 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +27 -1
- data/.release_me.yaml +11 -0
- data/.rubocop.yml +2 -0
- data/.rubocop_todo.yml +5 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +8 -8
- data/Gemfile.lock +3 -3
- data/README.md +33 -24
- data/Rakefile +3 -8
- data/lib/retrospec/plugins/v1/plugin/generators/function_generator.rb +1 -1
- data/lib/retrospec/plugins/v1/plugin/generators/module_generator.rb +0 -1
- data/lib/retrospec/plugins/v1/plugin/generators/type_generator.rb +11 -11
- data/lib/retrospec/plugins/v1/plugin/puppet.rb +5 -3
- data/lib/retrospec/plugins/v1/plugin/templates/clone-hook +2 -1
- data/lib/retrospec/plugins/v1/plugin/version.rb +1 -1
- data/puppet-retrospec.gemspec +6 -27
- metadata +27 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 002916714e063012f04646ccf19f1b8a1187fcf0
|
4
|
+
data.tar.gz: 0face14d5260e31e4b6f5ff5ec1e9d67f1847b7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 356c8bec48b1bee94dfbefba8b7da3eaaab8758c420c391dacec95022bd8511db15c95c4ebd114b0a7e8a4d29b671d9ddde959501767d5679ae1b3fa989e3467
|
7
|
+
data.tar.gz: 9cf6823f600855200d52f3ea47f637256cf68b30ad5e01ac5f095224d046eb67f984be2bcbc7d5a2e2f6d01d26e4211e5830189e367d42c347453cb14313b47c
|
data/.gitlab-ci.yml
CHANGED
@@ -5,6 +5,8 @@ before_script:
|
|
5
5
|
- bundle install --without development build
|
6
6
|
- bundle exec ruby lib/retrospec/plugins/v1/plugin/templates/clone-hook
|
7
7
|
|
8
|
+
image: ruby:2.1
|
9
|
+
|
8
10
|
ruby193:
|
9
11
|
stage: test
|
10
12
|
script:
|
@@ -38,10 +40,34 @@ ruby2.3:
|
|
38
40
|
|
39
41
|
stages:
|
40
42
|
- test
|
43
|
+
- release
|
41
44
|
- deploy
|
42
45
|
|
46
|
+
rubocop_ruby:
|
47
|
+
stage: validate
|
48
|
+
allow_failure: true
|
49
|
+
only:
|
50
|
+
- branches
|
51
|
+
tags:
|
52
|
+
- ruby2.2
|
53
|
+
script:
|
54
|
+
- bundle install
|
55
|
+
- bundle exec rubocop -D
|
56
|
+
|
57
|
+
bump_and_tag:
|
58
|
+
type: release
|
59
|
+
when: manual
|
60
|
+
tags:
|
61
|
+
- ruby2.2
|
62
|
+
only:
|
63
|
+
- master@puppet-debugger/puppet-debugger
|
64
|
+
script:
|
65
|
+
- gem install release_me
|
66
|
+
- bump_and_tag
|
67
|
+
|
43
68
|
production:
|
44
|
-
|
69
|
+
tags:
|
70
|
+
- ruby2.2
|
45
71
|
before_script:
|
46
72
|
- gem install dpl
|
47
73
|
type: deploy
|
data/.release_me.yaml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
vcs:
|
2
|
+
author_email: autobot@nwops.io
|
3
|
+
author_name: Autobot
|
4
|
+
provider: gitlab
|
5
|
+
branch_name: master
|
6
|
+
|
7
|
+
adapter:
|
8
|
+
version_file_relative_path: 'lib/retrospec/v1/plugin/version.rb'
|
9
|
+
version_field: 'VERSION'
|
10
|
+
version_type: 'semver'
|
11
|
+
adapter_name: 'custom'
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
Style/
|
9
|
+
Style/MultilineIfModifier:
|
10
10
|
Exclude:
|
11
|
-
- lib/retrospec/plugins/v1/plugin/generators/
|
11
|
+
- 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb'
|
12
12
|
|
13
13
|
Lint/ShadowedException:
|
14
14
|
Exclude:
|
@@ -52,7 +52,7 @@ Lint/EndAlignment:
|
|
52
52
|
- 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb'
|
53
53
|
|
54
54
|
# Offense count: 5
|
55
|
-
|
55
|
+
Security/Eval:
|
56
56
|
Exclude:
|
57
57
|
- 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb'
|
58
58
|
- 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb'
|
@@ -349,6 +349,7 @@ Style/GuardClause:
|
|
349
349
|
- 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb'
|
350
350
|
- 'lib/retrospec/plugins/v1/plugin/puppet.rb'
|
351
351
|
- 'lib/retrospec/plugins/v1/plugin/templates/clone-hook'
|
352
|
+
- 'lib/retrospec/plugins/v1/plugin/generators/module_generator.rb'
|
352
353
|
|
353
354
|
# Offense count: 2
|
354
355
|
Style/IfInsideElse:
|
@@ -414,7 +415,7 @@ Style/LeadingCommentSpace:
|
|
414
415
|
|
415
416
|
# Offense count: 3
|
416
417
|
# Cop supports --auto-correct.
|
417
|
-
Style/
|
418
|
+
Style/MethodCallWithoutArgsParentheses:
|
418
419
|
Exclude:
|
419
420
|
- 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb'
|
420
421
|
- 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb'
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
gem 'trollop'
|
4
|
-
gem 'retrospec', '~> 0.4'
|
5
3
|
gem 'awesome_print'
|
6
4
|
gem 'facets'
|
5
|
+
gem 'retrospec', '~> 0.5'
|
6
|
+
gem 'trollop'
|
7
7
|
|
8
8
|
group :development do
|
9
|
-
gem 'rdoc', '~> 3.12'
|
10
9
|
gem 'pry'
|
10
|
+
gem 'rdoc', '~> 3.12'
|
11
11
|
end
|
12
12
|
|
13
13
|
group :test do
|
14
|
-
gem '
|
15
|
-
gem '
|
16
|
-
gem 'puppet', '4.5.2', :path => 'vendor/gems/puppet-4.5.2'
|
14
|
+
gem 'bundler', '~> 1.0'
|
15
|
+
gem 'fakefs', :require => 'fakefs/safe'
|
17
16
|
gem 'json_pure', '= 2.0.1' # force this gem as 2.0.2 requires ruby > 2.0.0
|
17
|
+
gem 'puppet', '4.5.2', :path => 'vendor/gems/puppet-4.5.2'
|
18
18
|
gem 'rake'
|
19
|
-
gem '
|
19
|
+
gem 'rspec', '~> 3.2'
|
20
|
+
gem 'rubocop', platforms: :ruby_20
|
20
21
|
gem 'yard', '~> 0.7'
|
21
|
-
gem 'fakefs', :require => 'fakefs/safe'
|
22
22
|
end
|
data/Gemfile.lock
CHANGED
@@ -33,7 +33,7 @@ GEM
|
|
33
33
|
rake (11.3.0)
|
34
34
|
rdoc (3.12.2)
|
35
35
|
json (~> 1.4)
|
36
|
-
retrospec (0.
|
36
|
+
retrospec (0.5.0)
|
37
37
|
trollop
|
38
38
|
rspec (3.5.0)
|
39
39
|
rspec-core (~> 3.5.0)
|
@@ -73,11 +73,11 @@ DEPENDENCIES
|
|
73
73
|
puppet (= 4.5.2)!
|
74
74
|
rake
|
75
75
|
rdoc (~> 3.12)
|
76
|
-
retrospec (~> 0.
|
76
|
+
retrospec (~> 0.5)
|
77
77
|
rspec (~> 3.2)
|
78
78
|
rubocop
|
79
79
|
trollop
|
80
80
|
yard (~> 0.7)
|
81
81
|
|
82
82
|
BUNDLED WITH
|
83
|
-
1.13.
|
83
|
+
1.13.7
|
data/README.md
CHANGED
@@ -51,20 +51,9 @@ TOC Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
|
|
51
51
|
[![Gem Version](https://badge.fury.io/rb/puppet-retrospec.svg)](http://badge.fury.io/rb/puppet-retrospec)
|
52
52
|
|
53
53
|
## News
|
54
|
-
###
|
55
|
-
|
56
|
-
|
57
|
-
A slew of new features has been added with the 0.12 update. If you already use retrospec to retrofit your modules, now you can use retrospec to generate some of the more advanced puppet module customizations such as:
|
58
|
-
|
59
|
-
- custom facts
|
60
|
-
- providers
|
61
|
-
- custom types
|
62
|
-
- functions (v3,v4, and native)
|
63
|
-
- parameter schemas
|
64
|
-
|
65
|
-
This has been a feature in the making since Puppetconf 2015. I would have finished this sooner but was sucked in
|
66
|
-
binge watching a bunch of Netflix shows. Check out `retrospec puppet -h` for a list of all new subcommands.
|
67
|
-
|
54
|
+
### 2/1/17
|
55
|
+
You can now choose to overwrite files! This is very useful when updating old module code with newer content.
|
56
|
+
See Usage below for how to enable.
|
68
57
|
|
69
58
|
## Install
|
70
59
|
`gem install puppet-retrospec`
|
@@ -78,6 +67,31 @@ are specified. Expect to run `retrospec puppet` multiple times throughout the d
|
|
78
67
|
Retrospec will never overwrite a file, so if something already exists retrospec will
|
79
68
|
skip the file. Many times you will find yourself deleting existing files and allowing retrospec to recreate them based on updated templates.
|
80
69
|
|
70
|
+
### Overwriting files
|
71
|
+
As stated above retrospec will not overwrite your files. However, sometimes recreating files is desired as you change
|
72
|
+
your code. Before '1.3' it was not possible to overwrite files, but now we can safely specify which files should be
|
73
|
+
overwritten. This feature is off by default so you will need to enable it.
|
74
|
+
|
75
|
+
To enable please use the global options `--enable-overwrite` or if you want everything `--enable-overwrite-all`
|
76
|
+
|
77
|
+
Note: Enabling this feature will prompt you before running destructive operations like: `y/n/a` where `a` means all.
|
78
|
+
|
79
|
+
```
|
80
|
+
retrospec -h
|
81
|
+
A framework to automate your development workflow by generating common files and test patterns.
|
82
|
+
|
83
|
+
Usage: retrospec [global options] plugin [plugin options]
|
84
|
+
Available subcommands:
|
85
|
+
puppet
|
86
|
+
-e, --enable-overwrite Enable overwriting of files, will prompt for each file
|
87
|
+
-n, --enable-overwrite-all Always overwrites files without prompting
|
88
|
+
-m, --module-path=<s> The path (relative or absolute) to the module directory (default: /Users/cosman/github/puppet-retrospec)
|
89
|
+
-c, --config-map=<s> The global retrospec config file (default: /Users/cosman/.retrospec/config.yaml)
|
90
|
+
-a, --available-plugins Show an online list of available plugins
|
91
|
+
-v, --version Print version and exit
|
92
|
+
-h, --help Show this message
|
93
|
+
|
94
|
+
```
|
81
95
|
### Module Path
|
82
96
|
By default the module path is dynamically set based on the current directory.
|
83
97
|
If you need to point to a directory outside the current directory you can use the `--module_path` option. This option is built into the retrospec framework
|
@@ -214,11 +228,6 @@ retrospec puppet
|
|
214
228
|
## Dependency
|
215
229
|
Retrospec relies heavily on the puppet 3.7.x codebase. Because of this hard dependency the puppet gem is vendored into the library so there should not be conflicts with your existing puppet gem.
|
216
230
|
|
217
|
-
## Enabling the future parser
|
218
|
-
|
219
|
-
`retrospec -m ~/projects/puppet_modules/apache puppet --enable-future-parser`
|
220
|
-
|
221
|
-
Please see #future-parser-support for why this might be required.
|
222
231
|
|
223
232
|
## Configuration
|
224
233
|
Below is a list of options that you can set in the config file. Setting these options will help cut down on passing parameters. (/Users/username/.retrospec/config.yaml) `retrospec -h`
|
@@ -473,7 +482,7 @@ For now you will probably want to read up on the following documentation:
|
|
473
482
|
|
474
483
|
|
475
484
|
## How Does it do this
|
476
|
-
Basically Retrospec uses the puppet lexer and parser to scan your code in order to fill out some basic templates that will retrofit your puppet module with unit tests.
|
485
|
+
Basically Retrospec uses the puppet lexer and parser to scan your code in order to fill out some basic templates that will retrofit your puppet module with unit tests.
|
477
486
|
|
478
487
|
## Overriding the Templates
|
479
488
|
There may be a time when you want to override the default templates used to generate the rspec related files. By default retrospec will clone these [templates](https://github.com/nwops/retrospec-templates) and place inside the default or specified template directory.
|
@@ -555,17 +564,17 @@ Because the code does not rely on catalog compilation we have to build our own s
|
|
555
564
|
2. Find all vardef objects, resolve them if possible and store the values
|
556
565
|
3. Anything contained in a block of code is currently ignored, until later refinement.
|
557
566
|
|
558
|
-
##
|
567
|
+
## Puppet 4.x Support
|
559
568
|
As of 1.0.0 Retrospec Puppet provides full support for code written against the 4.x/future parser.
|
560
569
|
If you have 3.x code the 4.x parser may throw errors instead of deprecation warnings.
|
561
570
|
If you do not wish to convert your 3.x to 4.x code yet, you will need to use the puppet-retrospec
|
562
571
|
version < 1.0.0
|
563
572
|
|
564
573
|
|
565
|
-
##Ruby Support
|
574
|
+
## Ruby Support
|
566
575
|
Currently this library only supports ruby >= 1.9.3. Since we vendor Puppet 4.5.x you need to have
|
567
576
|
a supported ruby version that puppet 4.5 supports which.
|
568
577
|
|
569
|
-
##Paid Support
|
570
|
-
Want to see new features developed
|
578
|
+
## Paid Support
|
579
|
+
Want to see new features developed faster? Contact me about a support contract so I can develop this tool during
|
571
580
|
the day instead of after work. contact: corey@nwops.io
|
data/Rakefile
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require '
|
4
|
-
require '
|
5
|
-
require "bundler/gem_tasks"
|
6
|
-
require "rake/testtask"
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'rspec/core/rake_task'
|
7
5
|
begin
|
8
6
|
Bundler.setup(:default, :development, :test)
|
9
7
|
rescue Bundler::BundlerError => e
|
@@ -11,11 +9,8 @@ rescue Bundler::BundlerError => e
|
|
11
9
|
$stderr.puts 'Run `bundle install` to install missing gems'
|
12
10
|
exit e.status_code
|
13
11
|
end
|
14
|
-
require 'rake'
|
15
|
-
require 'rspec/core'
|
16
|
-
require 'rspec/core/rake_task'
|
17
12
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
18
|
-
spec.pattern = FileList['spec/**/*_spec.rb'].exclude('spec/fixtures/**/*
|
13
|
+
spec.pattern = FileList['spec/**/*_spec.rb'].exclude('spec/fixtures/**/*')
|
19
14
|
end
|
20
15
|
|
21
16
|
task :default => :spec
|
@@ -44,7 +44,7 @@ module Retrospec
|
|
44
44
|
# all options here are available in the config passed into config object
|
45
45
|
# returns the parameters
|
46
46
|
def self.run_cli(global_opts, args=ARGV)
|
47
|
-
func_types =
|
47
|
+
func_types = %w(v3 v4 native)
|
48
48
|
func_type = global_opts['plugins::puppet::default_function_version'] || 'v4'
|
49
49
|
test_type = global_opts['plugins::puppet::default_function_test_type'] || 'rspec'
|
50
50
|
sub_command_opts = Trollop.options(args) do
|
@@ -30,7 +30,6 @@ module Retrospec
|
|
30
30
|
sub_command_opts = Trollop.options(args) do
|
31
31
|
banner <<-EOS
|
32
32
|
Generates a new module with the given name and namespace
|
33
|
-
|
34
33
|
EOS
|
35
34
|
opt :name, 'The name of the module you wish to create', :type => :string, :required => true, :short => '-n',
|
36
35
|
:default => File.basename(global_opts[:module_path])
|
@@ -7,17 +7,17 @@ module Retrospec
|
|
7
7
|
attr_reader :template_dir, :context
|
8
8
|
|
9
9
|
# this is the list of core puppet types that cannot be recreated
|
10
|
-
CORE_TYPES =
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
10
|
+
CORE_TYPES = %w(augeas computer cron exec file filebucket
|
11
|
+
group host interface k5login macauthorization mailalias
|
12
|
+
maillist mcx mount nagios_command nagios_contact
|
13
|
+
nagios_contactgroup nagios_host nagios_hostdependency
|
14
|
+
nagios_hostescalation nagios_hostextinfo nagios_hostgroup
|
15
|
+
nagios_service nagios_servicedependency
|
16
|
+
nagios_serviceescalation nagios_serviceextinfo
|
17
|
+
nagios_servicegroup nagios_timeperiod notify package
|
18
|
+
resources router schedule scheduled_task selboolean
|
19
|
+
selmodule service ssh_authorized_key sshkey stage
|
20
|
+
tidy user vlan yumrepo zfs zone zpool)
|
21
21
|
|
22
22
|
# retrospec will initilalize this class so its up to you
|
23
23
|
# to set any additional variables you need to get the job done.
|
@@ -94,17 +94,19 @@ module Retrospec
|
|
94
94
|
# a list of subcommands for this plugin
|
95
95
|
sub_commands = %w(new_module new_fact new_type new_provider new_function new_report)
|
96
96
|
if sub_commands.count > 0
|
97
|
-
sub_command_help = "Subcommands:\n#{sub_commands.join("\n")}\n"
|
97
|
+
sub_command_help = "Subcommands:\n #{sub_commands.join("\n ")}\n"
|
98
98
|
else
|
99
99
|
sub_command_help = ''
|
100
100
|
end
|
101
101
|
plugin_opts = Trollop.options(args) do
|
102
102
|
version "Retrospec puppet plugin: #{Retrospec::Puppet::VERSION} (c) Corey Osman"
|
103
103
|
banner <<-EOS
|
104
|
-
|
105
|
-
|
104
|
+
Generates puppet rspec test code and puppet module components.
|
105
|
+
|
106
|
+
#{sub_command_help}
|
106
107
|
|
107
108
|
EOS
|
109
|
+
|
108
110
|
opt :template_dir, 'Path to templates directory (only for overriding Retrospec templates)', :type => :string,
|
109
111
|
:required => false, :default => template_dir
|
110
112
|
opt :scm_url, 'SCM url for retrospec templates', :type => :string, :required => false,
|
@@ -29,6 +29,7 @@ end
|
|
29
29
|
|
30
30
|
def update_templates(git_url, dest, branch = 'master')
|
31
31
|
create_repo(dest, git_url, branch)
|
32
|
+
puts "Attempting to connect to #{@template_repo}"
|
32
33
|
puts `git --git-dir #{dest}/.git --work-tree #{dest} pull`
|
33
34
|
dest
|
34
35
|
end
|
@@ -38,7 +39,7 @@ def connected?(url)
|
|
38
39
|
# if the user wants internet but doesn't want cloning, allow them to set this variable
|
39
40
|
return false
|
40
41
|
end
|
41
|
-
|
42
|
+
true
|
42
43
|
end
|
43
44
|
|
44
45
|
# sometimes I work on an airplane and don't care to clone everything all the time
|
data/puppet-retrospec.gemspec
CHANGED
@@ -23,31 +23,10 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.licenses = ["MIT"]
|
24
24
|
s.rubygems_version = "2.4.5.1"
|
25
25
|
s.summary = "Generates puppet rspec test code based on the classes and defines inside the manifests directory. Aims to reduce some of the boilerplate coding with default test patterns."
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
s.add_runtime_dependency(%q<retrospec>, ["~> 0.4"])
|
33
|
-
s.add_runtime_dependency(%q<awesome_print>, [">= 0"])
|
34
|
-
s.add_runtime_dependency(%q<facets>, [">= 0"])
|
35
|
-
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
36
|
-
s.add_development_dependency(%q<pry>, [">= 0"])
|
37
|
-
else
|
38
|
-
s.add_dependency(%q<trollop>, [">= 0"])
|
39
|
-
s.add_dependency(%q<retrospec>, ["~> 0.4"])
|
40
|
-
s.add_dependency(%q<awesome_print>, [">= 0"])
|
41
|
-
s.add_dependency(%q<facets>, [">= 0"])
|
42
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
43
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
44
|
-
end
|
45
|
-
else
|
46
|
-
s.add_dependency(%q<trollop>, [">= 0"])
|
47
|
-
s.add_dependency(%q<retrospec>, ["~> 0.4"])
|
48
|
-
s.add_dependency(%q<awesome_print>, [">= 0"])
|
49
|
-
s.add_dependency(%q<facets>, [">= 0"])
|
50
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
51
|
-
s.add_dependency(%q<pry>, [">= 0"])
|
52
|
-
end
|
26
|
+
s.add_runtime_dependency(%q<trollop>, [">= 0"])
|
27
|
+
s.add_runtime_dependency(%q<retrospec>, ["~> 0.5"])
|
28
|
+
s.add_runtime_dependency(%q<awesome_print>, [">= 0"])
|
29
|
+
s.add_runtime_dependency(%q<facets>, [">= 0"])
|
30
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
31
|
+
s.add_development_dependency(%q<pry>, [">= 0"])
|
53
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-retrospec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Osman
|
@@ -14,84 +14,84 @@ dependencies:
|
|
14
14
|
name: trollop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: retrospec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: awesome_print
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: facets
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdoc
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '3.12'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.12'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pry
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Retrofits and generates valid puppet rspec test code to existing modules
|
@@ -103,14 +103,15 @@ extra_rdoc_files:
|
|
103
103
|
- LICENSE
|
104
104
|
- README.md
|
105
105
|
files:
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
106
|
+
- .dockerignore
|
107
|
+
- .document
|
108
|
+
- .gitignore
|
109
|
+
- .gitlab-ci.yml
|
110
|
+
- .overcommit.yml
|
111
|
+
- .release_me.yaml
|
112
|
+
- .rspec
|
113
|
+
- .rubocop.yml
|
114
|
+
- .rubocop_todo.yml
|
114
115
|
- CHANGELOG.md
|
115
116
|
- DEVELOPMENT.md
|
116
117
|
- Dockerfile
|
@@ -1755,17 +1756,17 @@ require_paths:
|
|
1755
1756
|
- lib
|
1756
1757
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1757
1758
|
requirements:
|
1758
|
-
- -
|
1759
|
+
- - '>='
|
1759
1760
|
- !ruby/object:Gem::Version
|
1760
1761
|
version: '0'
|
1761
1762
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1762
1763
|
requirements:
|
1763
|
-
- -
|
1764
|
+
- - '>='
|
1764
1765
|
- !ruby/object:Gem::Version
|
1765
1766
|
version: '0'
|
1766
1767
|
requirements: []
|
1767
1768
|
rubyforge_project:
|
1768
|
-
rubygems_version: 2.
|
1769
|
+
rubygems_version: 2.0.14.1
|
1769
1770
|
signing_key:
|
1770
1771
|
specification_version: 4
|
1771
1772
|
summary: Generates puppet rspec test code based on the classes and defines inside
|