hydra 6.1.0.pre4 → 6.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hydra.gemspec +3 -2
- data/lib/hydra/version.rb +1 -1
- data/script/query-for-deprecation.rb +42 -0
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8345f76fdf12cb7f4381a2f785c1f6702497dbcf
|
4
|
+
data.tar.gz: fa3233c39384ff249476727ef277277f0565ac4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ddd92d2bd3222a7aaf110cb8b783b02e55c6e74ad9c6ffe94bd34ebc6d2c07cfdaa05389286b136e27d9d14265cf07aa6a8579e6adb9a5b2522883ea1b4af66
|
7
|
+
data.tar.gz: bf290fa2261bf5fc124af3bbcb78098cbc8b312749a4321937bad1d9d98913124ff1e4f80067f9600cebf3502f907af5d281ef8fd4611746d7c52bb1a129af2a
|
data/hydra.gemspec
CHANGED
@@ -21,10 +21,11 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
22
22
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
23
23
|
gem.require_paths = ["lib"]
|
24
|
+
gem.license = 'APACHE2'
|
24
25
|
|
25
|
-
gem.add_dependency 'hydra-head', '6.4.0.
|
26
|
+
gem.add_dependency 'hydra-head', '6.4.0.rc1'
|
26
27
|
gem.add_dependency 'jettywrapper', '~> 1.4.1'
|
27
|
-
gem.add_dependency 'active-fedora', '6.6.0.
|
28
|
+
gem.add_dependency 'active-fedora', '6.6.0.rc1'
|
28
29
|
gem.add_dependency 'rails', '>= 3.2.13', '< 5.0'
|
29
30
|
gem.add_dependency 'om', '~> 3.0.1'
|
30
31
|
gem.add_dependency 'solrizer', '~> 3.1.0'
|
data/lib/hydra/version.rb
CHANGED
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/usr/bin/env ruby -wKU
|
2
|
+
|
3
|
+
# Given that the Hydra gem is pegged against specific versions other gems
|
4
|
+
# When we update the Hydra gem and its underlying dependent gems
|
5
|
+
# And we provide deprecation warnings via the Deprecation gem (extend Deprecation)
|
6
|
+
# Then we should provide a list of files with a change in Deprecation
|
7
|
+
# And provide some means for a huamn to review those changes
|
8
|
+
require 'open3'
|
9
|
+
include Open3
|
10
|
+
|
11
|
+
spec = Gem::Specification.load(File.expand_path('../../hydra.gemspec', __FILE__))
|
12
|
+
spec.runtime_dependencies.each do |dep|
|
13
|
+
name = dep.name
|
14
|
+
version = dep.requirement.requirements.flatten.compact.detect { |r| r.is_a?(Gem::Version) }
|
15
|
+
repository_directory = File.expand_path("../../../#{name}", __FILE__)
|
16
|
+
|
17
|
+
command = "cd #{repository_directory} && git log -G'extend Deprecation' v#{version}.. --stat | grep -e '| [0-9]' | cut -f 1,2 -d ' '"
|
18
|
+
stdin, stdout, stderr, wait_thr = popen3(command)
|
19
|
+
begin
|
20
|
+
out = stdout.read
|
21
|
+
err = stderr.read
|
22
|
+
exit_status = wait_thr.value
|
23
|
+
raise "Unable to execute command \"#{command}\"\n#{err}" unless exit_status.success?
|
24
|
+
ensure
|
25
|
+
stdin.close
|
26
|
+
stdout.close
|
27
|
+
stderr.close
|
28
|
+
end
|
29
|
+
if out.strip != ""
|
30
|
+
filenames = out.split("\n").collect(&:strip).uniq
|
31
|
+
banner = "*" * 80 << "\n"
|
32
|
+
puts banner
|
33
|
+
puts "Files for #{name} v#{version}"
|
34
|
+
puts "\t" << filenames.join("\n\t")
|
35
|
+
puts banner
|
36
|
+
puts "See tmp/ dir for diff output"
|
37
|
+
filenames.each do |filename|
|
38
|
+
flat_filename = filename.gsub("/", '-')
|
39
|
+
`cd #{repository_directory} && git diff v#{version}.. #{filename} > #{File.expand_path("../../tmp/#{flat_filename}", __FILE__)}.patch`
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.0.
|
4
|
+
version: 6.1.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Friesen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hydra-head
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 6.4.0.
|
20
|
+
version: 6.4.0.rc1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 6.4.0.
|
27
|
+
version: 6.4.0.rc1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: jettywrapper
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 6.6.0.
|
48
|
+
version: 6.6.0.rc1
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 6.6.0.
|
55
|
+
version: 6.6.0.rc1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rails
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -211,8 +211,11 @@ files:
|
|
211
211
|
- script/contributors.sh
|
212
212
|
- script/grant_revoke_gem_authority.rb
|
213
213
|
- script/push_contributing_document.rb
|
214
|
+
- script/query-for-deprecation.rb
|
215
|
+
- tmp/.keep
|
214
216
|
homepage: http://projecthydra.org/
|
215
|
-
licenses:
|
217
|
+
licenses:
|
218
|
+
- APACHE2
|
216
219
|
metadata: {}
|
217
220
|
post_install_message:
|
218
221
|
rdoc_options: []
|