the_garage 2.4.3 → 2.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/views/layouts/garage/application.html.haml +1 -1
- data/lib/garage/hypermedia_responder.rb +3 -1
- data/lib/garage/tracer.rb +2 -0
- data/lib/garage/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7c4e3dd92f5413a3042cd8e54590a5028ba27b6ec01ec2776bbe0d950693ccca
|
4
|
+
data.tar.gz: f03ef645cf85bcfd54a416fb06f9d985d7515e8dfda1e2e445da5c4cf5d9239b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 834480a2f01fdbe73e607483b6faddae9cafecc29b6a18d617b7ad221c783b12e5c92471a52188bb54cdf056d8abbdf3f98f20c73dd34fbb6fc3cd3a511ca549
|
7
|
+
data.tar.gz: d31177fc305961dd0dab978a71e0db3f51eef09460d18dfab0580ed07fd4704cd75888bfec0e2d86f215aa845ad3fd6acd8ac97a65e2023e89c1fb60bff06180
|
@@ -6,7 +6,7 @@
|
|
6
6
|
= csrf_meta_tags
|
7
7
|
= stylesheet_link_tag "garage/application", :media => "all"
|
8
8
|
= javascript_include_tag "garage/application"
|
9
|
-
= favicon_link_tag "favicon.ico"
|
9
|
+
= favicon_link_tag "favicon.ico", skip_pipeline: true
|
10
10
|
|
11
11
|
%body{ class: action_classes }
|
12
12
|
.navbar.navbar-default.navbar-static-top
|
@@ -24,7 +24,9 @@ module Garage
|
|
24
24
|
# `#resource_identifier` or `#id`.
|
25
25
|
def encode_to_hash(resource, *args)
|
26
26
|
if id = get_resource_identifier(resource)
|
27
|
-
|
27
|
+
options = args[0] || {}
|
28
|
+
selector = options[:selector] || controller.field_selector
|
29
|
+
cache_key = "#{resource.class.name}:#{id}:#{selector.canonical}"
|
28
30
|
cache[cache_key] ||= _encode_to_hash(resource, *args)
|
29
31
|
else
|
30
32
|
_encode_to_hash(resource, *args)
|
data/lib/garage/tracer.rb
CHANGED
data/lib/garage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the_garage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tatsuhiko Miyagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -270,8 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
270
|
- !ruby/object:Gem::Version
|
271
271
|
version: '0'
|
272
272
|
requirements: []
|
273
|
-
|
274
|
-
rubygems_version: 2.6.13
|
273
|
+
rubygems_version: 3.0.3
|
275
274
|
signing_key:
|
276
275
|
specification_version: 4
|
277
276
|
summary: Garage Platform Engine
|