pdd 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7ef704807336354c2b18ae0a1e51a9f8d2c61f3
4
- data.tar.gz: 979d2e3d818fbb286924e531e63ca3f5c3352700
3
+ metadata.gz: 75cce19eefa63c0e1a507358b485296cee464123
4
+ data.tar.gz: 2f698aeb753aec46f9a6ba45fc8772d008087aa4
5
5
  SHA512:
6
- metadata.gz: a979dbcb3060673a3239b362a57619fa1da351cb65d0f4aceb3bc5c196f67c3fc8d6bb40141f8b473ea76373383b4377d56afd259752390fe157e78334a33d9e
7
- data.tar.gz: d239b57d52adf4314faee54be9fbb7582e483e2390881b62e3ae983a3b8f4a1ead33c753c52e433559d408c865a78397354fdf057558f035612987b2bc5fc6e9
6
+ metadata.gz: c84fedfd74ae902185d6f477c032aa4e19a959a61c9d6e0126d4ad852e94628684ca581ded77023077c25076905115b24e32c3706f425a020056692923f0c68f
7
+ data.tar.gz: 5a14dc3f31ac80c0fef91deef56d347866e593948885a98adce498bbd63c97196b5656a138acafdef8d23d41e37fffa9a70036b7beaf01ccf44d63f6762b5508
data/.travis.yml CHANGED
@@ -1,4 +1,6 @@
1
1
  language: ruby
2
+ rvm:
3
+ - 2.0.0
2
4
  cache: bundler
3
5
  branches:
4
6
  only:
data/lib/pdd/source.rb CHANGED
@@ -51,7 +51,7 @@ module PDD
51
51
  end
52
52
  end
53
53
  lines.each_with_index do |line, idx|
54
- fail Error, "Suspicious TODO in line ##{idx}" \
54
+ fail Error, "@todo found, but puzzle can't be parsed in line ##{idx}" \
55
55
  if /.*(^|\s)@todo\s+[^#]/.match(line)
56
56
  end
57
57
  puzzles
data/lib/pdd/version.rb CHANGED
@@ -26,5 +26,5 @@
26
26
  # Copyright:: Copyright (c) 2014 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  module PDD
29
- VERSION = '0.15.1'
29
+ VERSION = '0.15.2'
30
30
  end
data/pdd.gemspec CHANGED
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
45
45
  s.test_files = s.files.grep(/^(test|spec|features)\//)
46
46
  s.rdoc_options = ['--charset=UTF-8']
47
47
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
48
- s.add_runtime_dependency 'nokogiri', '1.6.6.4'
48
+ s.add_runtime_dependency 'nokogiri', '1.6.7'
49
49
  s.add_runtime_dependency 'ruby-filemagic', '0.7.1'
50
50
  s.add_runtime_dependency 'slop', '3.6.0'
51
51
  s.add_runtime_dependency 'rake', '10.4.2'
data/test/test_source.rb CHANGED
@@ -82,7 +82,7 @@ class TestSources < Minitest::Test
82
82
  error = assert_raises PDD::Error do
83
83
  PDD::VerboseSource.new(file, PDD::Source.new(file, 'ff')).puzzles
84
84
  end
85
- assert !error.to_s.index('Suspicious TODO').nil?
85
+ assert !error.to_s.index('can\'t be parsed').nil?
86
86
  end
87
87
  end
88
88
 
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.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-26 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.6.6.4
19
+ version: 1.6.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.6.6.4
26
+ version: 1.6.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-filemagic
29
29
  requirement: !ruby/object:Gem::Requirement