flatware-cucumber 0.4.0 → 0.4.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: af10de976bd3f5ab9978612d0eca4303fce90326
4
- data.tar.gz: 06c0102f0d981ac87c918a77a346b35abd9dbd8f
3
+ metadata.gz: abd4dfd22b8f0236bdad9be40a5984cd74303a61
4
+ data.tar.gz: 3a10a731fb626989de5f3c02052c7d4fc6b04a20
5
5
  SHA512:
6
- metadata.gz: f54ab4f38b3b837151349f8d453ef39f27a3855fada7cffd042c07c0afc7e54c60cf2f806f4725896d7c0a8311d87fd0f6ad96eee5103e212ed91e54f53304be
7
- data.tar.gz: 1f3b63d49b7ffb911bfc49fec675f9e8b54e87b9756716d48a85dd64e862f185dce981955c6d8de32d774daa2e103f18d5a579edc92c0083a2a690835343bbfc
6
+ metadata.gz: 4575384e18651e6d27d7c71fd7acde3634020536fe722f63777e959c8cc18060d2df5b5cece58ccf7d0fd034d7c0a90be867267a77ff55c3b8288795c7c4d00a
7
+ data.tar.gz: 69ce306cde64d8944fc89e9e1622c8433e785b029b85de1246d09dccb83e376668bbcb481a697bc832508207ae163ed675e8b20fdf7714165569a57500caf518
data/README.md CHANGED
@@ -25,11 +25,18 @@ sudo apt-get install -qq libzmq3-dev
25
25
 
26
26
  #### Mac OSX
27
27
 
28
- Ruby FFI isn't getting along with the latest ZMQ formula. A tweaked verson is available in the Hashrocket tap.
28
+
29
+ If you're on macOS 10.12, use the custom hashrocket ZMQ homebrew formula.
29
30
 
30
31
  ```sh
31
32
  brew tap hashrocket/formulas
32
33
  brew install hashrocket/formulas/zeromq
34
+ ```
35
+
36
+ The stock homebrew version will likely work on older versions of macOS.
37
+
38
+
39
+ ```sh
33
40
  brew install zeromq
34
41
  ```
35
42
 
@@ -38,8 +45,8 @@ brew install zeromq
38
45
  Add the runners you need to your Gemfile:
39
46
 
40
47
  ```ruby
41
- gem 'flatware-rspec' # one
42
- gem 'flatware-cucumber' # or both
48
+ gem 'flatware-rspec', require: false # one
49
+ gem 'flatware-cucumber', require: false # or both
43
50
  ```
44
51
 
45
52
  then run
@@ -1,6 +1,5 @@
1
1
  require 'cucumber/formatter/console'
2
2
  require 'flatware/cucumber/formatters/console'
3
- require 'flatware/cucumber/checkpoint'
4
3
 
5
4
  module Flatware::Cucumber::Formatters
6
5
  class Console
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatware-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Dunn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-27 00:00:00.000000000 Z
11
+ date: 2018-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flatware
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.0
19
+ version: 0.4.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.0
26
+ version: 0.4.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cucumber
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -49,7 +49,6 @@ files:
49
49
  - LICENSE.txt
50
50
  - README.md
51
51
  - lib/flatware-cucumber.rb
52
- - lib/flatware/cucumber/checkpoint.rb
53
52
  - lib/flatware/cucumber/cli.rb
54
53
  - lib/flatware/cucumber/formatter.rb
55
54
  - lib/flatware/cucumber/formatters/console.rb
@@ -78,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
77
  version: '0'
79
78
  requirements: []
80
79
  rubyforge_project:
81
- rubygems_version: 2.6.8
80
+ rubygems_version: 2.6.14
82
81
  signing_key:
83
82
  specification_version: 4
84
83
  summary: A distributed cucumber runner
@@ -1,28 +0,0 @@
1
- module Flatware
2
- module Cucumber
3
- class Checkpoint
4
- attr_reader :steps, :scenarios
5
- def initialize(steps, scenarios)
6
- @steps, @scenarios = serialize_steps(steps), serialize_scenarios(scenarios)
7
- end
8
-
9
- def failures?
10
- scenarios.any? &:failed?
11
- end
12
-
13
- private
14
-
15
- def serialize_steps(steps)
16
- steps.map do |step|
17
- StepResult.new step.status, step.exception
18
- end
19
- end
20
-
21
- def serialize_scenarios(scenarios)
22
- scenarios.map do |scenario|
23
- ScenarioResult.new scenario.status, scenario.file_colon_line, scenario.name, scenario.exception
24
- end
25
- end
26
- end
27
- end
28
- end