From fd11b38c4f768ea61bf09eb2abe0f5d50631dd62 Mon Sep 17 00:00:00 2001 From: BitBD Date: Thu, 12 Mar 2020 17:09:49 +0600 Subject: [PATCH] update abstract --- lib/peatio/nexbit.rb | 2 +- lib/peatio/nexbit/version.rb | 2 +- peatio-nexbit.gemspec | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/peatio/nexbit.rb b/lib/peatio/nexbit.rb index 673890b..df0ebfb 100644 --- a/lib/peatio/nexbit.rb +++ b/lib/peatio/nexbit.rb @@ -3,7 +3,7 @@ require "peatio" module Peatio - module CPUchain + module Nexbit require "bigdecimal" require "bigdecimal/util" diff --git a/lib/peatio/nexbit/version.rb b/lib/peatio/nexbit/version.rb index dca6382..af1164a 100644 --- a/lib/peatio/nexbit/version.rb +++ b/lib/peatio/nexbit/version.rb @@ -1,5 +1,5 @@ module Peatio module Nexbit - VERSION = "0.1.1".freeze + VERSION = "0.1.2".freeze end end diff --git a/peatio-nexbit.gemspec b/peatio-nexbit.gemspec index 8b06803..a543838 100644 --- a/peatio-nexbit.gemspec +++ b/peatio-nexbit.gemspec @@ -16,6 +16,17 @@ Gem::Specification.new do |spec| # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. + if spec.respond_to?(:metadata) + + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = "https://github.com/ndexnetwork/peatio-ndex" + spec.metadata["changelog_uri"] = "https://github.com/ndexnetwork/peatio-ndex/blob/master/CHANGELOG.md" + else + raise "RubyGems 2.0 or newer is required to protect against " \ + "public gem pushes." + end + # Specify which files should be added to the gem when it is released. + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end