puppet_litmus 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
- # frozen_string_literal: true
2
-
3
- require 'spec_helper'
4
-
5
- RSpec.describe PuppetLitmus do
6
- it 'has a version number' do
7
- expect(described_class::VERSION).not_to be nil
8
- expect(described_class::VERSION).to be_a_kind_of(String)
9
- end
10
- end
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe PuppetLitmus do
6
+ it 'has a version number' do
7
+ expect(described_class::VERSION).not_to be nil
8
+ expect(described_class::VERSION).to be_a_kind_of(String)
9
+ end
10
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,29 +1,29 @@
1
- # frozen_string_literal: true
2
-
3
- require 'rspec'
4
- require 'puppet_litmus'
5
-
6
- if ENV['COVERAGE'] == 'yes'
7
- require 'simplecov'
8
-
9
- SimpleCov.formatters = [
10
- SimpleCov::Formatter::HTMLFormatter,
11
- ]
12
- SimpleCov.start do
13
- track_files 'lib/**/*.rb'
14
-
15
- add_filter '/spec'
16
-
17
- # do not track vendored files
18
- add_filter '/vendor'
19
- add_filter '/.vendor'
20
-
21
- # do not track gitignored files
22
- # this adds about 4 seconds to the coverage check
23
- # this could definitely be optimized
24
- add_filter do |f|
25
- # system returns true if exit status is 0, which with git-check-ignore means file is ignored
26
- system("git check-ignore --quiet #{f.filename}")
27
- end
28
- end
29
- end
1
+ # frozen_string_literal: true
2
+
3
+ require 'rspec'
4
+ require 'puppet_litmus'
5
+
6
+ if ENV['COVERAGE'] == 'yes'
7
+ require 'simplecov'
8
+
9
+ SimpleCov.formatters = [
10
+ SimpleCov::Formatter::HTMLFormatter,
11
+ ]
12
+ SimpleCov.start do
13
+ track_files 'lib/**/*.rb'
14
+
15
+ add_filter '/spec'
16
+
17
+ # do not track vendored files
18
+ add_filter '/vendor'
19
+ add_filter '/.vendor'
20
+
21
+ # do not track gitignored files
22
+ # this adds about 4 seconds to the coverage check
23
+ # this could definitely be optimized
24
+ add_filter do |f|
25
+ # system returns true if exit status is 0, which with git-check-ignore means file is ignored
26
+ system("git check-ignore --quiet #{f.filename}")
27
+ end
28
+ end
29
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_litmus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-05 00:00:00.000000000 Z
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bolt
@@ -110,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubyforge_project:
114
- rubygems_version: 2.7.6
113
+ rubygems_version: 3.0.4
115
114
  signing_key:
116
115
  specification_version: 4
117
116
  summary: Providing a simple command line tool for puppet content creators, to enable