simple_approvals-chefspec 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e7f4990355b4678833990f56ca537e6ccd0f600
4
- data.tar.gz: 5edd472cba2a3873dc0c131baed47e757cb219c2
3
+ metadata.gz: e4d417ea8ccd1d5e97bcae8b064a93ed956750d3
4
+ data.tar.gz: 2872719e87dffba61ec1feea62e8aeb30aeb2728
5
5
  SHA512:
6
- metadata.gz: 463ea3eed42fe488373bab6b73c428857d2efa68e03ac49c159a685bc985b9f97e5c2572b16df3d8291864272239dedeffce31f79a116c1bf50f58bae1681fcf
7
- data.tar.gz: 1d92db049b2b14c4aca58259964f3cd284cec9f55af49e42c99a1768247830e74c988c970a9e7df54cc471ca1757733a015a15adca4ad087e203e8101d9a897a
6
+ metadata.gz: 84a7c512cbe4c1826345fd62b25a501a4611e1f4a8562f55706a2368c711a2d5f8f52292fcca45bc72a61c2c92fed8f4dc8eca6d7667b6a88dc746482e23aca8
7
+ data.tar.gz: edd6cae4289d79cf3c5738d785cc9284eee8bec79f81ff946454a7bf244997782e698e547686fdc7c190955de891a85e59393d18a011ec18c3b5899c749dd99c
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_approvals-chefspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Alpert
@@ -144,14 +144,7 @@ executables: []
144
144
  extensions: []
145
145
  extra_rdoc_files: []
146
146
  files:
147
- - ".gitignore"
148
- - ".rubocop.yml"
149
- - Gemfile
150
147
  - README.md
151
- - VERSION
152
- - rakefile.rb
153
- - simple_approvals-chef.gemspec
154
- - spec/spec_helper.rb
155
148
  homepage: https://github.com/davidalpert/simple_approvals-chefspec/
156
149
  licenses: []
157
150
  metadata: {}
@@ -175,5 +168,4 @@ rubygems_version: 2.6.11
175
168
  signing_key:
176
169
  specification_version: 4
177
170
  summary: ''
