[DRE-commits] [ruby-redis-rack] 01/05: Remove dependency from lib folder

Balasankar C balasankarc-guest at moszumanska.debian.org
Tue Dec 2 15:32:08 UTC 2014


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

balasankarc-guest pushed a commit to branch master
in repository ruby-redis-rack.

commit 56d5fbfe84a3307ce2b62243a244bbd02089c40c
Author: Balasankar C <balasankarc at autistici.org>
Date:   Tue Dec 2 00:17:47 2014 +0530

    Remove dependency from lib folder
---
 .pc/.quilt_patches                                 |  1 +
 .pc/.quilt_series                                  |  1 +
 .pc/.version                                       |  1 +
 .pc/applied-patches                                |  1 +
 .../version/test}/redis/rack/version_test.rb       |  2 +-
 .pc/version/test/test_helper.rb                    |  5 ++++
 debian/changelog                                   |  7 +++++
 debian/control                                     |  8 +++--
 debian/patches/Bundler                             | 33 ---------------------
 debian/patches/Version                             | 34 ----------------------
 debian/patches/series                              |  3 +-
 debian/patches/version                             | 27 +++++++++++++++++
 debian/ruby-tests.rake                             |  1 -
 test/redis/rack/version_test.rb                    |  2 +-
 14 files changed, 52 insertions(+), 74 deletions(-)

diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches
new file mode 100644
index 0000000..6857a8d
--- /dev/null
+++ b/.pc/.quilt_patches
@@ -0,0 +1 @@
+debian/patches
diff --git a/.pc/.quilt_series b/.pc/.quilt_series
new file mode 100644
index 0000000..c206706
--- /dev/null
+++ b/.pc/.quilt_series
@@ -0,0 +1 @@
+series
diff --git a/.pc/.version b/.pc/.version
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/.pc/.version
@@ -0,0 +1 @@
+2
diff --git a/.pc/applied-patches b/.pc/applied-patches
new file mode 100644
index 0000000..088eda4
--- /dev/null
+++ b/.pc/applied-patches
@@ -0,0 +1 @@
+version
diff --git a/test/redis/rack/version_test.rb b/.pc/version/test/redis/rack/version_test.rb
similarity index 88%
copy from test/redis/rack/version_test.rb
copy to .pc/version/test/redis/rack/version_test.rb
index cb172b2..44e2e83 100644
--- a/test/redis/rack/version_test.rb
+++ b/.pc/version/test/redis/rack/version_test.rb
@@ -1,5 +1,5 @@
 require 'test_helper'
-require 'version'
+
 describe Redis::Rack::VERSION do
   it 'returns current version' do
     Redis::Rack::VERSION.must_equal '1.5.0'
