Ruby 鲁比基姆创作。。。我推出了一个新的gem,但是缺少源代码链接
几年来,我第一次创造并推出了一块新的宝石。我是宝石行业的新手 我按照各种指示,成功地推送了gem。以下是新创业板的链接: 唯一的问题是“源代码”链接没有出现在上面的页面上。我已经附上了用来推动宝石的宝石 请帮我确定我遗漏了什么 谢谢。。。艾尔Ruby 鲁比基姆创作。。。我推出了一个新的gem,但是缺少源代码链接,ruby,rubygems,Ruby,Rubygems,几年来,我第一次创造并推出了一块新的宝石。我是宝石行业的新手 我按照各种指示,成功地推送了gem。以下是新创业板的链接: 唯一的问题是“源代码”链接没有出现在上面的页面上。我已经附上了用来推动宝石的宝石 请帮我确定我遗漏了什么 谢谢。。。艾尔 #---------------------------------------------------------------------------- # coding: utf-8 lib = File.expand_path('../lib',
#----------------------------------------------------------------------------
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yequel/version'
Gem::Specification.new do |spec|
spec.name = "yequel"
spec.version = Yequel::VERSION
spec.authors = ["Al Kivi"]
spec.email = ["al.kivi@vizi.ca"]
spec.summary = %q{Provides a sequel style ORM layer for YAML::Store}
spec.description = %q{Yequel provides a sequel style with basic features to access YAML::Store tables. Its target audience is application developers who require light weight alternative to SQL databases.}
spec.homepage = "https://rubygems.org/profiles/vizi_master"
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
#if spec.respond_to?(:metadata)
#spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
#else
#raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
#end
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.11"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_runtime_dependency "hash_dot"
spec.add_runtime_dependency "will_paginate"
end
gempec中没有指定源链接,只有主页(可以指向代码库)
如果您想设置源链接,您需要在Rubygems站点上进行设置。登录rubygems.org并转到(如果您已登录,则在“链接”部分中应有一个从您的gem页面到该页面的链接)。从那里,您应该能够设置源代码URL以及一系列其他URL。您的反馈非常有用。我忘记了Github更新和Rubygems更新是分开的过程。出于某种奇怪的原因,我认为Rubygems更新会自动创建Github存储库。