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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eff38d1e2bf763e8dd7adb68c9d638caf884e505
4
- data.tar.gz: 786e6dd21e575556d8f4288382fca50bf236580d
3
+ metadata.gz: 8345f76fdf12cb7f4381a2f785c1f6702497dbcf
4
+ data.tar.gz: fa3233c39384ff249476727ef277277f0565ac4a
5
5
  SHA512:
6
- metadata.gz: 478ad2344165e2c6451c256d4ca135d1e636424ddd174c9e6282a711e6c769721238e0100c850cc21824c4feeebdef2bf545af6f690c2f0f757db66cefe6c5da
7
- data.tar.gz: 1c9e1f128d38c782f4a9d59a7b87415ce4cd33244c0343688803301b1dbed8085ffa172d1dfa804870ef27f919579d99cd26ad2cd1d72c28a46015bc6375c62b
6
+ metadata.gz: 3ddd92d2bd3222a7aaf110cb8b783b02e55c6e74ad9c6ffe94bd34ebc6d2c07cfdaa05389286b136e27d9d14265cf07aa6a8579e6adb9a5b2522883ea1b4af66
7
+ data.tar.gz: bf290fa2261bf5fc124af3bbcb78098cbc8b312749a4321937bad1d9d98913124ff1e4f80067f9600cebf3502f907af5d281ef8fd4611746d7c52bb1a129af2a
@@ -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.pre2'
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.pre4'
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'
@@ -1,3 +1,3 @@
1
1
  module Hydra
2
- VERSION = "6.1.0.pre4"
2
+ VERSION = "6.1.0.rc1"
3
3
  end
@@ -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.pre4
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-28 00:00:00.000000000 Z
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.pre2
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.pre2
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.pre4
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.pre4
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: []