Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gemify

  • Loading branch information...
commit d156caef7feec244f3ea6c5dfdaaf1b811600168 1 parent 47f0191
@phuesler phuesler authored
View
4 .gitignore
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
View
4 Gemfile
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in iscale.gemspec
+gemspec
View
1  Rakefile
@@ -0,0 +1 @@
+require 'bundler/gem_tasks'
View
4 iScale.rb → bin/iScale
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'rubygems'
require 'rest-client'
@@ -99,7 +99,7 @@ def abort(message)
end
def home_dir
- File.expand_path(File.dirname(__FILE__))
+ File.join(File.expand_path(File.dirname(__FILE__)), "..")
end
def file_name
View
20 iscale.gemspec
@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "iscale/version"
+
+Gem::Specification.new do |s|
+ s.name = "iscale"
+ s.version = IScale::VERSION
+ s.authors = ["Jesper Richter-Reichhelm"]
+ s.email = ["jesper@wooga.com"]
+ s.homepage = "https://github.com/wooga/iScale"
+ s.summary = "Scalarium API CLI tool"
+ s.description = "Manage your scalarium cluster from the command line"
+ s.add_dependency "rest-client"
+ s.add_dependency "json"
+ s.add_development_dependency "rake"
+ 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
View
5 lib/iScale.rb
@@ -0,0 +1,5 @@
+require "iscale/version"
+
+module IScale
+ # Your code goes here...
+end
View
3  lib/iscale/version.rb
@@ -0,0 +1,3 @@
+module IScale
+ VERSION = "0.0.1"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.