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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4e7b117a4e050c6126e337f747b28445324006bc
4
- data.tar.gz: 4bba5098abef22668b1ef19d94c45f5917fb79b1
2
+ SHA256:
3
+ metadata.gz: ec3d8fbca30fbb5a95f44d8a3ca031428b9370cfb9fee30281d8227af1a63d59
4
+ data.tar.gz: 6be9094d370dea4781f4fccfb8b62bdc0f74a4a75d32f4f28d66568597acc470
5
5
  SHA512:
6
- metadata.gz: 84b530d485504cb5411c7716df449487a26ac4d2ce834d631dea8bf2f5ba3517e8f8aaf345be4ba0ccc438f296d4938d55807c5f01759d0afd25fdca2260d9bf
7
- data.tar.gz: fddc758079fbfeed7d47478b5cf6bf11c1382207b505df0e27449d3d9ae1220e5fcf67487c945795535d7f6aca7d23f559a22727ff756a19483a906278f2796b
6
+ metadata.gz: d8de5beffee352b80dbe89f861f3929d0a139556c4f8cecb278d490b7dbf94fcfae1f115729ce86a41414e220e5b216891bfa43b30e1d17c7db7914da1c49663
7
+ data.tar.gz: 2a924b56f3b53c47fffb73d6bb17a9368182710c7a6ed7786fd714562e78cb89341899873bf05811b0ea94073559758aba417d053cf99f161978c866558b2f3f
@@ -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:
@@ -24,7 +24,7 @@ module Kender
24
24
  class << self
25
25
 
26
26
  def all_success?
27
- all.inject(true) {|all_result, command_result| all_result && command_result }
27
+ all.all?(&:success)
28
28
  end
29
29
 
30
30
  def commands
@@ -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: #{command}" unless Kender::Command.all_success?
49
+ abort "Command(s) failed" unless Kender::Command.all_success?
50
50
  end
51
51
 
52
52
 
@@ -1,3 +1,3 @@
1
1
  module Kender
2
- VERSION = '0.6.0'.freeze
2
+ VERSION = '0.6.2'.freeze
3
3
  end
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.0
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: 2017-09-27 00:00:00.000000000 Z
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.14'
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.14'
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: '0'
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: '0'
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
- rubyforge_project:
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