ethernet 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'http://rubygems.org'
3
3
  # Example:
4
4
  # gem 'activesupport', '>= 2.3.5'
5
5
 
6
- gem 'ffi', '>= 1.0.0', :platform => :mri
6
+ gem 'ffi', '>= 1.0.0', :platform => [:mri, :jruby]
7
7
 
8
8
  # Add dependencies to develop your gem here.
9
9
  # Include everything needed to run rake, tests, features, etc.
@@ -3,6 +3,7 @@ GEM
3
3
  specs:
4
4
  diff-lcs (1.1.2)
5
5
  ffi (1.0.9)
6
+ ffi (1.0.9-java)
6
7
  git (1.2.5)
7
8
  jeweler (1.6.0)
8
9
  bundler (~> 1.0.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ethernet}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Victor Costan}, %q{HaoQi Li}]
@@ -38,6 +38,10 @@ module Ethernet
38
38
  end
39
39
  end
40
40
 
41
+ unless defined? Rubinius # ffi is in the standard library in Rubinius
42
+ require 'ffi'
43
+ end
44
+
41
45
  require 'ethernet/devices.rb'
42
46
  require 'ethernet/frame_socket.rb'
43
47
  require 'ethernet/provisioning.rb'
@@ -1,5 +1,3 @@
1
- require 'ffi'
2
-
3
1
  # :nodoc: namespace
4
2
  module Ethernet
5
3
 
@@ -1,6 +1,5 @@
1
1
  require 'rbconfig'
2
2
 
3
-
4
3
  # :nodoc: namespace
5
4
  module Ethernet
6
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethernet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan