pdd 0.14.2 → 0.14.3
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/.gitattributes +7 -0
- data/.rultor.yml +1 -2
- data/lib/pdd/source.rb +4 -4
- data/lib/pdd/version.rb +1 -1
- metadata +3 -2
data/.gitattributes
ADDED
data/.rultor.yml
CHANGED
data/lib/pdd/source.rb
CHANGED
@@ -42,12 +42,12 @@ module PDD
|
|
42
42
|
puzzles = []
|
43
43
|
lines = File.readlines(@file)
|
44
44
|
lines.each_with_index do |line, idx|
|
45
|
-
|
46
|
-
|
45
|
+
begin
|
46
|
+
re.match(line) do |match|
|
47
47
|
puzzles << puzzle(lines.drop(idx + 1), match, idx)
|
48
|
-
rescue Error => ex
|
49
|
-
raise Error, "#{ex.message} in line ##{idx}"
|
50
48
|
end
|
49
|
+
rescue Error => ex
|
50
|
+
raise Error, "#{ex.message} in line ##{idx} of #{@path}"
|
51
51
|
end
|
52
52
|
/(.*(?:^|\s))@todo\s+#([\w\-\.:\/]+)/
|
53
53
|
end
|
data/lib/pdd/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -197,6 +197,7 @@ extra_rdoc_files:
|
|
197
197
|
- LICENSE.txt
|
198
198
|
files:
|
199
199
|
- .coveralls.yml
|
200
|
+
- .gitattributes
|
200
201
|
- .gitignore
|
201
202
|
- .rubocop.yml
|
202
203
|
- .rultor.yml
|