net-ftp-port_command 0.0.2 → 0.1.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 +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +6 -0
- data/README.md +3 -0
- data/lib/net/ftp/port_command/version.rb +1 -1
- data/net-ftp-port_command.gemspec +2 -1
- data/spec/net/ftp/port_command_spec.rb +7 -0
- data/spec/spec_helper.rb +19 -0
- metadata +24 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d43868b0288869b8cf2b76fb075c867a70d7915
|
4
|
+
data.tar.gz: fb00daac7bd96393b71ebacd9275d649653d5bd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dcb1b608567984c1ae9d69beb0c0b0f7985fdae27ef2d57f7af8a3aabf8e600d38ee631ebb31cabd43f4467c9464f5428675ae18842d88feb165bb4232daa43
|
7
|
+
data.tar.gz: 061279dbb447f1e70f2ad061dafc779f39f863373f12ff3d7c4f251e03c9641f5cb0435a4707285c456451ee747f651aad9fb600416ab5d9071677f81ac9310c
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Net::FTP::PortCommand
|
2
2
|
|
3
|
+
[](http://badge.fury.io/rb/net-ftp-port_command)
|
4
|
+
[](https://travis-ci.org/s-osa/net-ftp-port_command)
|
5
|
+
|
3
6
|
This gem enables Net::FTP to send FTP `PORT` command.
|
4
7
|
|
5
8
|
If your FTP client have to use active mode and over NAT, this gem may be helpful.
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.required_ruby_version = '>= 2.0.0'
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler", "~> 1.
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
25
26
|
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'net/ftp'
|
2
|
+
require File.expand_path("../../lib/net/ftp/port_command", __FILE__)
|
3
|
+
|
4
|
+
RSpec.configure do |config|
|
5
|
+
config.expect_with :rspec do |expectations|
|
6
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
7
|
+
end
|
8
|
+
|
9
|
+
config.mock_with :rspec do |mocks|
|
10
|
+
mocks.verify_partial_doubles = true
|
11
|
+
end
|
12
|
+
|
13
|
+
if config.files_to_run.one?
|
14
|
+
config.default_formatter = 'doc'
|
15
|
+
end
|
16
|
+
|
17
|
+
config.warnings = true
|
18
|
+
config.order = :random
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ftp-port_command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OSA Shunsuke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.6'
|
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
|
-
version: '1.
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
41
55
|
description: Enable Net::FTP to send PORT command.
|
42
56
|
email:
|
43
57
|
- hhelibebcnofnenamg@gmail.com
|
@@ -46,6 +60,7 @@ extensions: []
|
|
46
60
|
extra_rdoc_files: []
|
47
61
|
files:
|
48
62
|
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
49
64
|
- Gemfile
|
50
65
|
- LICENSE.txt
|
51
66
|
- README.md
|
@@ -53,6 +68,8 @@ files:
|
|
53
68
|
- lib/net/ftp/port_command.rb
|
54
69
|
- lib/net/ftp/port_command/version.rb
|
55
70
|
- net-ftp-port_command.gemspec
|
71
|
+
- spec/net/ftp/port_command_spec.rb
|
72
|
+
- spec/spec_helper.rb
|
56
73
|
homepage: https://github.com/s-osa/net-ftp-port_command
|
57
74
|
licenses:
|
58
75
|
- MIT
|
@@ -77,4 +94,6 @@ rubygems_version: 2.2.2
|
|
77
94
|
signing_key:
|
78
95
|
specification_version: 4
|
79
96
|
summary: Enable Net::FTP to send PORT command.
|
80
|
-
test_files:
|
97
|
+
test_files:
|
98
|
+
- spec/net/ftp/port_command_spec.rb
|
99
|
+
- spec/spec_helper.rb
|