dictum 0.0.6 → 0.0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.travis.yml +0 -1
- data/Gemfile +2 -2
- data/dictum.gemspec +1 -1
- data/lib/dictum/markdown_writer.rb +4 -3
- data/lib/dictum/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a02ebef46c17074054a5eb070123e848b6cbf5a
|
4
|
+
data.tar.gz: 78f159c2ff53aa9a551b1e09e29e3b25d5cc47ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f41ea433b442874c36f3802921a0208884cbf9003db0a2079f505091ea042de69b1b1836ab76e162c40d050af069b65fb08d08c100485e9e6fdb94e98cbabf6e
|
7
|
+
data.tar.gz: 3c5529f00b851bc451d3e068532440c0311c475c08662edba53ab59cc127e62e7c110c0d327cebbcda4f2570a19547d67bfba1f2a4584bb6514eb22ccb9eae40
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,10 +3,10 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in crf.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
gem 'rake', '~> 12.0'
|
7
6
|
gem 'json', '~> 2.0'
|
7
|
+
gem 'rake', '~> 12.0'
|
8
8
|
|
9
9
|
group :test do
|
10
|
-
gem 'simplecov'
|
11
10
|
gem 'codeclimate-test-reporter', '~> 1.0.0'
|
11
|
+
gem 'simplecov'
|
12
12
|
end
|
data/dictum.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec)/})
|
21
21
|
|
22
|
-
spec.add_dependency 'nokogiri', '
|
22
|
+
spec.add_dependency 'nokogiri', '>= 1.3.3'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', '>= 1.3.0', '< 2.0'
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
|
@@ -38,11 +38,12 @@ module Dictum
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
# rubocop:disable AbcSize
|
41
42
|
def write_error_codes
|
42
43
|
return if error_codes.empty?
|
43
|
-
output_file.puts
|
44
|
-
output_file.puts
|
45
|
-
output_file.puts
|
44
|
+
output_file.puts '# Error codes'
|
45
|
+
output_file.puts '|Code|Message|Description|'
|
46
|
+
output_file.puts '|----|----|----|'
|
46
47
|
error_codes.each do |error|
|
47
48
|
output_file.puts "|#{error['code']}|#{error['message']}|#{error['description']}|"
|
48
49
|
end
|
data/lib/dictum/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dictum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6
|
4
|
+
version: 0.0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alejandro Bezdjian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.3.3
|
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:
|
26
|
+
version: 1.3.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|