graph_starter 0.15.3 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b801724a2f02fc313b568a889cb5d9bc9905de1e
|
|
4
|
+
data.tar.gz: 76b81c9e9b6d62a7af90f977273fb277f6cc06da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e17f64b1a7513d571626d569af3561226d388cb1ae353ef8bebd005c871da6a602002944653a3f0b76b4e4ead2fa57c6ac3c8c2772ed516ebd85c47df24b1226
|
|
7
|
+
data.tar.gz: 9886951448022c878ef36fd4df7be52a5c8df92c8d6ee66642ad6e7f88c49207de4a4298ca775097f68282dcbdb87683c79ea025dd38b49569513e0448aa9808
|
|
@@ -39,6 +39,13 @@ module GraphStarter
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def show
|
|
42
|
+
# For cases where the route picked up more than it should have and we try to constantize something wrong
|
|
43
|
+
begin
|
|
44
|
+
model_class
|
|
45
|
+
rescue NameError
|
|
46
|
+
return render text: 'Not found', status: :not_found
|
|
47
|
+
end
|
|
48
|
+
|
|
42
49
|
@asset = asset
|
|
43
50
|
|
|
44
51
|
if @asset
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graph_starter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Underwood
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|