[DRE-commits] [ruby-fssm] 02/02: upload to unstable

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon May 5 15:22:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-fssm.

commit 4b9dfff1bbef5e7eec726d2633ba3526db5d05af
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon May 5 20:42:39 2014 +0530

    upload to unstable
---
 debian/changelog    |  4 ++--
 example.rb          |  9 +++++----
 lib/fssm.rb         |  3 ---
 spec/spec_helper.rb | 10 +++++-----
 4 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 83bf354..96aac0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-ruby-fssm (0.2.10-2) UNRELEASED; urgency=low
+ruby-fssm (0.2.10-2) unstable; urgency=low
 
   * Team upload
   * Bump standards version 3.9.5 (no changes)
   * Build with gem2deb >= 0.7.5 (install gemspec for all ruby versions)
 
- -- Pirate Praveen <praveen at debian.org>  Mon, 05 May 2014 20:36:01 +0530
+ -- Pirate Praveen <praveen at debian.org>  Mon, 05 May 2014 20:42:27 +0530
 
 ruby-fssm (0.2.10-1) unstable; urgency=low
 
diff --git a/example.rb b/example.rb
index 1762304..141ccd3 100644
--- a/example.rb
+++ b/example.rb
@@ -1,7 +1,8 @@
-$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
-
-# for rb-inotify/rb-fsevent
-require 'rubygems'
+begin
+  require 'rb-inotify'
+rescue LoadError
+  puts "Cannot load rb-inotify"
+end
 
 require 'fssm'
 
diff --git a/lib/fssm.rb b/lib/fssm.rb
index 9843de9..2a578f2 100644
--- a/lib/fssm.rb
+++ b/lib/fssm.rb
@@ -1,6 +1,3 @@
-dir = File.expand_path(File.dirname(__FILE__))
-$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
-
 require 'thread'
 
 module FSSM
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 18e6112..8ad59bf 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,8 +1,8 @@
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-$LOAD_PATH.unshift(File.expand_path('../lib', File.dirname(__FILE__)))
-
-require 'rubygems'
-require 'bundler/setup'
+#$LOAD_PATH.unshift(File.dirname(__FILE__))
+#$LOAD_PATH.unshift(File.expand_path('../lib', File.dirname(__FILE__)))
+#
+#require 'rubygems'
+#require 'bundler/setup'
 require 'fssm'
 
 require 'rspec'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fssm.git



More information about the Pkg-ruby-extras-commits mailing list