From 222396e3a5097d07b1aea4fe4ec7e429335d161b Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 3 Apr 2014 00:57:55 +0200 Subject: [PATCH 1/4] Add more sections (fork, contributing, etc.) --- README.md | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e4fdaf1..b95639e 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,36 @@ or apt-get install ruby-qt4 -Alternatives +Installation ------------ -* [Mountoid](http://kde-apps.org/content/show.php/Mountoid?content=115943) +Add this line to your application's Gemfile: + + gem 'qasim' + +And then execute: + + $ bundle + +Or install it yourself as: + + $ gem install qasim + + +Usage +----- + +TODO: Write usage instructions here + + +Contributing +------------ + +1. Fork it ( http://github.com/glenux/qasim/fork ) +2. Create your feature branch (`git checkout -b my-new-feature`) +3. Commit your changes (`git commit -am 'Add some feature'`) +4. Push to the branch (`git push origin my-new-feature`) +5. Create new Pull Request Copyright & License @@ -47,3 +73,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . + +Alternatives +------------ + +* [Mountoid](http://kde-apps.org/content/show.php/Mountoid?content=115943) + From 63f19861d5402ed733f89162f27c9b068d41e859 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 3 Apr 2014 01:09:53 +0200 Subject: [PATCH 2/4] Added various files (gemspec, Rakefile, etc.) for Gem. --- .gitignore | 17 +++++++++++++++++ Gemfile | 10 ++++++---- Rakefile | 1 + lib/qasim.rb | 1 + lib/qasim/constants.rb | 3 --- lib/qasim/version.rb | 5 +++++ qasim.gemspec | 25 +++++++++++++++++++++++++ 7 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 Rakefile create mode 100644 lib/qasim/version.rb create mode 100644 qasim.gemspec 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 From dd1a1d08a0dc741ada3193d41ec8a2a0a7256f5a Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 3 Apr 2014 01:14:02 +0200 Subject: [PATCH 3/4] Update URL where needed. --- debian/copyright | 8 +++----- qasim.gemspec | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/debian/copyright b/debian/copyright index 92fb2f3..7d4f5c6 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,17 +1,15 @@ This package was debianized by Glenn ROLLAND on Sat, 15 Mar 2008 17:11:00 +0100. -It was downloaded from +It was downloaded from http://glenux.github.io/qasim Upstream Author(s): - - + Glenn Y. Rolland Copyright: - - + Copyright (C) 2008-2014 Glenn Y. Rolland License: diff --git a/qasim.gemspec b/qasim.gemspec index 5a9e4c9..02428c9 100644 --- a/qasim.gemspec +++ b/qasim.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| 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.homepage = "http://glenux.github.io/qasim" spec.license = "GPL-3" spec.files = `git ls-files`.split($/) From a700adb2400b9792b82a2237a287f708c782fc33 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 3 Apr 2014 01:29:49 +0200 Subject: [PATCH 4/4] Add reference to TODO. --- TODO.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TODO.md b/TODO.md index 424a14a..a505b0d 100644 --- a/TODO.md +++ b/TODO.md @@ -21,3 +21,8 @@ Global SSHFS Options ssh_command='autossh -M 0' + +Fixes + +Use Rakefile +ex: https://github.com/ryanmelt/qtbindings/blob/master/Rakefile