[DRE-commits] [ruby-gemnasium-gitlab-service] 01/03: use webmock3, patch from kp
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Sep 21 16:16:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-gemnasium-gitlab-service.
commit b61046d1b373c6cecd5867bc1bfcbae83544fa29
Author: Pirate Praveen <praveen at debian.org>
Date: Thu Sep 21 21:28:26 2017 +0530
use webmock3, patch from kp
---
debian/patches/series | 1 +
debian/patches/use-webmock3.patch | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..779529a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-webmock3.patch
diff --git a/debian/patches/use-webmock3.patch b/debian/patches/use-webmock3.patch
new file mode 100644
index 0000000..7becd70
--- /dev/null
+++ b/debian/patches/use-webmock3.patch
@@ -0,0 +1,32 @@
+From 938ecc602eb117ff97abbef1da49d0b8715a467f Mon Sep 17 00:00:00 2001
+From: kp <kpisgod at gmail.com>
+Date: Thu, 21 Sep 2017 21:10:39 +0530
+Subject: [PATCH] fix spec
+
+---
+ gemnasium-gitlab-service.gemspec | 2 +-
+ spec/support/gemnasium_helper.rb | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gemnasium-gitlab-service.gemspec b/gemnasium-gitlab-service.gemspec
+index 8677f6b..ab7e78c 100644
+--- a/gemnasium-gitlab-service.gemspec
++++ b/gemnasium-gitlab-service.gemspec
+@@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
+
+ gem.add_development_dependency 'rake', '~> 10.0'
+ gem.add_development_dependency 'rspec', '~> 2.14'
+- gem.add_development_dependency 'webmock', '~> 1.17'
++ gem.add_development_dependency 'webmock', '~> 3.0'
+ end
+diff --git a/spec/support/gemnasium_helper.rb b/spec/support/gemnasium_helper.rb
+index ac1b3a1..a334e37 100644
+--- a/spec/support/gemnasium_helper.rb
++++ b/spec/support/gemnasium_helper.rb
+@@ -1,5 +1,5 @@
+ def api_url(path)
+- "https://X:secret_api_key@api.gemnasium.com/v1/#{path}"
++ "https://api.gemnasium.com/v1/#{path}"
+ end
+
+ def stub_requests
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gemnasium-gitlab-service.git
More information about the Pkg-ruby-extras-commits
mailing list