oui-offline 1.2.3 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Gemfile +6 -0
- data/README.md +12 -1
- data/bin/oui +29 -21
- data/data/oui.txt +128306 -0
- data/db/oui.sqlite3 +0 -0
- data/lib/oui.rb +177 -59
- data/oui-offline.gemspec +11 -5
- metadata +18 -5
- metadata.gz.sig +0 -0
- data/ext/mkrf_conf.rb +0 -22
data/ext/mkrf_conf.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rubygems/command'
|
3
|
-
require 'rubygems/dependency_installer'
|
4
|
-
|
5
|
-
begin
|
6
|
-
Gem::Command.build_args = ARGV
|
7
|
-
$stderr.puts "ARGV=#{ARGV}"
|
8
|
-
rescue NoMethodError
|
9
|
-
end
|
10
|
-
|
11
|
-
inst = Gem::DependencyInstaller.new
|
12
|
-
if RUBY_PLATFORM == 'java'
|
13
|
-
inst.install 'jdbc-sqlite3'
|
14
|
-
else
|
15
|
-
inst.install 'sqlite3', '~> 1'
|
16
|
-
end
|
17
|
-
|
18
|
-
# create dummy rakefile to indicate success
|
19
|
-
File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') do |f|
|
20
|
-
f.puts('task :default')
|
21
|
-
end
|
22
|
-
$stderr.puts 'Finished installing oui driver for sequel'
|