metaboss_rails 0.1.3 → 0.1.4

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: fab4ee34e380635b3243ec761201552e305ae1e61c8b805349bb0c3f4ab8fae4
4
- data.tar.gz: 3b2d97581adf1d031d08ef33f7c06587e9814ee8d277cc34db036a7f52c2cc4b
3
+ metadata.gz: 4aea9f4460af462004ef7897b723495494c4f0b822c807ccbe3fad532b40e2f4
4
+ data.tar.gz: c33634f7cfb31f85e43d6c63d6b6af011c75835d3a1652d989bcb757ba13de58
5
5
  SHA512:
6
- metadata.gz: 9fc29a85a1ad248f8dd5981027755574dffcb2e04ec6ddd7b5d84b279f8f69df49535950417490b7a1d363f727f780321a2d19b2647a3576859ac12c36815f22
7
- data.tar.gz: 4521e7c86cb6240bce115aee5d719960bfe0f15588bba31bd9b6fe9f704ef14be9b097567f09bff426f2052176fdc16c6fec3286752ed6a03818e9edefc0f3b7
6
+ metadata.gz: 327bd2e728f961b6d0078206fd35fd56a5e38cf00cb230d50b1e1e7eed6e8aacb1a6562d356891953bf2277a2ebde278f8d0df06020d06ea2ceff84cb6eb902d
7
+ data.tar.gz: e6afa9eb638e65b94d81344085c028d4de3d6c32aa01582c7c1f384b6321d179e36f77da8ea316358e616dabd2867ea60401c84ed51e3ffa8fb9242d1ff26996
@@ -3,6 +3,10 @@ module MetabossRails
3
3
  class Uri < Thor
4
4
  include Thor::Actions
5
5
 
6
+ def self.exit_on_failure?
7
+ true
8
+ end
9
+
6
10
  desc "Updates URI",
7
11
  "Update the metadata URI, keeping the rest of the Data struct the same."
8
12
  option :account, type: :string, required: true, desc: "The mint account to update the URI for."
@@ -12,7 +16,7 @@ module MetabossRails
12
16
  def uri
13
17
  method = "update uri"
14
18
  args = options.map { |k, v| "--#{k} '#{v}'" }.join(" ")
15
- puts run Metaboss.command(method, args), capture: true
19
+ run Metaboss.command(method, args), capture: true
16
20
  end
17
21
  end
18
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MetabossRails
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metaboss_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Pham