rspec-buildkite 0.1.4 → 0.1.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a43becdaaf39c19db34533f388d73738d983eda1e834c8dddacb22b42329cded
4
- data.tar.gz: 0b5503027025f2c3e1fcb19ccc54c5a2bba839ee56baaa008f98f1490920bb84
3
+ metadata.gz: 4323487115d2dc58511e6c4acabf0007e27cfe6df9c71c9167a3c24fce9ea862
4
+ data.tar.gz: f6c45d22e5c68cb34145867aa175fcd7f0cf555aab9aa2dfc91e3ad065717d81
5
5
  SHA512:
6
- metadata.gz: 10eebedf3562ee3bf7715a6a6777fab65b02488729f6f3309aa7be7e8713845daa3c16f2c60278c9b5474fb424fb834dd9b90adf916f7aa691344103af9847a8
7
- data.tar.gz: b2737efe40e99e9c1902ba848f36e4c697b4f06cd5a0cc391bde99019d3ab2e0397cd4907a576230f531854f6a2ec48353125d377d5127c4d7a184251fdad289
6
+ metadata.gz: fabcc3676a007e391243bff2e841300e362560c52c1e17c88fc3782c35316a82a4dbb1cf2ef36e21040b7002a88a33d02984eb32b50c8f474fa8fa61c28e2bba
7
+ data.tar.gz: f088b0c96a630a361cb7e657f2acc83f8a78e13bfe6658d46b03bad9d28cab1b30910bd5a82d895b0f3ee8ea7e62209b71fe994965e41100891e6db1151dd733
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -40,7 +40,7 @@ Now run your specs on Buildkite!
40
40
 
41
41
  ### Docker & Docker Compose
42
42
 
43
- If you run your RSpec builds inside Docker or Docker Compose then you'll need to make sure some environment variables are progpagated into the running containers. If you're using [the docker-compose-buildkite-plugin][dcbp] you can pass the environment using [plugin configuration][dcbp-env]. Or you can add them to the [environment section][dc-env] in your `docker-compose.yml`, or supply [env arguments][d-env] to your docker command.
43
+ If you run your RSpec builds inside Docker or Docker Compose then you'll need to make sure that buildkite-agent is available inside your container, and that some environment variables are propagated into the running containers. The buildkite-agent binary can be baked into your image, or mounted in as a volume. If you're using [the docker-compose-buildkite-plugin][dcbp] you can pass the environment using [plugin configuration][dcbp-env]. Or you can add them to the [environment section][dc-env] in your `docker-compose.yml`, or supply [env arguments][d-env] to your docker command.
44
44
 
45
45
  The following environment variables are required:
46
46
 
@@ -62,7 +62,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
62
62
 
63
63
  ## Contributing
64
64
 
65
- Bug reports and pull requests are welcome on GitHub at https://github.com/sj26/rspec-buildkite.
65
+ Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/rspec-buildkite.
66
66
 
67
67
  ## License
68
68
 
@@ -37,17 +37,19 @@ module RSpec::Buildkite
37
37
  break if notification == :close
38
38
 
39
39
  if notification
40
- system "buildkite-agent", "annotate",
40
+ system("buildkite-agent", "annotate",
41
41
  "--context", "rspec",
42
42
  "--style", "error",
43
43
  "--append",
44
44
  format_failure(notification),
45
45
  out: :close # only display errors
46
+ ) or raise "buildkite-agent failed to run: #{$?}#{" (command not found)" if $?.exitstatus == 127}"
46
47
  end
47
48
  end
48
49
  rescue
49
- puts "Warning: Couldn't create Buildkite annotations:"
50
- puts " " << $!.to_s, " " << $!.backtrace.join("\n ")
50
+ $stderr.puts "Warning: Couldn't create Buildkite annotations:\n" <<
51
+ " #{$!.to_s}\n" <<
52
+ " #{$!.backtrace.join("\n ")}"
51
53
  end
52
54
 
53
55
  def format_failure(notification)
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Buildkite
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-buildkite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Cochran
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDKDCCAhCgAwIBAgIBBjANBgkqhkiG9w0BAQsFADA6MQ0wCwYDVQQDDARzajI2
14
- MRQwEgYKCZImiZPyLGQBGRYEc2oyNjETMBEGCgmSJomT8ixkARkWA2NvbTAeFw0x
15
- ODA4MTYwNTE4NDBaFw0xOTA4MTYwNTE4NDBaMDoxDTALBgNVBAMMBHNqMjYxFDAS
13
+ MIIDKDCCAhCgAwIBAgIBCDANBgkqhkiG9w0BAQsFADA6MQ0wCwYDVQQDDARzajI2
14
+ MRQwEgYKCZImiZPyLGQBGRYEc2oyNjETMBEGCgmSJomT8ixkARkWA2NvbTAeFw0y
15
+ MTA0MjcwMzIxMjZaFw0yMjA0MjcwMzIxMjZaMDoxDTALBgNVBAMMBHNqMjYxFDAS
16
16
  BgoJkiaJk/IsZAEZFgRzajI2MRMwEQYKCZImiZPyLGQBGRYDY29tMIIBIjANBgkq
17
17
  hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsr60Eo/ttCk8GMTMFiPr3GoYMIMFvLak
18
18
  xSmTk9YGCB6UiEePB4THSSA5w6IPyeaCF/nWkDp3/BAam0eZMWG1IzYQB23TqIM0
@@ -21,14 +21,14 @@ cert_chain:
21
21
  4O/FL2ChjL2CPCpLZW55ShYyrzphWJwLOJe+FJ/ZBl6YXwrzQM9HKnt4titSNvyU
22
22
  KzE3L63A3PZvExzLrN9u09kuWLLJfXB2sGOlw3n9t72rJiuBr3/OQQIDAQABozkw
23
23
  NzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU99dfRjEKFyczTeIz
24
- m3ZsDWrNC80wDQYJKoZIhvcNAQELBQADggEBAEwUQFizoyvm/1/iX8i/+oK6hr5m
25
- wd7ZEzIV32JRyaqkPFeWjBylRXZyoXsE2u1H9ofIw8b/5/M+uMIfR8jlJSuulGB7
26
- rs3ixWpkwRW8Knz2A5zufM3uPypwDYbEUbTdhzqY9hCzCz4moHu2E5f5bz7zrp+g
27
- kpFjMoo851LRGr5vEQMZ/U+Paq8ROLzAiOa72mNxIFzvnGcSDyBVixdewi7HoZWD
28
- ccrr0sGoLnfK6DappOwH1I5uPvQohOATNmmU0MSSWOeiggLlEWmUYE7CvzoMc8R6
29
- DlumKi5y9wE+XnxtyLbe6GlT3AkVGnhwPdwq2QBFLEWkTVogdCYomBCKfjY=
24
+ m3ZsDWrNC80wDQYJKoZIhvcNAQELBQADggEBAInkmTwBeGEJ7Xu9jjZIuFaE197m
25
+ YfvrzVoE6Q1DlWXpgyhhxbPIKg2acvM/Z18A7kQrF7paYl64Ti84dC64seOFIBNx
26
+ Qj/lxzPHMBoAYqeXYJhnYIXnvGCZ4Fkic5Bhs+VdcDP/uwYp3adqy+4bT/XDFZQg
27
+ tSjrAOTg3wck5aI+Tz90ONQJ83bnCRr1UPQ0T3PbWMjnNsEa9CAxUB845Sg+9yUz
28
+ Tvf+pbX8JT9rawFDogxPhL7eRAbjg4MH9amp5l8HTVCAsW8vqv7wM4rtMNAaXmik
29
+ LJghfDEf70fTtbs4Zv57pPhn1b7wBNf8fh+TZOlYAA6dFtQXoCwfE6bWgQU=
30
30
  -----END CERTIFICATE-----
31
- date: 2018-12-21 00:00:00.000000000 Z
31
+ date: 2021-06-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec-core
@@ -126,7 +126,7 @@ files:
126
126
  - lib/rspec/buildkite/annotation_formatter.rb
127
127
  - lib/rspec/buildkite/recolorizer.rb
128
128
  - lib/rspec/buildkite/version.rb
129
- homepage: https://github.com/sj26/rspec-buildkite
129
+ homepage: https://github.com/buildkite/rspec-buildkite
130
130
  licenses:
131
131
  - MIT
132
132
  metadata: {}
@@ -136,7 +136,7 @@ require_paths:
136
136
  - lib
137
137
  required_ruby_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - "~>"
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
141
  version: '2.2'
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -145,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubyforge_project:
149
- rubygems_version: 2.7.8
148
+ rubygems_version: 3.1.4
150
149
  signing_key:
151
150
  specification_version: 4
152
151
  summary: RSpec formatter creating Buildkite annotations for failures
metadata.gz.sig CHANGED
Binary file