hydra-core 6.0.0.rc3 → 6.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e0fd526ceee3e82798d9fff6c1af029b445eb45f
4
+ data.tar.gz: a5f2ec02b8819bd8062b2b3e8c5fe30f4634b3af
5
+ SHA512:
6
+ metadata.gz: 2f395a325b29044e49891f8165e91730155e76de4f9a8b7450707ef0151f3ee1fc9e6445c6b9762442322842459df558c665ecb34ca98f7ea50e4d0212ab6fe7
7
+ data.tar.gz: f233a9bb032ed0e5374d18b88c13113cd5ba9e14a0aa655f83130522069f4881d6659488e78f38bcd9e2e9ea67b514319adc87c7584c7bdd61f8d2763b5d7241
@@ -25,10 +25,10 @@ Gem::Specification.new do |gem|
25
25
  gem.add_dependency 'block_helpers'
26
26
  gem.add_dependency 'deprecation', ">= 0.0.5"
27
27
  gem.add_dependency 'hydra-access-controls', version
28
+ gem.add_dependency 'jettywrapper', ">=1.4.1"
28
29
 
29
30
  gem.add_development_dependency 'sqlite3'
30
31
  gem.add_development_dependency 'yard'
31
- gem.add_development_dependency 'jettywrapper', ">=1.3.1"
32
32
  gem.add_development_dependency 'rspec-rails'
33
33
  gem.add_development_dependency 'factory_girl_rails'
34
34
  end
@@ -0,0 +1,21 @@
1
+ # -*- encoding : utf-8 -*-
2
+ require 'jettywrapper'
3
+
4
+ module Hydra
5
+ class Jetty < Rails::Generators::Base
6
+
7
+ desc """
8
+ Installs a jetty container with a solr and fedora installed in it.
9
+
10
+ Requires system('unzip... ') to work, probably won't work on Windows.
11
+
12
+ """
13
+
14
+ def download_jetty
15
+ Jettywrapper.unzip
16
+ end
17
+
18
+
19
+ end
20
+ end
21
+
@@ -15,7 +15,7 @@ if Hydra.respond_to?(:configure)
15
15
  # This specifies the solr field names of permissions-related fields.
16
16
  # You only need to change these values if you've indexed permissions by some means other than the Hydra's built-in tooling.
17
17
  # If you change these, you must also update the permissions request handler in your solrconfig.xml to return those values
