iceland 0.1.6 → 0.1.7

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: 7aeeb8d45cf091b11ea47c3c59a3064a16756cff
4
- data.tar.gz: 664144f6cc5bea4396f0b3f23065565514d7900e
3
+ metadata.gz: 180fb1b19052e02b58dbf01c7436161b5eedf6ac
4
+ data.tar.gz: 8c81ab51a7de369e4b67f4aeea9ea92a09d0d0d8
5
5
  SHA512:
6
- metadata.gz: 4a725e31aa8974adbd4dd2a18261b109ba5aeb11c0ace967de7042b1e7aff41536f6c2e72e3333f064b01b45d9871908223dab820ec9bdf2f9bbf06769fa703d
7
- data.tar.gz: f5da6517b2ba39c83b850a6c806a6db1bfdb992d7a2dddc58d32c4b0319075fb55e01c52fdacd99d69cc6c4b890ba1761b5d795b3efff91d87795009bfa2fa0a
6
+ metadata.gz: 29af7207009e0be13595d161bc45f4b2962f807fe43232690653e08ca475f3b5582bd5e238cc909c9285fa12128a8998f879597f9f87ab779c777252a1c0b972
7
+ data.tar.gz: d8e01ff8a7287a3ba46a1cc01f7d4dade778fb7f427b55b1d50a3b6b9f0c09dfa989871dac46cd231c2aba9b3c0d2bb2bc3dde3ead496d1bc277b2de5ff4eadc
data/.codeclimate.yml ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ engines:
3
+ duplication:
4
+ enabled: true
5
+ config:
6
+ languages:
7
+ - ruby
8
+ fixme:
9
+ enabled: true
10
+ rubocop:
11
+ enabled: true
12
+ ratings:
13
+ paths:
14
+ - "**.rb"
15
+ exclude_paths:
16
+ - spec/
data/.overcommit.yml ADDED
@@ -0,0 +1,29 @@
1
+ # Use this file to configure the Overcommit hooks you wish to use. This will
2
+ # extend the default configuration defined in:
3
+ # https://github.com/brigade/overcommit/blob/master/config/default.yml
4
+ #
5
+ # At the topmost level of this YAML file is a key representing type of hook
6
+ # being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7
+ # customize each hook, such as whether to only run it on certain files (via
8
+ # `include`), whether to only display output if it fails (via `quiet`), etc.
9
+ #
10
+ # For a complete list of hooks, see:
11
+ # https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
12
+ #
13
+ # For a complete list of options that you can use to customize hooks, see:
14
+ # https://github.com/brigade/overcommit#configuration
15
+ #
16
+ # Uncomment the following lines to make the configuration take effect.
17
+
18
+ PreCommit:
19
+ RuboCop:
20
+ enabled: true
21
+ on_warn: fail # Treat all warnings as failures
22
+ command: ['bundle', 'exec', 'rubocop']
23
+
24
+ #PostCheckout:
25
+ # ALL: # Special hook name that customizes all hooks of this type
26
+ # quiet: true # Change all post-checkout hooks to only display output on failure
27
+ #
28
+ # IndexTags:
29
+ # enabled: true # Generate a tags file with `ctags` each time HEAD changes
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/stefanvignir/iceland_gem.svg)](https://travis-ci.org/stefanvignir/iceland_gem) [![Code Climate](https://codeclimate.com/github/stefanvignir/iceland_gem/badges/gpa.svg)](https://codeclimate.com/github/stefanvignir/iceland_gem)
2
+
1
3
  # The Iceland Gem
2
4
 
3
5
  The Iceland Gem handles Icelandic "kennitala" personal/entity identifiers and Icelandic postal codes.
data/iceland.gemspec CHANGED
@@ -28,4 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rake', '~> 10.0'
29
29
  spec.add_development_dependency 'rspec', '~> 3.0'
30
30
  spec.add_development_dependency 'rubocop', '~> 0.40.0'
31
+ spec.add_development_dependency 'overcommit', '~> 0.33.0'
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module Iceland
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iceland
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Vignir
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.40.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: overcommit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.33.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.33.0
69
83
  description: Adds the Kennitala class. Figures out dates and ages, and sanitizes "kennitala"
70
84
  objects and looks up Icelandic postal codes.
71
85
  email:
@@ -74,7 +88,9 @@ executables: []
74
88
  extensions: []
75
89
  extra_rdoc_files: []
76
90
  files:
91
+ - ".codeclimate.yml"
77
92
  - ".gitignore"
93
+ - ".overcommit.yml"
78
94
  - ".rspec"
79
95
  - ".rubocop.yml"
80
96
  - ".travis.yml"