flexible_api_server 0.0.7 → 0.0.8
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.
- data/lib/flexible_api_server/version.rb +1 -1
- data/views/doc_index.html.erb +3 -1
- metadata +3 -3
data/views/doc_index.html.erb
CHANGED
|
@@ -93,7 +93,9 @@
|
|
|
93
93
|
<div class="associations">
|
|
94
94
|
<% associations.each do |assoc| %>
|
|
95
95
|
<% next unless FlexibleApi.flexible_models.include?(assoc.klass) %>
|
|
96
|
-
<%
|
|
96
|
+
<% begin %>
|
|
97
|
+
<% type = assoc.klass.name.pluralize.underscore.downcase %>
|
|
98
|
+
<% rescue NameError; next; end %>
|
|
97
99
|
<div class="association">
|
|
98
100
|
<%= "/#{assoc.name}" %>
|
|
99
101
|
<% unless assoc.name.to_s == type %>
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flexible_api_server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 8
|
|
10
|
+
version: 0.0.8
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- John Crepezzi
|