jsonapionify 0.12.7 → 0.12.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/jsonapionify.rb +10 -3
- data/lib/jsonapionify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODg1ZmQxYmM1MzlhOGYwZWU5MmRkZDY5MjM5MzYxZjMyNzk1N2UzOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzRiODY0OWUyZDJkNTAxMGYzYWJhNzI5NjZlNTc3M2JjYTRkYzEwZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjI3NzFhZTcxZDM5MDVjZTZlZDhjY2VmZDgyZTVhNTgwYTU3OWRlMWFiOTVk
|
10
|
+
MDI2ZjgwYTQ4ODI5ODM4MDJlM2UxZWFhMzNiZGIxNDBhOTgxZjNmMGY1Mjdm
|
11
|
+
ZjM0ODMzN2M2NTI0YjhmN2RkNzJjZjJkYmQ3NTI0ODU2NTQxZDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTMyNmE0N2RkM2RlMzMzZDA4ZGY5NjUwNmQxYmMzOTE1OGMzMGZhMTNlZDMz
|
14
|
+
ZTU4NGNhY2M1YjA0ZjYzNDI3NzQ2YTY3YmJkNDk4Y2VjZWFiZTkxNTgxMGEz
|
15
|
+
MjJhZmY2MDhmN2M2YzdhNjc2YjE0OTY0MGUxYjM5NmQ4MzMwNjk=
|
data/lib/jsonapionify.rb
CHANGED
@@ -36,10 +36,17 @@ module JSONAPIonify
|
|
36
36
|
self.cache_store = ActiveSupport::Cache.lookup_store(store, *args)
|
37
37
|
end
|
38
38
|
|
39
|
+
def self.files
|
40
|
+
Dir.glob(File.join __dir__, './**/*.rb').map { |f| File.expand_path f }.sort
|
41
|
+
end
|
42
|
+
|
39
43
|
def self.digest
|
40
|
-
@digest ||=
|
41
|
-
|
42
|
-
|
44
|
+
@digest ||=
|
45
|
+
files.map do |f|
|
46
|
+
File.read f
|
47
|
+
end.reduce(
|
48
|
+
Digest::SHA2.new, :update
|
49
|
+
).to_s
|
43
50
|
end
|
44
51
|
|
45
52
|
def self.verbose_errors=(value)
|
data/lib/jsonapionify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapionify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Waldrip
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|