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: aaa20e199f506c15470a3f20d19d7b083b856218
4
- data.tar.gz: 3bd281520297d49c152fd6271d151e909619aa8f
3
+ metadata.gz: 5b91fb0fd39a7b4fc1dbeef890b08dbbccd8adac
4
+ data.tar.gz: 45210cb30a9dc5b36092ad20383ec80fd0656434
5
5
  SHA512:
6
- metadata.gz: 6ac7ed6b1f86609a832a13ee79ddfc2e4ac2a84c6142c27871d8731092f67530dd6444db6b0585aaccf873b868744805fc6d0b6afefa52ad2d4d68fd8616e2b3
7
- data.tar.gz: 5ee84a069101a0cad4be5fd7d8ab88588eee0115509e90cab71543005240e622be771d1394e83e76a9b7e06bc206c7946e608e780a3f41e9460c021537bff660
6
+ metadata.gz: a339c5e4cc4f74a4f8801fe91ac91c440058b5fbb54cb8ac8681d1e4670957e8ce4cecfe77c13c7b96dd74cc3b31d89362c179ca7bf8e26f9911bd184b1bd0cc
7
+ data.tar.gz: ae7a28bb6b64e8f0ed5fec0389f075e02ba9d5b1456b685609b87299f1e1aceb2eca4b721a04fc81ab4ff34ad919dd5afeaee69fa283a61dce3d6b940ff6ac86
@@ -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.0 kalibro_gatekeeper
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.1 kalibro_processor
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
@@ -15,5 +15,5 @@
15
15
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
 
17
17
  module KalibroGatekeeperClient
18
- VERSION = "0.2.1"
18
+ VERSION = "0.2.2"
19
19
  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.1
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-05 00:00:00.000000000 Z
14
+ date: 2014-08-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler