puppetlabs_spec_helper 2.13.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module PuppetlabsSpecHelper
2
- VERSION = '2.13.1'.freeze
4
+ VERSION = '3.0.0'
3
5
 
4
6
  # compat for pre-1.2.0 users; deprecated
5
7
  module Version
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
2
4
 
3
5
  require 'puppetlabs_spec_helper/puppet_spec_helper'
@@ -1,6 +1,6 @@
1
- # coding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('../lib', __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'puppetlabs_spec_helper/version'
6
6
 
@@ -21,17 +21,16 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_runtime_dependency 'mocha', '~> 1.0'
24
+ spec.add_runtime_dependency 'pathspec', '>= 0.2.1', '< 1.1.0'
24
25
  spec.add_runtime_dependency 'puppet-lint', '~> 2.0'
25
- spec.add_runtime_dependency 'puppet-syntax', '~> 2.0'
26
+ spec.add_runtime_dependency 'puppet-syntax', ['>= 2.0', '< 4']
26
27
  spec.add_runtime_dependency 'rspec-puppet', '~> 2.0'
27
- spec.add_runtime_dependency 'pathspec', '~> 0.2.1'
28
28
 
29
29
  spec.add_development_dependency 'bundler'
30
+ spec.add_development_dependency 'fakefs', ['>= 0.13.3', '< 2']
30
31
  spec.add_development_dependency 'pry'
31
32
  spec.add_development_dependency 'puppet'
32
- spec.add_development_dependency 'rake', '~> 10.0'
33
+ spec.add_development_dependency 'rake', ['>= 10.0', '< 14']
33
34
  spec.add_development_dependency 'rspec', '~> 3.0'
34
35
  spec.add_development_dependency 'yard'
35
- spec.add_development_dependency 'gettext-setup', '~> 0.29'
36
- spec.add_development_dependency 'fakefs', '~> 0.13.3'
37
36
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
2
4
 
3
5
  require 'puppetlabs_spec_helper/puppetlabs_spec_helper'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetlabs_spec_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-01-15 00:00:00.000000000 Z
12
+ date: 2021-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
@@ -25,6 +25,26 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: pathspec
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 0.2.1
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: 1.1.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 0.2.1
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.1.0
28
48
  - !ruby/object:Gem::Dependency
29
49
  name: puppet-lint
30
50
  requirement: !ruby/object:Gem::Requirement
@@ -43,16 +63,22 @@ dependencies:
43
63
  name: puppet-syntax
44
64
  requirement: !ruby/object:Gem::Requirement
45
65
  requirements:
46
- - - "~>"
66
+ - - ">="
47
67
  - !ruby/object:Gem::Version
48
68
  version: '2.0'
69
+ - - "<"
70
+ - !ruby/object:Gem::Version
71
+ version: '4'
49
72
  type: :runtime
50
73
  prerelease: false
51
74
  version_requirements: !ruby/object:Gem::Requirement
52
75
  requirements:
53
- - - "~>"
76
+ - - ">="
54
77
  - !ruby/object:Gem::Version
55
78
  version: '2.0'
79
+ - - "<"
80
+ - !ruby/object:Gem::Version
81
+ version: '4'
56
82
  - !ruby/object:Gem::Dependency
57
83
  name: rspec-puppet
58
84
  requirement: !ruby/object:Gem::Requirement
@@ -68,33 +94,39 @@ dependencies:
68
94
  - !ruby/object:Gem::Version
69
95
  version: '2.0'
70
96
  - !ruby/object:Gem::Dependency
71
- name: pathspec
97
+ name: bundler
72
98
  requirement: !ruby/object:Gem::Requirement
73
99
  requirements:
74
- - - "~>"
100
+ - - ">="
75
101
  - !ruby/object:Gem::Version
76
- version: 0.2.1
77
- type: :runtime
102
+ version: '0'
103
+ type: :development
78
104
  prerelease: false
79
105
  version_requirements: !ruby/object:Gem::Requirement
80
106
  requirements:
81
- - - "~>"
107
+ - - ">="
82
108
  - !ruby/object:Gem::Version
83
- version: 0.2.1
109
+ version: '0'
84
110
  - !ruby/object:Gem::Dependency
85
- name: bundler
111
+ name: fakefs
86
112
  requirement: !ruby/object:Gem::Requirement
87
113
  requirements:
88
114
  - - ">="
89
115
  - !ruby/object:Gem::Version
90
- version: '0'
116
+ version: 0.13.3
117
+ - - "<"
118
+ - !ruby/object:Gem::Version
119
+ version: '2'
91
120
  type: :development
92
121
  prerelease: false
93
122
  version_requirements: !ruby/object:Gem::Requirement
94
123
  requirements:
95
124
  - - ">="
96
125
  - !ruby/object:Gem::Version
97
- version: '0'
126
+ version: 0.13.3
127
+ - - "<"
128
+ - !ruby/object:Gem::Version
129
+ version: '2'
98
130
  - !ruby/object:Gem::Dependency
99
131
  name: pry
100
132
  requirement: !ruby/object:Gem::Requirement
@@ -127,16 +159,22 @@ dependencies:
127
159
  name: rake
128
160
  requirement: !ruby/object:Gem::Requirement
129
161
  requirements:
130
- - - "~>"
162
+ - - ">="
131
163
  - !ruby/object:Gem::Version
132
164
  version: '10.0'
165
+ - - "<"
166
+ - !ruby/object:Gem::Version
167
+ version: '14'
133
168
  type: :development
134
169
  prerelease: false
135
170
  version_requirements: !ruby/object:Gem::Requirement
136
171
  requirements:
137
- - - "~>"
172
+ - - ">="
138
173
  - !ruby/object:Gem::Version
139
174
  version: '10.0'
175
+ - - "<"
176
+ - !ruby/object:Gem::Version
177
+ version: '14'
140
178
  - !ruby/object:Gem::Dependency
141
179
  name: rspec
142
180
  requirement: !ruby/object:Gem::Requirement
@@ -165,34 +203,6 @@ dependencies:
165
203
  - - ">="
166
204
  - !ruby/object:Gem::Version
167
205
  version: '0'
168
- - !ruby/object:Gem::Dependency
169
- name: gettext-setup
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '0.29'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: '0.29'
182
- - !ruby/object:Gem::Dependency
183
- name: fakefs
184
- requirement: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - "~>"
187
- - !ruby/object:Gem::Version
188
- version: 0.13.3
189
- type: :development
190
- prerelease: false
191
- version_requirements: !ruby/object:Gem::Requirement
192
- requirements:
193
- - - "~>"
194
- - !ruby/object:Gem::Version
195
- version: 0.13.3
196
206
  description: Contains rake tasks and a standard spec_helper for running spec tests
197
207
  on puppet modules.
198
208
  email:
@@ -208,6 +218,7 @@ files:
208
218
  - ".rubocop_todo.yml"
209
219
  - ".travis.yml"
210
220
  - CHANGELOG.md
221
+ - CODEOWNERS
211
222
  - CONTRIBUTING.md
212
223
  - Gemfile
213
224
  - HISTORY.md
@@ -248,8 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
259
  - !ruby/object:Gem::Version
249
260
  version: '0'
250
261
  requirements: []
251
- rubyforge_project:
252
- rubygems_version: 2.6.14
262
+ rubygems_version: 3.2.5
253
263
  signing_key:
254
264
  specification_version: 4
255
265
  summary: Standard tasks and configuration for module spec tests.