puppet-repl 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.travis.yml +8 -1
- data/CHANGELOG.md +17 -1
- data/Gemfile +3 -5
- data/Gemfile.lock +16 -19
- data/README.md +96 -45
- data/VERSION +1 -1
- data/lib/awesome_print/ext/awesome_puppet.rb +5 -4
- data/lib/puppet-repl/cli.rb +96 -64
- data/lib/puppet-repl/support/environment.rb +6 -6
- data/lib/puppet-repl/support/errors.rb +69 -0
- data/lib/puppet-repl/support/facts.rb +9 -0
- data/lib/puppet-repl/support/input_responders.rb +62 -16
- data/lib/puppet-repl/support/node.rb +72 -7
- data/lib/puppet-repl/support/play.rb +33 -11
- data/lib/puppet-repl/support/scope.rb +17 -13
- data/lib/puppet-repl/support.rb +29 -0
- data/lib/puppet-repl.rb +34 -0
- data/lib/version.rb +1 -1
- data/puppet-repl.gemspec +23 -13
- data/resources/classes.png +0 -0
- data/resources/classification.png +0 -0
- data/resources/command_line_node.png +0 -0
- data/resources/functions.png +0 -0
- data/resources/hiera.png +0 -0
- data/resources/set_node.png +0 -0
- data/resources/tab_complete.png +0 -0
- data/resources/variables.png +0 -0
- data/spec/fixtures/invalid_node_obj.yaml +8 -0
- data/spec/fixtures/node_obj.yaml +315 -0
- data/spec/prepl_spec.rb +16 -0
- data/spec/puppet-repl_spec.rb +301 -51
- data/spec/spec_helper.rb +17 -15
- data/spec/support_spec.rb +114 -2
- metadata +32 -34
metadata
CHANGED
@@ -1,83 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-repl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Osman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puppet
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.8'
|
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: '3.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: facterdb
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '0.3'
|
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.3'
|
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
|
-
version: '
|
47
|
+
version: '1.6'
|
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
|
-
version: '
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: pry
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
54
|
+
version: '1.6'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rdoc
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - ~>
|
59
|
+
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: '3.12'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - ~>
|
66
|
+
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '3.12'
|
83
69
|
description: A interactive command line tool for evaluating the puppet language
|
@@ -86,12 +72,13 @@ executables:
|
|
86
72
|
- prepl
|
87
73
|
extensions: []
|
88
74
|
extra_rdoc_files:
|
75
|
+
- CHANGELOG.md
|
89
76
|
- LICENSE.txt
|
90
77
|
- README.md
|
91
78
|
files:
|
92
|
-
- .document
|
93
|
-
- .rspec
|
94
|
-
- .travis.yml
|
79
|
+
- ".document"
|
80
|
+
- ".rspec"
|
81
|
+
- ".travis.yml"
|
95
82
|
- CHANGELOG.md
|
96
83
|
- Gemfile
|
97
84
|
- Gemfile.lock
|
@@ -106,6 +93,7 @@ files:
|
|
106
93
|
- lib/puppet-repl/support.rb
|
107
94
|
- lib/puppet-repl/support/compiler.rb
|
108
95
|
- lib/puppet-repl/support/environment.rb
|
96
|
+
- lib/puppet-repl/support/errors.rb
|
109
97
|
- lib/puppet-repl/support/facts.rb
|
110
98
|
- lib/puppet-repl/support/functions.rb
|
111
99
|
- lib/puppet-repl/support/input_responders.rb
|
@@ -115,7 +103,17 @@ files:
|
|
115
103
|
- lib/trollop.rb
|
116
104
|
- lib/version.rb
|
117
105
|
- puppet-repl.gemspec
|
106
|
+
- resources/classes.png
|
107
|
+
- resources/classification.png
|
108
|
+
- resources/command_line_node.png
|
109
|
+
- resources/functions.png
|
110
|
+
- resources/hiera.png
|
111
|
+
- resources/set_node.png
|
112
|
+
- resources/tab_complete.png
|
113
|
+
- resources/variables.png
|
118
114
|
- spec/fixtures/environments/production/manifests/site.pp
|
115
|
+
- spec/fixtures/invalid_node_obj.yaml
|
116
|
+
- spec/fixtures/node_obj.yaml
|
119
117
|
- spec/fixtures/sample_manifest.pp
|
120
118
|
- spec/prepl_spec.rb
|
121
119
|
- spec/puppet-repl_spec.rb
|
@@ -131,17 +129,17 @@ require_paths:
|
|
131
129
|
- lib
|
132
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
133
131
|
requirements:
|
134
|
-
- -
|
132
|
+
- - ">="
|
135
133
|
- !ruby/object:Gem::Version
|
136
134
|
version: '0'
|
137
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
136
|
requirements:
|
139
|
-
- -
|
137
|
+
- - ">="
|
140
138
|
- !ruby/object:Gem::Version
|
141
139
|
version: '0'
|
142
140
|
requirements: []
|
143
141
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.4.5.1
|
145
143
|
signing_key:
|
146
144
|
specification_version: 4
|
147
145
|
summary: A repl for the puppet language
|