Added various files (gemspec, Rakefile, etc.) for Gem.

This commit is contained in:
Glenn Y. Rolland 2014-04-03 01:09:53 +02:00
parent 222396e3a5
commit 63f19861d5
7 changed files with 55 additions and 7 deletions

17
.gitignore vendored
View file

@ -11,3 +11,20 @@ debian/qasim/
*_qrc.rb *_qrc.rb
.bundle .bundle
vendor/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

10
Gemfile
View file

@ -1,6 +1,8 @@
source 'https://rubygems.org'
source "https://rubygems.org" # Specify your gem's dependencies in qasim.gemspec
gemspec
gem "rdebug" #gem "rdebug"
gem "qtbindings" #gem "qtbindings"
gem "thor" #gem "thor"

1
Rakefile Normal file
View file

@ -0,0 +1 @@
require "bundler/gem_tasks"

View file

@ -1,5 +1,6 @@
require 'qasim/version'
require 'qasim/constants' require 'qasim/constants'
module Qasim module Qasim

View file

@ -1,8 +1,5 @@
module Qasim module Qasim
APP_ICON_PATH = File.join QASIM_DATA_DIR, "icons" 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" APP_SYSCONFIG_DIR = "/etc/qasim/maps.d"

5
lib/qasim/version.rb Normal file
View file

@ -0,0 +1,5 @@
module Qasim
APP_NAME = "Qasim"
APP_VERSION = "0.1"
APP_DATE = "2012-08-02"
end

25
qasim.gemspec Normal file
View file

@ -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