skylight-core 3.1.0 → 3.1.1

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: a23b4ee1f13cbafa7e98c105a8350a8580b900ba88c40c3cad7a7f58d4924178
4
- data.tar.gz: 5029e85f3bbdffa3bc4a64cdd0a0826590d971854bb4d8486a61444958d2e54d
3
+ metadata.gz: 625d77b74d21abe05a9ba46978762d0bcc251aade8db101e5512cd20e78114f0
4
+ data.tar.gz: fe81927f9151831f66f1bcd7e43047139174eb4adc91af7ec02eb27e47d7971f
5
5
  SHA512:
6
- metadata.gz: a28565ddbc62403ff6f223c524bd8454bc21515ea87decfb8784048915a0fddf86b3daddbc5e20f05052ca8d17a7973c7636e659c98a772a2e7c7222088ca0cf
7
- data.tar.gz: f6783d6ecaf14dd98cfb11eb133e11d24b2c84e597930d28342c0f85f7e4b03cf4aee2e63fc4efb398d147dcedc211b7b48a92988abcca1d49f429ecd58e6448
6
+ metadata.gz: 9419471b9a8812a80087df41ea7ac31627bca59bed7467d4440efe3740c94e94c2fd592fbd32a20a18fd501c86f2c181957673347120202a8ffca35d2141f192
7
+ data.tar.gz: f7983337843514b011729a252652223173460a050dcfb0bfcdb920a48dfe25b81ece14a90951531c579f7329a9bdab53bee43fc6db52b5f3cadf72d3a37542ef
@@ -13,8 +13,8 @@ module Skylight::Core
13
13
  end
14
14
  end
15
15
 
16
- if defined?(::ActiveModel::Serializer::VERSION)
17
- version = Gem::Version.new(::ActiveModel::Serializer::VERSION)
16
+ if Gem.loaded_specs['active_model_serializers']
17
+ version = Gem.loaded_specs['active_model_serializers'].version
18
18
  end
19
19
 
20
20
  if !version || version < Gem::Version.new("0.5.0")
@@ -52,4 +52,4 @@ module Skylight::Core
52
52
 
53
53
  register(:active_model_serializers, "ActiveModel::Serializer", "active_model/serializer", ActiveModelSerializers::Probe.new)
54
54
  end
55
- end
55
+ end
@@ -1,6 +1,6 @@
1
1
  module Skylight
2
2
  module Core
3
- VERSION = '3.1.0'
3
+ VERSION = '3.1.1'
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skylight-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilde, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2018-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport