libis-services 0.1.17 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 150eee36a183b471ffcb251e25f9e3d3cec297e7
4
- data.tar.gz: fd63eba476c9b62ed8770595d9caecbb3ce55e6a
3
+ metadata.gz: 24d944b69d357b3517b1831912c7706f3c8487b2
4
+ data.tar.gz: c60a4ac11bd4b1cbc86e399fe44133fa4616a01f
5
5
  SHA512:
6
- metadata.gz: 19df42c52ba48848541cb2edab752f1695c00a6775c4db8dd8ecaee60ff4dab5aaaaf9621829ce3d8b04a938f5c354bee2de8bc32889830f5f7ddbc2fed36ad2
7
- data.tar.gz: 7f61d9aadefcef32f33ccca006fe0186a5d59eca182313c79173c5c7d9ada94d7ae5249f473f4f3814a8507dc6ab8023c425c657c95929116aeea4931d05878b
6
+ metadata.gz: a850d2116f4df6c08521cf61ed067311653e51fe403905222202ac8974d9839936069921d3fe0c2dff81c0d18341204f95f4f54491f84b74cbfaa5ae62414008
7
+ data.tar.gz: 090c6a94a95cf5b1c644f836fd6dc7573d8be6b58a8ff0c7c9072d5f004b417ad8f2a7eaf8d7e371c8fbb6fff4b0993393e8514b5b1e4b8225df5d3e003d0178
@@ -15,11 +15,9 @@ module Libis
15
15
  @doc = nil
16
16
  end
17
17
 
18
- def connect(name, password)
19
- @oracle = OracleClient.new(
20
- 'libis-db-scope.cc.kuleuven.be:1556/SCOPEP.kuleuven.be',
21
- name, password
22
- )
18
+ def connect(name, password, database = nil)
19
+ database ||= 'libis-db-scope.cc.kuleuven.be:1556/SCOPEP.kuleuven.be'
20
+ @oracle = OracleClient.new(database,name, password)
23
21
  end
24
22
 
25
23
  def find(term, options = {})
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Services
3
- VERSION = '0.1.17'
3
+ VERSION = '0.1.18'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-16 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler