vidibus-resource 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg/*
3
3
  .bundle
4
4
  rdoc
5
5
  coverage
6
+ Gemfile.lock
@@ -46,7 +46,7 @@ module Vidibus::Resource
46
46
  @resource_provider ||= begin
47
47
  service = self.class.instance_variable_get("@resource_provider") or
48
48
  raise ConfigurationError.new("No resource provider has been defined. Call #{self.class}.resource_provider(service, realm)")
49
- realm = self.class.instance_variable_get("@resource_realm") or
49
+ realm = (self.class.instance_variable_get("@resource_realm") || try!(:realm_uuid)) or
50
50
  raise ConfigurationError.new("No resource realm has been defined. Call #{self.class}.resource_realm(realm)")
51
51
  ::Service.discover(service, realm)
52
52
  end
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Resource
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.rubyforge_project = "vidibus-resource"
16
16
 
17
17
  s.add_dependency "rails", "~> 3.0.0"
18
+ s.add_dependency "mongoid", "~> 2.0.0"
18
19
  s.add_dependency "vidibus-uuid"
19
20
  s.add_dependency "vidibus-service"
20
21
  s.add_dependency "vidibus-api"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-resource
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Andr\xC3\xA9 Pankratz"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-19 00:00:00 +01:00
18
+ date: 2011-05-04 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -35,21 +35,23 @@ dependencies:
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: vidibus-uuid
38
+ name: mongoid
39
39
  prerelease: false
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">="
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- hash: 3
45
+ hash: 15
46
46
  segments:
47
+ - 2
47
48
  - 0
48
- version: "0"
49
+ - 0
50
+ version: 2.0.0
49
51
  type: :runtime
50
52
  version_requirements: *id002
51
53
  - !ruby/object:Gem::Dependency
52
- name: vidibus-service
54
+ name: vidibus-uuid
53
55
  prerelease: false
54
56
  requirement: &id003 !ruby/object:Gem::Requirement
55
57
  none: false
@@ -63,7 +65,7 @@ dependencies:
63
65
  type: :runtime
64
66
  version_requirements: *id003
65
67
  - !ruby/object:Gem::Dependency
66
- name: vidibus-api
68
+ name: vidibus-service
67
69
  prerelease: false
68
70
  requirement: &id004 !ruby/object:Gem::Requirement
69
71
  none: false
@@ -77,9 +79,23 @@ dependencies:
77
79
  type: :runtime
78
80
  version_requirements: *id004
79
81
  - !ruby/object:Gem::Dependency
80
- name: bundler
82
+ name: vidibus-api
81
83
  prerelease: false
82
84
  requirement: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ hash: 3
90
+ segments:
91
+ - 0
92
+ version: "0"
93
+ type: :runtime
94
+ version_requirements: *id005
95
+ - !ruby/object:Gem::Dependency
96
+ name: bundler
97
+ prerelease: false
98
+ requirement: &id006 !ruby/object:Gem::Requirement
83
99
  none: false
84
100
  requirements:
85
101
  - - ">="
@@ -91,11 +107,11 @@ dependencies:
91
107
  - 0
92
108
  version: 1.0.0
93
109
  type: :development
94
- version_requirements: *id005
110
+ version_requirements: *id006
95
111
  - !ruby/object:Gem::Dependency
96
112
  name: rake
97
113
  prerelease: false
98
- requirement: &id006 !ruby/object:Gem::Requirement
114
+ requirement: &id007 !ruby/object:Gem::Requirement
99
115
  none: false
100
116
  requirements:
101
117
  - - ">="
@@ -105,11 +121,11 @@ dependencies:
105
121
  - 0
106
122
  version: "0"
107
123
  type: :development
108
- version_requirements: *id006
124
+ version_requirements: *id007
109
125
  - !ruby/object:Gem::Dependency
110
126
  name: rspec
111
127
  prerelease: false
112
- requirement: &id007 !ruby/object:Gem::Requirement
128
+ requirement: &id008 !ruby/object:Gem::Requirement
113
129
  none: false
114
130
  requirements:
115
131
  - - ">="
@@ -119,11 +135,11 @@ dependencies:
119
135
  - 0
120
136
  version: "0"
121
137
  type: :development
122
- version_requirements: *id007
138
+ version_requirements: *id008
123
139
  - !ruby/object:Gem::Dependency
124
140
  name: rack-test
125
141
  prerelease: false
126
- requirement: &id008 !ruby/object:Gem::Requirement
142
+ requirement: &id009 !ruby/object:Gem::Requirement
127
143
  none: false
128
144
  requirements:
129
145
  - - ">="
@@ -133,11 +149,11 @@ dependencies:
133
149
  - 0
134
150
  version: "0"
135
151
  type: :development
136
- version_requirements: *id008
152
+ version_requirements: *id009
137
153
  - !ruby/object:Gem::Dependency
138
154
  name: rr
139
155
  prerelease: false
140
- requirement: &id009 !ruby/object:Gem::Requirement
156
+ requirement: &id010 !ruby/object:Gem::Requirement
141
157
  none: false
142
158
  requirements:
143
159
  - - ">="
@@ -147,7 +163,7 @@ dependencies:
147
163
  - 0
148
164
  version: "0"
149
165
  type: :development
150
- version_requirements: *id009
166
+ version_requirements: *id010
151
167
  description: Allows creation of proxy objects of remote resources on distributed applications.
152
168
  email:
153
169
  - andre@vidibus.com
@@ -206,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
222
  requirements: []
207
223
 
208
224
  rubyforge_project: vidibus-resource
209
- rubygems_version: 1.3.7
225
+ rubygems_version: 1.6.2
210
226
  signing_key:
211
227
  specification_version: 3
212
228
  summary: Provides handling of remote resources