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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7497e8af6c6c8ca44b6d22efcc8d35c2e7fdced
4
- data.tar.gz: 4035ae72c64eeb23ba13ca9e6cceca97750f889f
3
+ metadata.gz: 6a02ebef46c17074054a5eb070123e848b6cbf5a
4
+ data.tar.gz: 78f159c2ff53aa9a551b1e09e29e3b25d5cc47ce
5
5
  SHA512:
6
- metadata.gz: ba691003c2487a7871b7a2ce6af0782bb1b8655a22adddbb25fe33eba196fb4d3dc8905b291cf6dfd12781fd3c1a57adc92d2161940582fbc276c099f347bdeb
7
- data.tar.gz: 42c8d20e80ca2b825e87812d208800a0406f863d255cb4ddc4d3f1646cd131bb949f51846901d361c2b1be7369a1f20357c3b9c5d666f7863c4a6ea65363f32e
6
+ metadata.gz: f41ea433b442874c36f3802921a0208884cbf9003db0a2079f505091ea042de69b1b1836ab76e162c40d050af069b65fb08d08c100485e9e6fdb94e98cbabf6e
7
+ data.tar.gz: 3c5529f00b851bc451d3e068532440c0311c475c08662edba53ab59cc127e62e7c110c0d327cebbcda4f2570a19547d67bfba1f2a4584bb6514eb22ccb9eae40
@@ -15,3 +15,6 @@ FrozenStringLiteralComment:
15
15
 
16
16
  Metrics/AbcSize:
17
17
  Max: 15.3
18
+
19
+ Metrics/BlockLength:
20
+ Enabled: false
@@ -1,6 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
3
  - 2.1
5
4
  - 2.2
6
5
  - 2.2.4
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
@@ -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', '~> 1.7'
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 "# Error codes"
44
- output_file.puts "|Code|Message|Description|"
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
@@ -1,3 +1,3 @@
1
1
  module Dictum
2
- VERSION = '0.0.6'.freeze
2
+ VERSION = '0.0.6.1'.freeze
3
3
  end
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-03 00:00:00.000000000 Z
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: '1.7'
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: '1.7'
26
+ version: 1.3.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement