mds_file_utils 0.1.2 → 0.4.0
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 +5 -5
- data/Gemfile +7 -6
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/lib/mds_file_utils/zip_analyzer.rb +11 -3
- data/lib/mds_file_utils.rb +1 -0
- data/mds_file_utils.gemspec +25 -26
- data/spec/zip_analyzer_spec.rb +45 -30
- metadata +18 -19
- data/Gemfile.lock +0 -78
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 210de87700f78960e9355f4ef008e7ca7177fc6729df2b679591131a9aa219f1
|
4
|
+
data.tar.gz: 6d6f580a6b86562aa27fe0c8cd8a01dc27549c867ec9cb0a94639b60a2cc05fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 136adc6995983b488e1b9c16f3888e98c71a768abaea12d8dc2816714ee1d39389276ec41d2c1863e804799450e4a2fd63a8d33f2b51288d2c62aa0241aa7085
|
7
|
+
data.tar.gz: 37d20bbdd3dce461cb5a5483ffea5a47033761a331434ca51364093d98a6025519bd6de7d086ae2a6ebf0e4704d096fd105e03f5b2178d5a2a99a02b4bff8c95
|
data/Gemfile
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
|
-
gem "activesupport", "~>
|
5
|
-
gem "unzipMe", "~> 1.
|
6
|
-
|
4
|
+
gem "activesupport", "~> 6.0"
|
5
|
+
gem "unzipMe", "~> 1.1.2"
|
6
|
+
gem 'rubyzip', '~> 2.3'
|
7
7
|
# Add dependencies to develop your gem here.
|
8
8
|
# Include everything needed to run rake, tests, features, etc.
|
9
9
|
group :development do
|
10
|
-
gem "rspec"
|
10
|
+
gem "rspec"
|
11
11
|
gem "rdoc", "~> 4.1"
|
12
|
-
gem "bundler", "~>
|
13
|
-
gem
|
12
|
+
gem "bundler", "~> 2.4"
|
13
|
+
gem 'psych', '~> 5.1'
|
14
|
+
gem "jeweler", "~> 2.3"
|
14
15
|
end
|
data/Rakefile
CHANGED
@@ -15,12 +15,12 @@ require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "mds_file_utils"
|
18
|
-
gem.homepage = "http://github.com/
|
18
|
+
gem.homepage = "http://github.com/GitHubAdmin/mds_file_utils"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{A collection of MDS file utilities.}
|
21
21
|
gem.description = %Q{A set of useful MDS file utilities.}
|
22
|
-
gem.email = "
|
23
|
-
gem.authors = ["Dave"]
|
22
|
+
gem.email = "kmulvey@providigm.com"
|
23
|
+
gem.authors = ["Dave", "Kendra"]
|
24
24
|
# dependencies defined in Gemfile
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'zip'
|
1
2
|
module MdsFileUtils
|
2
3
|
|
3
4
|
class ZipAnalyzer
|
@@ -13,10 +14,16 @@ module MdsFileUtils
|
|
13
14
|
end
|
14
15
|
|
15
16
|
def valid_zip?
|
16
|
-
return false if @path.blank?
|
17
|
-
return false unless File.exists?(@path)
|
17
|
+
return false if @path.blank? || !File.exist?(@path)
|
18
18
|
return false unless has_valid_extension?
|
19
|
-
|
19
|
+
|
20
|
+
begin
|
21
|
+
Zip::File.open(@path) { |zip_file| }
|
22
|
+
|
23
|
+
true # The zip file is valid
|
24
|
+
rescue Zip::Error => e
|
25
|
+
false # The zip file is not valid
|
26
|
+
end
|
20
27
|
end
|
21
28
|
|
22
29
|
def has_valid_extension?
|
@@ -26,6 +33,7 @@ module MdsFileUtils
|
|
26
33
|
|
27
34
|
def is_composite?
|
28
35
|
return false unless valid_zip?
|
36
|
+
puts "file_list: #{file_list}"
|
29
37
|
file_list.count { | file | file =~ EXTENSION_REGEX } > 0
|
30
38
|
end
|
31
39
|
|
data/lib/mds_file_utils.rb
CHANGED
data/mds_file_utils.gemspec
CHANGED
@@ -2,18 +2,18 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: mds_file_utils 0.
|
5
|
+
# stub: mds_file_utils 0.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "mds_file_utils"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.4.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
|
-
s.authors = ["Dave"]
|
14
|
-
s.date = "
|
13
|
+
s.authors = ["Dave", "Kendra"]
|
14
|
+
s.date = "2023-10-04"
|
15
15
|
s.description = "A set of useful MDS file utilities."
|
16
|
-
s.email = "
|
16
|
+
s.email = "kmulvey@providigm.com"
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE.txt",
|
19
19
|
"README.rdoc"
|
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
|
|
22
22
|
".document",
|
23
23
|
".rspec",
|
24
24
|
"Gemfile",
|
25
|
-
"Gemfile.lock",
|
26
25
|
"LICENSE.txt",
|
27
26
|
"README.rdoc",
|
28
27
|
"Rakefile",
|
@@ -36,36 +35,36 @@ Gem::Specification.new do |s|
|
|
36
35
|
"spec/zip_analyzer_spec.rb",
|
37
36
|
"spec/zip_splitter_spec.rb"
|
38
37
|
]
|
39
|
-
s.homepage = "http://github.com/
|
38
|
+
s.homepage = "http://github.com/GitHubAdmin/mds_file_utils"
|
40
39
|
s.licenses = ["MIT"]
|
41
|
-
s.rubygems_version = "
|
40
|
+
s.rubygems_version = "3.2.2"
|
42
41
|
s.summary = "A collection of MDS file utilities."
|
43
42
|
|
44
43
|
if s.respond_to? :specification_version then
|
45
44
|
s.specification_version = 4
|
46
45
|
|
47
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
48
|
-
s.add_runtime_dependency(%q<activesupport
|
49
|
-
s.add_runtime_dependency(%q<unzipMe>, ["~> 1.
|
50
|
-
s.add_development_dependency(%q<rspec
|
51
|
-
s.add_development_dependency(%q<rdoc
|
52
|
-
s.add_development_dependency(%q<bundler
|
53
|
-
s.add_development_dependency(%q<jeweler
|
47
|
+
s.add_runtime_dependency(%q<activesupport>.freeze, ["~> 6.0"])
|
48
|
+
s.add_runtime_dependency(%q<unzipMe>, ["~> 1.1.2"])
|
49
|
+
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.1"])
|
51
|
+
s.add_development_dependency(%q<bundler>.freeze, ["~> 2.4"])
|
52
|
+
s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3"])
|
54
53
|
else
|
55
|
-
s.add_dependency(%q<activesupport
|
56
|
-
s.add_dependency(%q<unzipMe>, ["~> 1.
|
57
|
-
s.add_dependency(%q<rspec
|
58
|
-
s.add_dependency(%q<rdoc
|
59
|
-
s.add_dependency(%q<bundler
|
60
|
-
s.add_dependency(%q<jeweler
|
54
|
+
s.add_dependency(%q<activesupport>.freeze, ["~> 6.0"])
|
55
|
+
s.add_dependency(%q<unzipMe>, ["~> 1.1.2"])
|
56
|
+
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
57
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
|
58
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 2.4"])
|
59
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
|
61
60
|
end
|
62
61
|
else
|
63
|
-
s.add_dependency(%q<activesupport>, ["~>
|
64
|
-
s.add_dependency(%q<unzipMe>, ["~> 1.
|
65
|
-
s.add_dependency(%q<rspec
|
66
|
-
s.add_dependency(%q<rdoc
|
67
|
-
s.add_dependency(%q<bundler
|
68
|
-
s.add_dependency(%q<jeweler
|
62
|
+
s.add_dependency(%q<activesupport>, ["~> 6.0"])
|
63
|
+
s.add_dependency(%q<unzipMe>, ["~> 1.1.2"])
|
64
|
+
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
65
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 4.1"])
|
66
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 2.4"])
|
67
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
|
69
68
|
end
|
70
69
|
end
|
71
70
|
|
data/spec/zip_analyzer_spec.rb
CHANGED
@@ -17,7 +17,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
it "should respond with false if asked if a file that has a non-zip extension is a valid zip" do
|
20
|
-
@za.valid_zip?.should
|
20
|
+
@za.valid_zip?.should be_falsey
|
21
21
|
end
|
22
22
|
|
23
23
|
end
|
@@ -34,7 +34,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
34
34
|
|
35
35
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
36
36
|
|
37
|
-
za.valid_zip?.should
|
37
|
+
za.valid_zip?.should be_falsey
|
38
38
|
end
|
39
39
|
|
40
40
|
it "should respond with false if asked if an image file is a valid zip" do
|
@@ -43,7 +43,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
43
43
|
|
44
44
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
45
45
|
|
46
|
-
za.valid_zip?.should
|
46
|
+
za.valid_zip?.should be_falsey
|
47
47
|
end
|
48
48
|
|
49
49
|
end
|
@@ -57,25 +57,37 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
57
57
|
it "should respond with true if asked if a valid zip file has an extension of '.zip'" do
|
58
58
|
@file_to_test = File.join('/tmp', 'file_to_test.zip')
|
59
59
|
contained_file = File.join('/tmp', 'contained_file')
|
60
|
+
|
61
|
+
# Create the contained file
|
60
62
|
File.open(contained_file, 'w') { |f| f.puts "Hello" }
|
61
|
-
|
62
|
-
|
63
|
-
|
63
|
+
|
64
|
+
# Create the zip file using RubyZip
|
65
|
+
::Zip::File.open(@file_to_test, ::Zip::File::CREATE) do |zip_file|
|
66
|
+
zip_file.add('contained_file', contained_file)
|
67
|
+
end
|
68
|
+
|
64
69
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
70
|
+
|
71
|
+
za.valid_zip?.should be_truthy
|
65
72
|
|
66
|
-
|
73
|
+
|
67
74
|
end
|
68
75
|
|
69
76
|
it "should respond with true if asked if a valid zip file has an extension of '.ZIP'" do
|
70
|
-
@file_to_test = File.join('/tmp', 'file_to_test.
|
77
|
+
@file_to_test = File.join('/tmp', 'file_to_test.zip')
|
71
78
|
contained_file = File.join('/tmp', 'contained_file')
|
79
|
+
|
80
|
+
# Create the contained file
|
72
81
|
File.open(contained_file, 'w') { |f| f.puts "Hello" }
|
73
|
-
|
74
|
-
|
75
|
-
|
82
|
+
|
83
|
+
# Create the zip file using RubyZip
|
84
|
+
::Zip::File.open(@file_to_test, ::Zip::File::CREATE) do |zip_file|
|
85
|
+
zip_file.add('contained_file', contained_file)
|
86
|
+
end
|
87
|
+
|
76
88
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
77
89
|
|
78
|
-
za.valid_zip?.should
|
90
|
+
za.valid_zip?.should be_truthy
|
79
91
|
end
|
80
92
|
|
81
93
|
end
|
@@ -85,21 +97,24 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
85
97
|
context "when testing whether the zip file is a composite MDS file" do
|
86
98
|
|
87
99
|
after(:each) do
|
88
|
-
FileUtils.rm @file_to_test if @file_to_test.present? && File.
|
100
|
+
FileUtils.rm @file_to_test if @file_to_test.present? && File.exist?(@file_to_test)
|
89
101
|
end
|
90
102
|
|
91
103
|
it "should respond with true when asked if the file composite for a zip that contains nothing but files with a zip extension" do
|
92
104
|
@file_to_test = File.join('/tmp', 'file_to_test.zip')
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
105
|
+
contained_file = File.join('/tmp', 'contained_file')
|
106
|
+
|
107
|
+
# Create the contained file
|
108
|
+
File.open(contained_file, 'w') { |f| f.puts "Hello" }
|
109
|
+
|
110
|
+
# Create the zip file using RubyZip
|
111
|
+
::Zip::File.open(@file_to_test, ::Zip::File::CREATE) do |zip_file|
|
112
|
+
zip_file.add('contained_file.zip', contained_file)
|
113
|
+
end
|
114
|
+
|
100
115
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
101
116
|
|
102
|
-
za.is_composite?.should
|
117
|
+
za.is_composite?.should be_truthy
|
103
118
|
end
|
104
119
|
|
105
120
|
it "should respond with false when asked if the file is a composite and the zip contains only .xml files" do
|
@@ -113,7 +128,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
113
128
|
|
114
129
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
115
130
|
|
116
|
-
za.is_composite?.should
|
131
|
+
za.is_composite?.should be_falsey
|
117
132
|
end
|
118
133
|
|
119
134
|
it "should respond with false when asked if the file is a composite and the zip contains multiple .zip files and a single .xml file" do
|
@@ -127,7 +142,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
127
142
|
|
128
143
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
129
144
|
|
130
|
-
za.is_composite?.should
|
145
|
+
za.is_composite?.should be_falsey
|
131
146
|
end
|
132
147
|
|
133
148
|
it "should respond with false when asked if the file is a composite and the zip contains files with various extensions but no .zip files" do
|
@@ -142,7 +157,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
142
157
|
|
143
158
|
za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
|
144
159
|
|
145
|
-
za.is_composite?.should
|
160
|
+
za.is_composite?.should be_falsey
|
146
161
|
end
|
147
162
|
|
148
163
|
it "should respond with true when the file listing has no directory entry and all files are in a subdirectory" do
|
@@ -157,7 +172,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
157
172
|
|
158
173
|
UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
|
159
174
|
|
160
|
-
expect(za.is_composite?).to
|
175
|
+
expect(za.is_composite?).to be_truthy
|
161
176
|
end
|
162
177
|
|
163
178
|
it "should respond with true when the file listing has a directory entry and all files are in a subdirectory" do
|
@@ -173,7 +188,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
173
188
|
|
174
189
|
UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
|
175
190
|
|
176
|
-
expect(za.is_composite?).to
|
191
|
+
expect(za.is_composite?).to be_truthy
|
177
192
|
end
|
178
193
|
|
179
194
|
it "should respond with true when the file listing has at least one .zip file" do
|
@@ -189,7 +204,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
189
204
|
|
190
205
|
UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
|
191
206
|
|
192
|
-
expect(za.is_composite?).to
|
207
|
+
expect(za.is_composite?).to be_truthy
|
193
208
|
end
|
194
209
|
|
195
210
|
it "should respond with false when the file listing doesn't have at least one .zip file" do
|
@@ -205,7 +220,7 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
205
220
|
|
206
221
|
UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
|
207
222
|
|
208
|
-
expect(za.is_composite?).to
|
223
|
+
expect(za.is_composite?).to be_falsey
|
209
224
|
end
|
210
225
|
|
211
226
|
end
|
@@ -218,12 +233,12 @@ describe MdsFileUtils::ZipAnalyzer do
|
|
218
233
|
|
219
234
|
it "should return true if the list of files in the zip file contain entries that are not ZIP files" do
|
220
235
|
@cut.should_receive(:file_list).and_return([ 'thing1.zip', 'thing2.jpg', 'dir/thing3.zip' ])
|
221
|
-
expect(@cut.non_mds_data_in_composite?).to
|
236
|
+
expect(@cut.non_mds_data_in_composite?).to be_truthy
|
222
237
|
end
|
223
238
|
|
224
239
|
it "should return false if the list of files in the zip file contain only directories and ZIP files" do
|
225
240
|
@cut.should_receive(:file_list).and_return([ 'thing1.zip', 'dir/', 'dir2\\', 'dir/thing2.ZIP' ])
|
226
|
-
expect(@cut.non_mds_data_in_composite?).to
|
241
|
+
expect(@cut.non_mds_data_in_composite?).to be_falsey
|
227
242
|
end
|
228
243
|
|
229
244
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mds_file_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave
|
8
|
+
- Kendra
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: activesupport
|
@@ -16,42 +17,42 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
+
version: '6.0'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
+
version: '6.0'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: unzipMe
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
32
|
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
+
version: 1.1.2
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
+
version: 1.1.2
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: rspec
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- - "
|
46
|
+
- - ">="
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
+
version: '0'
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- - "
|
53
|
+
- - ">="
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
+
version: '0'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: rdoc
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,30 +73,30 @@ dependencies:
|
|
72
73
|
requirements:
|
73
74
|
- - "~>"
|
74
75
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
76
|
+
version: '2.4'
|
76
77
|
type: :development
|
77
78
|
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
81
|
- - "~>"
|
81
82
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
83
|
+
version: '2.4'
|
83
84
|
- !ruby/object:Gem::Dependency
|
84
85
|
name: jeweler
|
85
86
|
requirement: !ruby/object:Gem::Requirement
|
86
87
|
requirements:
|
87
88
|
- - "~>"
|
88
89
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
90
|
+
version: '2.3'
|
90
91
|
type: :development
|
91
92
|
prerelease: false
|
92
93
|
version_requirements: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
95
|
- - "~>"
|
95
96
|
- !ruby/object:Gem::Version
|
96
|
-
version: '2.
|
97
|
+
version: '2.3'
|
97
98
|
description: A set of useful MDS file utilities.
|
98
|
-
email:
|
99
|
+
email: kmulvey@providigm.com
|
99
100
|
executables: []
|
100
101
|
extensions: []
|
101
102
|
extra_rdoc_files:
|
@@ -105,7 +106,6 @@ files:
|
|
105
106
|
- ".document"
|
106
107
|
- ".rspec"
|
107
108
|
- Gemfile
|
108
|
-
- Gemfile.lock
|
109
109
|
- LICENSE.txt
|
110
110
|
- README.rdoc
|
111
111
|
- Rakefile
|
@@ -118,7 +118,7 @@ files:
|
|
118
118
|
- spec/test_data/clear.gif
|
119
119
|
- spec/zip_analyzer_spec.rb
|
120
120
|
- spec/zip_splitter_spec.rb
|
121
|
-
homepage: http://github.com/
|
121
|
+
homepage: http://github.com/GitHubAdmin/mds_file_utils
|
122
122
|
licenses:
|
123
123
|
- MIT
|
124
124
|
metadata: {}
|
@@ -137,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.2.2
|
140
|
+
rubygems_version: 3.0.3.1
|
142
141
|
signing_key:
|
143
142
|
specification_version: 4
|
144
143
|
summary: A collection of MDS file utilities.
|
data/Gemfile.lock
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
activesupport (4.1.4)
|
5
|
-
i18n (~> 0.6, >= 0.6.9)
|
6
|
-
json (~> 1.7, >= 1.7.7)
|
7
|
-
minitest (~> 5.1)
|
8
|
-
thread_safe (~> 0.1)
|
9
|
-
tzinfo (~> 1.1)
|
10
|
-
addressable (2.3.6)
|
11
|
-
builder (3.2.2)
|
12
|
-
descendants_tracker (0.0.4)
|
13
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
14
|
-
diff-lcs (1.2.5)
|
15
|
-
faraday (0.9.0)
|
16
|
-
multipart-post (>= 1.2, < 3)
|
17
|
-
git (1.2.8)
|
18
|
-
github_api (0.12.0)
|
19
|
-
addressable (~> 2.3)
|
20
|
-
descendants_tracker (~> 0.0.4)
|
21
|
-
faraday (~> 0.8, < 0.10)
|
22
|
-
hashie (>= 3.2)
|
23
|
-
multi_json (>= 1.7.5, < 2.0)
|
24
|
-
nokogiri (~> 1.6.3)
|
25
|
-
oauth2
|
26
|
-
hashie (3.2.0)
|
27
|
-
highline (1.6.21)
|
28
|
-
i18n (0.6.11)
|
29
|
-
jeweler (2.0.1)
|
30
|
-
builder
|
31
|
-
bundler (>= 1.0)
|
32
|
-
git (>= 1.2.5)
|
33
|
-
github_api
|
34
|
-
highline (>= 1.6.15)
|
35
|
-
nokogiri (>= 1.5.10)
|
36
|
-
rake
|
37
|
-
rdoc
|
38
|
-
json (1.8.1)
|
39
|
-
jwt (1.0.0)
|
40
|
-
mini_portile (0.6.0)
|
41
|
-
minitest (5.4.0)
|
42
|
-
multi_json (1.10.1)
|
43
|
-
multi_xml (0.5.5)
|
44
|
-
multipart-post (2.0.0)
|
45
|
-
nokogiri (1.6.3.1)
|
46
|
-
mini_portile (= 0.6.0)
|
47
|
-
oauth2 (1.0.0)
|
48
|
-
faraday (>= 0.8, < 0.10)
|
49
|
-
jwt (~> 1.0)
|
50
|
-
multi_json (~> 1.3)
|
51
|
-
multi_xml (~> 0.5)
|
52
|
-
rack (~> 1.2)
|
53
|
-
rack (1.5.2)
|
54
|
-
rake (10.3.2)
|
55
|
-
rdoc (4.1.0)
|
56
|
-
rspec (2.14.1)
|
57
|
-
rspec-core (~> 2.14.0)
|
58
|
-
rspec-expectations (~> 2.14.0)
|
59
|
-
rspec-mocks (~> 2.14.0)
|
60
|
-
rspec-core (2.14.8)
|
61
|
-
rspec-expectations (2.14.5)
|
62
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
63
|
-
rspec-mocks (2.14.6)
|
64
|
-
thread_safe (0.3.4)
|
65
|
-
tzinfo (1.2.1)
|
66
|
-
thread_safe (~> 0.1)
|
67
|
-
unzipMe (1.0.0)
|
68
|
-
|
69
|
-
PLATFORMS
|
70
|
-
ruby
|
71
|
-
|
72
|
-
DEPENDENCIES
|
73
|
-
activesupport (~> 4.0)
|
74
|
-
bundler (~> 1.5)
|
75
|
-
jeweler (~> 2.0)
|
76
|
-
rdoc (~> 4.1)
|
77
|
-
rspec (~> 2.14)
|
78
|
-
unzipMe (~> 1.0)
|