cucumber-cucumber-expressions 10.2.1 → 10.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/default.mk +12 -0
- data/examples.txt +4 -0
- data/lib/cucumber/cucumber_expressions/parameter_type_matcher.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f6e54987a67d95d7c35141dc8956493e6296d510030350c5faafaa616a80c75
|
4
|
+
data.tar.gz: c52783e660007e7c9229566a9ccc2e3a790ae30bd9305fb3a6a4549fd5b6ca2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0e349576811fa2fa0c99b7461d020dc8b0dc4320e0cfead5adc3fddd237c2a3b99b1d6c85729ee5d05c9d1b0fd74b89553b381da514c149fe62bb7d7b813a27
|
7
|
+
data.tar.gz: 47b74fb77924ee62e500a526094f57057bc1b1d997d1944c4559115ddc36febe3f36dcd71730458ee1285c30879b6997570bf7a31d411dd56cedda4c99ffc635
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.2.
|
1
|
+
10.2.2
|
data/default.mk
CHANGED
@@ -3,6 +3,10 @@ RUBY_SOURCE_FILES = $(shell find . -name "*.rb")
|
|
3
3
|
GEMSPEC = $(shell find . -name "*.gemspec")
|
4
4
|
LIBNAME := $(shell basename $$(dirname $$(pwd)))
|
5
5
|
GEM := cucumber-$(LIBNAME)-$(NEW_VERSION).gem
|
6
|
+
IS_TESTDATA = $(findstring -testdata,${CURDIR})
|
7
|
+
|
8
|
+
# https://stackoverflow.com/questions/2483182/recursive-wildcards-in-gnu-make
|
9
|
+
rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
|
6
10
|
|
7
11
|
default: .tested
|
8
12
|
.PHONY: default
|
@@ -45,17 +49,25 @@ pre-release: remove-local-dependencies update-version update-dependencies gem
|
|
45
49
|
.PHONY: pre-release
|
46
50
|
|
47
51
|
update-version:
|
52
|
+
ifeq ($(IS_TESTDATA),-testdata)
|
53
|
+
# no-op
|
54
|
+
else
|
48
55
|
ifdef NEW_VERSION
|
49
56
|
@echo "$(NEW_VERSION)" > VERSION
|
50
57
|
endif
|
58
|
+
endif
|
51
59
|
.PHONY: update-version
|
52
60
|
|
53
61
|
publish: gem
|
62
|
+
ifeq ($(IS_TESTDATA),-testdata)
|
63
|
+
# no-op
|
64
|
+
else
|
54
65
|
ifneq (,$(GEMSPEC))
|
55
66
|
gem push $(GEM)
|
56
67
|
else
|
57
68
|
@echo "Not publishing because there is no gemspec"
|
58
69
|
endif
|
70
|
+
endif
|
59
71
|
.PHONY: publish
|
60
72
|
|
61
73
|
post-release:
|
data/examples.txt
CHANGED
@@ -47,12 +47,12 @@ module Cucumber
|
|
47
47
|
|
48
48
|
def space_before_match_or_sentence_start?
|
49
49
|
match_begin = @match.begin(0)
|
50
|
-
match_begin == 0 || @text[match_begin - 1].match(/\
|
50
|
+
match_begin == 0 || @text[match_begin - 1].match(/\p{Z}|\p{P}|\p{S}/)
|
51
51
|
end
|
52
52
|
|
53
53
|
def space_after_match_or_sentence_end?
|
54
54
|
match_end = @match.end(0)
|
55
|
-
match_end == @text.length || @text[match_end].match(/\
|
55
|
+
match_end == @text.length || @text[match_end].match(/\p{Z}|\p{P}|\p{S}/)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-cucumber-expressions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.2.
|
4
|
+
version: 10.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -126,7 +126,7 @@ requirements: []
|
|
126
126
|
rubygems_version: 3.1.2
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
|
-
summary: cucumber-expressions-10.2.
|
129
|
+
summary: cucumber-expressions-10.2.2
|
130
130
|
test_files:
|
131
131
|
- spec/capture_warnings.rb
|
132
132
|
- spec/cucumber/cucumber_expressions/argument_spec.rb
|