178
- test_files:
179
- - spec/spec_helper.rb
171
+ test_files: []
data/.gitignore DELETED
@@ -1,29 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- InstalledFiles
7
- _yardoc
8
- coverage
9
- doc/
10
- lib/bundler/man
11
- pkg
12
- rdoc
13
- spec/reports
14
- test/tmp
15
- test/version_tmp
16
- tmp
17
- .idea/*
18
- *.swp
19
- *Gemfile.lock
20
- .DS_Store
21
- .gradle/
22
- archive*
23
- build/*
24
- *.pyc
25
- node_modules/
26
- rubocop.html
27
- tags
28
- .fingerprint
29
- LOGFILE_*
data/.rubocop.yml DELETED
@@ -1,33 +0,0 @@
1
- # encoding: utf-8
2
- AllCops:
3
- Exclude:
4
- - 'vendor/**/*'
5
- - 'spec/fixtures/**/*'
6
- - 'spec/spec_helper.rb'
7
- - 'rakefile.rb'
8
- # - 'simple_approvals.gemspec'
9
- # - 'Gemfile'
10
- # - 'example/rakefile.rb'
11
- # - 'example/Gemfile'
12
- # - 'example/**/*'
13
- # - 'spec/**/*'
14
- Style/Encoding:
15
- Enabled: true
16
-
17
- SignalException:
18
- EnforcedStyle: only_raise
19
-
20
- CaseIndentation:
21
- EnforcedStyle: end
22
-
23
- Metrics/ClassLength:
24
- Enabled: false
25
-
26
- Metrics/MethodLength:
27
- Enabled: false
28
-
29
- Metrics/LineLength:
30
- Enabled: false
31
-
32
- Metrics/ParameterLists:
33
- Max: 6
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.0
data/rakefile.rb DELETED
@@ -1,26 +0,0 @@
1
- # encoding: utf-8
2
- $: << './'
3
-
4
- require 'rubygems'
5
- require 'bundler/setup'
6
-
7
- require 'version_bumper'
8
- require 'bundler'
9
- require 'bundler/gem_helper'
10
- require 'geminabox_client'
11
-
12
- # Helper for setting version
13
- module SimpleApprovals
14
- # Helper for setting version
15
- class GemHelper < Bundler::GemHelper
16
- def reload_version
17
- @gemspec.version = SimpleApprovals::gem_version
18
- end
19
-
20
- end
21
-
22
- # The current version of the gem
23
- def self.gem_version
24
- File.read('VERSION').strip
25
- end
26
- end
@@ -1,27 +0,0 @@
1
- lib = File.expand_path('lib', __dir__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
-
4
- Gem::Specification.new do |spec|
5
- spec.name = 'simple_approvals-chefspec'
6
- spec.version = File.exist?('VERSION') ? File.read('VERSION').strip : ''
7
- spec.authors = ['David Alpert']
8
- spec.email = ['david@spinthemoose.com']
9
- spec.description = 'chefspec matchers for simple_approvals patterned after the ApprovalTests pattern'
10
- spec.summary = ''
11
- spec.homepage = 'https://github.com/davidalpert/simple_approvals-chefspec/'
12
-
13
- spec.files = `git ls-files -z`.split("\x0").delete_if { |value| value.include?('lib') }
14
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
- spec.require_paths = ['lib']
17
-
18
- spec.add_development_dependency 'bundler'
19
- spec.add_development_dependency 'geminabox'
20
- spec.add_development_dependency 'rake'
21
- spec.add_development_dependency 'rspec'
22
- spec.add_development_dependency 'rubocop'
23
- spec.add_development_dependency 'version_bumper'
24
- spec.add_dependency 'chefspec'
25
- spec.add_dependency 'json', '= 2.1.0' # 2.2.0 fails on windows - requires more investigation
26
- spec.add_dependency 'simple_approvals-rspec'
27
- end
data/spec/spec_helper.rb DELETED
@@ -1,101 +0,0 @@
1
- # This file was generated by the `rspec --init` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # The generated `.rspec` file contains `--require spec_helper` which will cause
4
- # this file to always be loaded, without a need to explicitly require it in any
5
- # files.
6
- #
7
- # Given that it is always loaded, you are encouraged to keep this file as
8
- # light-weight as possible. Requiring heavyweight dependencies from this file
9
- # will add to the boot time of your test suite on EVERY test run, even for an
10
- # individual file that may not need all of that loaded. Instead, consider making
11
- # a separate helper file that requires the additional dependencies and performs
12
- # the additional setup, and require it from the spec files that actually need
13
- # it.
14
- #
15
- # The `.rspec` file also contains a few flags that are not defaults but that
16
- # users commonly want.
17
- #
18
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
- SimpleCov.start do
20
- add_filter '/spec/'
21
- end
22
- SimpleCov.minimum_coverage 80
23
-
24
- RSpec.configure do |config|
25
- # rspec-expectations config goes here. You can use an alternate
26
- # assertion/expectation library such as wrong or the stdlib/minitest
27
- # assertions if you prefer.
28
- config.expect_with :rspec do |expectations|
29
- # This option will default to `true` in RSpec 4. It makes the `description`
30
- # and `failure_message` of custom matchers include text for helper methods
31
- # defined using `chain`, e.g.:
32
- # be_bigger_than(2).and_smaller_than(4).description
33
- # # => "be bigger than 2 and smaller than 4"
34
- # ...rather than:
35
- # # => "be bigger than 2"
36
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
37
- end
38
-
39
- # rspec-mocks config goes here. You can use an alternate test double
40
- # library (such as bogus or mocha) by changing the `mock_with` option here.
41
- config.mock_with :rspec do |mocks|
42
- # Prevents you from mocking or stubbing a method that does not exist on
43
- # a real object. This is generally recommended, and will default to
44
- # `true` in RSpec 4.
45
- mocks.verify_partial_doubles = true
46
- end
47
-
48
- # The settings below are suggested to provide a good initial experience
49
- # with RSpec, but feel free to customize to your heart's content.
50
- =begin
51
- # These two settings work together to allow you to limit a spec run
52
- # to individual examples or groups you care about by tagging them with
53
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
54
- # get run.
55
- config.filter_run :focus
56
- config.run_all_when_everything_filtered = true
57
-
58
- # Allows RSpec to persist some state between runs in order to support
59
- # the `--only-failures` and `--next-failure` CLI options. We recommend
60
- # you configure your source control system to ignore this file.
61
- config.example_status_persistence_file_path = "spec/examples.txt"
62
-
63
- # Limits the available syntax to the non-monkey patched syntax that is
64
- # recommended. For more details, see:
65
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
66
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
67
- # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
68
- config.disable_monkey_patching!
69
-
70
- # This setting enables warnings. It's recommended, but in some cases may
71
- # be too noisy due to issues in dependencies.
72
- config.warnings = true
73
-
74
- # Many RSpec users commonly either run the entire suite or an individual
75
- # file, and it's useful to allow more verbose output when running an
76
- # individual spec file.
77
- if config.files_to_run.one?
78
- # Use the documentation formatter for detailed output,
79
- # unless a formatter has already been configured
80
- # (e.g. via a command-line flag).
81
- config.default_formatter = 'doc'
82
- end
83
-
84
- # Print the 10 slowest examples and example groups at the
85
- # end of the spec run, to help surface which specs are running
86
- # particularly slow.
87
- config.profile_examples = 10
88
-
89
- # Run specs in random order to surface order dependencies. If you find an
90
- # order dependency and want to debug it, you can fix the order by providing
91
- # the seed, which is printed after each run.
92
- # --seed 1234
93
- config.order = :random
94
-
95
- # Seed global randomization in this process using the `--seed` CLI option.
96
- # Setting this allows you to use `--seed` to deterministically reproduce
97
- # test failures related to randomization by passing the same `--seed` value
98
- # as the one that triggered the failure.
99
- Kernel.srand config.seed
100
- =end
101
- end