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