macros4cuke 0.5.16 → 0.5.18
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 +5 -5
- data/CHANGELOG.md +7 -0
- data/Gemfile +3 -4
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/Rakefile +22 -23
- data/lib/macros4cuke/constants.rb +1 -1
- data/spec/spec_helper.rb +0 -4
- metadata +19 -25
- data/.ruby-version +0 -1
- data/.simplecov +0 -7
- data/.travis.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9bf88962dc10b98f14f88a1ff593a125d5426723614dc71bc2432622b0c1d453
|
4
|
+
data.tar.gz: 205e4b4e8f61c7e00d2e52f85e7bf9f69633e2bf635513c6161322973119f02c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17c007ef608ad1f4a1e43dd4d795f37a0a90228816569798c57964536421cd63ba97cae55ac024760401a0502e6849a42860c15a749a9f7b835060a26108fbe5
|
7
|
+
data.tar.gz: 67e5cbd282794abd2addfa52e2122296f523bdb1ceba4dbb3d2903b4614b36f233b5af52c3903ade58693a729afce6affbc8c2f23e9dd41529b6c54615aa4f7c
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -558,4 +558,4 @@ Macros with Cucumber is a hot topic, so it is good to know what other people say
|
|
558
558
|
|
559
559
|
Copyright
|
560
560
|
---------
|
561
|
-
Copyright (c) 2014-
|
561
|
+
Copyright (c) 2014-2025, Dimitri Geshef. Macros4Cuke is released under the MIT License see [LICENSE.txt](https://github.com/famished-tiger/Macros4Cuke/blob/master/LICENSE.txt) for details.
|
data/Rakefile
CHANGED
@@ -12,28 +12,29 @@ end # namespace
|
|
12
12
|
|
13
13
|
# Cucumber as testing tool
|
14
14
|
require 'cucumber/rake/task'
|
15
|
+
Cucumber::Rake::Task.new(:cucumber)
|
15
16
|
# UGLY workaround for bug in Cucumber's rake task
|
16
|
-
if Gem::VERSION[0].to_i >= 2 && Cucumber::VERSION <= '1.3.2'
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
end
|
34
|
-
|
35
|
-
Cucumber::Rake::Task.new do |_|
|
36
|
-
end
|
17
|
+
# if Gem::VERSION[0].to_i >= 2 && Cucumber::VERSION <= '1.3.2'
|
18
|
+
# # Monkey-patch a buggy method
|
19
|
+
# module Cucumber
|
20
|
+
# module Rake
|
21
|
+
# class Task
|
22
|
+
# class ForkedCucumberRunner
|
23
|
+
# def gem_available?(gemname)
|
24
|
+
# if Gem::VERSION[0].to_i >= 2
|
25
|
+
# gem_available_new_rubygems?(gemname)
|
26
|
+
# else
|
27
|
+
# gem_available_old_rubygems?(gemname)
|
28
|
+
# end
|
29
|
+
# end
|
30
|
+
# end # class
|
31
|
+
# end # class
|
32
|
+
# end # module
|
33
|
+
# end # module
|
34
|
+
# end
|
35
|
+
|
36
|
+
# Cucumber::Rake::Task.new do |_|
|
37
|
+
# end
|
37
38
|
|
38
39
|
# RSpec as testing tool
|
39
40
|
require 'rspec/core/rake_task'
|
@@ -42,12 +43,10 @@ RSpec::Core::RakeTask.new do |spec|
|
|
42
43
|
spec.pattern = 'spec/**/*_spec.rb'
|
43
44
|
end
|
44
45
|
|
45
|
-
|
46
46
|
# Combine RSpec and Cucumber tests
|
47
47
|
desc 'Run tests, with RSpec and Cucumber'
|
48
48
|
task test: %i[spec cucumber]
|
49
49
|
|
50
|
-
|
51
50
|
# Default rake task
|
52
51
|
task default: :test
|
53
52
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
# File: spec_helper.rb
|
2
2
|
# Purpose: utility file that is loaded by all our RSpec files
|
3
3
|
|
4
|
-
require 'simplecov'
|
5
|
-
|
6
|
-
|
7
4
|
require 'rspec' # Use the RSpec framework
|
8
5
|
require 'pp' # Use pretty-print for debugging purposes
|
9
6
|
|
@@ -17,5 +14,4 @@ RSpec.configure do |config|
|
|
17
14
|
config.full_backtrace = true
|
18
15
|
end
|
19
16
|
|
20
|
-
|
21
17
|
# End of file
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: macros4cuke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Geshef
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-17 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: cucumber
|
@@ -16,56 +15,56 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
18
|
+
version: '9.0'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
25
|
+
version: '9.0'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rake
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
|
-
- - "
|
30
|
+
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
32
|
+
version: 13.1.0
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
|
-
- - "
|
37
|
+
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
39
|
+
version: 13.1.0
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: rspec
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
|
-
- - "
|
44
|
+
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.
|
46
|
+
version: '3.12'
|
48
47
|
type: :development
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
|
-
- - "
|
51
|
+
- - "~>"
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.
|
53
|
+
version: '3.12'
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
55
|
+
name: yard
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
|
-
- - "
|
58
|
+
- - "~>"
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
60
|
+
version: 0.9.34
|
62
61
|
type: :development
|
63
62
|
prerelease: false
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
65
64
|
requirements:
|
66
|
-
- - "
|
65
|
+
- - "~>"
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
67
|
+
version: 0.9.34
|
69
68
|
description: Expand Cucumber with macro-steps.
|
70
69
|
email: famished.tiger@yahoo.com
|
71
70
|
executables:
|
@@ -77,9 +76,6 @@ files:
|
|
77
76
|
- ".rspec"
|
78
77
|
- ".rubocop.yml"
|
79
78
|
- ".ruby-gemset"
|
80
|
-
- ".ruby-version"
|
81
|
-
- ".simplecov"
|
82
|
-
- ".travis.yml"
|
83
79
|
- ".yardopts"
|
84
80
|
- CHANGELOG.md
|
85
81
|
- Gemfile
|
@@ -182,16 +178,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
178
|
requirements:
|
183
179
|
- - ">="
|
184
180
|
- !ruby/object:Gem::Version
|
185
|
-
version: 2.0
|
181
|
+
version: 3.2.0
|
186
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
183
|
requirements:
|
188
184
|
- - ">="
|
189
185
|
- !ruby/object:Gem::Version
|
190
186
|
version: '0'
|
191
187
|
requirements: []
|
192
|
-
|
193
|
-
rubygems_version: 2.6.13
|
194
|
-
signing_key:
|
188
|
+
rubygems_version: 3.6.2
|
195
189
|
specification_version: 4
|
196
190
|
summary: Add your own macro-steps to Cucumber scenarios
|
197
191
|
test_files:
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.2.0
|
data/.simplecov
DELETED
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.6.0
|
4
|
-
- 2.5.3
|
5
|
-
- 2.4.5
|
6
|
-
- 2.3.8
|
7
|
-
- 2.2.10
|
8
|
-
- 2.1.10
|
9
|
-
- 2.0.0-p648
|
10
|
-
- ruby-head
|
11
|
-
- jruby-9.1.9.0
|
12
|
-
- jruby-head
|
13
|
-
matrix:
|
14
|
-
allow_failures:
|
15
|
-
- rvm: ruby-head
|
16
|
-
- rvm: jruby-head
|
17
|
-
|
18
|
-
gemfile:
|
19
|
-
- Gemfile
|
20
|
-
|
21
|
-
# whitelist
|
22
|
-
branches:
|
23
|
-
only:
|
24
|
-
- master
|