confidence-check 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 +4 -4
- data/.circleci/config.yml +28 -0
- data/Gemfile.lock +4 -1
- data/LICENSE.md +1 -1
- data/README.md +2 -0
- data/confidence-check.gemspec +4 -2
- data/lib/confidence-check.rb +1 -1
- metadata +20 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6bbec204c4c67f46582b309eb6e34736e32885a328da22e47990e6c065d8d4f
|
4
|
+
data.tar.gz: 34d804b688af5fc8f1c2efa85b795ab1b8d919721ec2e891b28cad325b7bbaa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e4c5637f2acab8513576989c0d50052e1ff093395e20a8e2e9fc8425f916312b50386b27022e01eeb4584b9b14c195a09c8d4f381a2bdb571d65b0d78af79ca
|
7
|
+
data.tar.gz: 62a512ab044e428d02baa429c1b88918635c6589c0c79be501acb3a57d6044cef2ec479fc06f5881d74ecadded5d3d0c9e44f362a7869c77cefe7d61abd980b0
|
@@ -0,0 +1,28 @@
|
|
1
|
+
version: 2.1
|
2
|
+
orbs:
|
3
|
+
# See https://circleci.com/developer/orbs/orb/circleci/ruby
|
4
|
+
ruby: circleci/ruby@1.1.2
|
5
|
+
jobs: # keyword
|
6
|
+
test: # my name for the job
|
7
|
+
parameters: # keyword
|
8
|
+
ruby-version: # my parameter name
|
9
|
+
type: string # type is a keyword
|
10
|
+
docker: # keyword
|
11
|
+
- image: cimg/base:stable
|
12
|
+
steps: # keyword
|
13
|
+
- checkout # magic name
|
14
|
+
- ruby/install: # ruby/ is from the orb name, install is a command in that orb
|
15
|
+
version: << parameters.ruby-version >> # magic nonsense for param subst
|
16
|
+
- ruby/install-deps # another command from the ruby orb
|
17
|
+
- ruby/rspec-test # another command from the ruby orb
|
18
|
+
# this one will sort out the results.xml file
|
19
|
+
# and all that other nonsense.
|
20
|
+
workflows: # keyword
|
21
|
+
all-rubies: # my name for the workflow
|
22
|
+
jobs: # keyword
|
23
|
+
- test: # my name for the job
|
24
|
+
matrix: # keyword
|
25
|
+
parameters: # keyword
|
26
|
+
# All rubies being maintained per this page:
|
27
|
+
# https://www.ruby-lang.org/en/downloads/branches/
|
28
|
+
ruby-version: [ "2.5", "2.6", "2.7", "3.0" ]
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
confidence-check (1.0.
|
4
|
+
confidence-check (1.0.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -43,6 +43,8 @@ GEM
|
|
43
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
44
|
rspec-support (~> 3.10.0)
|
45
45
|
rspec-support (3.10.2)
|
46
|
+
rspec_junit_formatter (0.4.1)
|
47
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
46
48
|
xpath (3.2.0)
|
47
49
|
nokogiri (~> 1.8)
|
48
50
|
|
@@ -55,6 +57,7 @@ DEPENDENCIES
|
|
55
57
|
minitest
|
56
58
|
rake (~> 12.0)
|
57
59
|
rspec
|
60
|
+
rspec_junit_formatter
|
58
61
|
|
59
62
|
BUNDLED WITH
|
60
63
|
2.1.4
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# confidence\_check - Get confidence in your test setup
|
2
2
|
|
3
|
+
[![<sustainable-rails>](https://circleci.com/gh/sustainable-rails/confidence-check.svg?style=shield)](https://app.circleci.com/pipelines/github/sustainable-rails/confidence-check)
|
4
|
+
|
3
5
|
Sometimes tests have some setup required before you run the test, and sometimes that setup is complicated, and sometimes that
|
4
6
|
setup can break if other parts of the system aren't working. When that happens, you can a test failure that doesn't mean your
|
5
7
|
code is broken, just that some other code is broken.
|
data/confidence-check.gemspec
CHANGED
@@ -5,10 +5,11 @@ Gem::Specification.new do |spec|
|
|
5
5
|
spec.version = ConfidenceCheck::VERSION
|
6
6
|
spec.authors = ["Dave Copeland"]
|
7
7
|
spec.email = ["davec@naildrivin5.com"]
|
8
|
-
|
9
8
|
spec.summary = %q{Assert that the conditions of your test are correct before testing}
|
10
9
|
spec.homepage = "https://sustainable-rails.com"
|
11
|
-
spec.
|
10
|
+
spec.license = "Hippocratic"
|
11
|
+
|
12
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
12
13
|
|
13
14
|
spec.metadata["homepage_uri"] = spec.homepage
|
14
15
|
spec.metadata["source_code_uri"] = "https://github.com/sustainable-rails/confidence-check"
|
@@ -24,4 +25,5 @@ Gem::Specification.new do |spec|
|
|
24
25
|
spec.add_development_dependency("rspec")
|
25
26
|
spec.add_development_dependency("minitest")
|
26
27
|
spec.add_development_dependency("capybara")
|
28
|
+
spec.add_development_dependency("rspec_junit_formatter")
|
27
29
|
end
|
data/lib/confidence-check.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: confidence-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Copeland
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec_junit_formatter
|
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'
|
55
69
|
description:
|
56
70
|
email:
|
57
71
|
- davec@naildrivin5.com
|
@@ -59,6 +73,7 @@ executables: []
|
|
59
73
|
extensions: []
|
60
74
|
extra_rdoc_files: []
|
61
75
|
files:
|
76
|
+
- ".circleci/config.yml"
|
62
77
|
- ".gitignore"
|
63
78
|
- ".rspec"
|
64
79
|
- CODE_OF_CONDUCT.md
|
@@ -79,7 +94,8 @@ files:
|
|
79
94
|
- lib/confidence_check/for_minitest.rb
|
80
95
|
- lib/confidence_check/for_rspec.rb
|
81
96
|
homepage: https://sustainable-rails.com
|
82
|
-
licenses:
|
97
|
+
licenses:
|
98
|
+
- Hippocratic
|
83
99
|
metadata:
|
84
100
|
homepage_uri: https://sustainable-rails.com
|
85
101
|
source_code_uri: https://github.com/sustainable-rails/confidence-check
|
@@ -92,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
108
|
requirements:
|
93
109
|
- - ">="
|
94
110
|
- !ruby/object:Gem::Version
|
95
|
-
version: 2.
|
111
|
+
version: 2.5.0
|
96
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
113
|
requirements:
|
98
114
|
- - ">="
|