trema 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
 - data/Rantfile +8 -1
 - data/build.rb +8 -1
 - data/ruby/trema/version.rb +1 -1
 - metadata +3 -3
 
    
        data/Rakefile
    CHANGED
    
    
    
        data/Rantfile
    CHANGED
    
    | 
         @@ -433,11 +433,18 @@ task :clean => "rubylib:clean" 
     | 
|
| 
       433 
433 
     | 
    
         
             
            task :distclean => "rubylib:distclean"
         
     | 
| 
       434 
434 
     | 
    
         | 
| 
       435 
435 
     | 
    
         | 
| 
      
 436 
     | 
    
         
            +
            require "rbconfig"
         
     | 
| 
      
 437 
     | 
    
         
            +
            RUBY_PATH = File.join(
         
     | 
| 
      
 438 
     | 
    
         
            +
                          RbConfig::CONFIG[ 'bindir' ],
         
     | 
| 
      
 439 
     | 
    
         
            +
                          RbConfig::CONFIG[ 'RUBY_INSTALL_NAME' ] +
         
     | 
| 
      
 440 
     | 
    
         
            +
                          RbConfig::CONFIG[ 'EXEEXT' ]
         
     | 
| 
      
 441 
     | 
    
         
            +
                        )
         
     | 
| 
      
 442 
     | 
    
         
            +
             
     | 
| 
       436 
443 
     | 
    
         
             
            desc "Build ruby library."
         
     | 
| 
       437 
444 
     | 
    
         
             
            task :rubylib => "ruby/trema.so"
         
     | 
| 
       438 
445 
     | 
    
         
             
            file "ruby/trema.so" => FileList[ "ruby/trema/*.c", "ruby/trema/*.h", libtrema ] do
         
     | 
| 
       439 
446 
     | 
    
         
             
              sys.cd "ruby" do
         
     | 
| 
       440 
     | 
    
         
            -
                sys " 
     | 
| 
      
 447 
     | 
    
         
            +
                sys "#{ RUBY_PATH } extconf.rb --with-trema-include=#{ Trema.include } --with-trema-lib=#{ Trema.lib } --with-openflow-include=#{ Trema.openflow }"
         
     | 
| 
       441 
448 
     | 
    
         
             
                sys "make"
         
     | 
| 
       442 
449 
     | 
    
         
             
              end
         
     | 
| 
       443 
450 
     | 
    
         
             
            end
         
     | 
    
        data/build.rb
    CHANGED
    
    | 
         @@ -20,8 +20,15 @@ 
     | 
|
| 
       20 
20 
     | 
    
         
             
            # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
         
     | 
| 
       21 
21 
     | 
    
         
             
            #
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
      
 23 
     | 
    
         
            +
            require "rbconfig"
         
     | 
| 
       23 
24 
     | 
    
         | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
      
 25 
     | 
    
         
            +
            RUBY_PATH = File.join(
         
     | 
| 
      
 26 
     | 
    
         
            +
                          RbConfig::CONFIG[ 'bindir' ],
         
     | 
| 
      
 27 
     | 
    
         
            +
                          RbConfig::CONFIG[ 'RUBY_INSTALL_NAME' ] +
         
     | 
| 
      
 28 
     | 
    
         
            +
                          RbConfig::CONFIG[ 'EXEEXT' ]
         
     | 
| 
      
 29 
     | 
    
         
            +
                        )
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            result = system "cd #{ File.dirname( __FILE__ ) } && #{ RUBY_PATH } .mono.rant #{ ARGV.join ' ' }"
         
     | 
| 
       25 
32 
     | 
    
         
             
            abort "#{ $0 } aborted!" unless result;
         
     | 
| 
       26 
33 
     | 
    
         | 
| 
       27 
34 
     | 
    
         | 
    
        data/ruby/trema/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: trema
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 3
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 3
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.3. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 8
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.3.8
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Yasuhito Takamiya
         
     |