metaboss_rails 0.1.1 → 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: 35a84053a236f4375a6c9ddf455ba36829316e40824746fb20d96d8cd1661740
4
- data.tar.gz: fda654d25f3c10b5c18321093814313e2805d17628fc8e669181abec08c80b7d
3
+ metadata.gz: 4aea9f4460af462004ef7897b723495494c4f0b822c807ccbe3fad532b40e2f4
4
+ data.tar.gz: c33634f7cfb31f85e43d6c63d6b6af011c75835d3a1652d989bcb757ba13de58
5
5
  SHA512:
6
- metadata.gz: c105cdfc3b615cbb9263dfa1d17d3fe3eb5c566af147f5a42910a4edaf1a943a5dc53aeea47869c48224389c284632b3c8c26aaf2b23d8c76d508b72b0bcae3f
7
- data.tar.gz: ab167c1a4fe5e7f9da44bdb2d4b417f2fafc3b2f7f80c56f79a473f6e3d555207775be17373ff53cf1795137328016a4900033357d705a33d0a65076689c9b75
6
+ metadata.gz: 327bd2e728f961b6d0078206fd35fd56a5e38cf00cb230d50b1e1e7eed6e8aacb1a6562d356891953bf2277a2ebde278f8d0df06020d06ea2ceff84cb6eb902d
7
+ data.tar.gz: e6afa9eb638e65b94d81344085c028d4de3d6c32aa01582c7c1f384b6321d179e36f77da8ea316358e616dabd2867ea60401c84ed51e3ffa8fb9242d1ff26996
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- metaboss_rails (0.1.0)
4
+ metaboss_rails (0.1.3)
5
5
  thor
6
6
 
7
7
  GEM
@@ -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.1"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -8,7 +8,7 @@ module MetabossRails
8
8
  class Error < StandardError; end
9
9
 
10
10
  class Metaboss < Thor
11
- EXE_PATH = File.expand_path("exe/metaboss")
11
+ EXE_PATH = File.expand_path(File.join(__dir__, "../vendor/metaboss"))
12
12
 
13
13
  def self.command(method, args)
14
14
  "#{EXE_PATH} #{method} #{args}"
File without changes
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.1
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Pham
@@ -41,8 +41,7 @@ dependencies:
41
41
  description:
42
42
  email:
43
43
  - dannynpham11@gmail.com
44
- executables:
45
- - metaboss
44
+ executables: []
46
45
  extensions: []
47
46
  extra_rdoc_files: []
48
47
  files:
@@ -54,11 +53,11 @@ files:
54
53
  - bin/console
55
54
  - bin/metaboss_rails
56
55
  - bin/setup
57
- - exe/metaboss
58
56
  - lib/metaboss_rails.rb
59
57
  - lib/metaboss_rails/update/uri.rb
60
58
  - lib/metaboss_rails/version.rb
61
59
  - metaboss_rails.gemspec
60
+ - vendor/metaboss
62
61
  homepage: https://github.com/dannynpham/metaboss_rails.git
63
62
  licenses: []
64
63
  metadata: