mds_file_utils 0.1.2 → 0.2.0

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: 92bef92ccdd43604e805d7c8989c64ae11a74632
4
- data.tar.gz: 559d8a08d0485757c67f80e654b6920712e63b99
3
+ metadata.gz: 41949ba49d502cf6a84eca24d16a6e98bcfecb24
4
+ data.tar.gz: 138ead39b6dc7689f6f8e7ec2423bfa747541293
5
5
  SHA512:
6
- metadata.gz: ed8c63c3ae8f6169f4c083be72ae17fd89bfdbcd189d1280b166ad0941fef608c604780dc4ae48a3c6232178912f0ee7695d97f6f5f61ee3c6b43a88045b1945
7
- data.tar.gz: 1fa835d2dc427cecc2fda62b505d46612914c6452189fcc6bd0710c3e9017c167ea75c25f6ba1becf4ce8f7d4f75cd8ad3f562fd4000991c754ccbba9b05dc87
6
+ metadata.gz: 263026e46f18b50c6c4231f10f8533c0de45456c16e625dfc921ce50a16e23be9f789c3526d38c02890775726ae2ffff4901b08ccb3cdc40ace987513b9a77ee
7
+ data.tar.gz: 5e2dce6e9ca6efd902206ec4b6973b8fb8d99378795689abcff0ffadf21debce20ad330b404db2670312f0dacf2e789d6a4f088bb0f45b7bfa1191906b8af52d
data/Gemfile CHANGED
@@ -1,14 +1,14 @@
1
1
  source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
3
  # Example:
4
- gem "activesupport", "~> 4.0"
5
- gem "unzipMe", "~> 1.0"
4
+ gem "activesupport", "~> 5.1"
5
+ gem "unzipMe", "~> 1.1.2"
6
6
 
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", "~> 2.14"
10
+ gem "rspec", "~> 3.6"
11
11
  gem "rdoc", "~> 4.1"
12
- gem "bundler", "~> 1.5"
13
- gem "jeweler", "~> 2.0"
12
+ gem "bundler", "~> 1.15"
13
+ gem "jeweler", "~> 2.3"
14
14
  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/dj0hnve@gmail.com/mds_file_utils"
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 = "dave.sieh@providigm.com"
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.2
1
+ 0.2.0
@@ -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.1.2 ruby lib
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.1.2"
9
+ s.version = "0.2.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 = "2014-08-13"
13
+ s.authors = ["Dave", "Kendra"]
14
+ s.date = "2017-07-18"
15
15
  s.description = "A set of useful MDS file utilities."
16
- s.email = "dave.sieh@providigm.com"
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/dj0hnve@gmail.com/mds_file_utils"
38
+ s.homepage = "http://github.com/GitHubAdmin/mds_file_utils"
40
39
  s.licenses = ["MIT"]
41
- s.rubygems_version = "2.2.2"
40
+ s.rubygems_version = "2.4.8"
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>, ["~> 4.0"])
49
- s.add_runtime_dependency(%q<unzipMe>, ["~> 1.0"])
50
- s.add_development_dependency(%q<rspec>, ["~> 2.14"])
47
+ s.add_runtime_dependency(%q<activesupport>, ["~> 5.1"])
48
+ s.add_runtime_dependency(%q<unzipMe>, ["~> 1.1.2"])
49
+ s.add_development_dependency(%q<rspec>, ["~> 3.6"])
51
50
  s.add_development_dependency(%q<rdoc>, ["~> 4.1"])
52
- s.add_development_dependency(%q<bundler>, ["~> 1.5"])
53
- s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
51
+ s.add_development_dependency(%q<bundler>, ["~> 1.15"])
52
+ s.add_development_dependency(%q<jeweler>, ["~> 2.3"])
54
53
  else
55
- s.add_dependency(%q<activesupport>, ["~> 4.0"])
56
- s.add_dependency(%q<unzipMe>, ["~> 1.0"])
57
- s.add_dependency(%q<rspec>, ["~> 2.14"])
54
+ s.add_dependency(%q<activesupport>, ["~> 5.1"])
55
+ s.add_dependency(%q<unzipMe>, ["~> 1.1.2"])
56
+ s.add_dependency(%q<rspec>, ["~> 3.6"])
58
57
  s.add_dependency(%q<rdoc>, ["~> 4.1"])
59
- s.add_dependency(%q<bundler>, ["~> 1.5"])
60
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
58
+ s.add_dependency(%q<bundler>, ["~> 1.15"])
59
+ s.add_dependency(%q<jeweler>, ["~> 2.3"])
61
60
  end
62
61
  else
63
- s.add_dependency(%q<activesupport>, ["~> 4.0"])
64
- s.add_dependency(%q<unzipMe>, ["~> 1.0"])
65
- s.add_dependency(%q<rspec>, ["~> 2.14"])
62
+ s.add_dependency(%q<activesupport>, ["~> 5.1"])
63
+ s.add_dependency(%q<unzipMe>, ["~> 1.1.2"])
64
+ s.add_dependency(%q<rspec>, ["~> 3.6"])
66
65
  s.add_dependency(%q<rdoc>, ["~> 4.1"])
67
- s.add_dependency(%q<bundler>, ["~> 1.5"])
68
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
66
+ s.add_dependency(%q<bundler>, ["~> 1.15"])
67
+ s.add_dependency(%q<jeweler>, ["~> 2.3"])
69
68
  end
70
69
  end
71
70
 
