hydra-core 5.4.0.pre1 → 5.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hydra-head/version.rb +1 -1
- data/tasks/rspec.rake +17 -16
- metadata +45 -42
data/lib/hydra-head/version.rb
CHANGED
data/tasks/rspec.rake
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
ENV["RAILS_ROOT"] ||= 'spec/internal'
|
2
2
|
|
3
|
+
GEM_ROOT= File.expand_path(File.join(File.dirname(__FILE__),".."))
|
4
|
+
|
3
5
|
desc "Run specs"
|
4
6
|
task :spec => [:generate, :fixtures] do |t|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
7
|
+
focused_spec = ENV['SPEC'] ? " SPEC=#{File.join(GEM_ROOT, ENV['SPEC'])}" : ''
|
8
|
+
within_test_app do
|
9
|
+
system "rake myspec#{focused_spec}"
|
10
|
+
abort "Error running hydra-core" unless $?.success?
|
10
11
|
end
|
11
12
|
end
|
12
13
|
|
@@ -26,16 +27,14 @@ task :generate do
|
|
26
27
|
`cp spec/support/Gemfile spec/internal`
|
27
28
|
puts "Copying generator"
|
28
29
|
`cp -r spec/support/lib/generators spec/internal/lib`
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
puts `rake db:migrate db:test:prepare`
|
38
|
-
end
|
30
|
+
within_test_app do
|
31
|
+
puts "Bundle install"
|
32
|
+
`bundle install`
|
33
|
+
puts "running test_app_generator"
|
34
|
+
system "rails generate test_app"
|
35
|
+
|
36
|
+
puts "running migrations"
|
37
|
+
puts `rake db:migrate db:test:prepare`
|
39
38
|
end
|
40
39
|
end
|
41
40
|
puts "Running specs"
|
@@ -49,6 +48,8 @@ end
|
|
49
48
|
|
50
49
|
def within_test_app
|
51
50
|
FileUtils.cd('spec/internal')
|
52
|
-
|
51
|
+
Bundler.with_clean_env do
|
52
|
+
yield
|
53
|
+
end
|
53
54
|
FileUtils.cd('../..')
|
54
55
|
end
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.0
|
5
|
-
prerelease:
|
4
|
+
version: 5.4.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matt Zumwalt, Bess Sadler, Julie Meloni, Naomi Dushay, Jessie Keck, John Scofield,
|
@@ -10,14 +10,14 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
|
-
- - ~>
|
20
|
+
- - "~>"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 3.2.3
|
23
23
|
type: :runtime
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
|
-
- - ~>
|
28
|
+
- - "~>"
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 3.2.3
|
31
31
|
- !ruby/object:Gem::Dependency
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
none: false
|
35
35
|
requirements:
|
36
|
-
- - ~>
|
36
|
+
- - "~>"
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '4.0'
|
39
39
|
type: :runtime
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
|
-
- - ~>
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '4.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
none: false
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
- !ruby/object:Gem::Dependency
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
none: false
|
67
67
|
requirements:
|
68
|
-
- - ~>
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '5.3'
|
71
71
|
type: :runtime
|
@@ -73,7 +73,7 @@ dependencies:
|
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
|
-
- - ~>
|
76
|
+
- - "~>"
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '5.3'
|
79
79
|
- !ruby/object:Gem::Dependency
|
@@ -97,7 +97,7 @@ dependencies:
|
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
type: :runtime
|
@@ -105,7 +105,7 @@ dependencies:
|
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
@@ -113,7 +113,7 @@ dependencies:
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
none: false
|
115
115
|
requirements:
|
116
|
-
- -
|
116
|
+
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
type: :runtime
|
@@ -121,7 +121,7 @@ dependencies:
|
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
none: false
|
123
123
|
requirements:
|
124
|
-
- -
|
124
|
+
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
- !ruby/object:Gem::Dependency
|
@@ -129,7 +129,7 @@ dependencies:
|
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: 0.0.6
|
135
135
|
type: :runtime
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: 0.0.6
|
143
143
|
- !ruby/object:Gem::Dependency
|
@@ -145,7 +145,7 @@ dependencies:
|
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
146
146
|
none: false
|
147
147
|
requirements:
|
148
|
-
- -
|
148
|
+
- - ">="
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: 0.0.5
|
151
151
|
type: :runtime
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
none: false
|
155
155
|
requirements:
|
156
|
-
- -
|
156
|
+
- - ">="
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: 0.0.5
|
159
159
|
- !ruby/object:Gem::Dependency
|
@@ -161,7 +161,7 @@ dependencies:
|
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
none: false
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
type: :runtime
|
@@ -169,7 +169,7 @@ dependencies:
|
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
none: false
|
171
171
|
requirements:
|
172
|
-
- -
|
172
|
+
- - ">="
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '0'
|
175
175
|
- !ruby/object:Gem::Dependency
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
requirements:
|
180
180
|
- - '='
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: 5.4.0
|
182
|
+
version: 5.4.0
|
183
183
|
type: :runtime
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -187,13 +187,13 @@ dependencies:
|
|
187
187
|
requirements:
|
188
188
|
- - '='
|
189
189
|
- !ruby/object:Gem::Version
|
190
|
-
version: 5.4.0
|
190
|
+
version: 5.4.0
|
191
191
|
- !ruby/object:Gem::Dependency
|
192
192
|
name: sqlite3
|
193
193
|
requirement: !ruby/object:Gem::Requirement
|
194
194
|
none: false
|
195
195
|
requirements:
|
196
|
-
- -
|
196
|
+
- - ">="
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
199
|
type: :development
|
@@ -201,7 +201,7 @@ dependencies:
|
|
201
201
|
version_requirements: !ruby/object:Gem::Requirement
|
202
202
|
none: false
|
203
203
|
requirements:
|
204
|
-
- -
|
204
|
+
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
207
|
- !ruby/object:Gem::Dependency
|
@@ -209,7 +209,7 @@ dependencies:
|
|
209
209
|
requirement: !ruby/object:Gem::Requirement
|
210
210
|
none: false
|
211
211
|
requirements:
|
212
|
-
- -
|
212
|
+
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
type: :development
|
@@ -217,7 +217,7 @@ dependencies:
|
|
217
217
|
version_requirements: !ruby/object:Gem::Requirement
|
218
218
|
none: false
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
@@ -225,7 +225,7 @@ dependencies:
|
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
none: false
|
227
227
|
requirements:
|
228
|
-
- -
|
228
|
+
- - ">="
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: 1.3.1
|
231
231
|
type: :development
|
@@ -233,7 +233,7 @@ dependencies:
|
|
233
233
|
version_requirements: !ruby/object:Gem::Requirement
|
234
234
|
none: false
|
235
235
|
requirements:
|
236
|
-
- -
|
236
|
+
- - ">="
|
237
237
|
- !ruby/object:Gem::Version
|
238
238
|
version: 1.3.1
|
239
239
|
- !ruby/object:Gem::Dependency
|
@@ -241,7 +241,7 @@ dependencies:
|
|
241
241
|
requirement: !ruby/object:Gem::Requirement
|
242
242
|
none: false
|
243
243
|
requirements:
|
244
|
-
- -
|
244
|
+
- - ">="
|
245
245
|
- !ruby/object:Gem::Version
|
246
246
|
version: '0'
|
247
247
|
type: :development
|
@@ -249,7 +249,7 @@ dependencies:
|
|
249
249
|
version_requirements: !ruby/object:Gem::Requirement
|
250
250
|
none: false
|
251
251
|
requirements:
|
252
|
-
- -
|
252
|
+
- - ">="
|
253
253
|
- !ruby/object:Gem::Version
|
254
254
|
version: '0'
|
255
255
|
- !ruby/object:Gem::Dependency
|
@@ -257,7 +257,7 @@ dependencies:
|
|
257
257
|
requirement: !ruby/object:Gem::Requirement
|
258
258
|
none: false
|
259
259
|
requirements:
|
260
|
-
- -
|
260
|
+
- - ">="
|
261
261
|
- !ruby/object:Gem::Version
|
262
262
|
version: 1.2.0
|
263
263
|
type: :development
|
@@ -265,7 +265,7 @@ dependencies:
|
|
265
265
|
version_requirements: !ruby/object:Gem::Requirement
|
266
266
|
none: false
|
267
267
|
requirements:
|
268
|
-
- -
|
268
|
+
- - ">="
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: 1.2.0
|
271
271
|
- !ruby/object:Gem::Dependency
|
@@ -273,7 +273,7 @@ dependencies:
|
|
273
273
|
requirement: !ruby/object:Gem::Requirement
|
274
274
|
none: false
|
275
275
|
requirements:
|
276
|
-
- -
|
276
|
+
- - ">="
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
type: :development
|
@@ -281,7 +281,7 @@ dependencies:
|
|
281
281
|
version_requirements: !ruby/object:Gem::Requirement
|
282
282
|
none: false
|
283
283
|
requirements:
|
284
|
-
- -
|
284
|
+
- - ">="
|
285
285
|
- !ruby/object:Gem::Version
|
286
286
|
version: '0'
|
287
287
|
- !ruby/object:Gem::Dependency
|
@@ -289,7 +289,7 @@ dependencies:
|
|
289
289
|
requirement: !ruby/object:Gem::Requirement
|
290
290
|
none: false
|
291
291
|
requirements:
|
292
|
-
- -
|
292
|
+
- - ">="
|
293
293
|
- !ruby/object:Gem::Version
|
294
294
|
version: 2.1.0
|
295
295
|
type: :development
|
@@ -297,7 +297,7 @@ dependencies:
|
|
297
297
|
version_requirements: !ruby/object:Gem::Requirement
|
298
298
|
none: false
|
299
299
|
requirements:
|
300
|
-
- -
|
300
|
+
- - ">="
|
301
301
|
- !ruby/object:Gem::Version
|
302
302
|
version: 2.1.0
|
303
303
|
description: ! 'Hydra-Head is a Rails Engine containing the core code for a Hydra
|
@@ -309,7 +309,7 @@ executables: []
|
|
309
309
|
extensions: []
|
310
310
|
extra_rdoc_files: []
|
311
311
|
files:
|
312
|
-
- .gitignore
|
312
|
+
- ".gitignore"
|
313
313
|
- Rakefile
|
314
314
|
- app/helpers/blacklight_helper.rb
|
315
315
|
- app/helpers/facets_helper.rb
|
@@ -404,18 +404,21 @@ require_paths:
|
|
404
404
|
required_ruby_version: !ruby/object:Gem::Requirement
|
405
405
|
none: false
|
406
406
|
requirements:
|
407
|
-
- -
|
407
|
+
- - ">="
|
408
408
|
- !ruby/object:Gem::Version
|
409
409
|
version: 1.9.3
|
410
410
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
411
411
|
none: false
|
412
412
|
requirements:
|
413
|
-
- -
|
413
|
+
- - ">="
|
414
414
|
- !ruby/object:Gem::Version
|
415
|
-
version:
|
415
|
+
version: '0'
|
416
|
+
segments:
|
417
|
+
- 0
|
418
|
+
hash: 1357552522439350269
|
416
419
|
requirements: []
|
417
420
|
rubyforge_project:
|
418
|
-
rubygems_version: 1.8.
|
421
|
+
rubygems_version: 1.8.25
|
419
422
|
signing_key:
|
420
423
|
specification_version: 3
|
421
424
|
summary: Hydra-Head Rails Engine (requires Rails3)
|