hash_attribute_assignment 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9165a497c6e8a9d56defc417249016c13f3ed586
4
- data.tar.gz: d4bfaf653e01f64ee8beba36afa9d31df439198c
3
+ metadata.gz: 570a876c66326d3a7d47bfc3072cc472f3504c57
4
+ data.tar.gz: 3b09441cc145bae394f9fb1896420f37e8365a58
5
5
  SHA512:
6
- metadata.gz: be0106f885e249cc25815b64f9f375e9117a67a6d8434a30cf6b5b44eb883a18a749d00bae4a5d8cc7713b6850236ae117d194c8cd961e0e00b7d4855492d77c
7
- data.tar.gz: c340e833cf71af71ad8cc7220908f6dda69f6ffa28e532e27dfe76e2b20b200e89aee6d51878c61d99200197b8f89e5effe11746f57ea998f9e5d3f96d277b7c
6
+ metadata.gz: ce3fd001e14b42e6937d2118607aa5d5df3e4cd1881b6285d769aa21313840bc3a952507591876bad4835215d1b252290fd8b0a3ddf3be71fe1085edc491a84f
7
+ data.tar.gz: 62a33ac99364def80cb440b6bbec95941ff9074c82b235ba2d51ac0c5521cb2b8d54782bfbf200a980ff5b8735df619615b356c53c4707bad571c160714569e2
data/.hound.yml CHANGED
@@ -1,3 +1,4 @@
1
- inherit_from: .rubocop.yml
1
+ ruby:
2
+ config_file: .rubocop.yml
2
3
 
3
4
  fail_on_violations: true
data/.rubocop.yml CHANGED
@@ -8,4 +8,13 @@ Metrics/LineLength:
8
8
  Max: 120
9
9
 
10
10
  Documentation:
11
- Enabled: false
11
+ Enabled: false
12
+
13
+ Style/StringLiterals:
14
+ Description: Checks if uses of quotes match the configured preference.
15
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
16
+ Enabled: true
17
+ EnforcedStyle: single_quotes
18
+ SupportedStyles:
19
+ - single_quotes
20
+ - double_quotes
@@ -1,3 +1,3 @@
1
1
  module HashAttributeAssignment
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
@@ -51,7 +51,7 @@ module HashAttributeAssignment
51
51
  end
52
52
 
53
53
  def validate_hash!
54
- hash_validations.each do |_validation|
54
+ hash_validations.each do |validation|
55
55
  raise HashValidationError, validation.message unless validation.proc.call hash
56
56
  end
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_attribute_assignment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Alexander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-30 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: coreyja@gmail.com