hexx 2.1.0 → 2.2.0

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: 74a2ccdca4564ce9cef52e8eb3b3a1304f4ec783
4
- data.tar.gz: 6906b51c7a50fec6aa501d123d9d9a1d6831b1f8
3
+ metadata.gz: d010b19ba275b8486d80e503db0486446a407e4e
4
+ data.tar.gz: e0f93d5c6656747d41f70dea4d7f5f71f11ed5f8
5
5
  SHA512:
6
- metadata.gz: 260e196ac0060995a5dc03e821fb14872013dfe689680973bad2e027e92a7c7c1e836241b83433a366fa3c8f55607031ea19e9226d0c0394256fd3fa40b13e41
7
- data.tar.gz: 1cd7bdb303092c0cad0ab2d75c18c4f7fcd387ac0ac1556aaf21cfe328c08306bb69e885457eab8a0f799e4d495cc1238bc4bb50ee9f2047ba0ea87b49d4518a
6
+ metadata.gz: d76d30cf7bf4d130790c9cae1cf3affee4dcd4d09d2643c098c31b1eb167a8ad86127b50460d1bacdeb8bfbd368a962d649eab3f50beb67ee142b0381bc798fb
7
+ data.tar.gz: 6b4cff429dd38d0188849e697c89aa25d66365aabbe33ad0026d299906f0335d0172d2f7f2ba82b2927504d72e846efc9c9af3ea4b825b59581f7e1aebf3c087
@@ -36,10 +36,10 @@ module Hexx
36
36
  params.each { |key, value| public_send "#{ key }=", value }
37
37
  end
38
38
 
39
- private
40
-
41
39
  attr_reader :params
42
40
 
41
+ private
42
+
43
43
  def extract_params_from(hash)
44
44
  @params = hash.stringify_keys.slice(*(self.class.params))
45
45
  end
data/lib/hexx/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  module Hexx
3
3
 
4
4
  # Current release.
5
- VERSION = "2.1.0"
5
+ VERSION = "2.2.0"
6
6
  end
@@ -97,6 +97,13 @@ module Hexx
97
97
  end
98
98
  end
99
99
 
100
+ describe "#params" do
101
+
102
+ it "exists" do
103
+ expect { subject.params }.not_to raise_error
104
+ end
105
+ end
106
+
100
107
  describe "private" do
101
108
 
102
109
  subject { Service.new.with_callbacks }
@@ -114,13 +121,6 @@ module Hexx
114
121
  end
115
122
  end
116
123
 
117
- describe "#params" do
118
-
119
- it "exists" do
120
- expect { subject.params }.not_to raise_error
121
- end
122
- end
123
-
124
124
  describe "#t" do
125
125
 
126
126
  let(:scope) { %w(activemodel messages models hexx/service) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kozin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-11 00:00:00.000000000 Z
11
+ date: 2014-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel