Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Lop out Ruby 1.8 support, since it was end-of-life'd this month.

  • Loading branch information...
commit 1906797709e11a76e3a4b7d567d75918969dd890 1 parent c52478e
Marsell Kukuljevic authored
View
5 README.md
@@ -60,7 +60,6 @@ If you're like the author, examples are worth reams of explanation. Here,
hurried friend, is an example demonstrating some of ruby-manta's usage:
````` ruby
- require 'rubygems'
require 'ruby-manta'
# You'll need to provide these four environment variables to run this
@@ -161,8 +160,8 @@ If you're one of the chaps using Ruby 1.9.*, life is easy:
Done.
-If you're of a more conservative bent and are using Ruby 1.8.*, there might
-be a (mostly-)harmless HTTPClient RDoc error; ignore it.
+Ruby 1.8.7 was end-of-life'd on June, 2013. As a result, ruby-manta no longer
+supports it either.
View
1  example.rb
@@ -1,4 +1,3 @@
-require 'rubygems'
require 'ruby-manta'
# You'll need to provide these four environment variables to run this
View
3  ruby-manta.gemspec
@@ -10,9 +10,6 @@ Gem::Specification.new do |s|
s.email = 'marsell@joyent.com'
s.homepage = 'http://github.com/joyent/ruby-manta/'
- s.add_dependency('json_pure', '>= 1.7.6')
- s.add_development_dependency('minitest')
-
s.add_dependency('net-ssh', '>= 2.6.0')
s.add_dependency('httpclient', '>= 2.3.0.1')
View
3  tests/test_ruby-manta.rb
@@ -1,4 +1,3 @@
-require 'rubygems' # for 1.8 compat
require 'minitest/autorun'
require 'httpclient'
require File.expand_path('../../lib/ruby-manta', __FILE__)
@@ -17,7 +16,7 @@ def setup
unless host && key && @@user
$stderr.puts 'Require HOST, USER and KEY env variables to run tests.'
- $stderr.puts 'E.g. USER=john KEY=~/.ssh/john HOST=https://manta.joyent.com ruby tests/test_manta.rb'
+ $stderr.puts 'E.g. USER=john KEY=~/.ssh/john HOST=https://us-east.manta.joyent.com ruby tests/test_ruby-manta.rb'
exit
end
Please sign in to comment.
Something went wrong with that request. Please try again.