kender 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/features/rspec.feature +12 -0
- data/lib/kender/command.rb +1 -1
- data/lib/kender/tasks/ci.rake +1 -1
- data/lib/kender/version.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ec3d8fbca30fbb5a95f44d8a3ca031428b9370cfb9fee30281d8227af1a63d59
|
4
|
+
data.tar.gz: 6be9094d370dea4781f4fccfb8b62bdc0f74a4a75d32f4f28d66568597acc470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8de5beffee352b80dbe89f861f3929d0a139556c4f8cecb278d490b7dbf94fcfae1f115729ce86a41414e220e5b216891bfa43b30e1d17c7db7914da1c49663
|
7
|
+
data.tar.gz: 2a924b56f3b53c47fffb73d6bb17a9368182710c7a6ed7786fd714562e78cb89341899873bf05811b0ea94073559758aba417d053cf99f161978c866558b2f3f
|
data/features/rspec.feature
CHANGED
@@ -33,6 +33,18 @@ Feature: Rspec
|
|
33
33
|
"""
|
34
34
|
1 example, 0 failures
|
35
35
|
"""
|
36
|
+
|
37
|
+
Scenario: A project with failing specs should fail when running the ci:run task
|
38
|
+
Given a file named "spec/testing_spec.rb" with:
|
39
|
+
"""
|
40
|
+
describe "My software" do
|
41
|
+
it "fails miserably" do
|
42
|
+
expect(false).to be_true
|
43
|
+
end
|
44
|
+
end
|
45
|
+
"""
|
46
|
+
When I run `bundle exec rake ci:run`
|
47
|
+
Then the exit status should not be 0
|
36
48
|
|
37
49
|
Scenario: The project has some non passing specs to run
|
38
50
|
Given a file named "spec/testing_spec.rb" with:
|
data/lib/kender/command.rb
CHANGED
data/lib/kender/tasks/ci.rake
CHANGED
@@ -46,7 +46,7 @@ namespace :ci do
|
|
46
46
|
Kender::Command.all.each do |command|
|
47
47
|
puts "#{command.name} failed" unless command.success
|
48
48
|
end
|
49
|
-
abort "Command failed
|
49
|
+
abort "Command(s) failed" unless Kender::Command.all_success?
|
50
50
|
end
|
51
51
|
|
52
52
|
|
data/lib/kender/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Smith
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -53,28 +53,28 @@ dependencies:
|
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '0
|
56
|
+
version: '1.0'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0
|
63
|
+
version: '1.0'
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: rake
|
66
66
|
requirement: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - "
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '13'
|
71
71
|
type: :development
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - "
|
75
|
+
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
77
|
+
version: '13'
|
78
78
|
description: Kender is a library of rake tasks that provides a consistent framework
|
79
79
|
for continuous integration (CI).
|
80
80
|
email:
|
@@ -130,14 +130,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
|
134
|
-
rubygems_version: 2.6.11
|
133
|
+
rubygems_version: 3.0.6
|
135
134
|
signing_key:
|
136
135
|
specification_version: 4
|
137
136
|
summary: Rake tasks for continuous integration (CI).
|
138
137
|
test_files:
|
139
|
-
- features/install.feature
|
140
138
|
- features/rspec.feature
|
141
|
-
- features/scenarios.feature
|
142
|
-
- features/support/env.rb
|
143
139
|
- features/support/hooks.rb
|
140
|
+
- features/support/env.rb
|
141
|
+
- features/install.feature
|
142
|
+
- features/scenarios.feature
|