puppet_litmus 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -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.7.0
4
+ version: 0.7.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-06-27 00:00:00.000000000 Z
11
+ date: 2019-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bolt
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.7.7
114
+ rubygems_version: 2.7.6
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Providing a simple command line tool for puppet content creators, to enable