diff --git a/.pc/version/test/test_helper.rb b/.pc/version/test/test_helper.rb
new file mode 100644
index 0000000..7b6ca4f
--- /dev/null
+++ b/.pc/version/test/test_helper.rb
@@ -0,0 +1,5 @@
+require 'bundler/setup'
+require 'minitest/autorun'
+require 'mocha/setup'
+require 'rack'
+require 'rack/session/redis'
diff --git a/debian/changelog b/debian/changelog
index a0d9ac7..f6c6e41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-redis-rack (1.5.0-2) experimental; urgency=medium
+
+  * Debian update
+  * Remove dependency of version in lib folder 
+
+ -- Balasankar C <balasankarc at autistici.org>  Tue, 02 Dec 2014 00:16:37 +0530
+
 ruby-redis-rack (1.5.0-1) unstable; urgency=medium
 
   * Initial release (Closes: #771401)
diff --git a/debian/control b/debian/control
index e29a5ce..9d9bbcb 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Balasankar C <balasankarc at autistici.org>
 Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-redis-store, ruby-rack, ruby-mocha
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-redis-rack.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-redis-rack.git;a=summary
 Homepage: http://redis-store.org/redis-rack
@@ -16,4 +16,8 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack, ruby-redis-store
 Description: Redis Store for Rack
- Redis Store for Rack
+ redis-rack provides a Redis backed session store Rack. Redis Store provides a 
+ full set of stores (Cache, I18n, Session, HTTP Cache) for modern Ruby 
+ frameworks like: Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It 
+ supports object marshalling, timeouts, single or multiple nodes, and 
+ namespaces.
diff --git a/debian/patches/Bundler b/debian/patches/Bundler
deleted file mode 100644
index 18150c6..0000000
--- a/debian/patches/Bundler
+++ /dev/null
@@ -1,33 +0,0 @@
-Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- ruby-redis-rack (1.5.0-1) UNRELEASED; urgency=medium
- .
-   * Initial release (Closes: #nnnn)
-Author: Balasankar C <balasankarc at autistici.org>
-
----
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: https://bugs.debian.org/<bugnumber>
-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
-
---- ruby-redis-rack-1.5.0.orig/test/test_helper.rb
-+++ ruby-redis-rack-1.5.0/test/test_helper.rb
-@@ -1,4 +1,4 @@
--require 'bundler/setup'
-+#require 'bundler/setup'
- require 'minitest/autorun'
- require 'mocha/setup'
- require 'rack'
diff --git a/debian/patches/Version b/debian/patches/Version
deleted file mode 100644
index fbaaf8b..0000000
--- a/debian/patches/Version
+++ /dev/null
@@ -1,34 +0,0 @@
-Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- ruby-redis-rack (1.5.0-1) UNRELEASED; urgency=medium
- .
-   * Initial release (Closes: #nnnn)
-Author: Balasankar C <balasankarc at autistici.org>
-
----
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: https://bugs.debian.org/<bugnumber>
-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
-
---- ruby-redis-rack-1.5.0.orig/test/redis/rack/version_test.rb
-+++ ruby-redis-rack-1.5.0/test/redis/rack/version_test.rb
-@@ -1,5 +1,5 @@
- require 'test_helper'
--
-+require 'version'
- describe Redis::Rack::VERSION do
-   it 'returns current version' do
-     Redis::Rack::VERSION.must_equal '1.5.0'
diff --git a/debian/patches/series b/debian/patches/series
index 31913e5..088eda4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-Bundler
-Version
+version
diff --git a/debian/patches/version b/debian/patches/version
new file mode 100644
index 0000000..5b2147e
--- /dev/null
+++ b/debian/patches/version
@@ -0,0 +1,27 @@
+Description: requiring version from lib
+ Require version.rb from lib folder.
+ .
+ ruby-redis-rack (1.5.0-1) unstable; urgency=medium
+ .
+   * Initial release (Closes: #771401)
+Author: Balasankar C <balasankarc at autistici.org>
+Bug-Debian: https://bugs.debian.org/771401
+
+
+--- ruby-redis-rack-1.5.0.orig/test/redis/rack/version_test.rb
++++ ruby-redis-rack-1.5.0/test/redis/rack/version_test.rb
+@@ -1,5 +1,5 @@
+ require 'test_helper'
+-
++require 'redis/rack/version'
+ describe Redis::Rack::VERSION do
+   it 'returns current version' do
+     Redis::Rack::VERSION.must_equal '1.5.0'
+--- ruby-redis-rack-1.5.0.orig/test/test_helper.rb
++++ ruby-redis-rack-1.5.0/test/test_helper.rb
+@@ -1,4 +1,4 @@
+-require 'bundler/setup'
++#require 'bundler/setup'
+ require 'minitest/autorun'
+ require 'mocha/setup'
+ require 'rack'
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index f168dc5..e9d3521 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,6 @@
 
 require 'gem2deb/rake/testtask'
 Gem2Deb::Rake::TestTask.new do |t|
-    t.libs << 'lib/redis/rack'
     t.libs << 'test'
     t.test_files = FileList['test/*/*/*_test.rb']
 end
diff --git a/test/redis/rack/version_test.rb b/test/redis/rack/version_test.rb
index cb172b2..c8ce0fa 100644
--- a/test/redis/rack/version_test.rb
+++ b/test/redis/rack/version_test.rb
@@ -1,5 +1,5 @@
 require 'test_helper'
-require 'version'
+require 'redis/rack/version'
 describe Redis::Rack::VERSION do
   it 'returns current version' do
     Redis::Rack::VERSION.must_equal '1.5.0'

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



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