Skip to content

Commit 15b9e91

Browse files
Fixed potential security vulnerabilities in dependencies issue.
1 parent cfd4c57 commit 15b9e91

File tree

7 files changed

+5
-69
lines changed

7 files changed

+5
-69
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ group :development do
1010
gem "rspec", "~> 2.8.0"
1111
gem "rdoc", "~> 3.12"
1212
gem "bundler", ">= 1.2.0"
13-
gem "jeweler", "~> 1.8.4"
1413
end

Gemfile.lock

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,9 @@
11
GEM
22
remote: http://rubygems.org/
33
specs:
4-
addressable (2.3.5)
5-
bindata (2.1.0)
6-
builder (3.2.2)
4+
bindata (2.4.10)
75
diff-lcs (1.1.3)
8-
docile (1.1.1)
9-
faraday (0.8.8)
10-
multipart-post (~> 1.2.0)
11-
git (1.2.6)
12-
github_api (0.10.1)
13-
addressable
14-
faraday (~> 0.8.1)
15-
hashie (>= 1.2)
16-
multi_json (~> 1.4)
17-
nokogiri (~> 1.5.2)
18-
oauth2
19-
hashie (2.0.5)
20-
highline (1.6.20)
21-
httpauth (0.2.0)
22-
jeweler (1.8.8)
23-
builder
24-
bundler (~> 1.0)
25-
git (>= 1.2.5)
26-
github_api (= 0.10.1)
27-
highline (>= 1.6.15)
28-
nokogiri (>= 1.8.2)
29-
rake
30-
rdoc
316
json (>= 2.3.0)
32-
jwt (0.1.8)
33-
multi_json (>= 1.5)
34-
multi_json (1.8.2)
35-
multi_xml (0.5.5)
36-
multipart-post (1.2.0)
37-
nokogiri (>= 1.8.2)
38-
oauth2 (0.9.2)
39-
faraday (~> 0.8)
40-
httpauth (~> 0.2)
41-
jwt (~> 0.1.4)
42-
multi_json (~> 1.0)
43-
multi_xml (~> 0.5)
44-
rack (~> 1.2)
45-
rack (>= 1.6.11)
46-
rake (>= 12.3.3)
477
rdoc (3.12.2)
488
json (~> 1.4)
499
rspec (2.8.0)
@@ -61,6 +21,5 @@ PLATFORMS
6121
DEPENDENCIES
6222
bindata
6323
bundler (>= 1.2.0)
64-
jeweler (~> 1.8.4)
6524
rdoc (~> 3.12)
66-
rspec (~> 2.8.0)
25+
rspec (~> 2.8.0)

Rakefile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,6 @@ rescue Bundler::BundlerError => e
1111
end
1212
require 'rake'
1313

14-
require 'jeweler'
15-
Jeweler::Tasks.new do |gem|
16-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17-
gem.name = "ip2location_ruby"
18-
gem.homepage = "https://github.com/ip2location/ip2location-ruby"
19-
gem.license = "MIT"
20-
gem.summary = %Q{the ip2location ruby library}
21-
gem.description = %Q{ip2location ruby library}
22-
gem.email = "support@ip2location.com"
23-
gem.authors = ["Vincent.Z"]
24-
# dependencies defined in Gemfile
25-
end
26-
Jeweler::RubygemsDotOrgTasks.new
27-
2814
require 'rspec/core'
2915
require 'rspec/core/rake_task'
3016
RSpec::Core::RakeTask.new(:spec) do |spec|

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.3.0
1+
8.3.1

ip2location_ruby-8.3.0.gem

-2 MB
Binary file not shown.

ip2location_ruby.gemspec

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
# Generated by jeweler
2-
# DO NOT EDIT THIS FILE DIRECTLY
3-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4-
# -*- encoding: utf-8 -*-
5-
61
Gem::Specification.new do |s|
72
s.name = "ip2location_ruby"
8-
s.version = "8.3.0"
3+
s.version = "8.3.1"
94

105
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
116
s.require_paths = ["lib"]
@@ -61,20 +56,17 @@ Gem::Specification.new do |s|
6156
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
6257
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
6358
s.add_development_dependency(%q<bundler>, [">= 1.2.0"])
64-
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
6559
else
6660
s.add_dependency(%q<bindata>, [">= 0"])
6761
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
6862
s.add_dependency(%q<rdoc>, ["~> 3.12"])
6963
s.add_dependency(%q<bundler>, [">= 1.2.0"])
70-
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
7164
end
7265
else
7366
s.add_dependency(%q<bindata>, [">= 0"])
7467
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
7568
s.add_dependency(%q<rdoc>, ["~> 3.12"])
7669
s.add_dependency(%q<bundler>, [">= 1.2.0"])
77-
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
7870
end
7971
end
8072

lib/ip2location_ruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class Ip2location
1414
attr_accessor :record_class4, :record_class6, :v4, :file, :db_index, :count, :base_addr, :ipno, :count, :record, :database, :columns, :ip_version, :ipv4databasecount, :ipv4databaseaddr, :ipv4indexbaseaddr, :ipv6databasecount, :ipv6databaseaddr, :ipv6indexbaseaddr, :databaseyear, :databasemonth, :databaseday, :last_err_msg
1515

16-
VERSION = '8.3.0'
16+
VERSION = '8.3.1'
1717
FIELD_NOT_SUPPORTED = 'NOT SUPPORTED'
1818
INVALID_IP_ADDRESS = 'INVALID IP ADDRESS'
1919
INVALID_BIN_DATABASE = 'Incorrect IP2Location BIN file format. Please make sure that you are using the latest IP2Location BIN file.'

0 commit comments

Comments
 (0)