@@ -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 be_false
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 be_false
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 be_false
46
+ za.valid_zip?.should be_falsey
47
47
  end
48
48
 
49
49
  end
@@ -63,7 +63,7 @@ describe MdsFileUtils::ZipAnalyzer do
63
63
 
64
64
  za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
65
65
 
66
- za.valid_zip?.should be_true
66
+ za.valid_zip?.should be_truthy
67
67
  end
68
68
 
69
69
  it "should respond with true if asked if a valid zip file has an extension of '.ZIP'" do
@@ -75,7 +75,7 @@ describe MdsFileUtils::ZipAnalyzer do
75
75
 
76
76
  za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
77
77
 
78
- za.valid_zip?.should be_true
78
+ za.valid_zip?.should be_truthy
79
79
  end
80
80
 
81
81
  end
@@ -99,7 +99,7 @@ describe MdsFileUtils::ZipAnalyzer do
99
99
 
100
100
  za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
101
101
 
102
- za.is_composite?.should be_true
102
+ za.is_composite?.should be_truthy
103
103
  end
104
104
 
105
105
  it "should respond with false when asked if the file is a composite and the zip contains only .xml files" do
@@ -113,7 +113,7 @@ describe MdsFileUtils::ZipAnalyzer do
113
113
 
114
114
  za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
115
115
 
116
- za.is_composite?.should be_false
116
+ za.is_composite?.should be_falsey
117
117
  end
118
118
 
119
119
  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 +127,7 @@ describe MdsFileUtils::ZipAnalyzer do
127
127
 
128
128
  za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
129
129
 
130
- za.is_composite?.should be_false
130
+ za.is_composite?.should be_falsey
131
131
  end
132
132
 
133
133
  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 +142,7 @@ describe MdsFileUtils::ZipAnalyzer do
142
142
 
143
143
  za = MdsFileUtils::ZipAnalyzer.new(@file_to_test)
144
144
 
145
- za.is_composite?.should be_false
145
+ za.is_composite?.should be_falsey
146
146
  end
147
147
 
148
148
  it "should respond with true when the file listing has no directory entry and all files are in a subdirectory" do
@@ -157,7 +157,7 @@ describe MdsFileUtils::ZipAnalyzer do
157
157
 
158
158
  UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
159
159
 
160
- expect(za.is_composite?).to be_true
160
+ expect(za.is_composite?).to be_truthy
161
161
  end
162
162
 
163
163
  it "should respond with true when the file listing has a directory entry and all files are in a subdirectory" do
@@ -173,7 +173,7 @@ describe MdsFileUtils::ZipAnalyzer do
173
173
 
174
174
  UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
175
175
 
176
- expect(za.is_composite?).to be_true
176
+ expect(za.is_composite?).to be_truthy
177
177
  end
178
178
 
179
179
  it "should respond with true when the file listing has at least one .zip file" do
@@ -189,7 +189,7 @@ describe MdsFileUtils::ZipAnalyzer do
189
189
 
190
190
  UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
191
191
 
192
- expect(za.is_composite?).to be_true
192
+ expect(za.is_composite?).to be_truthy
193
193
  end
194
194
 
195
195
  it "should respond with false when the file listing doesn't have at least one .zip file" do
@@ -205,7 +205,7 @@ describe MdsFileUtils::ZipAnalyzer do
205
205
 
206
206
  UnzipmeUnzipper.should_receive(:new).with('/tmp/baloney.zip').and_return(mock_unzipper)
207
207
 
208
- expect(za.is_composite?).to be_false
208
+ expect(za.is_composite?).to be_falsey
209
209
  end
210
210
 
211
211
  end
@@ -218,12 +218,12 @@ describe MdsFileUtils::ZipAnalyzer do
218
218
 
219
219
  it "should return true if the list of files in the zip file contain entries that are not ZIP files" do
220
220
  @cut.should_receive(:file_list).and_return([ 'thing1.zip', 'thing2.jpg', 'dir/thing3.zip' ])
221
- expect(@cut.non_mds_data_in_composite?).to be_true
221
+ expect(@cut.non_mds_data_in_composite?).to be_truthy
222
222
  end
223
223
 
224
224
  it "should return false if the list of files in the zip file contain only directories and ZIP files" do
225
225
  @cut.should_receive(:file_list).and_return([ 'thing1.zip', 'dir/', 'dir2\\', 'dir/thing2.ZIP' ])
226
- expect(@cut.non_mds_data_in_composite?).to be_false
226
+ expect(@cut.non_mds_data_in_composite?).to be_falsey
227
227
  end
228
228
 
229
229
  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.1.2
4
+ version: 0.2.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: 2014-08-13 00:00:00.000000000 Z
12
+ date: 2017-07-18 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: '4.0'
20
+ version: '5.1'
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: '4.0'
27
+ version: '5.1'
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: '1.0'
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: '1.0'
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: '2.14'
48
+ version: '3.6'
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: '2.14'
55
+ version: '3.6'
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: '1.5'
76
+ version: '1.15'
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: '1.5'
83
+ version: '1.15'
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.0'
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.0'
97
+ version: '2.3'
97
98
  description: A set of useful MDS file utilities.
98
- email: dave.sieh@providigm.com
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/dj0hnve@gmail.com/mds_file_utils
121
+ homepage: http://github.com/GitHubAdmin/mds_file_utils
122
122
  licenses:
123
123
  - MIT
124
124
  metadata: {}
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.2.2
141
+ rubygems_version: 2.4.8
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: A collection of MDS file utilities.
@@ -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)