easy_data 0.0.96 → 0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -25,9 +25,9 @@ class EasyDatasController < ActionController::Base
|
|
25
25
|
@reply = model.find :all, :conditions => {:id => params[:id]}
|
26
26
|
|
27
27
|
unless @reply.nil?
|
28
|
-
@host="http://"+request.env["HTTP_HOST"]
|
29
|
-
|
30
|
-
@rdf_model = rdf.get_model_rdf(@reply,params[:model]
|
28
|
+
@host="http://"+request.env["HTTP_HOST"]+request.env["SCRIPT_NAME"]
|
29
|
+
debugger
|
30
|
+
@rdf_model = rdf.get_model_rdf(@reply,params[:model],@host)
|
31
31
|
end
|
32
32
|
|
33
33
|
@xml = Builder::XmlMarkup.new
|
@@ -290,7 +290,7 @@ class ModelRdf
|
|
290
290
|
# @param [Object] Model's instance
|
291
291
|
# @return [Hash] RDF's association informations about the object
|
292
292
|
def get_associations_tag(element)
|
293
|
-
|
293
|
+
|
294
294
|
associations = get_attributes_model(element.class.to_s)
|
295
295
|
class_element = element.class
|
296
296
|
if associations.nil?
|
data/lib/easy_data/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.0.96
|
8
|
+
- 1
|
9
|
+
version: "0.1"
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- jnillo
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2012-12-
|
17
|
+
date: 2012-12-06 00:00:00 +01:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|