resync-client 0.3.4 → 0.3.5
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.
- checksums.yaml +4 -4
- data/CHANGES.md +20 -15
- data/lib/resync/client.rb +1 -1
- data/lib/resync/client/mixins.rb +1 -1
- data/lib/resync/client/version.rb +1 -1
- data/lib/resync/client/zip.rb +1 -1
- data/resync-client.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb71c388d0055ede0d253fd4fec193a47d081a21
|
4
|
+
data.tar.gz: 57f590eed6930409bc13b88f870532e9e5d619ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c29e638cf243e998239488ff7078a427cea9151ed2cd55f783770a4d8460c8010bd45fc52b06cb6424489e07e008e25e81f344d2ffb8cef57ba90554fbde0bf
|
7
|
+
data.tar.gz: 6ee69f7b9e32245acc2894da5ac00ad6761eee9f5bf35148860041937447408a6b51b2e6741d6a0a653388e83fa24effe621d18dc51d4ad7b7e7f184d13928de
|
data/CHANGES.md
CHANGED
@@ -1,70 +1,75 @@
|
|
1
|
-
|
1
|
+
## 0.3.5
|
2
|
+
|
3
|
+
- 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))
|
4
|
+
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.3.4
|
5
|
+
|
6
|
+
## 0.3.4
|
2
7
|
|
3
8
|
- Move GitHub project to [CDLUC3](https://github.com/CDLUC3/)
|
4
9
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.3.2
|
5
10
|
|
6
|
-
|
11
|
+
## 0.3.3
|
7
12
|
|
8
13
|
- Make `#all_zip_packages` on `ChangeDump` and `ResourceDump` return `Enumerator::Lazy` to improve interoperation with the corresponding methods on `ResourceDumpIndex/ChangeDumpIndex`
|
9
14
|
|
10
|
-
|
15
|
+
## 0.3.2
|
11
16
|
|
12
17
|
- Added utility methods to `CapabilityList` to simplify downloading and parsing ResourceSync documents by capability
|
13
18
|
- Make `ChangeList#all_changes`, and `#all_resources` on both `ResourceList` and `ChangeList`, return `Enumerator::Lazy` to improve interoperation with the corresponding methods on `ResourceIndex/ChangeIndex`
|
14
19
|
|
15
|
-
|
20
|
+
## 0.3.1
|
16
21
|
|
17
22
|
- Make `#get` and `#get_and_parse` in `Downloadable` (i.e., `Resource` and `Link`) cache the downloaded content
|
18
23
|
|
19
|
-
|
24
|
+
## 0.3.0
|
20
25
|
|
21
26
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.3.0
|
22
27
|
- Replace `ZipPackages` class with simple enumerable
|
23
28
|
|
24
|
-
|
29
|
+
## 0.2.6
|
25
30
|
|
26
31
|
- Added `#all_resources` (as alias for `#resources`) to `ChangeList`/`ResourceList` for transparent interoperability with `ChangeListIndex`/`ResourceListIndex`
|
27
32
|
- Added `#all_changes` (as alias for `#changes`) to `ChangeList`/`ChangeDump` for transparent interoperability with `ChangeListIndex`/`ChangeDumpIndex`
|
28
33
|
<!-- TODO: figure out what ChangeDump#all_changes should really do -->
|
29
34
|
- Added `#all_zip_packages` (as alias for `#zip_packages`) to `ChangeDump`/`ResourceDump` for transparent interoperability with `ChangeDumpIndex`/`ResourceDumpIndex`
|
30
35
|
|
31
|
-
|
36
|
+
## 0.2.5
|
32
37
|
|
33
38
|
- Added `#all_changes` to transparently download and flatten changes in `ChangeListIndex` and `ChangeDumpIndex` documents, with filtering by time and type
|
34
39
|
|
35
|
-
|
40
|
+
## 0.2.4
|
36
41
|
|
37
42
|
- Added `#all_resources` to transparently download and flatten lists in `ChangeListIndex` and `ResourceListIndex`
|
38
43
|
- Added `#all_zip_packages` to transparently download and flatten dumps in `ChangeDumpIndex` and `ResourceDumpIndex`
|
39
44
|
- Fix issue where documentation on mixin modules was mistakenly applied to the `Resync` module
|
40
45
|
|
41
|
-
|
46
|
+
## 0.2.3
|
42
47
|
|
43
48
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.2.2
|
44
49
|
|
45
|
-
|
50
|
+
## 0.2.2
|
46
51
|
|
47
52
|
- Replaced `Bistream#stream` with `Bitstream#get_input_stream`, which (unlike the former) returns a new stream with each invocation.
|
48
53
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.2.1
|
49
54
|
|
50
|
-
|
55
|
+
## 0.2.1
|
51
56
|
|
52
57
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.1.3
|
53
58
|
- Add more tests for client delegation
|
54
59
|
|
55
|
-
|
60
|
+
## 0.2.0
|
56
61
|
|
57
62
|
- Use named mixins instead of instance monkey-patching for easier documentation and navigation.
|
58
63
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.1.2
|
59
64
|
|
60
|
-
|
65
|
+
## 0.1.2
|
61
66
|
|
62
67
|
- Change the `:zip_packages` extension method on `ResourceDump` and `ChangeDump` to return a lazy enumerable instead of preemptively downloading all packages.
|
63
68
|
|
64
|
-
|
69
|
+
## 0.1.1
|
65
70
|
|
66
71
|
- Update to depend on [resync](https://github.com/CDLUC3/resync) 0.1.1
|
67
72
|
|
68
|
-
|
73
|
+
## 0.1.0
|
69
74
|
|
70
75
|
- Initial release
|
data/lib/resync/client.rb
CHANGED
data/lib/resync/client/mixins.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Dir.glob(File.expand_path('../mixins/*.rb', __FILE__)
|
1
|
+
Dir.glob(File.expand_path('../mixins/*.rb', __FILE__)).sort.each(&method(:require))
|
data/lib/resync/client/zip.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Dir.glob(File.expand_path('../zip/*.rb', __FILE__)
|
1
|
+
Dir.glob(File.expand_path('../zip/*.rb', __FILE__)).sort.each(&method(:require))
|
data/resync-client.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
25
|
spec.add_dependency 'lazy', '~> 0.9', '>= 0.9.6'
|
26
|
-
spec.add_dependency 'resync', '~> 0.2', '>= 0.3.
|
26
|
+
spec.add_dependency 'resync', '~> 0.2', '>= 0.3.4'
|
27
27
|
spec.add_dependency 'rubyzip', '~> 1.1'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'equivalent-xml', '~> 0.6.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resync-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
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-10-
|
11
|
+
date: 2015-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lazy
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '0.2'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.3.
|
42
|
+
version: 0.3.4
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '0.2'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.3.
|
52
|
+
version: 0.3.4
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rubyzip
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|