kalibro_gatekeeper_client 0.2.1 → 0.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b91fb0fd39a7b4fc1dbeef890b08dbbccd8adac
|
4
|
+
data.tar.gz: 45210cb30a9dc5b36092ad20383ec80fd0656434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a339c5e4cc4f74a4f8801fe91ac91c440058b5fbb54cb8ac8681d1e4670957e8ce4cecfe77c13c7b96dd74cc3b31d89362c179ca7bf8e26f9911bd184b1bd0cc
|
7
|
+
data.tar.gz: ae7a28bb6b64e8f0ed5fec0389f075e02ba9d5b1456b685609b87299f1e1aceb2eca4b721a04fc81ab4ff34ad919dd5afeaee69fa283a61dce3d6b940ff6ac86
|
data/.travis.yml
CHANGED
@@ -11,7 +11,7 @@ before_script:
|
|
11
11
|
- popd
|
12
12
|
- cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml
|
13
13
|
# Gatekeeper
|
14
|
-
- git clone https://github.com/mezuro/kalibro_gatekeeper.git -b v0.1.
|
14
|
+
- git clone https://github.com/mezuro/kalibro_gatekeeper.git -b v0.1.1 kalibro_gatekeeper
|
15
15
|
- cd kalibro_gatekeeper
|
16
16
|
- cp config/database.yml.sample config/database.yml
|
17
17
|
- cp config/kalibro_processor.yml.sample config/kalibro_processor.yml
|
@@ -21,7 +21,7 @@ before_script:
|
|
21
21
|
- cd ..
|
22
22
|
- export BUNDLE_GEMFILE=$PWD/Gemfile
|
23
23
|
# Processor
|
24
|
-
- git clone https://github.com/mezuro/kalibro_processor.git -b v0.0.
|
24
|
+
- git clone https://github.com/mezuro/kalibro_processor.git -b v0.0.4 kalibro_processor
|
25
25
|
- cd kalibro_processor
|
26
26
|
- psql -c "create role kalibro_processor with createdb login password 'kalibro_processor'" -U postgres
|
27
27
|
- cp config/database.yml.postgresql_sample config/database.yml
|
@@ -15,4 +15,5 @@ Feature: Children
|
|
15
15
|
And I call the process method for the given repository
|
16
16
|
And I wait up for a ready processing
|
17
17
|
When I ask for the children of the processing root module result
|
18
|
-
Then I should get a list with the children module results
|
18
|
+
Then I should get a list with the children module results
|
19
|
+
And The first children should have a module
|
@@ -40,3 +40,7 @@ end
|
|
40
40
|
Then(/^I should get a module_result$/) do
|
41
41
|
expect(@module_result).to be_a(KalibroGatekeeperClient::Entities::ModuleResult)
|
42
42
|
end
|
43
|
+
|
44
|
+
Then(/^The first children should have a module$/) do
|
45
|
+
expect(@children.first.module).to be_a(KalibroGatekeeperClient::Entities::Module)
|
46
|
+
end
|
@@ -41,7 +41,7 @@ module KalibroGatekeeperClient
|
|
41
41
|
def self.request(action, params = {}, method = :post)
|
42
42
|
response = client.send(method) do |request|
|
43
43
|
request.url "/#{endpoint}/#{action}"
|
44
|
-
request.body = params
|
44
|
+
request.body = params unless params.empty?
|
45
45
|
request.options.timeout = 300
|
46
46
|
request.options.open_timeout = 300
|
47
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kalibro_gatekeeper_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Araújo Martinez
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-08-
|
14
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|