Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
obs-server
obs-server-2.7.1-0002-api-Require-json-gem-expl...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-server-2.7.1-0002-api-Require-json-gem-explicitly-for-tests.patch of Package obs-server
From 37802b7f3cb160f6402e3f7c4c52720d2d7a920b Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Sun, 13 Jul 2014 15:03:56 +0100 Subject: [PATCH 02/29] [api] Require json gem explicitly for tests. The json gem is required by tests, but it was not listed in Gemfile, relying on including it as a dependency for some other gem. Unfortunately this assumption may be not true with some gem versions, expecially when they are installed by system package manager, without bundler. Signed-off-by: Oleg Girko <ol@infoserver.lv> --- src/api/Gemfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/Gemfile b/src/api/Gemfile index e176168..e83f8bf 100644 --- a/src/api/Gemfile +++ b/src/api/Gemfile @@ -94,6 +94,8 @@ group :test do gem 'mocha', '> 0.13.0', require: false # for testing common Rails functionality with simple one-liners gem 'shoulda-matchers', '~> 3.1' + + gem 'json' end # Gems used only during development not required in production environments by default. -- 2.7.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor