hdfs-viking 0.0.6 → 0.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11d89901b01122209e69cda466df76816c436ea8
4
- data.tar.gz: b87095644174963fe159343b1e3966d3fe277f2f
3
+ metadata.gz: 0125ac4d323305291b7ad46b5a1675df66c73766
4
+ data.tar.gz: d4b365efcb953d701a075814c3eea2b3f769f444
5
5
  SHA512:
6
- metadata.gz: 901af5258a9bde742a70caa7fea0516f14ed78c21cdd3ec7c7fbb6fbac882cfa28e3ced29e094a967dcc9db544cb30c535b22e7a92c386a790c5e336e392134f
7
- data.tar.gz: 75e58c61ca82a9aac66a06f479dc4602d4b9aa08cf64a3b6b9af42c7cd7ceed217e22e2e85bc7c175f33d32addb9978e3769a2fb1ded0dc8183e12e1853560fc
6
+ metadata.gz: 03b0f836f7127c63efd63707dd4e3dd2fe3780152117796491f1f040886ffe38368bf85f140c1bb8fc32980e80a6251935f60886746f44412b4d2c50d5fcb6a2
7
+ data.tar.gz: 58cc3f4b39dc9ccb6020c411aaaedeb0e642d381ca69e55e27e65e6dedee653c2d1d58d8210a6062b36c0a79fcfbc55c5f3e0aeefeea5403d5e024ea3f631c24
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hdfs-viking (0.0.6)
4
+ hdfs-viking (0.0.7)
5
5
  bundler
6
6
  lock_jar
7
7
  rake
@@ -1,3 +1,3 @@
1
1
  module Viking
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -50,7 +50,7 @@ class TestDirClassMethods < MiniTest::Unit::TestCase
50
50
  assert_raises(Errno::ENOENT) { Viking::Dir.delete("#{TMP_DIR}/does-not-exists") }
51
51
  assert_raises(Errno::ENOENT) { Viking::Dir.delete(TEST_FILE_PATH_1) }
52
52
 
53
- assert [TEST_FILE_1, TEST_FILE_2] == Viking::Dir.entries(TMP_DIR)
53
+ assert [TEST_FILE_1, TEST_FILE_2].sort == Viking::Dir.entries(TMP_DIR).sort
54
54
  end
55
55
 
56
56
  def test_exist?
@@ -70,7 +70,7 @@ class TestDirClassMethods < MiniTest::Unit::TestCase
70
70
  Viking::Dir.foreach(TMP_DIR) do |file_name|
71
71
  file_names << file_name
72
72
  end
73
- assert [TEST_FILE_1, TEST_FILE_2] == file_names
73
+ assert [TEST_FILE_1, TEST_FILE_2].sort == file_names.sort
74
74
  end
75
75
 
76
76
  def test_getwd
@@ -37,7 +37,7 @@ class TestDirInstanceMethods < MiniTest::Unit::TestCase
37
37
  entries << entry
38
38
  end
39
39
 
40
- assert [TEST_FILE_1, TEST_FILE_2] == entries
40
+ assert [TEST_FILE_1, TEST_FILE_2].sort == entries.sort
41
41
  end
42
42
 
43
43
  def test_path
@@ -48,8 +48,7 @@ class TestDirInstanceMethods < MiniTest::Unit::TestCase
48
48
  def test_read
49
49
  d = Viking::Dir.new(TMP_DIR)
50
50
 
51
- assert TEST_FILE_1 == d.read
52
- assert TEST_FILE_2 == d.read
51
+ assert [TEST_FILE_1, TEST_FILE_2].sort == [d.read, d.read].sort
53
52
  assert d.read.nil?
54
53
  assert d.read.nil?
55
54
  end
@@ -57,15 +56,13 @@ class TestDirInstanceMethods < MiniTest::Unit::TestCase
57
56
  def test_rewind
58
57
  d = Viking::Dir.new(TMP_DIR)
59
58
 
60
- assert TEST_FILE_1 == d.read
61
- assert TEST_FILE_2 == d.read
59
+ assert [TEST_FILE_1, TEST_FILE_2].sort == [d.read, d.read]
62
60
  assert d.read.nil?
63
61
  assert d.read.nil?
64
62
 
65
63
  d.rewind
66
64
 
67
- assert TEST_FILE_1 == d.read
68
- assert TEST_FILE_2 == d.read
65
+ assert [TEST_FILE_1, TEST_FILE_2].sort == [d.read, d.read]
69
66
  assert d.read.nil?
70
67
  assert d.read.nil?
71
68
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hdfs-viking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Selin