fireruby 0.3.0-mswin32 → 0.3.1-mswin32
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/lib/CVS/Entries +2 -2
 - data/lib/fireruby.so +0 -0
 - data/lib/src.rb +4 -1
 - data/test/CVS/Entries +1 -1
 - data/test/ConnectionTest.rb +17 -0
 - metadata +3 -3
 
    
        data/lib/CVS/Entries
    CHANGED
    
    
    
        data/lib/fireruby.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/src.rb
    CHANGED
    
    | 
         @@ -591,7 +591,10 @@ module FireRuby 
     | 
|
| 
       591 
591 
     | 
    
         | 
| 
       592 
592 
     | 
    
         
             
               #
         
     | 
| 
       593 
593 
     | 
    
         
             
               # This class represents the results of a SQL query executed against a
         
     | 
| 
       594 
     | 
    
         
            -
               # database.
         
     | 
| 
      
 594 
     | 
    
         
            +
               # database. The viable lifespan of a ResultSet object is limited by the
         
     | 
| 
      
 595 
     | 
    
         
            +
               # transaction that was used in it's creation. Once this transaction has
         
     | 
| 
      
 596 
     | 
    
         
            +
               # been committed or rolled back all related ResultSet object are invalidated
         
     | 
| 
      
 597 
     | 
    
         
            +
               # and can no longer be used.
         
     | 
| 
       595 
598 
     | 
    
         
             
               #
         
     | 
| 
       596 
599 
     | 
    
         
             
               class ResultSet
         
     | 
| 
       597 
600 
     | 
    
         
             
                  #
         
     | 
    
        data/test/CVS/Entries
    CHANGED
    
    | 
         @@ -1,6 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            /AddRemoveUserTest.rb/1.1/Mon May  9 09:11:29 2005//
         
     | 
| 
       2 
2 
     | 
    
         
             
            /BackupRestoreTest.rb/1.1/Mon May  9 09:11:29 2005//
         
     | 
| 
       3 
     | 
    
         
            -
            /ConnectionTest.rb/1.3/Mon May  9 09:08:34 2005//
         
     | 
| 
       4 
3 
     | 
    
         
             
            /DatabaseTest.rb/1.3/Thu Mar 31 08:28:48 2005//
         
     | 
| 
       5 
4 
     | 
    
         
             
            /GeneratorTest.rb/1.3/Mon May  9 09:08:34 2005//
         
     | 
| 
       6 
5 
     | 
    
         
             
            /ResultSetTest.rb/1.3/Mon May  9 09:08:34 2005//
         
     | 
| 
         @@ -13,4 +12,5 @@ 
     | 
|
| 
       13 
12 
     | 
    
         
             
            /TransactionTest.rb/1.5/Wed May 18 09:07:52 2005//
         
     | 
| 
       14 
13 
     | 
    
         
             
            /UnitTest.rb/1.5/Wed May 18 09:07:52 2005//
         
     | 
| 
       15 
14 
     | 
    
         
             
            /DDLTest.rb/1.5/Wed May 18 09:20:15 2005//
         
     | 
| 
      
 15 
     | 
    
         
            +
            /ConnectionTest.rb/1.5/Tue Jun  7 13:24:43 2005//
         
     | 
| 
       16 
16 
     | 
    
         
             
            D
         
     | 
    
        data/test/ConnectionTest.rb
    CHANGED
    
    | 
         @@ -89,4 +89,21 @@ class ConnectionTest < Test::Unit::TestCase 
     | 
|
| 
       89 
89 
     | 
    
         
             
                  end
         
     | 
| 
       90 
90 
     | 
    
         
             
                  assert(total == 88)
         
     | 
| 
       91 
91 
     | 
    
         
             
               end
         
     | 
| 
      
 92 
     | 
    
         
            +
             
     | 
| 
      
 93 
     | 
    
         
            +
               def test04
         
     | 
| 
      
 94 
     | 
    
         
            +
                  connection = @database.connect(DB_USER_NAME, DB_PASSWORD)
         
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
                  tx1 = connection.start_transaction
         
     | 
| 
      
 97 
     | 
    
         
            +
                  tx2 = connection.start_transaction
         
     | 
| 
      
 98 
     | 
    
         
            +
                  tx3 = connection.start_transaction
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                  tx2.rollback
         
     | 
| 
      
 101 
     | 
    
         
            +
                  assert(tx2.active? == false)
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
                  connection.close
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
                  assert(connection.closed?)
         
     | 
| 
      
 106 
     | 
    
         
            +
                  assert(tx1.active? == false)
         
     | 
| 
      
 107 
     | 
    
         
            +
                  assert(tx3.active? == false)
         
     | 
| 
      
 108 
     | 
    
         
            +
               end
         
     | 
| 
       92 
109 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -3,8 +3,8 @@ rubygems_version: 0.8.8 
     | 
|
| 
       3 
3 
     | 
    
         
             
            specification_version: 1
         
     | 
| 
       4 
4 
     | 
    
         
             
            name: fireruby
         
     | 
| 
       5 
5 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       6 
     | 
    
         
            -
              version: 0.3. 
     | 
| 
       7 
     | 
    
         
            -
            date: 2005- 
     | 
| 
      
 6 
     | 
    
         
            +
              version: 0.3.1
         
     | 
| 
      
 7 
     | 
    
         
            +
            date: 2005-06-07
         
     | 
| 
       8 
8 
     | 
    
         
             
            summary: Ruby interface library for the Firebird database.
         
     | 
| 
       9 
9 
     | 
    
         
             
            require_paths: 
         
     | 
| 
       10 
10 
     | 
    
         
             
              - lib
         
     | 
| 
         @@ -28,9 +28,9 @@ authors: 
     | 
|
| 
       28 
28 
     | 
    
         
             
              - Peter Wood
         
     | 
| 
       29 
29 
     | 
    
         
             
            files: 
         
     | 
| 
       30 
30 
     | 
    
         
             
              - lib/CVS
         
     | 
| 
       31 
     | 
    
         
            -
              - lib/fireruby.so
         
     | 
| 
       32 
31 
     | 
    
         
             
              - lib/mkdoc
         
     | 
| 
       33 
32 
     | 
    
         
             
              - lib/src.rb
         
     | 
| 
      
 33 
     | 
    
         
            +
              - lib/fireruby.so
         
     | 
| 
       34 
34 
     | 
    
         
             
              - lib/CVS/Entries
         
     | 
| 
       35 
35 
     | 
    
         
             
              - lib/CVS/Repository
         
     | 
| 
       36 
36 
     | 
    
         
             
              - lib/CVS/Root
         
     |