Permalink
Browse files

Make it a gem!

  • Loading branch information...
1 parent 7815bbe commit 12ccd4d6401fa49e85d019dc7c74bd2975c7a75d @ominiom committed Mar 18, 2012
Showing with 22 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +0 −1 VERSION
  3. +1 −0 lib/mikrotik.rb
  4. +3 −0 lib/mikrotik/version.rb
  5. +17 −0 mikrotik.gemspec
View
@@ -6,3 +6,4 @@ Gemfile.lock
pkg
doc
!doc/setup.rb
+*.gem
View
@@ -1 +0,0 @@
-0.0.0
View
@@ -32,6 +32,7 @@ def self.connect(*args)
# Load up the code
require 'extensions/string'
require 'extensions/events'
+require 'mikrotik/version'
require 'mikrotik/errors'
require 'mikrotik/client'
require 'mikrotik/connection'
View
@@ -0,0 +1,3 @@
+module Mikrotik
+ VERSION = "0.0.1"
+end
View
@@ -0,0 +1,17 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "mikrotik/version"
+
+Gem::Specification.new do |s|
+ s.name = "mikrotik"
+ s.version = Mikrotik::VERSION
+ s.authors = ["Iain Wilson"]
+ s.homepage = "http://github.com/ominiom/mikrotik"
+ s.summary = %q{A Mikrotik RouterOS API client using EventMachine}
+ s.description = %q{Provides an interface to run commands and collect results from a RouterOS device}
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end

0 comments on commit 12ccd4d

Please sign in to comment.