pdd 0.19.3 → 0.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +1 -0
- data/.rultor.yml +1 -1
- data/features/cli.feature +2 -1
- data/lib/pdd/source.rb +1 -1
- data/lib/pdd/version.rb +1 -1
- data/test/test_source.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 591f154e5e4d10fdcf8080942949a889f4cc363e
|
4
|
+
data.tar.gz: 58aa84a97b3fb7186de6bdc1850d164b76033fef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8591b8649a80fce2ca0e0e60873e51efb1d764bdda777803edf96e48caafb5b080db20101d16e7c6f2eeec3405a1e13a1c722d061ce8694ba3ea157dbfe8063d
|
7
|
+
data.tar.gz: 585ac5d31458ae955437d826161e1b9af4048b3617fbf055d1ac2cd7796f1b942dd528dc86cf5d49fd9a06049e87c29b95b6e781efb1cc0d254e4952c06b8a4c
|
data/.gitattributes
CHANGED
data/.rultor.yml
CHANGED
data/features/cli.feature
CHANGED
@@ -16,7 +16,7 @@ Feature: Command Line Processing
|
|
16
16
|
"""
|
17
17
|
public class Main {
|
18
18
|
/**
|
19
|
-
* @todo #13 Let's do it later, dude
|
19
|
+
* @todo #13 Привет, Let's do it later, dude
|
20
20
|
* or maybe even never :)
|
21
21
|
*/
|
22
22
|
public void main(String[] args) {
|
@@ -28,6 +28,7 @@ Feature: Command Line Processing
|
|
28
28
|
Then Exit code is zero
|
29
29
|
And Stdout contains "Reading ."
|
30
30
|
And XML file "out.xml" matches "/puzzles[count(puzzle)=1]"
|
31
|
+
And XML file "out.xml" matches "//puzzle[starts-with(body,'Привет, Let')]"
|
31
32
|
|
32
33
|
Scenario: Using basic rules
|
33
34
|
Given I have a "sample.java" file with content:
|
data/lib/pdd/source.rb
CHANGED
data/lib/pdd/version.rb
CHANGED
data/test/test_source.rb
CHANGED
@@ -34,7 +34,7 @@ class TestSource < Minitest::Test
|
|
34
34
|
File.write(
|
35
35
|
file,
|
36
36
|
"
|
37
|
-
* \x40todo #44
|
37
|
+
* \x40todo #44 привет,
|
38
38
|
* how are you\t\r\tdoing?
|
39
39
|
* -something else
|
40
40
|
Something else
|
@@ -46,7 +46,7 @@ class TestSource < Minitest::Test
|
|
46
46
|
assert_equal 2, list.size
|
47
47
|
puzzle = list.first
|
48
48
|
assert_equal '2-3', puzzle.props[:lines]
|
49
|
-
assert_equal '
|
49
|
+
assert_equal 'привет, how are you doing?', puzzle.props[:body]
|
50
50
|
assert_equal '44', puzzle.props[:ticket]
|
51
51
|
assert puzzle.props[:author].nil?
|
52
52
|
assert puzzle.props[:email].nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|