jruby-rcov 0.8.2.3-java → 0.8.2.4-java
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.
- data/lib/rcov/version.rb +2 -2
- data/lib/rcov.rb +10 -10
- metadata +3 -2
data/lib/rcov/version.rb
CHANGED
data/lib/rcov.rb
CHANGED
|
@@ -189,13 +189,15 @@ class FileStatistics
|
|
|
189
189
|
# very conservative, doesn't consider the last delimited string but
|
|
190
190
|
# only the very first one
|
|
191
191
|
if md = /^[^#]*%(?:[qQ])?(.)/.match(line)
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
192
|
+
if !/"%"/.match(line)
|
|
193
|
+
wanted_delimiter = /(?!\\).#{Regexp.escape(matching_delimiters[md[1]])}/
|
|
194
|
+
# check if closed on the very same line
|
|
195
|
+
# conservative again, we might have several quoted strings with the
|
|
196
|
+
# same delimiter on the same line, leaving the last one open
|
|
197
|
+
unless wanted_delimiter.match(md.post_match)
|
|
198
|
+
state = :want_end_delimiter
|
|
199
|
+
string_begin_line = i
|
|
200
|
+
end
|
|
199
201
|
end
|
|
200
202
|
end
|
|
201
203
|
when :want_end_delimiter
|
|
@@ -985,6 +987,4 @@ class CallSiteAnalyzer < DifferentialAnalyzer
|
|
|
985
987
|
|
|
986
988
|
end
|
|
987
989
|
|
|
988
|
-
end
|
|
989
|
-
|
|
990
|
-
# vi: set sw=2:
|
|
990
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jruby-rcov
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.2.
|
|
4
|
+
version: 0.8.2.4
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Mauricio Fernandez
|
|
@@ -62,6 +62,7 @@ files:
|
|
|
62
62
|
- lib/rcovrt.jar
|
|
63
63
|
has_rdoc: true
|
|
64
64
|
homepage: http://github.com/spicycode/rcov
|
|
65
|
+
licenses:
|
|
65
66
|
post_install_message:
|
|
66
67
|
rdoc_options:
|
|
67
68
|
- --main
|
|
@@ -85,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
85
86
|
requirements: []
|
|
86
87
|
|
|
87
88
|
rubyforge_project:
|
|
88
|
-
rubygems_version: 1.
|
|
89
|
+
rubygems_version: 1.3.5
|
|
89
90
|
signing_key:
|
|
90
91
|
specification_version: 1
|
|
91
92
|
summary: Code coverage analysis tool for Ruby
|