diff --git a/.gitignore b/.gitignore index 1bcca91..54b41ec 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,20 @@ debian/qasim/ *_qrc.rb .bundle vendor/bundle +*.gem +*.rbc +.bundle +.config +.yardoc +Gemfile.lock +InstalledFiles +_yardoc +coverage +doc/ +lib/bundler/man +pkg +rdoc +spec/reports +test/tmp +test/version_tmp +tmp diff --git a/Gemfile b/Gemfile index ff57b62..11ee8a0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,8 @@ +source 'https://rubygems.org' -source "https://rubygems.org" +# Specify your gem's dependencies in qasim.gemspec +gemspec -gem "rdebug" -gem "qtbindings" -gem "thor" +#gem "rdebug" +#gem "qtbindings" +#gem "thor" diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..2995527 --- /dev/null +++ b/Rakefile @@ -0,0 +1 @@ +require "bundler/gem_tasks" diff --git a/lib/qasim.rb b/lib/qasim.rb index 877a907..1c141d4 100644 --- a/lib/qasim.rb +++ b/lib/qasim.rb @@ -1,5 +1,6 @@ +require 'qasim/version' require 'qasim/constants' module Qasim diff --git a/lib/qasim/constants.rb b/lib/qasim/constants.rb index 22ab788..9d84e64 100644 --- a/lib/qasim/constants.rb +++ b/lib/qasim/constants.rb @@ -1,8 +1,5 @@ module Qasim APP_ICON_PATH = File.join QASIM_DATA_DIR, "icons" - APP_NAME = "Qasim" - APP_VERSION = "0.1" - APP_DATE = "2012-08-02" APP_SYSCONFIG_DIR = "/etc/qasim/maps.d" diff --git a/lib/qasim/version.rb b/lib/qasim/version.rb new file mode 100644 index 0000000..169b85c --- /dev/null +++ b/lib/qasim/version.rb @@ -0,0 +1,5 @@ +module Qasim + APP_NAME = "Qasim" + APP_VERSION = "0.1" + APP_DATE = "2012-08-02" +end diff --git a/qasim.gemspec b/qasim.gemspec new file mode 100644 index 0000000..5a9e4c9 --- /dev/null +++ b/qasim.gemspec @@ -0,0 +1,25 @@ +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'qasim/version' + +Gem::Specification.new do |spec| + spec.name = "qasim" + spec.version = Qasim::APP_VERSION + spec.authors = ["Glenn Y. Rolland"] + spec.email = ["glenux@glenux.net"] + spec.summary = %q{Easy mount solution for SSH filesystems.} + spec.description = %q{Qasim is a front-end for sshfs, the filesystem + client based on fuse and ssh. It provides automating and global settings + control for sshfs mounts.} + spec.homepage = "" + spec.license = "GPL-3" + + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler", "~> 1.5" + spec.add_development_dependency "rake" +end