zold 0.1.2 → 0.1.3

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: 6fcd55eac89ac43ca95643798755ef3a9ead2e5d
4
- data.tar.gz: 8a002e688b432c4f1ab1c728db82488c9d8e3b50
3
+ metadata.gz: '09d7ef8c23b73e35bcd86811676ae8a855ac6b9a'
4
+ data.tar.gz: 92e5aff241b697d01a276952ce9f4d67864129a9
5
5
  SHA512:
6
- metadata.gz: 7ebc8d2d233d646fe7f49c1b910a943b28353e52f4114f5b4fe6b8689481ac3823bfbe16b0e0a15a02406bcdafd444098e922dd021ae90a9af2314bd9dad708c
7
- data.tar.gz: 7d6a387331acf862a6c47a0096547b019b865c367d0fd0c7d5d01c24167d974d23b6c8aa8e43d4fb66bd699c4c0c789d4261f9562e37ce8630bb931262b1118b
6
+ metadata.gz: f7d03ae4fdf096522955be27b77b9a3634646b11744e75c63dce2694f6ecf2d16ce6ffd2d9305e63e11193a694f34a0d95f5364f34d5dd5e88e709d4f43c526f
7
+ data.tar.gz: fbc256f233ded7b10cc702dc883acd568f17c8ee4dc12001b4efc3c48df677c7ec54d16db1c832c75e6045c69608f99e57fd78d7b496b18034711e0b28c27171
data/bin/zold CHANGED
@@ -201,7 +201,7 @@ Available options:"
201
201
  require_relative '../lib/zold/commands/merge'
202
202
  args.each do |id|
203
203
  Zold::Fetch.new(
204
- wallet: wallets.find(Zold::Id.new(id)),
204
+ id: Zold::Id.new(id),
205
205
  remotes: remotes,
206
206
  copies: Zold::Copies.new(File.join(copies, id)),
207
207
  log: log
@@ -105,6 +105,7 @@ module Zold
105
105
  error 404 unless wallet.exists?
106
106
  content_type 'application/json'
107
107
  {
108
+ version: VERSION,
108
109
  score: score.to_h,
109
110
  body: File.read(wallet.path)
110
111
  }.to_json
data/lib/zold/version.rb CHANGED
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2018 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Zold
26
- VERSION = '0.1.2'.freeze
26
+ VERSION = '0.1.3'.freeze
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko