rhoconnect-rb 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -68,7 +68,7 @@ For more information about Rhoconnect partitions, please refer to the [Rhoconnec
68
68
  end
69
69
 
70
70
  def self.rhoconnect_query(partition)
71
- Product.where(:user_id => partition)
71
+ Product.includes(:user).where("users.username = ?",partition)
72
72
  end
73
73
  end
74
74
 
@@ -5,4 +5,4 @@ require 'rhoconnect/configuration'
5
5
  require 'rhoconnect/client'
6
6
  require 'rhoconnect/resource'
7
7
  require 'rhoconnect/endpoints'
8
- require 'rhoconnect/railtie'
8
+ require 'rhoconnect/railtie' if defined?(Rails) && !NO_RAILITIES
@@ -1,3 +1,3 @@
1
1
  module Rhoconnect
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.rubyforge_project = nil
17
17
  s.add_dependency('rest-client', '~>1.6.1')
18
- s.add_dependency('json', '~>1.4.6')
18
+ s.add_dependency('json', '~>1.5.4')
19
19
 
20
20
  s.files = `git ls-files`.split("\n")
21
21
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhoconnect-rb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 8
10
- version: 0.2.8
9
+ - 9
10
+ version: 0.2.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rhomobile
@@ -15,12 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-02 00:00:00 -07:00
19
- default_executable:
18
+ date: 2011-10-14 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- type: :runtime
24
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
25
22
  none: false
26
23
  requirements:
@@ -33,10 +30,10 @@ dependencies:
33
30
  - 1
34
31
  version: 1.6.1
35
32
  requirement: *id001
33
+ type: :runtime
34
+ prerelease: false
36
35
  name: rest-client
37
36
  - !ruby/object:Gem::Dependency
38
- prerelease: false
39
- type: :runtime
40
37
  version_requirements: &id002 !ruby/object:Gem::Requirement
41
38
  none: false
42
39
  requirements:
@@ -45,10 +42,12 @@ dependencies:
45
42
  hash: 11
46
43
  segments:
47
44
  - 1
45
+ - 5
48
46
  - 4
49
- - 6
50
- version: 1.4.6
47
+ version: 1.5.4
51
48
  requirement: *id002
49
+ type: :runtime
50
+ prerelease: false
52
51
  name: json
53
52
  description: Rhoconnect rails plugin
54
53
  email:
@@ -82,7 +81,6 @@ files:
82
81
  - spec/spec_helper.rb
83
82
  - tasks/setup.rake
84
83
  - templates/rhoconnect.rb
85
- has_rdoc: true
86
84
  homepage: http://rhomobile.com
87
85
  licenses: []
88
86
 
@@ -112,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
110
  requirements: []
113
111
 
114
112
  rubyforge_project:
115
- rubygems_version: 1.5.3
113
+ rubygems_version: 1.8.10
116
114
  signing_key:
117
115
  specification_version: 3
118
116
  summary: Rhoconnect rails plugin