argon 1.1.3 → 1.1.4

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: 5cba99d1282dfe87d5a00474d92f65222c9a187b
4
- data.tar.gz: 7c9a713a6db9ea4439c3cc08c212ade3dd3513a7
3
+ metadata.gz: 1988bc91260c1f54541de041e0b31a26bd5e875e
4
+ data.tar.gz: b881290844eb93b562b574232f2f028128749a22
5
5
  SHA512:
6
- metadata.gz: 9e1d54626b5a1ff1dd9575a302c177a1c7de21441c586639fb4d173ac89d396745e749e98fd0d4d025cb74eb492053ea8e32f6f5cdd57f9640f426ce5d229733
7
- data.tar.gz: 9001e8c90a60f2cdcb237e8f36b55461f6349f81ffbbeb62fa2d826f9bcbd14297d92d44494de4e54c3d123a1026edf04a8701b8f54c4a008f4de9206ceec711
6
+ metadata.gz: 9085799888374f865ccb6049b6ba03c555bc9ec548a109c8c7aaf2818d7c3630119efe6ff8ec924825f9fb704aa4764cb07de06cb1bb776ceffd43bd63315511
7
+ data.tar.gz: a866a90de5e4e6363783525996bd5013d5afd4b030b595a2c0e810e8853811234601b094e55076d53a1123ef336640daecef612245911e36d0cf4d540e9c350d
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- The `Maxim` module provides a `state_machine` class method which expects the following args (as demonstrated by the example below).
23
+ The `Argon` module provides a `state_machine` class method which expects the following args (as demonstrated by the example below).
24
24
 
25
25
  ```ruby
26
26
  class Report
data/lib/argon.rb CHANGED
@@ -153,7 +153,7 @@ module Argon
153
153
 
154
154
  if !parameters.nil? && !action_parameters.empty?
155
155
  parameters.select{ |k,v| action_parameters.include?(k) }.each_pair do |param_name, param_details|
156
- raise Argon::InvalidParameterError.new("incorrect value for `#{ param_name }`") if !param_details[:check].call(args[:param_name])
156
+ raise Argon::InvalidParameterError.new("incorrect value for `#{ param_details[:name] }`") if !param_details[:check].call(args[param_details[:name]])
157
157
  end
158
158
  end
159
159
 
data/lib/argon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Argon
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: argon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ajith Hussain
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler