niftp 1.0.0 → 1.0.1
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.
- data/lib/niftp/version.rb +1 -1
- data/niftp.gemspec +4 -3
- data/test/niftp_test.rb +2 -2
- data/test/test_helper.rb +1 -1
- metadata +4 -4
data/lib/niftp/version.rb
CHANGED
data/niftp.gemspec
CHANGED
@@ -8,9 +8,10 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Christopher R. Murphy"]
|
10
10
|
s.email = ["chmurph2+git@gmail.com"]
|
11
|
-
s.homepage = "
|
12
|
-
s.summary = %q{NiFTP
|
13
|
-
|
11
|
+
s.homepage = "https://github.com/chmurph2/NiFTP"
|
12
|
+
s.summary = %q{NiFTP makes Ruby's decidedly un-nifty Net::FTP library
|
13
|
+
easier to use.}
|
14
|
+
s.description = s.summary
|
14
15
|
|
15
16
|
s.rubyforge_project = "niftp"
|
16
17
|
|
data/test/niftp_test.rb
CHANGED
@@ -71,9 +71,9 @@ class NiFTPTest < Test::Unit::TestCase
|
|
71
71
|
end
|
72
72
|
|
73
73
|
should "use the :retries option instead of the default" do
|
74
|
-
Net::FTP.expects(:new).times(
|
74
|
+
Net::FTP.expects(:new).times(2).returns(@ftp)
|
75
75
|
assert_raise(RuntimeError) do
|
76
|
-
@object.ftp(@host, {:retries =>
|
76
|
+
@object.ftp(@host, {:retries => 2 }) do |ftp_client|
|
77
77
|
raise "testing retryable gem"
|
78
78
|
end
|
79
79
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: niftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Christopher R. Murphy
|
@@ -101,7 +101,7 @@ dependencies:
|
|
101
101
|
version: "0.8"
|
102
102
|
type: :development
|
103
103
|
version_requirements: *id008
|
104
|
-
description:
|
104
|
+
description: NiFTP makes Ruby's decidedly un-nifty Net::FTP library easier to use.
|
105
105
|
email:
|
106
106
|
- chmurph2+git@gmail.com
|
107
107
|
executables: []
|
@@ -122,7 +122,7 @@ files:
|
|
122
122
|
- test/niftp_test.rb
|
123
123
|
- test/test_helper.rb
|
124
124
|
has_rdoc: true
|
125
|
-
homepage:
|
125
|
+
homepage: https://github.com/chmurph2/NiFTP
|
126
126
|
licenses: []
|
127
127
|
|
128
128
|
post_install_message:
|
@@ -148,7 +148,7 @@ rubyforge_project: niftp
|
|
148
148
|
rubygems_version: 1.6.2
|
149
149
|
signing_key:
|
150
150
|
specification_version: 3
|
151
|
-
summary: NiFTP
|
151
|
+
summary: NiFTP makes Ruby's decidedly un-nifty Net::FTP library easier to use.
|
152
152
|
test_files:
|
153
153
|
- test/niftp_test.rb
|
154
154
|
- test/test_helper.rb
|