Skip to content

Commit

Permalink
Move nbayes gem into Gemfile only
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericpig committed Apr 28, 2020
1 parent 79bdd1c commit 293ebb3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
13 changes: 5 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@

source 'https://rubygems.org'

# nbayes Gem is out-of-date, so must use GitHub.
#
# The version is specified in the gemspec file.
# ":git" with "https" is used instead of ":github" for security.
# Use "bundler show" (not "gem list") to see it.
#
# @see http://bundler.io/v1.16/guides/git.html
gem 'nbayes',:git=>'https://github.com/oasic/nbayes.git' #:ref=>'3dd46bd'
# For training type of text (machine learning).
# - nbayes Gem is out-of-date, so must use GitHub.
# - ":git" with "https" is used instead of ":github" for security.
# - Use "bundle list" (not "gem list") to see it.
gem 'nbayes',:git=>'https://github.com/oasic/nbayes.git',:ref=>'3dd46bd'

gemspec
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
GIT
remote: https://github.com/oasic/nbayes.git
revision: 3dd46bd2c8a2258ccdb69ee9ceff7d2fb5d62ed5
ref: 3dd46bd
specs:
nbayes (0.1.2)

PATH
remote: .
specs:
unclekryon (0.4.9.pre.alpha)
nbayes (~> 0.1.2)
nokogiri (~> 1.10)

GEM
Expand Down
3 changes: 1 addition & 2 deletions unclekryon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gem::Specification.new() do |spec|
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/esotericpig/UncleKryon-server/issues',
'homepage_uri' => 'https://github.com/esotericpig/UncleKryon-server',
'source_code_uri' => 'https://github.com/esotericpig/UncleKryon-server'
'source_code_uri' => 'https://github.com/esotericpig/UncleKryon-server',
}

spec.require_paths = ['lib']
Expand All @@ -54,7 +54,6 @@ Gem::Specification.new() do |spec|
spec.required_ruby_version = '>= 2.4.0'
spec.requirements << 'Nokogiri: https://www.nokogiri.org/tutorials/installing_nokogiri.html'

spec.add_runtime_dependency 'nbayes' ,'~> 0.1.2' # For training type of text (machine learning)
spec.add_runtime_dependency 'nokogiri','~> 1.10' # For hacking HTML

spec.add_development_dependency 'bundler' ,'~> 2.1'
Expand Down

0 comments on commit 293ebb3

Please sign in to comment.