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],"http://"+request.env["HTTP_HOST"])
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?
@@ -1,3 +1,3 @@
1
1
  module EasyData
2
- VERSION = "0.0.96"
2
+ VERSION = "0.1"
3
3
  end
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: 223
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 0
9
- - 96
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-02 00:00:00 +01:00
17
+ date: 2012-12-06 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency