resync 0.4.1 → 0.4.2

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: 07335d0952d79e71a4d3539e5ff22af641fd2229
4
- data.tar.gz: 046cbad4c8197b4f3ed2e8f177e1cadfd86193ec
3
+ metadata.gz: 368905af59154a0921a076c2c11083a34c61a4ed
4
+ data.tar.gz: 9c0a8119216c584a5812637e372328135abf8407
5
5
  SHA512:
6
- metadata.gz: fcbd4c136ac6f5a2e209b0a93ce0948f1046de47537e4afb3a0fbba5f92167c35e998772f68c3e5b7a23dca030605d2a34b8bc81938d8de679736404254a015e
7
- data.tar.gz: 0fc9bc532cebff042c13d231b4fb16264bd1b930a405be1f224f17f9dc9e35646ca3c407f48431f956d7e44289d3ba1328be56089dd540ce4d23065626d7da33
6
+ metadata.gz: 1523a7fc833eda981934113b369ca1a0206bb16fbdbdfa1589e99b608d76db21cb74402832a6fb2517207c74569bd23b8530480edc2fdfc669b14eaebf29b740
7
+ data.tar.gz: b740b34bcdaa4b3851095572e56e05a38a7e4a29d67873095a146ccc0d7300c6fa03338c0392365aca3c577946c1c0c9352ef1bd3b39a6d7594dad2a529a1356
data/CHANGES.md CHANGED
@@ -1,60 +1,66 @@
1
- ## 0.4.1
1
+ ## 0.4.2 (27 Jan 2016)
2
+
3
+ - Make gemspec smart enough to handle SSH checkouts
4
+ - Update to [typesafe_enum](https://github.com/dmolesUC3/typesafe_enum) 0.1.5
5
+ - Update to [xml-mapping_extensions](https://github.com/dmolesUC3/xml-mapping_extensions) 0.3.4
6
+
7
+ ## 0.4.1 (19 Nov 2015)
2
8
 
3
9
  - Update to [typesafe_enum](https://github.com/dmolesUC3/typesafe_enum) 0.1.2
4
10
 
5
- ## 0.4.0
11
+ ## 0.4.0 (19 Nov 2015)
6
12
 
7
13
  - Convert `Change` and `ChangeFrequency` from [ruby-enum](https://github.com/dblock/ruby-enum/) to
8
14
  [typesafe_enum](https://github.com/dmolesUC3/typesafe_enum)
9
15
 
10
- ## 0.3.4
16
+ ## 0.3.4 (14 Oct 2015)
11
17
 
12
18
  - Fix issue where `Dir.glob` could cause files to be required in an unpredictable order (h/t [nabeta](https://github.com/CDLUC3/resync/pull/1))
13
19
 
14
- ## 0.3.3
20
+ ## 0.3.3 (13 Oct 2015)
15
21
 
16
22
  - Fix links in README
17
23
 
18
- ## 0.3.2
24
+ ## 0.3.2 (8 Oct 2015)
19
25
 
20
26
  - Move GitHub project to [CDLUC3](https://github.com/CDLUC3/)
21
27
 
22
- ## 0.3.1
28
+ ## 0.3.1 (11 Sep 2015)
23
29
 
24
- - Use [XML::MappingExtensions](https://github.com/dmolesUC3/xml-mapping_extensions) for some XML mapping infrastructure
30
+ - Use [xml-mapping_extensions](https://github.com/dmolesUC3/xml-mapping_extensions) for some XML mapping infrastructure
25
31
 
26
- ## 0.3.0
32
+ ## 0.3.0 (19 Jun 2015)
27
33
 
28
34
  - Return simple arrays for resources, instead of fancy lazy enumerables
29
35
 
30
- ## 0.2.2
36
+ ## 0.2.2 (10 Jun 2015)
31
37
 
32
38
  - Added `#changes` method to `ChangeList` and `ChangeDumpManifest`, allowing filtering by change type and modified time
33
39
  - Added `#change_lists` method to `ChangeListIndex`, `ChangeDumpIndex`, and `ChangeDump`, allowing filtering by from and until times
34
40
 
35
- ## 0.2.1
41
+ ## 0.2.1 (9 Jun 2015)
36
42
 
37
43
  - Fixed issue where extra whitespace in `<loc/>` tags could prevent URI parsing.
38
44
 
39
- ## 0.2.0
45
+ ## 0.2.0 (5 Jun 2015)
40
46
 
41
47
  - `BaseResourceList#resources` now returns an `IndexableLazy` instead of a plain array.
42
48
  - Added `BaseResourcesList#resources_in` to filter resource lists by time.
43
49
  - All `Augmented` objects now expose the complete set of time attribtues, so as to avoid having to fish around in the metadata.
44
50
 
45
- ## 0.1.3
51
+ ## 0.1.3 (5 Jun 2015)
46
52
 
47
53
  - Fix issue making it difficult to extend CapabilityList
48
54
 
49
- ## 0.1.2
55
+ ## 0.1.2 (4 Jun 2015)
50
56
 
51
57
  - Fix issue making it difficult to extend SortedResourceList
52
58
 
53
- ## 0.1.1
59
+ ## 0.1.1 (3 Jun 2015)
54
60
 
55
61
  - Add support for [Change Dump Indices](http://www.openarchives.org/rs/1.0/resourcesync#ChangeDumpIndex)
56
62
  - Add support for [Resource Dump Indices](http://www.openarchives.org/rs/1.0/resourcesync#ResourceDumpIndex)
57
63
 
58
- ## 0.1.0
64
+ ## 0.1.0 (3 Jun 2015)
59
65
 
60
66
  - Initial release
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 The Regents of the University of California
3
+ Copyright (c) 2016 The Regents of the University of California
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
@@ -2,6 +2,8 @@ require 'xml/mapping'
2
2
  require_relative '../resource'
3
3
 
4
4
  module Resync
5
+ # Base module of +<sitemapindex>+ elements, such as {ChangeDumpIndex},
6
+ # {ChangeListIndex}, {ResourceDumpIndex}, and {ResourceListIndex}.
5
7
  module SitemapIndex
6
8
  include ::XML::Mapping
7
9
 
@@ -1,4 +1,4 @@
1
1
  module Resync
2
2
  # The version of this gem.
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'A Ruby gem for working with the ResourceSync web synchronization framework'
15
15
  spec.license = 'MIT'
16
16
 
17
- origin_uri = URI(`git config --get remote.origin.url`.chomp)
17
+ origin = `git config --get remote.origin.url`.chomp
18
+ origin_uri = origin.start_with?('http') ? URI(origin) : URI(origin.sub('git@github.com:', 'https://github.com/'))
18
19
  spec.homepage = URI::HTTP.build(host: origin_uri.host, path: origin_uri.path.chomp('.git')).to_s
19
20
 
20
21
  spec.files = `git ls-files -z`.split("\x0")
@@ -23,9 +24,9 @@ Gem::Specification.new do |spec|
23
24
  spec.require_paths = ['lib']
24
25
 
25
26
  spec.add_dependency 'mime-types', '~> 2.5'
26
- spec.add_dependency 'typesafe_enum', '~> 0.1', '>= 0.1.2'
27
+ spec.add_dependency 'typesafe_enum', '~> 0.1', '>= 0.1.5'
27
28
  spec.add_dependency 'xml-mapping', '~> 0.10'
28
- spec.add_dependency 'xml-mapping_extensions', '~> 0.3'
29
+ spec.add_dependency 'xml-mapping_extensions', '~> 0.3', '>= 0.3.4'
29
30
 
30
31
  spec.add_development_dependency 'equivalent-xml', '~> 0.6.0'
31
32
  spec.add_development_dependency 'rake', '~> 10.4'
@@ -34,5 +35,4 @@ Gem::Specification.new do |spec|
34
35
  spec.add_development_dependency 'simplecov', '~> 0.9.2'
35
36
  spec.add_development_dependency 'simplecov-console', '~> 0.2.0'
36
37
  spec.add_development_dependency 'yard', '~> 0.8'
37
- spec.add_development_dependency 'codeclimate-test-reporter'
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-20 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0.1'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.1.2
36
+ version: 0.1.5
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0.1'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.1.2
46
+ version: 0.1.5
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: xml-mapping
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +65,9 @@ dependencies:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0.3'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 0.3.4
68
71
  type: :runtime
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +75,9 @@ dependencies:
72
75
  - - "~>"
73
76
  - !ruby/object:Gem::Version
74
77
  version: '0.3'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 0.3.4
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: equivalent-xml
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -170,20 +176,6 @@ dependencies:
170
176
  - - "~>"
171
177
  - !ruby/object:Gem::Version
172
178
  version: '0.8'
173
- - !ruby/object:Gem::Dependency
174
- name: codeclimate-test-reporter
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: '0'
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- version: '0'
187
179
  description: A Ruby gem for working with the ResourceSync web synchronization framework
188
180
  email:
189
181
  - david.moles@ucop.edu