puppetfile_fixtures_generator 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d650113446bdbf29caf7b5dc5d6532d3c82897f5
4
+ data.tar.gz: d03ef7e52bb21726716dfb31a483644167c4c693
5
+ SHA512:
6
+ metadata.gz: 5687f90da4ad17e2a19f73b3a57aa2000e5fc240dd8673f32c5e29955978472db8befe168648ebae733252d6ba5afa336262cc97bb510fc394229ac1dc5358a3
7
+ data.tar.gz: 11cec5b1d9638c8ca9f907edfb47b07deae239982b13bac6766a31584dce37d1ba41b6d8ad921654e2cd3354d335e8f5180efb10baef1781a8a1af3c8655137d
@@ -0,0 +1,32 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect
4
+ all people who contribute through reporting issues, posting feature
5
+ requests, updating documentation, submitting pull requests or patches,
6
+ and other activities.
7
+
8
+ We are committed to making participation in this project a
9
+ harassment-free experience for everyone, regardless of level of
10
+ experience, gender, gender identity and expression, sexual
11
+ orientation, disability, personal appearance, body size, race,
12
+ ethnicity, age, or religion.
13
+
14
+ Examples of unacceptable behavior by participants include the use of
15
+ sexual language or imagery, derogatory comments or personal attacks,
16
+ trolling, public or private harassment, insults, or other
17
+ unprofessional conduct.
18
+
19
+ Project maintainers have the right and responsibility to remove, edit,
20
+ or reject comments, commits, code, wiki edits, issues, and other
21
+ contributions that are not aligned to this Code of Conduct. Project
22
+ maintainers who do not follow the Code of Conduct may be removed from
23
+ the project team.
24
+
25
+ Instances of abusive, harassing, or otherwise unacceptable behavior
26
+ may be reported by opening an issue or contacting one or more of the
27
+ project maintainers.
28
+
29
+ This Code of Conduct is adapted from the
30
+ [Contributor Covenant](http://contributor-covenant.org), version
31
+ 1.0.0, available at
32
+ [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,154 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ puppetfile_fixtures_generator (0.1.0)
5
+ highline (~> 1.7)
6
+ r10k (~> 2.1)
7
+ trollop (~> 2.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ast (2.2.0)
13
+ coderay (1.1.0)
14
+ colored (1.2)
15
+ coveralls (0.8.10)
16
+ json (~> 1.8)
17
+ rest-client (>= 1.6.8, < 2)
18
+ simplecov (~> 0.11.0)
19
+ term-ansicolor (~> 1.3)
20
+ thor (~> 0.19.1)
21
+ tins (~> 1.6.0)
22
+ cri (2.6.1)
23
+ colored (~> 1.2)
24
+ diff-lcs (1.2.5)
25
+ docile (1.1.5)
26
+ domain_name (0.5.20160128)
27
+ unf (>= 0.0.5, < 1.0.0)
28
+ faraday (0.9.2)
29
+ multipart-post (>= 1.2, < 3)
30
+ faraday_middleware (0.9.2)
31
+ faraday (>= 0.7.4, < 0.10)
32
+ faraday_middleware-multi_json (0.0.6)
33
+ faraday_middleware
34
+ multi_json
35
+ ffi (1.9.10)
36
+ formatador (0.2.5)
37
+ guard (2.13.0)
38
+ formatador (>= 0.2.4)
39
+ listen (>= 2.7, <= 4.0)
40
+ lumberjack (~> 1.0)
41
+ nenv (~> 0.1)
42
+ notiffany (~> 0.0)
43
+ pry (>= 0.9.12)
44
+ shellany (~> 0.0)
45
+ thor (>= 0.18.1)
46
+ guard-compat (1.2.1)
47
+ guard-rspec (4.6.4)
48
+ guard (~> 2.1)
49
+ guard-compat (~> 1.1)
50
+ rspec (>= 2.99.0, < 4.0)
51
+ highline (1.7.8)
52
+ http-cookie (1.0.2)
53
+ domain_name (~> 0.5)
54
+ json (1.8.3)
55
+ listen (3.0.5)
56
+ rb-fsevent (>= 0.9.3)
57
+ rb-inotify (>= 0.9)
58
+ log4r (1.1.10)
59
+ lumberjack (1.0.10)
60
+ method_source (0.8.2)
61
+ mime-types (2.99)
62
+ minitar (0.5.4)
63
+ multi_json (1.11.2)
64
+ multipart-post (2.0.0)
65
+ nenv (0.2.0)
66
+ netrc (0.11.0)
67
+ notiffany (0.0.8)
68
+ nenv (~> 0.1)
69
+ shellany (~> 0.0)
70
+ parser (2.3.0.2)
71
+ ast (~> 2.2)
72
+ powerpack (0.1.1)
73
+ pry (0.10.3)
74
+ coderay (~> 1.1.0)
75
+ method_source (~> 0.8.1)
76
+ slop (~> 3.4)
77
+ puppet_forge (2.1.3)
78
+ faraday (~> 0.9.0)
79
+ faraday_middleware (>= 0.9.0, < 0.11.0)
80
+ minitar
81
+ semantic_puppet (~> 0.1.0)
82
+ r10k (2.1.1)
83
+ colored (= 1.2)
84
+ cri (~> 2.6.1)
85
+ faraday (~> 0.9.0)
86
+ faraday_middleware (~> 0.9.0)
87
+ faraday_middleware-multi_json (~> 0.0.6)
88
+ log4r (= 1.1.10)
89
+ minitar
90
+ multi_json (~> 1.10)
91
+ puppet_forge (~> 2.1.1)
92
+ semantic_puppet (~> 0.1.0)
93
+ rainbow (2.1.0)
94
+ rake (10.5.0)
95
+ rb-fsevent (0.9.7)
96
+ rb-inotify (0.9.5)
97
+ ffi (>= 0.5.0)
98
+ rest-client (1.8.0)
99
+ http-cookie (>= 1.0.2, < 2.0)
100
+ mime-types (>= 1.16, < 3.0)
101
+ netrc (~> 0.7)
102
+ rspec (3.4.0)
103
+ rspec-core (~> 3.4.0)
104
+ rspec-expectations (~> 3.4.0)
105
+ rspec-mocks (~> 3.4.0)
106
+ rspec-core (3.4.2)
107
+ rspec-support (~> 3.4.0)
108
+ rspec-expectations (3.4.0)
109
+ diff-lcs (>= 1.2.0, < 2.0)
110
+ rspec-support (~> 3.4.0)
111
+ rspec-mocks (3.4.1)
112
+ diff-lcs (>= 1.2.0, < 2.0)
113
+ rspec-support (~> 3.4.0)
114
+ rspec-support (3.4.1)
115
+ rubocop (0.36.0)
116
+ parser (>= 2.3.0.0, < 3.0)
117
+ powerpack (~> 0.1)
118
+ rainbow (>= 1.99.1, < 3.0)
119
+ ruby-progressbar (~> 1.7)
120
+ ruby-progressbar (1.7.5)
121
+ semantic_puppet (0.1.1)
122
+ shellany (0.0.1)
123
+ simplecov (0.11.1)
124
+ docile (~> 1.1.0)
125
+ json (~> 1.8)
126
+ simplecov-html (~> 0.10.0)
127
+ simplecov-html (0.10.0)
128
+ slop (3.6.0)
129
+ term-ansicolor (1.3.2)
130
+ tins (~> 1.0)
131
+ thor (0.19.1)
132
+ tins (1.6.0)
133
+ trollop (2.1.2)
134
+ unf (0.1.4)
135
+ unf_ext
136
+ unf_ext (0.0.7.1)
137
+ yard (0.8.7.6)
138
+
139
+ PLATFORMS
140
+ ruby
141
+
142
+ DEPENDENCIES
143
+ bundler (~> 1.10)
144
+ coveralls (~> 0.8)
145
+ guard-rspec (~> 4.6)
146
+ pry (~> 0.10)
147
+ puppetfile_fixtures_generator!
148
+ rake (~> 10.0)
149
+ rspec (~> 3.4)
150
+ rubocop (~> 0.36)
151
+ yard (~> 0.8)
152
+
153
+ BUNDLED WITH
154
+ 1.11.2
data/Guardfile ADDED
@@ -0,0 +1,11 @@
1
+ guard :rspec, cmd: 'bundle exec rspec' do
2
+ # watch /lib/ files
3
+ watch(%r{^lib/(.+).rb$}) do |m|
4
+ "spec/#{m[1]}_spec.rb"
5
+ end
6
+
7
+ # watch /spec/ files
8
+ watch(%r{^spec/(.+).rb$}) do |m|
9
+ "spec/#{m[1]}.rb"
10
+ end
11
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 alejandro.figueroa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ [![Build Status](https://travis-ci.org/thejandroman/puppetfile_fixtures_generator.svg?branch=master)](https://travis-ci.org/thejandroman/puppetfile_fixtures_generator)
2
+ [![Coverage Status](https://coveralls.io/repos/github/thejandroman/puppetfile_fixtures_generator/badge.svg?branch=master)](https://coveralls.io/github/thejandroman/puppetfile_fixtures_generator?branch=master)
3
+
4
+ # PuppetfileFixturesGenerator
5
+
6
+ This gem was born out of frustration duplicating entries in a
7
+ `.fixtures.yml` and a `Puppetfile`. It writes a YAML file conforming
8
+ to
9
+ [puppetlabs_spec_helper's](https://github.com/puppetlabs/puppetlabs_spec_helper)
10
+ fixtures file format based off a provided
11
+ [Puppetfile](https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd).
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'puppetfile_fixtures_generator'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install puppetfile_fixtures_generator
28
+
29
+ ## Usage
30
+
31
+ The gem can be consumed as either a CLI tool or as a library.
32
+
33
+ ### CLI Tool
34
+
35
+ $ puppetfile_fixtures_generator --help
36
+
37
+ ### Library
38
+
39
+ $ bundle; bundle exec yardoc; open doc/index.html
40
+
41
+ ## Development
42
+
43
+ After checking out the repo, run `bundle install` to install
44
+ dependencies. Then, run `bundle exec rake` to run the tests.
45
+
46
+ ## Contributing
47
+
48
+ Bug reports and pull requests are welcome on GitHub at
49
+ https://github.com/thejandroman/puppetfile_fixtures_generator. This
50
+ project is intended to be a safe, welcoming space for collaboration,
51
+ and contributors are expected to adhere to the
52
+ [Contributor Covenant](contributor-covenant.org) code of conduct.
53
+
54
+ ## License
55
+
56
+ The gem is available as open source under the terms of the
57
+ [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'rubocop/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ RuboCop::RakeTask.new
8
+
9
+ task default: [:rubocop, :spec]
data/TODO.md ADDED
@@ -0,0 +1,3 @@
1
+ - Add support for creating a Puppetfile from a fixtures file
2
+ - Update library documentation
3
+ - Update tests
@@ -0,0 +1,47 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'puppetfile_fixtures_generator'
4
+ require 'trollop'
5
+ require 'highline/import'
6
+
7
+ opts = Trollop.options do
8
+ version PuppetfileFixturesGenerator::VERSION
9
+ banner <<-EOS
10
+ Writes a YAML file conforming to puppetlabs_spec_helper's fixtures file format
11
+ based off a provided Puppetfile.
12
+
13
+ Usage:
14
+ puppetfile_fixtures_generator [options]
15
+ where [options] are:
16
+ EOS
17
+
18
+ opt :puppetfile,
19
+ 'The path, local or absolute, to the Puppetfile. This Puppetfile will be loaded and parsed to create the fixtures YAML file.',
20
+ type: :string,
21
+ default: './Puppetfile'
22
+ opt :fixtures_yml,
23
+ 'The path, local or absolute, to the fixtures file to be written. The path, not the file, must exist.',
24
+ type: :string,
25
+ default: './.fixtures.yml'
26
+ opt :quiet,
27
+ 'Do not prompt.',
28
+ type: :bool,
29
+ default: false
30
+ end
31
+
32
+ unless opts[:quiet]
33
+ confirm = ask("This will overwrite #{opts[:fixtures_yml]}. Proceed? [Y/n] ") do |yn|
34
+ yn.case = :downcase
35
+ yn.default = 'y'
36
+ yn.limit = 1
37
+ yn.validate = /[yn]/i
38
+ end
39
+ exit unless confirm == 'y'
40
+ end
41
+
42
+ say("Creating #{opts[:fixtures_yml]}...")
43
+
44
+ PuppetfileFixturesGenerator.create_fixtures(opts[:puppetfile],
45
+ opts[:fixtures_yml])
46
+
47
+ say('Complete.')
@@ -0,0 +1,40 @@
1
+ require 'puppetfile_fixtures_generator/version'
2
+ require 'puppetfile_fixtures_generator/fixtures'
3
+ require 'r10k/puppetfile'
4
+
5
+ # Namespace for classes and modules that handle reading and writing
6
+ # Puppetfiles and fixtures
7
+ #
8
+ # @since 0.1.0
9
+ module PuppetfileFixturesGenerator
10
+ # Writes a YAML file conforming to [puppetlabs_spec_helper's]
11
+ # (https://github.com/puppetlabs/puppetlabs_spec_helper) fixtures
12
+ # file format based off a provided Puppetfile.
13
+ #
14
+ # @author Alejandro Figueroa
15
+ #
16
+ # @param [String] puppetfile The path, local or absolute, to the
17
+ # Puppetfile. This Puppetfile will be loaded and parsed to create
18
+ # the fixtures YAML file.
19
+ # @param [String] fixtures_yml The path, local or absolute, to the
20
+ # fixtures file to be written. The path, not the file, must exist.
21
+ #
22
+ # @return The fixtures file specified as a parameter.
23
+ #
24
+ def self.create_fixtures(puppetfile = './Puppetfile',
25
+ fixtures_yml = './.fixtures.yml')
26
+ # load puppetfile file
27
+ pf = R10K::Puppetfile.new(Pathname.new(puppetfile).dirname.to_s)
28
+
29
+ # parse puppetfile
30
+ pf.load
31
+
32
+ # write fixtures
33
+ fixtures = PuppetfileFixturesGenerator::Fixtures.new(fixtures_yml,
34
+ pf.modules)
35
+
36
+ fixtures.write
37
+ end
38
+
39
+ # @todo Add support for creating a Puppetfile from a fixtures file
40
+ end
@@ -0,0 +1,58 @@
1
+ require 'yaml'
2
+
3
+ module PuppetfileFixturesGenerator
4
+ # Giant hack of a class because puppetlabs_spec_helper doesn't have
5
+ # a good library implmentation to read .fixtures.yml. If that
6
+ # changes in the future this class will be rewritten.
7
+ class Fixtures
8
+ #
9
+ def initialize(fixtures_file, modules)
10
+ @fixtures = Pathname.new(fixtures_file)
11
+ @modules = modules
12
+ @module_hash = { 'fixtures' => {} }
13
+ end
14
+
15
+ def write
16
+ # create hash of modules
17
+ hash_the_modules
18
+ # convert hash to yaml
19
+ yaml = @module_hash.to_yaml
20
+ # write yaml
21
+ @fixtures.write(yaml)
22
+ end
23
+
24
+ private
25
+
26
+ #
27
+ def hash_the_modules
28
+ @modules.each do |mod|
29
+ module_builder(mod)
30
+ end
31
+ end
32
+
33
+ #
34
+ def module_builder(mod) # rubocop:disable Metrics/MethodLength
35
+ case mod.properties[:type]
36
+ when :forge
37
+ ctgry = 'forge_modules'
38
+ repo = mod.title
39
+ version = mod.expected_version
40
+ when :git
41
+ ctgry = 'repositories'
42
+ repo = mod.instance_variable_get :@remote
43
+ version = mod.instance_variable_get :@ref
44
+ end
45
+
46
+ @module_hash['fixtures'][ctgry] = {} unless
47
+ @module_hash['fixtures'].key?(ctgry)
48
+
49
+ add_module(ctgry, mod.name, repo, version)
50
+ end
51
+
52
+ #
53
+ def add_module(category, name, repo, version)
54
+ hash = { name => { 'repo' => repo, 'ref' => version } }
55
+ @module_hash['fixtures'][category].merge!(hash)
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,3 @@
1
+ module PuppetfileFixturesGenerator
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ require 'rake'
3
+
4
+ lib = File.expand_path('../lib', __FILE__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require 'puppetfile_fixtures_generator/version'
7
+
8
+ Gem::Specification.new do |s|
9
+ s.authors = ['Alejandro Figueroa']
10
+ s.bindir = 'bin'
11
+ s.description = 'Create a .fixtures.yml file from a Puppetfile.'
12
+ s.email = ['alejandro@ideasftw.com']
13
+ s.executables << 'puppetfile_fixtures_generator'
14
+ s.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'spec/**/*'].to_a
15
+ s.homepage = 'https://github.com/thejandroman/puppetfile_fixtures_generator'
16
+ s.license = 'MIT'
17
+ s.name = 'puppetfile_fixtures_generator'
18
+ s.summary = 'Create a .fixtures.yml file from a Puppetfile.'
19
+ s.version = PuppetfileFixturesGenerator::VERSION
20
+
21
+ s.add_runtime_dependency 'highline', '~> 1.7'
22
+ s.add_runtime_dependency 'r10k', '~> 2.1'
23
+ s.add_runtime_dependency 'trollop', '~> 2.1'
24
+
25
+ s.add_development_dependency 'bundler', '~> 1.10'
26
+ s.add_development_dependency 'coveralls', '~> 0.8'
27
+ s.add_development_dependency 'guard-rspec', '~> 4.6'
28
+ s.add_development_dependency 'pry', '~> 0.10'
29
+ s.add_development_dependency 'rake', '~> 10.0'
30
+ s.add_development_dependency 'rspec', '~> 3.4'
31
+ s.add_development_dependency 'rubocop', '~> 0.36'
32
+ s.add_development_dependency 'yard', '~> 0.8'
33
+ end
@@ -0,0 +1,20 @@
1
+ mod 'puppetlabs/apache', :latest
2
+
3
+ mod 'puppetlabs-apt'
4
+
5
+ mod 'puppetlabs/stdlib', '4.11.0'
6
+
7
+ mod 'vcsrepo',
8
+ git: 'https://github.com/puppetlabs/puppetlabs-vcsrepo.git',
9
+ tag: '1.3.2'
10
+
11
+ mod 'concat',
12
+ git: 'https://github.com/puppetlabs/puppetlabs-concat.git',
13
+ branch: 'master'
14
+
15
+ mod 'firewall',
16
+ git: 'https://github.com/puppetlabs/puppetlabs-firewall',
17
+ ref: '71c659faf38d5e0cf19cfc16bb690b4c450fbd2a'
18
+
19
+ mod 'inifile',
20
+ git: 'https://github.com/puppetlabs/puppetlabs-inifile.git'
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe PuppetfileFixturesGenerator do
4
+ it 'has a version number' do
5
+ expect(PuppetfileFixturesGenerator::VERSION).not_to be nil
6
+ end
7
+
8
+ describe '#create_fixtures' do
9
+ end
10
+ end
@@ -0,0 +1,20 @@
1
+ require 'coveralls'
2
+ require 'simplecov'
3
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
4
+ [SimpleCov::Formatter::HTMLFormatter,
5
+ Coveralls::SimpleCov::Formatter]
6
+ )
7
+ SimpleCov.start do
8
+ add_filter 'spec'
9
+ end
10
+
11
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
12
+
13
+ require 'pry'
14
+ require 'puppetfile_fixtures_generator'
15
+
16
+ RSpec.configure do |config|
17
+ config.expect_with :rspec do |c|
18
+ c.syntax = :expect
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: puppetfile_fixtures_generator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alejandro Figueroa
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: highline
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: r10k
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: trollop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coveralls
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.6'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.6'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.10'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.10'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '10.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '10.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.4'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.4'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.36'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.36'
153
+ - !ruby/object:Gem::Dependency
154
+ name: yard
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.8'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.8'
167
+ description: Create a .fixtures.yml file from a Puppetfile.
168
+ email:
169
+ - alejandro@ideasftw.com
170
+ executables:
171
+ - puppetfile_fixtures_generator
172
+ extensions: []
173
+ extra_rdoc_files: []
174
+ files:
175
+ - CODE_OF_CONDUCT.md
176
+ - Gemfile
177
+ - Gemfile.lock
178
+ - Guardfile
179
+ - LICENSE.txt
180
+ - README.md
181
+ - Rakefile
182
+ - TODO.md
183
+ - bin/puppetfile_fixtures_generator
184
+ - lib/puppetfile_fixtures_generator.rb
185
+ - lib/puppetfile_fixtures_generator/fixtures.rb
186
+ - lib/puppetfile_fixtures_generator/version.rb
187
+ - puppetfile_fixtures_generator.gemspec
188
+ - spec/fixtures/Puppetfile
189
+ - spec/puppetfile_fixtures_generator_spec.rb
190
+ - spec/spec_helper.rb
191
+ homepage: https://github.com/thejandroman/puppetfile_fixtures_generator
192
+ licenses:
193
+ - MIT
194
+ metadata: {}
195
+ post_install_message:
196
+ rdoc_options: []
197
+ require_paths:
198
+ - lib
199
+ required_ruby_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ required_rubygems_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ requirements: []
210
+ rubyforge_project:
211
+ rubygems_version: 2.4.8
212
+ signing_key:
213
+ specification_version: 4
214
+ summary: Create a .fixtures.yml file from a Puppetfile.
215
+ test_files: []
216
+ has_rdoc: