duniter_rb_cli 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: cb0372a5e9e8d171dcb8b382ed44b96439ce8fdbe7ed52435a90d71aa0c9e8ea
4
- data.tar.gz: fe82a6436447f39abd5b938676df4382061f8671737feb4cc7776b145ee8e7a4
3
+ metadata.gz: 21aff7f4a2cb0795422e90b8cef9f445d5b1fb553531a670b283bb18915512dd
4
+ data.tar.gz: 907e7f3920b27e03611bb4373066a3368716843efc7ef7f9f9578ce6642efcc8
5
5
  SHA512:
6
- metadata.gz: '08f02790a514010dcb0c7858f4144c71b2e34ef24b29d93d4d0c812893818b0c4b56abd6349f8720b58a100a62a813c62bdcd72521edfae3b3739f1ddbe84f6f'
7
- data.tar.gz: 6cb1787e99035455f072a61f82ec8a0ab67e08a5eb616bfbc81fd2ec24e5b9702da5f462264d6d4e88d6b77b52de81b07ded1da63e5d7927583ae0d72e3928e1
6
+ metadata.gz: e82072d24980c1f0e9f49a6f69a1b221b83f1387dc9bbd9b164507195744307548d0ba912841a49426bedc99af70a50a4c0eaa8814918997a5ddca2700421408
7
+ data.tar.gz: d3a39957288ceed09578efea9ca8ca7b42014528e77dcc3685976cc3d1c7ab9b8c783712f475e725d6f1c5f039fd1835eb430696e26a8471d6f040f230e12816
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- duniter_rb_cli (0.2.0)
4
+ duniter_rb_cli (0.3.0)
5
5
  httparty (~> 0.13.7)
6
6
  thor (~> 0.20.0)
7
7
  tty-command (~> 0.8.0)
@@ -23,6 +23,7 @@ module DuniterRbCli
23
23
  end
24
24
 
25
25
  def execute(input: $stdin, output: $stdout)
26
+ @config.read
26
27
  endpoint = @config.fetch(:base_url) + "wot/members"
27
28
  response = HTTParty.get endpoint
28
29
  wot_count = response['results'].count
@@ -23,6 +23,7 @@ module DuniterRbCli
23
23
  end
24
24
 
25
25
  def execute(input: $stdin, output: $stdout)
26
+ @config.read
26
27
  endpoint = @config.fetch(:base_url) + "wot/members"
27
28
  response = HTTParty.get endpoint
28
29
  wot_list = response['results']
@@ -1,3 +1,3 @@
1
1
  module DuniterRbCli
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duniter_rb_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent REHM