Skip to content

Commit

Permalink
Cleaned up legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
alebsack committed Sep 24, 2014
1 parent b1a2fb0 commit c03843a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 52 deletions.
2 changes: 1 addition & 1 deletion em-synchrony-moped.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = 'em-synchrony-moped'
s.version = "2.0.0.beta.1"
s.version = "2.0.0.beta.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Adam Lebsack"]
Expand Down
3 changes: 1 addition & 2 deletions lib/em-synchrony/moped.rb
@@ -1,7 +1,6 @@
# encoding: utf-8

require 'em-synchrony'
require 'em-synchrony/moped/address'
require 'em-synchrony/moped/cluster'
require 'em-synchrony/moped/node'
require 'em-synchrony/moped/connection'
require 'em-synchrony/moped/address'
7 changes: 5 additions & 2 deletions lib/em-synchrony/moped/address.rb
@@ -1,4 +1,9 @@
# encoding: utf-8

require 'moped/address'
require 'em-dns-resolver'
require 'fiber'

module Moped
class Address

Expand All @@ -20,8 +25,6 @@ def resolve(node)
end

def em_each_address(value)
puts "em_each_address: #{value.inspect}"

# Lookup in /etc/hosts
result = []
@hosts ||= Resolv::Hosts.new
Expand Down
47 changes: 0 additions & 47 deletions lib/em-synchrony/moped/node.rb

This file was deleted.

0 comments on commit c03843a

Please sign in to comment.