aruba 2.0.1 → 2.1.0

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
  SHA256:
3
- metadata.gz: bc48eb26abb5d1e638537ed9eaf53f5758c541ca48e9f979da107bb8a7bdcf6c
4
- data.tar.gz: 75d8cc6d3c52b62538f688949ee212abd5c3dad8aca20fd3007860757eaf830e
3
+ metadata.gz: 81d7260059ff82a28fa715d2a679f65ac9fbf6952e560b887c1c9a546727e3cd
4
+ data.tar.gz: d5aa01763869599dd1b69b66fd6f3504ea781a6b5aa6742c5146eb05c833341b
5
5
  SHA512:
6
- metadata.gz: bece1031dfa68f1fa9a80854758558596cc48d073996fb5d3f6440226d18e68c7408d478ffa6a9f7881aa52e3d172c1acaa1bf3bae5948b07af363e6a456c75d
7
- data.tar.gz: 7f68b65140bbe200235a6e23aac68a5f4da28ca9cf47171cd28d758a2b70aaa5645b7a45f739a1fa803d5c5770864196224d4797685c0de40328a71db7697d90
6
+ metadata.gz: 5552a1bc0e6fd93e96626a0a8ca6e92d62ab56f17020170fe5156be69c91430497edb20ad096b862b99bda50cff49975c6f2641d1d319ddfe8186a09c225c7be
7
+ data.tar.gz: f791bb3f0603fa86661d782e0c6d82a6363a37b4cd9e034783871271574d358031ac3f1d616a8bd6669d06cb1454558e3353384183f1d8f97da905ab6687461e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ This project adheres to [Semantic Versioning][1].
6
6
 
7
7
  This document is formatted according to the principles of [Keep A CHANGELOG][2].
8
8
 
