[DRE-commits] [ruby-influxdb] 05/06: update patch, remove cause require in lib
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Jan 16 14:38:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-influxdb.
commit f8eca1e73e9761896606b005ff0bd8b7694a60e4
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Jan 16 18:56:43 2016 +0530
update patch, remove cause require in lib
---
debian/patches/no-cause-for-ruby-2.1.patch | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/debian/patches/no-cause-for-ruby-2.1.patch b/debian/patches/no-cause-for-ruby-2.1.patch
index 243b6e1..1161521 100644
--- a/debian/patches/no-cause-for-ruby-2.1.patch
+++ b/debian/patches/no-cause-for-ruby-2.1.patch
@@ -1,9 +1,9 @@
Bug: https://github.com/influxdata/influxdb-ruby/issues/126
-Index: ruby-influxdb-0.2.3/influxdb.gemspec
+Index: ruby-influxdb/influxdb.gemspec
===================================================================
---- ruby-influxdb-0.2.3.orig/influxdb.gemspec
-+++ ruby-influxdb-0.2.3/influxdb.gemspec
+--- ruby-influxdb.orig/influxdb.gemspec
++++ ruby-influxdb/influxdb.gemspec
@@ -19,10 +19,13 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
@@ -19,10 +19,10 @@ Index: ruby-influxdb-0.2.3/influxdb.gemspec
+ spec.add_runtime_dependency "cause"
+ end
end
-Index: ruby-influxdb-0.2.3/metadata.yml
+Index: ruby-influxdb/metadata.yml
===================================================================
---- ruby-influxdb-0.2.3.orig/metadata.yml
-+++ ruby-influxdb-0.2.3/metadata.yml
+--- ruby-influxdb.orig/metadata.yml
++++ ruby-influxdb/metadata.yml
@@ -25,20 +25,6 @@ dependencies:
- !ruby/object:Gem::Version
version: '0'
@@ -44,3 +44,13 @@ Index: ruby-influxdb-0.2.3/metadata.yml
name: bundler
requirement: !ruby/object:Gem::Requirement
requirements:
+Index: ruby-influxdb/lib/influxdb/client.rb
+===================================================================
+--- ruby-influxdb.orig/lib/influxdb/client.rb
++++ ruby-influxdb/lib/influxdb/client.rb
+@@ -1,5 +1,4 @@
+ require 'json'
+-require 'cause'
+
+ module InfluxDB
+ # rubocop:disable Metrics/MethodLength
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-influxdb.git
More information about the Pkg-ruby-extras-commits
mailing list