hydra-head 3.1.0.pre3 → 3.1.0.pre4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  module HydraHead
2
- VERSION = "3.1.0.pre3"
2
+ VERSION = "3.1.0.pre4"
3
3
  end
4
4
 
@@ -17,9 +17,9 @@ namespace :hydra do
17
17
 
18
18
  desc "Copies the contents of solr_conf into the Solr development-core and test-core of Testing Server"
19
19
  task :config_solr do
20
- FileList['solr_conf/*'].each do |f|
21
- cp("#{f}", 'jetty/solr/development-core/', :verbose => true)
22
- cp("#{f}", 'jetty/solr/test-core/', :verbose => true)
20
+ FileList['solr_conf/conf/*'].each do |f|
21
+ cp("#{f}", 'jetty/solr/development-core/config/', :verbose => true)
22
+ cp("#{f}", 'jetty/solr/test-core/config/', :verbose => true)
23
23
  end
24
24
  end
25
25
 
@@ -58,19 +58,13 @@ namespace :hyhead do
58
58
  end
59
59
 
60
60
  YARD::Rake::YardocTask.new(:doc) do |yt|
61
- readme_filename = File.join(project_root,'README.textile')
62
- textile_docs = []
63
- Dir[File.join(project_root, "*.textile")].each_with_index do |f, index|
64
- unless f.include?("/#{readme_filename}") # Skip readme, which is already built by the --readme option
65
- textile_docs << '-'
66
- textile_docs << f
67
- end
68
- end
69
- yt.files = Dir.glob(File.join(project_root, '*.rb')) +
70
- Dir.glob(File.join(project_root, 'app', '**', '*.rb')) +
71
- Dir.glob(File.join(project_root, 'lib', '**', '*.rb')) +
72
- textile_docs
73
- yt.options = ['--output-dir', doc_destination, '--readme', readme_filename]
61
+ yt.files = ['lib/**/*', project_root+"*", 'app/**/*', 'README.textile']
62
+
63
+ yt.options << "-m" << "textile"
64
+ yt.options << "--protected"
65
+ yt.options << "--no-private"
66
+ yt.options << "-r" << "README.textile"
67
+ yt.options << "-o" << "doc"
74
68
  end
75
69
  rescue LoadError
76
70
  desc "Generate YARD Documentation"
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-head
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832031
4
+ hash: 1923832017
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
9
  - 0
10
10
  - pre
11
- - 3
12
- version: 3.1.0.pre3
11
+ - 4
12
+ version: 3.1.0.pre4
13
13
  platform: ruby
14
14
  authors:
15
15
  - Matt Zumwalt, Bess Sadler, Julie Meloni, Naomi Dushay, Jessie Keck, John Scofield, Justin Coyne & many more. See https://github.com/projecthydra/hydra-head/contributors