contracto 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edf170bc3055b6d07143821280feb345d918dcd2
4
- data.tar.gz: b12accb1f9fdafdce5f3ec05317fefe391f6d383
3
+ metadata.gz: 4465406c89d2015abf010adcff9b249a3037dbaa
4
+ data.tar.gz: ae6b062c639841a4ac51b6a171acab7cb679ed9f
5
5
  SHA512:
6
- metadata.gz: 07fb46243e80a4bc8995624451200d75a66081dbfe9ec2f4463a1984bab9ec2875dafb25367489dafeda1006eac18ea6166a42b132302f08e8a22dcd0eb1a357
7
- data.tar.gz: 3d8c554626d42f8d279a12b8126d47602c3e9487b44386648482034ba8dbf6054856ecae3fe57db8dcb3d9d2c127d0a73614b02056ddbb0ba38512889e562519
6
+ metadata.gz: 003e9b8e2671be644d878e4aa463978863bab5249db1559b7317a5237de803a73ce496e59b4c264b98bb92116c64db5e26efa081a8fe183e00b413f197eb82d4
7
+ data.tar.gz: 60d73c833de3fdc617911684bca8ab308d894a42fc5535c2a84be133c8e69d101f9164d4701247bc85eae465742e4e7d4b129227cad07f8bac66d7a36931dd46
@@ -7,7 +7,7 @@ class Contracto::Contract::Response
7
7
  end
8
8
 
9
9
  def params
10
- @hash.fetch('request')['params'] #TODO: should it be optional or required?
10
+ @hash.fetch('request')['params'] || {} #TODO: should it be optional or required?
11
11
  end
12
12
 
13
13
  def body_path
@@ -1,3 +1,3 @@
1
1
  module Contracto
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
@@ -2,7 +2,7 @@
2
2
  rm -rf tmp
3
3
  mkdir tmp
4
4
  cd tmp
5
- contracto start https://github.com/kv109/cdc-sample-contract.git
5
+ contracto start git@github.com:kv109/contracto_sample-contract.git
6
6
  curl 0.0.0.0:54321/users
7
7
  curl 0.0.0.0:54321/users/1
8
8
  curl 0.0.0.0:54321/users/2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contracto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kacper Walanus