emp_json 1.3.0.pre.g0625fa6de → 1.3.0.pre.g9596e781b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/empathy/emp_json.rb +3 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84cc8976cd03cf429641613fd5467538ea535c49e88c71809061f4c3090cb84d
|
4
|
+
data.tar.gz: da8634f8408c17d6d32ec1cca6681016a455f36d51a1c22a96005339a39a392b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b549efd7b3131794ec10737312dd71ccef5f8b2ac64aeaa3ecc15662e3fd18fe87813c6493b89db8cb2f932f557e51b239bbbfbccddfb10cef4bcaee75a1c271
|
7
|
+
data.tar.gz: 812cb4fe6c46d2b823e7a1f50422762f3289912a304299dd865a7ce15ab8935c83f7798f96921439f554f0d6eb623e66a0c14c142509a8b6893a080590a8bc87
|
data/Gemfile.lock
CHANGED
data/lib/empathy/emp_json.rb
CHANGED
@@ -10,21 +10,9 @@ require "empathy/emp_json/serializer"
|
|
10
10
|
|
11
11
|
module Empathy
|
12
12
|
module EmpJson
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
def check(gem)
|
17
|
-
require gem
|
18
|
-
true
|
19
|
-
rescue LoadError
|
20
|
-
false
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
SUPPORTS_RDF_RB = SupportChecker.check("rdf")
|
26
|
-
SUPPORTS_SEQUENCE = SupportChecker.check("linked_rails")
|
27
|
-
SUPPORTS_AR = SupportChecker.check("active_record")
|
13
|
+
SUPPORTS_RDF_RB = Object.const_defined?("RDF")
|
14
|
+
SUPPORTS_SEQUENCE = Object.const_defined?("LinkedRails")
|
15
|
+
SUPPORTS_AR = Object.const_defined?("ActiveRecord")
|
28
16
|
|
29
17
|
class Error < StandardError; end
|
30
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emp_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0.pre.
|
4
|
+
version: 1.3.0.pre.g9596e781b
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom van Kalkeren
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Serializer for the EmpJson specification.
|
14
14
|
email:
|