net-ftp-list 3.2.10 → 3.2.11

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
- SHA1:
3
- metadata.gz: b24149ea69be425bf7c8d12f66e9d7ec5ab76e4c
4
- data.tar.gz: c7d387d546e42718bb5745bc37881be8a8720244
2
+ SHA256:
3
+ metadata.gz: 5ac7690dd10010600fa4b5d91dbd083f549361bd279381ee44194948d0d10cc2
4
+ data.tar.gz: 6effa8abfb935b263038ebcf7a993bd77334f7d57c0631065b04781563a7e632
5
5
  SHA512:
6
- metadata.gz: 4f6587dd3ce3fce4449e1f6cf1cfcd025e9af575160ec35c72a90b50a4aed5f7ecabebe5fdcd7df30394dabcf937448faa989936dd6ac633b58ab6ce83f70b1a
7
- data.tar.gz: 8e33d354000458813874b6ef6453e749ac5b0e1afba59061712df90bbf53de18298be58112ea4b9a9e09dacb4caa126dff8a9af267e3f59e4d5af57c13a5edac
6
+ metadata.gz: 152ab46668a0b77b896d444d1ef2d4ef1c32c9d9106f5d6e203c2864757e2e045c1663c906b35eaa599361fccda8a5c726975f1c229ed4ae479510d4825b055a
7
+ data.tar.gz: e0e1b61861bd271da806f44503595b14fc4580b2166981f701446957d34af225de1da90bfa1da7fa075854055234a69bf9df80b42d8728f040537cfac4978221
@@ -1,54 +1,54 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- addressable (2.5.1)
5
- public_suffix (~> 2.0, >= 2.0.2)
4
+ addressable (2.4.0)
6
5
  builder (3.2.3)
7
6
  descendants_tracker (0.0.4)
8
7
  thread_safe (~> 0.3, >= 0.3.1)
9
8
  faraday (0.9.2)
10
9
  multipart-post (>= 1.2, < 3)
11
10
  git (1.3.0)
12
- github_api (0.11.3)
13
- addressable (~> 2.3)
14
- descendants_tracker (~> 0.0.1)
11
+ github_api (0.16.0)
12
+ addressable (~> 2.4.0)
13
+ descendants_tracker (~> 0.0.4)
15
14
  faraday (~> 0.8, < 0.10)
16
- hashie (>= 1.2)
17
- multi_json (>= 1.7.5, < 2.0)
18
- nokogiri (~> 1.6.0)
19
- oauth2
20
- hashie (3.5.5)
21
- highline (1.7.8)
22
- jeweler (2.1.2)
15
+ hashie (>= 3.4)
16
+ mime-types (>= 1.16, < 3.0)
17
+ oauth2 (~> 1.0)
18
+ hashie (3.5.7)
19
+ highline (1.7.10)
20
+ jeweler (2.3.9)
23
21
  builder
24
- bundler (>= 1.0)
22
+ bundler
25
23
  git (>= 1.2.5)
26
- github_api (~> 0.11.0)
24
+ github_api (~> 0.16.0)
27
25
  highline (>= 1.6.15)
28
26
  nokogiri (>= 1.5.10)
27
+ psych
29
28
  rake
30
29
  rdoc
31
- semver
30
+ semver2
32
31
  jwt (1.5.6)
33
- mini_portile2 (2.1.0)
34
- multi_json (1.12.1)
32
+ mime-types (2.99.3)
33
+ mini_portile2 (2.3.0)
34
+ multi_json (1.13.1)
35
35
  multi_xml (0.6.0)
36
36
  multipart-post (2.0.0)
37
- nokogiri (1.6.8.1)
38
- mini_portile2 (~> 2.1.0)
39
- oauth2 (1.3.1)
40
- faraday (>= 0.8, < 0.12)
37
+ nokogiri (1.8.2)
38
+ mini_portile2 (~> 2.3.0)
39
+ oauth2 (1.4.0)
40
+ faraday (>= 0.8, < 0.13)
41
41
  jwt (~> 1.0)
42
42
  multi_json (~> 1.3)
43
43
  multi_xml (~> 0.5)
44
44
  rack (>= 1.2, < 3)
45
- power_assert (1.0.1)
46
- public_suffix (2.0.5)
47
- rack (1.6.5)
48
- rake (12.0.0)
49
- rdoc (4.3.0)
50
- semver (1.0.1)
51
- test-unit (3.2.3)
45
+ power_assert (1.1.1)
46
+ psych (3.0.2)
47
+ rack (2.0.4)
48
+ rake (12.3.1)
49
+ rdoc (6.0.3)
50
+ semver2 (3.4.2)
51
+ test-unit (3.2.7)
52
52
  power_assert
53
53
  thread_safe (0.3.6)
54
54
 
@@ -60,4 +60,4 @@ DEPENDENCIES
60
60
  test-unit
61
61
 
62
62
  BUNDLED WITH
63
- 1.14.6
63
+ 1.16.1
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 3
3
3
  :minor: 2
4
- :patch: 10
4
+ :patch: 11
5
5
  :build:
@@ -72,7 +72,7 @@ class Net::FTP::List::Unix < Net::FTP::List::Parser
72
72
  # strip the symlink stuff we don't care about
73
73
  if symlink