18
- indexer = Solrizer::Descriptor.new(:text, :stored, :indexed, :multivalued)
18
+ indexer = Solrizer::Descriptor.new(:string, :stored, :indexed, :multivalued)
19
19
  config[:permissions] = {
20
20
  :discover => {:group =>ActiveFedora::SolrService.solr_name("discover_access_group", indexer), :individual=>ActiveFedora::SolrService.solr_name("discover_access_person", indexer)},
21
21
  :read => {:group =>ActiveFedora::SolrService.solr_name("read_access_group", indexer), :individual=>ActiveFedora::SolrService.solr_name("read_access_person", indexer)},
@@ -1,4 +1,4 @@
1
1
  module HydraHead
2
- VERSION = "6.0.0.rc3"
2
+ VERSION = "6.0.0.rc4"
3
3
  end
4
4
 
@@ -5,9 +5,7 @@ require 'jettywrapper'
5
5
  namespace :hydra do
6
6
  namespace :jetty do
7
7
  desc "Copies the default Solr & Fedora configs into the bundled Hydra Testing Server"
8
- task :config do
9
- Rake::Task["hydra:jetty:reset"].reenable
10
- Rake::Task["hydra:jetty:reset"].invoke
8
+ task :config => ['jetty:stop', 'jetty:clean'] do
11
9
  Rake::Task["hydra:jetty:config_fedora"].reenable
12
10
  Rake::Task["hydra:jetty:config_fedora"].invoke
13
11
  Rake::Task["hydra:jetty:config_solr"].reenable
@@ -45,9 +43,5 @@ namespace :hydra do
45
43
  desc "Copies the default SOLR config files and starts up the fedora instance."
46
44
  task :load => [:config, 'jetty:start']
47
45
 
48
- desc "return development jetty to its pristine state, as pulled from git"
49
- task :reset => ['jetty:stop'] do
50
- system("cd jetty && git reset --hard HEAD && git clean -dfx && cd ..")
51
- end
52
46
  end
53
47
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.rc3
5
- prerelease: 6
4
+ version: 6.0.0.rc4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Matt Zumwalt, Bess Sadler, Julie Meloni, Naomi Dushay, Jessie Keck, John Scofield,
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-02-20 00:00:00.000000000 Z
12
+ date: 2013-03-20 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: blacklight
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
@@ -47,150 +42,132 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: active-fedora
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: block_helpers
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: deprecation
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - '>='
85
75
  - !ruby/object:Gem::Version
86
76
  version: 0.0.5
87
77
  type: :runtime
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - '>='
93
82
  - !ruby/object:Gem::Version
94
83
  version: 0.0.5
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: hydra-access-controls
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
88
  - - '='
101
89
  - !ruby/object:Gem::Version
102
- version: 6.0.0.rc3
90
+ version: 6.0.0.rc4
103
91
  type: :runtime
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
95
  - - '='
109
96
  - !ruby/object:Gem::Version
110
- version: 6.0.0.rc3
97
+ version: 6.0.0.rc4
111
98
  - !ruby/object:Gem::Dependency
112
- name: sqlite3
99
+ name: jettywrapper
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
- - - ! '>='
102
+ - - '>='
117
103
  - !ruby/object:Gem::Version
118
- version: '0'
119
- type: :development
104
+ version: 1.4.1
105
+ type: :runtime
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
- - - ! '>='
109
+ - - '>='
125
110
  - !ruby/object:Gem::Version
126
- version: '0'
111
+ version: 1.4.1
127
112
  - !ruby/object:Gem::Dependency
128
- name: yard
113
+ name: sqlite3
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
- - - ! '>='
116
+ - - '>='
133
117
  - !ruby/object:Gem::Version
134
118
  version: '0'
135
119
  type: :development
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
- - - ! '>='
123
+ - - '>='
141
124
  - !ruby/object:Gem::Version
142
125
  version: '0'
143
126
  - !ruby/object:Gem::Dependency
144
- name: jettywrapper
127
+ name: yard
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
- - - ! '>='
130
+ - - '>='
149
131
  - !ruby/object:Gem::Version
150
- version: 1.3.1
132
+ version: '0'
151
133
  type: :development
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
- - - ! '>='
137
+ - - '>='
157
138
  - !ruby/object:Gem::Version
158
- version: 1.3.1
139
+ version: '0'
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: rspec-rails
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
- - - ! '>='
144
+ - - '>='
165
145
  - !ruby/object:Gem::Version
166
146
  version: '0'
167
147
  type: :development
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
150
  requirements:
172
- - - ! '>='
151
+ - - '>='
173
152
  - !ruby/object:Gem::Version
174
153
  version: '0'
175
154
  - !ruby/object:Gem::Dependency
176
155
  name: factory_girl_rails
177
156
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
157
  requirements:
180
- - - ! '>='
158
+ - - '>='
181
159
  - !ruby/object:Gem::Version
182
160
  version: '0'
183
161
  type: :development
184
162
  prerelease: false
185
163
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
164
  requirements:
188
- - - ! '>='
165
+ - - '>='
189
166
  - !ruby/object:Gem::Version
190
167
  version: '0'
191
- description: ! 'Hydra-Head is a Rails Engine containing the core code for a Hydra
192
- application. The full hydra stack includes: Blacklight, Fedora, Solr, active-fedora,
193
- solrizer, and om'
168
+ description: 'Hydra-Head is a Rails Engine containing the core code for a Hydra application.
169
+ The full hydra stack includes: Blacklight, Fedora, Solr, active-fedora, solrizer,
170
+ and om'
194
171
  email:
195
172
  - hydra-tech@googlegroups.com
196
173
  executables: []
@@ -213,6 +190,7 @@ files:
213
190
  - lib/generators/hydra/cucumber_support_generator.rb
214
191
  - lib/generators/hydra/head_generator.rb
215
192
  - lib/generators/hydra/hyhead_fixtures_generator.rb
193
+ - lib/generators/hydra/jetty_generator.rb
216
194
  - lib/generators/hydra/templates/catalog_controller.rb
217
195
  - lib/generators/hydra/templates/config/fedora.yml
218
196
  - lib/generators/hydra/templates/config/initializers/action_dispatch_http_upload_monkey_patch.rb
@@ -282,27 +260,26 @@ files:
282
260
  - tasks/rspec.rake
283
261
  homepage: http://projecthydra.org
284
262
  licenses: []
263
+ metadata: {}
285
264
  post_install_message:
286
265
  rdoc_options: []
287
266
  require_paths:
288
267
  - lib
289
268
  required_ruby_version: !ruby/object:Gem::Requirement
290
- none: false
291
269
  requirements:
292
- - - ! '>='
270
+ - - '>='
293
271
  - !ruby/object:Gem::Version
294
272
  version: 1.9.3
295
273
  required_rubygems_version: !ruby/object:Gem::Requirement
296
- none: false
297
274
  requirements:
298
- - - ! '>'
275
+ - - '>'
299
276
  - !ruby/object:Gem::Version
300
277
  version: 1.3.1
301
278
  requirements: []
302
279
  rubyforge_project:
303
- rubygems_version: 1.8.25
280
+ rubygems_version: 2.0.0
304
281
  signing_key:
305
- specification_version: 3
282
+ specification_version: 4
306
283
  summary: Hydra-Head Rails Engine (requires Rails3)
307
284
  test_files:
308
285
  - spec/.gitignore