rubydora 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rubydora/ext/model_loader.rb +4 -0
  3. metadata +122 -170
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -42,7 +42,11 @@ module Rubydora::Ext
42
42
 
43
43
  constant = Object
44
44
  names.each do |name|
45
+ if Module.method(:const_get).arity == 1
45
46
  constant = constant.const_defined?(name) ? constant.const_get(name) : constant.const_missing(name)
47
+ else
48
+ constant = constant.const_defined?(name,false) ? constant.const_get(name) : constant.const_missing(name)
49
+ end
46
50
  end
47
51
  constant
48
52
  end
metadata CHANGED
@@ -1,201 +1,156 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubydora
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Chris Beer
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-07-14 00:00:00 -04:00
12
+ date: 2011-07-27 00:00:00.000000000 -04:00
19
13
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: fastercsv
17
+ requirement: &2157901820 !ruby/object:Gem::Requirement
24
18
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
32
23
  type: :runtime
33
- name: fastercsv
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
24
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *2157901820
26
+ - !ruby/object:Gem::Dependency
27
+ name: rest-client
28
+ requirement: &2157901380 !ruby/object:Gem::Requirement
38
29
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
46
34
  type: :runtime
47
- name: rest-client
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
35
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *2157901380
37
+ - !ruby/object:Gem::Dependency
38
+ name: nokogiri
39
+ requirement: &2157900960 !ruby/object:Gem::Requirement
52
40
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
60
45
  type: :runtime
61
- name: nokogiri
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
46
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *2157900960
48
+ - !ruby/object:Gem::Dependency
49
+ name: mime-types
50
+ requirement: &2157900540 !ruby/object:Gem::Requirement
66
51
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 3
71
- segments:
72
- - 0
73
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
74
56
  type: :runtime
75
- name: mime-types
76
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
57
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *2157900540
59
+ - !ruby/object:Gem::Dependency
60
+ name: activesupport
61
+ requirement: &2157900120 !ruby/object:Gem::Requirement
80
62
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
88
67
  type: :runtime
89
- name: activesupport
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
68
  prerelease: false
93
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *2157900120
70
+ - !ruby/object:Gem::Dependency
71
+ name: activemodel
72
+ requirement: &2157899700 !ruby/object:Gem::Requirement
94
73
  none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: 3
99
- segments:
100
- - 0
101
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
102
78
  type: :runtime
103
- name: activemodel
104
- version_requirements: *id006
105
- - !ruby/object:Gem::Dependency
106
79
  prerelease: false
107
- requirement: &id007 !ruby/object:Gem::Requirement
80
+ version_requirements: *2157899700
81
+ - !ruby/object:Gem::Dependency
82
+ name: savon
83
+ requirement: &2157899280 !ruby/object:Gem::Requirement
108
84
  none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- hash: 3
113
- segments:
114
- - 0
115
- version: "0"
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
116
89
  type: :runtime
117
- name: savon
118
- version_requirements: *id007
119
- - !ruby/object:Gem::Dependency
120
90
  prerelease: false
121
- requirement: &id008 !ruby/object:Gem::Requirement
91
+ version_requirements: *2157899280
92
+ - !ruby/object:Gem::Dependency
93
+ name: rake
94
+ requirement: &2157898860 !ruby/object:Gem::Requirement
122
95
  none: false
123
- requirements:
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- hash: 3
127
- segments:
128
- - 0
129
- version: "0"
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
130
100
  type: :development
131
- name: rake
132
- version_requirements: *id008
133
- - !ruby/object:Gem::Dependency
134
101
  prerelease: false
135
- requirement: &id009 !ruby/object:Gem::Requirement
102
+ version_requirements: *2157898860
103
+ - !ruby/object:Gem::Dependency
104
+ name: shoulda
105
+ requirement: &2157898440 !ruby/object:Gem::Requirement
136
106
  none: false
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- hash: 3
141
- segments:
142
- - 0
143
- version: "0"
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
144
111
  type: :development