74
74
  basename.sub!(/\s+\->(.+)$/, '')
75
- symlink_destination = $1.strip
75
+ symlink_destination = $1.strip if $1
76
76
  end
77
77
 
78
78
  emit_entry(
@@ -2,15 +2,17 @@
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: net-ftp-list 3.2.11 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
- s.name = "net-ftp-list"
8
- s.version = "3.2.10"
8
+ s.name = "net-ftp-list".freeze
9
+ s.version = "3.2.11"
9
10
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Stateless Systems"]
12
- s.date = "2017-04-10"
13
- s.email = "enquiries@statelesssystems.com"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Stateless Systems".freeze]
14
+ s.date = "2018-04-02"
15
+ s.email = "enquiries@statelesssystems.com".freeze
14
16
  s.extra_rdoc_files = [
15
17
  "README.txt"
16
18
  ]
@@ -37,24 +39,23 @@ Gem::Specification.new do |s|
37
39
  "test/test_net_ftp_list_rumpus.rb",
38
40
  "test/test_net_ftp_list_unix.rb"
39
41
  ]
40
- s.homepage = "http://github.com/stateless-systems/net-ftp-list"
41
- s.require_paths = ["lib"]
42
- s.rubygems_version = "2.0.14"
43
- s.summary = "Parse FTP LIST command output."
42
+ s.homepage = "http://github.com/stateless-systems/net-ftp-list".freeze
43
+ s.rubygems_version = "2.7.6".freeze
44
+ s.summary = "Parse FTP LIST command output.".freeze
44
45
 
45
46
  if s.respond_to? :specification_version then
46
47
  s.specification_version = 4
47
48
 
48
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
- s.add_development_dependency(%q<jeweler>, [">= 0"])
50
- s.add_development_dependency(%q<test-unit>, [">= 0"])
50
+ s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
51
+ s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
51
52
  else
52
- s.add_dependency(%q<jeweler>, [">= 0"])
53
- s.add_dependency(%q<test-unit>, [">= 0"])
53
+ s.add_dependency(%q<jeweler>.freeze, [">= 0"])
54
+ s.add_dependency(%q<test-unit>.freeze, [">= 0"])
54
55
  end
55
56
  else
56
- s.add_dependency(%q<jeweler>, [">= 0"])
57
- s.add_dependency(%q<test-unit>, [">= 0"])
57
+ s.add_dependency(%q<jeweler>.freeze, [">= 0"])
58
+ s.add_dependency(%q<test-unit>.freeze, [">= 0"])
58
59
  end
59
60
  end
60
61
 
@@ -8,6 +8,7 @@ class TestNetFTPListUnix < Test::Unit::TestCase
8
8
  @other_dir = Net::FTP::List.parse 'drwxr-xr-x 8 1791 600 4096 Mar 11 07:57 forums' rescue nil
9
9
  @spaces = Net::FTP::List.parse 'drwxrwxr-x 2 danial danial 72 May 23 12:52 spaces suck' rescue nil
10
10
  @symlink = Net::FTP::List.parse 'lrwxrwxrwx 1 danial danial 4 Oct 30 15:26 bar -> /etc' rescue nil
11
+ @empty_symlink = Net::FTP::List.parse 'lrwxrwxrwx 1 danial danial 4 Oct 30 15:26 foo' rescue nil
11
12
  @older_date = Net::FTP::List.parse '-rwxrwxrwx 1 owner group 154112 Feb 15 2008 participando.xls' rescue nil
12
13
  @block_dev = Net::FTP::List.parse 'brw-r----- 1 root disk 1, 0 Apr 13 2006 ram0' rescue nil
13
14
  @char_dev = Net::FTP::List.parse 'crw-rw-rw- 1 root root 1, 3 Apr 13 2006 null' rescue nil
@@ -24,6 +25,7 @@ class TestNetFTPListUnix < Test::Unit::TestCase
24
25
  assert_equal "Unix", @other_dir.server_type, 'LIST unixish directory'
25
26
  assert_equal "Unix", @spaces.server_type, 'LIST unixish directory with spaces'
26
27
  assert_equal "Unix", @symlink.server_type, 'LIST unixish symlink'
28
+ assert_equal "Unix", @empty_symlink.server_type, 'LIST unixish symlink'
27
29
  assert_equal "Unix", @block_dev.server_type, 'LIST unix block device'
28
30
  assert_equal "Unix", @char_dev.server_type, 'LIST unix char device'
29
31
  assert_equal "Unix", @socket_dev.server_type, 'LIST unix socket device'
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ftp-list
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.10
4
+ version: 3.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stateless Systems
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-10 00:00:00.000000000 Z
11
+ date: 2018-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeweler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: test-unit
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description:
@@ -45,7 +45,7 @@ extensions: []
45
45
  extra_rdoc_files:
46
46
  - README.txt
47
47
  files:
48
- - .ruby-version
48
+ - ".ruby-version"
49
49
  - Gemfile
50
50
  - Gemfile.lock
51
51
  - README.txt
@@ -75,17 +75,17 @@ require_paths:
75
75
  - lib
76
76
  required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - '>='
78
+ - - ">="
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - '>='
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project:
88
- rubygems_version: 2.0.14
88
+ rubygems_version: 2.7.6
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Parse FTP LIST command output.