9
+ ## [2.1.0] / 2022-05-20
10
+
11
+ * Support Cucumber 8 ([#870] by [mvz] with [dependabot])
12
+
9
13
  ## [2.0.1] / 2022-04-22
10
14
 
11
15
  * Various cleanups of internal APIs ([#838] by [mvz])
@@ -110,7 +114,8 @@ Other changes
110
114
  * Fix cucumber deprecations ([#688] by [deivid-rodriguez])
111
115
  * Update gemspec: Metadata and RDoc options ([#686] by [mvz])
112
116
  * Update dependencies and fix RuboCop offenses ([#683] by [mvz])
113
- * Init: Conditionally prefix the `gem aruba` line with a carriage return ([#570] by [xtrasimplicity])
117
+ * Init: Conditionally prefix the `gem aruba` line with a carriage return
118
+ ([#570] by [xtrasimplicity])
114
119
  * Update supported set of rubies([#679] by [mvz])
115
120
 
116
121
  ## [1.0.0.pre.alpha.5]
@@ -160,7 +165,8 @@ Other changes
160
165
  * Improve documentation for users and developers ([#454], [#456], [#457], [#460],
161
166
  [#459], [#461], [#475], [#494] by [olleolleolle], [maxmeyer], [mvz])
162
167
  * Make forgetting `setup_aruba` a hard failure ([#510] by [mvz])
163
- * Update dependencies ([#511], [#541], [#553] by [mvz], [#528] by [maxmeyer], [#615] by [luke-hill] and [mvz])
168
+ * Update dependencies ([#511], [#541], [#553] by [mvz], [#528] by [maxmeyer],
169
+ [#615] by [luke-hill] and [mvz])
164
170
  * Improve output of `#have_output` matcher ([#546] by [mvz])
165
171
  * Removed `have_same_file_content_like` and `a_file_with_same_content_like`
166
172
  matchers, in favour of `have_same_file_content_as` and
@@ -187,22 +193,26 @@ Other changes
187
193
 
188
194
  ### Developer experience and internal changes
189
195
 
190
- * Fix test suite failures ([#452], [#497] by [maxmeyer] and [mvz]; [#487], [#509] by [mvz])
196
+ * Fix test suite failures ([#452], [#497] by [maxmeyer] and [mvz]; [#487],
197
+ [#509] by [mvz])
191
198
  * Remove development gems for unsupported Rubinius platform ([#464] by [maxmeyer])
192
199
  * Update `license_finder` dependency ([#466] by [maxmeyer])
193
200
  * Restrict branches to run Travis ([#471] by [junaruga])
194
- * Maintain Travis builds ([#476] by [maxmeyer]; [#493] [#532], [#536] by [mvz]; [#542], [#596], [#607] by [olleolleolle])
201
+ * Maintain Travis builds ([#476] by [maxmeyer]; [#493], [#532], [#536] by [mvz];
202
+ [#542], [#596], [#607] by [olleolleolle])
195
203
  * Rename History.md to CHANGELOG.md and fix links and formatting, etc. to bring
196
204
  it in line with [cucumber/cucumber#521] ([#481], [#482] by [jaysonesmith])
197
- * Fix YARD documentation issues ([#491] [olleolleolle])
205
+ * Fix YARD documentation issues ([#491] by [olleolleolle])
198
206
  * Change maintainership ([#495], [#523] by [maxmeyer])
199
207
  * Remove commented-out code ([#498] by [olleolleolle])
200
- * Documentation fixups ([#504] by [roschaefer]; [#530] by [xtrasimplicity]; [#606] by [olleolleolle])
208
+ * Documentation fixups ([#504] by [roschaefer]; [#530] by [xtrasimplicity];
209
+ [#606] by [olleolleolle])
201
210
  * Add 'stale' bot ([#507] by [maxmeyer]
202
211
  * Update RuboCop and fix some offenses ([#514], [#537] by [mvz])
203
- * Mark scenarios requiring external commands ([#515] [mvz])
204
- * Remove cucumber features related to Aruba development ([#522], [#543], [#544] [mvz])
205
- * Avoid long waits in feature suite ([#544] [mvz])
212
+ * Mark scenarios requiring external commands ([#515] by [mvz])
213
+ * Remove cucumber features related to Aruba development
214
+ ([#522], [#543], [#544] by [mvz])
215
+ * Avoid long waits in feature suite ([#544] by [mvz])
206
216
  * Clean up internally used cuke tags and their implementation ([#548] by [mvz])
207
217
  * Test with Ruby 2.5 and 2.6 ([#554] by [nicolasleger], [#578] by [mvz])
208
218
  * Fix tests on Debian. ([#575] by [Heinrich])
@@ -324,7 +334,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
324
334
  ## [0.14.11]
325
335
 
326
336
  * Loosen childprocess dependency ([#658])
327
- * Do not set binmode on output temp files, so automatic line ending conversion works ([#650])
337
+ * Do not set binmode on output temp files, so automatic line ending conversion
338
+ works ([#650])
328
339
  * Improve deprecation suggestions ([#647])
329
340
  * Backport fixes to code organization, layout and spelling ([#645])
330
341
 
@@ -374,7 +385,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
374
385
 
375
386
  ## [0.14.5]
376
387
 
377
- * Loosen dependency on child_process ([#551])
388
+ * Loosen dependency on `child_process` ([#551])
378
389
 
379
390
  ## [0.14.4]
380
391
 
@@ -468,7 +479,6 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
468
479
  commands from last to first.
469
480
  * Added `be_an_executable` matcher
470
481
 
471
-
472
482
  ## [0.11.0.pre]
473
483
 
474
484
  * Set stop signal which should be used to stop a process after a timeout or
@@ -485,17 +495,14 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
485
495
  private. Users should use `#run('cmd')` and not use the classes directly.
486
496
  * `rvm`-methods are deprecated. They are too ruby specific.
487
497
 
488
-
489
498
  ## [0.10.2]
490
499
 
491
500
  * Fixed problem in regex after merge of step definitions
492
501
 
493
-
494
502
  ## [0.10.1]
495
503
 
496
504
  * Merged remove steps for file and directory from 4 into 2 step definitions
497
505
 
498
-
499
506
  ## [0.10.0]
500
507
 
501
508
  * Fix `"#exit_timeout" is deprecated` error ([#314])
@@ -520,7 +527,6 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
520
527
  * Added work around because of method name conflict between Capybara and RSpec
521
528
  ([1939c404](https://github.com/cucumber/aruba/commit/1939c4049d5195ffdd967485f50119bdd86e98a0))
522
529
 
523
-
524
530
  ## [0.9.0]
525
531
 
526
532
  * Fix feature test
@@ -548,7 +554,6 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
548
554
  * Now we make the process started via `SpawnProcess` the leader of the group to
549
555
  kill all sub-processes more reliably
550
556
 
551
-
552
557
  ## [0.9.0.pre]
553
558
 
554
559
  * Improve documentation for filesystem api and move it to feature tests
@@ -568,7 +573,6 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
568
573
  * Split up `#which` for Windows and Unix/Linux ([#304])
569
574
  * Add `aruba console` command to play around with aruba ([#305])
570
575
 
571
-
572
576
  ## [0.8.1]
573
577
 
574
578
  * Fix problem if working directory of aruba does not exist ([#286])
@@ -578,7 +582,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
578
582
  * Make the home directory configurable and use Around/around-hook to apply it
579
583
  * Add announcer to output the full environment before a command is run
580
584
  * Use `prepend_environment_variable` to modify PATH for rspec integration
581
- * Add `VERSION` constant to aruba and use it for code which should be activated on >= 1.0.0
585
+ * Add `VERSION` constant to aruba and use it for code which should be activated
586
+ on >= 1.0.0
582
587
 
583
588
  ## [0.8.0]
584
589
 
@@ -589,7 +594,6 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
589
594
  * Fixed checks for file content
590
595
  * Fixed selectors for DebugProcess and InProcess to support sub-classes as well
591
596
 
592
-
593
597
  ## [0.8.0.pre3]
594
598
 
595
599
  * Depend on cucumber 1.3.x for compatibility on ruby 1.8.7
@@ -606,7 +610,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
606
610
  * Added checks for version of `rspec-expectations` to support older `rspec`
607
611
  versions like `2.11`
608
612
  * Now each `path/to/dir` pushed to `aruba.current_directory` is `pop`ed as whole
609
- * Make testing of `aruba.current_directory` easier by supporting `end_with?` and `start_with?`
613
+ * Make testing of `aruba.current_directory` easier by supporting `end_with?`
614
+ and `start_with?`
610
615
 
611
616
  ## [0.8.0.pre2]
612
617
 
@@ -626,17 +631,21 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
626
631
  * Cleanup API by moving deprecated methods to separate class
627
632
  * Cleanup Core API - reduced to `cd`, `expand_path`, `setup_aruba` and use
628
633
  `expand_path` wherever possible ([#253])
629
- * Better isolation for environment variable manipulation - really helpful from 1.0.0 on
634
+ * Better isolation for environment variable manipulation - really helpful from
635
+ 1.0.0 on
630
636
  * Move configuration files like `jruby.rb` to `aruba/config/`-directory
631
- * Change default exit timeout to 15 seconds to work around long running processes on travis
637
+ * Change default exit timeout to 15 seconds to work around long running
638
+ processes on travis
632
639
  * Use of instance variables like `@aruba_timeout_seconds` or
633
640
  `@aruba_io_wait_seconds` are deprecated.
634
641
  Use `Aruba.configure do |config| config.exit_timeout = 10` etc. for this.
635
642
 
636
643
  ## [0.7.4]
644
+
637
645
  * Really Fixed post install message
638
646
 
639
647
  ## [0.7.3]
648
+
640
649
  * Fixed post install message
641
650
 
642
651
  ## [0.7.2]
@@ -651,7 +660,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
651
660
 
652
661
  * Introducing `root_directory` ([#232])
653
662
  * Introducing fixtures directory ([#224])
654
- * Make sure a file/directory does not exist + Cleanup named file/directory steps ([#234])
663
+ * Make sure a file/directory does not exist + Cleanup named file/directory
664
+ steps ([#234])
655
665
  * Make matcher `have_permisions` public and add documentation ([#239])
656
666
  * Added matcher for file content ([#238])
657
667
  * Add rspec integrator ([#244])
@@ -660,7 +670,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
660
670
  * Cleanup process management ([#257])
661
671
  * Make path content available through matchers and api metchods ([#250])
662
672
  * Refactor announcer to support user defined announce channels (fixes [#267])
663
- * `InProcess` requires that the working directory is determined on runtime not no loadtime
673
+ * `InProcess` requires that the working directory is determined on runtime not
674
+ no loadtime
664
675
 
665
676
  ## [0.6.2]
666
677
 
@@ -693,7 +704,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
693
704
 
694
705
  ## [0.5.2]
695
706
 
696
- * Plugin API for greater speed. Test Ruby CLI programs in a single Ruby process ([#148], [aslakhellesoy])
707
+ * Plugin API for greater speed. Test Ruby CLI programs in a single Ruby process
708
+ ([#148], [aslakhellesoy])
697
709
  * Fix memory leak when several commands are executed in a single run ([#144], [y-higuchi])
698
710
 
699
711
  ## [0.5.1]
@@ -705,7 +717,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
705
717
 
706
718
  * Add `#with_file_content` to the DSL ([#110], [argent-smith])
707
719
  * Make JRuby performance tweaks optional ([#102], [taylor], [#125], [alindeman])
708
- * Add `assert_partial_output_interactive` so you can peek at the output from a running process ([#104], [taylor])
720
+ * Add `assert_partial_output_interactive` so you can peek at the output from a
721
+ running process ([#104], [taylor])
709
722
  * Add `assert_not_matching_output` ([#111], [argent-smith])
710
723
  * Add `remove_dir` ([#121], [LTe])
711
724
 
@@ -728,7 +741,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
728
741
 
729
742
  * Add `before_run` hook ([mattwynne])
730
743
  * Add JRuby performance tweaks ([#93], [myronmarston], [mattwynne])
731
- * Invalid/Corrupt spec file for 0.4.7 - undefined method call for nil:Nilclass ([#47], [aslakhellesoy])
744
+ * Invalid/Corrupt spec file for 0.4.7 - undefined method call for nil:Nilclass
745
+ ([#47], [aslakhellesoy])
732
746
 
733
747
  ## [0.4.7]
734
748
 
@@ -814,7 +828,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
814
828
 
815
829
  * Remove latency introduced in the 0.2.8 release ([#42], [msassak])
816
830
  * New stepdef `Then /^the stdout should contain:$/ do |partial_output|` ([aslakhellesoy])
817
- * Quotes (") and newline (\n) in step arguments no longer need to be backslash-escaped. ([aslakhellesoy])
831
+ * Quotes (") and newline (\n) in step arguments no longer need to be
832
+ backslash-escaped. ([aslakhellesoy])
818
833
 
819
834
  ## [0.2.8]
820
835
 
@@ -867,11 +882,13 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
867
882
 
868
883
  * Added a @bin tag that sets up './bin' first on the path ([aslakhellesoy])
869
884
  * Richer API making aruba easier to use from Ruby code. (Mark Nijhof, [aslakhellesoy])
870
- * No more support for RVM. Use rvm 1.9.2,1.8.7 exec cucumber .... instead. (Mark Nijhof, [aslakhellesoy])
885
+ * No more support for RVM. Use rvm 1.9.2,1.8.7 exec cucumber .... instead.
886
+ (Mark Nijhof, [aslakhellesoy])
871
887
 
872
888
  ## [0.2.1]
873
889
 
874
- * Always compare with RSpec should =~ instead of should match. This gives a diff when there is no match. ([aslakhellesoy])
890
+ * Always compare with RSpec should =~ instead of should match. This gives a
891
+ diff when there is no match. ([aslakhellesoy])
875
892
 
876
893
  ## [0.2.0]
877
894
 
@@ -914,7 +931,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
914
931
 
915
932
  ## [0.1.7]
916
933
 
917
- * New @announce-stderr tag ([robertwahler])
934
+ * New `@announce-stderr` tag ([robertwahler])
918
935
  * New "I should see matching" steps using Regexp ([robertwahler])
919
936
 
920
937
  ## [0.1.6]
@@ -925,12 +942,14 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
925
942
 
926
943
  ## [0.1.5]
927
944
 
928
- * Added ability to map rvm versions to a specific version with config/aruba-rvm.yml. ([aslakhellesoy])
945
+ * Added ability to map rvm versions to a specific version with
946
+ config/aruba-rvm.yml. ([aslakhellesoy])
929
947
  * Check for presence of files. ([aslakhellesoy])
930
948
  * Allow specification of rvm gemsets. ([aslakhellesoy])
931
949
  * Detect ruby commands and use current ruby when rvm is not explicitly used. ([aslakhellesoy])
932
950
  * Added support for rvm, making it possible to choose Ruby interpreter. ([aslakhellesoy])
933
- * Added @announce-cmd, @announce-stdout and @announce tags, useful for seeing what's executed and outputted. ([aslakhellesoy])
951
+ * Added `@announce-cmd`, `@announce-stdout` and `@announce` tags, useful for seeing
952
+ what's executed and outputted. ([aslakhellesoy])
934
953
 
935
954
  ## [0.1.4]
936
955
 
@@ -942,7 +961,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
942
961
 
943
962
  ## [0.1.2]
944
963
 
945
- * Separated API from Cucumber step definitions, makes this usable without Cucumber. ([aslakhellesoy])
964
+ * Separated API from Cucumber step definitions, makes this usable without
965
+ Cucumber. ([aslakhellesoy])
946
966
 
947
967
  ## [0.1.1]
948
968
 
@@ -1002,8 +1022,13 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
1002
1022
  [xtrasimplicity]: https://github.com/xtrasimplicity
1003
1023
  [y-higuchi]: https://github.com/y-higuchi
1004
1024
 
1025
+ <!-- bots -->
1026
+
1027
+ [dependabot]: https://github.com/apps/dependabot
1028
+
1005
1029
  <!-- issues & pull requests -->
1006
1030
 
1031
+ [#870]: https://github.com/cucumber/aruba/pull/870
1007
1032
  [#867]: https://github.com/cucumber/aruba/pull/867
1008
1033
  [#858]: https://github.com/cucumber/aruba/pull/858
1009
1034
  [#856]: https://github.com/cucumber/aruba/pull/856
@@ -1312,7 +1337,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
1312
1337
 
1313
1338
  <!-- Releases -->
1314
1339
 
1315
- [Unreleased]: https://github.com/cucumber/aruba/compare/v2.0.1...main
1340
+ [Unreleased]: https://github.com/cucumber/aruba/compare/v2.1.0...main
1341
+ [2.1.0]: https://github.com/cucumber/aruba/compare/v2.0.1...v2.1.0
1316
1342
  [2.0.1]: https://github.com/cucumber/aruba/compare/v2.0.0...v2.0.1
1317
1343
  [2.0.0]: https://github.com/cucumber/aruba/compare/v1.1.2...v2.0.0
1318
1344
  [1.1.2]: https://github.com/cucumber/aruba/compare/v1.1.1...v1.1.2
data/README.md CHANGED
@@ -40,7 +40,8 @@ information about how to write feature files in Gherkin.
40
40
 
41
41
  * **RSpec**:
42
42
 
43
- If you want to use Aruba with RSpec and you need some information about how to use RSpec, please visit [their website](http://rspec.info/documentation/).
43
+ If you want to use Aruba with RSpec and you need some information about how
44
+ to use RSpec, please visit [their website](http://rspec.info/documentation/).
44
45
 
45
46
  * **minitest**:
46
47
 
@@ -76,12 +77,12 @@ bump.
76
77
 
77
78
  ## Supported Ruby versions
78
79
 
79
- Aruba is supported on Ruby 2.5 and up, and tested against CRuby 2.5, 2.6, 2.7, 3.0 and
80
- 3.1, and JRuby 9.2 and 9.2.
80
+ Aruba is supported on Ruby 2.5 and up, and tested against CRuby 2.5, 2.6, 2.7,
81
+ 3.0 and 3.1, and JRuby 9.2 and 9.2.
81
82
 
82
83
  ## Supported Cucumber versions
83
84
 
84
- Aruba is supported on and tested with Cucumber versions 4 through 7.
85
+ Aruba is supported on and tested with Cucumber versions 4 through 8.
85
86
 
86
87
  ## Supported operating systems
87
88
 
@@ -100,7 +100,7 @@ module Aruba
100
100
  end
101
101
 
102
102
  def require_matching_files(pattern, base)
103
- ::Dir.glob(::File.expand_path(pattern, base)).each { |f| require_relative f }
103
+ ::Dir.glob(::File.expand_path(pattern, base)).sort.each { |f| require_relative f }
104
104
  end
105
105
 
106
106
  # Create directory and subdirectories
data/lib/aruba/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Aruba
2
- VERSION = "2.0.1".freeze
2
+ VERSION = "2.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aruba
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy, Matt Wynne and other Aruba Contributors
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-23 00:00:00.000000000 Z
11
+ date: 2022-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,7 +79,7 @@ dependencies:
79
79
  version: '4.0'
80
80
  - - "<"
81
81
  - !ruby/object:Gem::Version
82
- version: '8.0'
82
+ version: '9.0'
83
83
  type: :runtime
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '4.0'
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
- version: '8.0'
92
+ version: '9.0'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: rspec-expectations
95
95
  requirement: !ruby/object:Gem::Requirement
@@ -263,6 +263,9 @@ dependencies:
263
263
  - - "~>"
264
264
  - !ruby/object:Gem::Version
265
265
  version: '1.28'
266
+ - - "!="
267
+ - !ruby/object:Gem::Version
268
+ version: 1.29.0
266
269
  type: :development
267
270
  prerelease: false
268
271
  version_requirements: !ruby/object:Gem::Requirement
@@ -270,6 +273,9 @@ dependencies:
270
273
  - - "~>"
271
274
  - !ruby/object:Gem::Version
272
275
  version: '1.28'
276
+ - - "!="
277
+ - !ruby/object:Gem::Version
278
+ version: 1.29.0
273
279
  - !ruby/object:Gem::Dependency
274
280
  name: rubocop-packaging
275
281
  requirement: !ruby/object:Gem::Requirement
@@ -490,5 +496,5 @@ requirements: []
490
496
  rubygems_version: 3.3.7
491
497
  signing_key:
492
498
  specification_version: 4
493
- summary: aruba-2.0.1
499
+ summary: aruba-2.1.0
494
500
  test_files: []