145
- name: shoulda
146
- version_requirements: *id009
147
- - !ruby/object:Gem::Dependency
148
112
  prerelease: false
149
- requirement: &id010 !ruby/object:Gem::Requirement
113
+ version_requirements: *2157898440
114
+ - !ruby/object:Gem::Dependency
115
+ name: bundler
116
+ requirement: &2157922340 !ruby/object:Gem::Requirement
150
117
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 3
155
- segments:
156
- - 0
157
- version: "0"
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
158
122
  type: :development
159
- name: bundler
160
- version_requirements: *id010
161
- - !ruby/object:Gem::Dependency
162
123
  prerelease: false
163
- requirement: &id011 !ruby/object:Gem::Requirement
124
+ version_requirements: *2157922340
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: &2157921920 !ruby/object:Gem::Requirement
164
128
  none: false
165
- requirements:
166
- - - ">="
167
- - !ruby/object:Gem::Version
168
- hash: 3
169
- segments:
170
- - 0
171
- version: "0"
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
172
133
  type: :development
173
- name: rspec
174
- version_requirements: *id011
175
- - !ruby/object:Gem::Dependency
176
134
  prerelease: false
177
- requirement: &id012 !ruby/object:Gem::Requirement
135
+ version_requirements: *2157921920
136
+ - !ruby/object:Gem::Dependency
137
+ name: yard
138
+ requirement: &2157921500 !ruby/object:Gem::Requirement
178
139
  none: false
179
- requirements:
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- hash: 3
183
- segments:
184
- - 0
185
- version: "0"
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
186
144
  type: :development
187
- name: yard
188
- version_requirements: *id012
189
- description: "Fedora Commons REST API ruby library : REQUIRES FCREPO 3.4+"
190
- email:
145
+ prerelease: false
146
+ version_requirements: *2157921500
147
+ description: ! 'Fedora Commons REST API ruby library : REQUIRES FCREPO 3.4+'
148
+ email:
191
149
  - chris@cbeer.info
192
150
  executables: []
193
-
194
151
  extensions: []
195
-
196
152
  extra_rdoc_files: []
197
-
198
- files:
153
+ files:
199
154
  - .gitignore
200
155
  - Gemfile
201
156
  - LICENSE.txt
@@ -234,38 +189,35 @@ files:
234
189
  has_rdoc: true
235
190
  homepage: http://github.com/cbeer/rubydora
236
191
  licenses: []
237
-
238
192
  post_install_message:
239
193
  rdoc_options: []
240
-
241
- require_paths:
194
+ require_paths:
242
195
  - lib
243
- required_ruby_version: !ruby/object:Gem::Requirement
196
+ required_ruby_version: !ruby/object:Gem::Requirement
244
197
  none: false
245
- requirements:
246
- - - ">="
247
- - !ruby/object:Gem::Version
248
- hash: 3
249
- segments:
198
+ requirements:
199
+ - - ! '>='
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ segments:
250
203
  - 0
251
- version: "0"
252
- required_rubygems_version: !ruby/object:Gem::Requirement
204
+ hash: -1990689017334122645
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
253
206
  none: false
254
- requirements:
255
- - - ">="
256
- - !ruby/object:Gem::Version
257
- hash: 3
258
- segments:
207
+ requirements:
208
+ - - ! '>='
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ segments:
259
212
  - 0
260
- version: "0"
213
+ hash: -1990689017334122645
261
214
  requirements: []
262
-
263
215
  rubyforge_project:
264
216
  rubygems_version: 1.6.2
265
217
  signing_key:
266
218
  specification_version: 3
267
219
  summary: Fedora Commons REST API ruby library
268
- test_files:
220
+ test_files:
269
221
  - spec/datastream_spec.rb
270
222
  - spec/digital_object_spec.rb
271
223
  - spec/ext_model_loader_spec.rb