seri 2.0.4 → 2.0.6

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
  SHA256:
3
- metadata.gz: 7a3a1187f09d0137341747e027fab35d148056c102fc4344e1019e29128d5e0e
4
- data.tar.gz: af33fc079fff5f053fa28b5b914a82c9989e201002cf1e626d45d941f8277efe
3
+ metadata.gz: 8a775adddd637ad613ad798bbaa73de144254bf46ab1fe9aa12c761b92283423
4
+ data.tar.gz: '089b766c83754fa0c4d2f11c739ad965abd453a70b3b5ed2a21ea0a0eba9ae6e'
5
5
  SHA512:
6
- metadata.gz: f6b36c95ee331cdc57125bb115b85780ed4fd7bf9181feecf6c4f9e40858967e68ca7d5ebb92de05cea1bf927a28bf295f46417d5bf905c32e3ad767ac839e05
7
- data.tar.gz: 32b3c7ccc01c298d2f131922ee93dafbb213be35c553bcc79211bebfc374b3a1cbfdb4586cfd7bd311a411c4852aa335ef8a654de917432f4c2c4a60a4272c6b
6
+ metadata.gz: 12daf63364847c273a782f99f9ea8f41538936613067b873880c966a03c02fe7e2d8fe68b0a2f5b8438d4c329ae2c49b805d85be8163b640a432589fe08a52ed
7
+ data.tar.gz: 2d84cbf2e45a4b0126ba8de4902e8e940e3cbb94c0ccd3f818e3e1d9e21872ae08dfe891051804233a23774097e71f781c6c7c99c6e5fd696c36e36210875adc
data/.circleci/config.yml CHANGED
@@ -21,7 +21,7 @@ jobs:
21
21
  - run:
22
22
  name: install dependencies
23
23
  command: |
24
- gem install bundler:2.2.5
24
+ gem install bundler:2.2.10
25
25
  bundle install --jobs=4 --retry=3 --path vendor/bundle
26
26
 
27
27
  - save_cache:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seri (2.0.4)
4
+ seri (2.0.6)
5
5
  oj (~> 3.7)
6
6
 
7
7
  GEM
@@ -11,7 +11,7 @@ GEM
11
11
  coderay (1.1.3)
12
12
  diff-lcs (1.4.4)
13
13
  method_source (1.0.0)
14
- oj (3.11.7)
14
+ oj (3.13.2)
15
15
  parallel (1.19.2)
16
16
  parser (2.7.2.0)
17
17
  ast (~> 2.4.1)
@@ -19,7 +19,7 @@ GEM
19
19
  coderay (~> 1.1)
20
20
  method_source (~> 1.0)
21
21
  rainbow (3.0.0)
22
- rake (13.0.3)
22
+ rake (13.0.6)
23
23
  regexp_parser (1.8.2)
24
24
  rexml (3.2.5)
25
25
  rspec (3.10.0)
@@ -48,15 +48,5 @@ module Seri
48
48
  @scope[extraction_key]
49
49
  end
50
50
  end
51
-
52
- class ObjectValue < Value
53
- def precondition?
54
- @scope.respond_to?(extraction_key)
55
- end
56
-
57
- def value
58
- @scope.public_send(extraction_key)
59
- end
60
- end
61
51
  end
62
52
  end
@@ -15,7 +15,7 @@ module Seri
15
15
  StaticValue.new(attribute),
16
16
  SerializedValue.new(attribute, serializer),
17
17
  HashValue.new(attribute, object),
18
- ObjectValue.new(attribute, object)
18
+ SerializedValue.new(attribute, object)
19
19
  ]
20
20
  end
21
21
 
@@ -1,5 +1,5 @@
1
1
  module Seri
2
2
  class Serializer
3
- VERSION = '2.0.4'.freeze
3
+ VERSION = '2.0.6'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seri
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - grdw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-29 00:00:00.000000000 Z
11
+ date: 2021-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj