rack-mount 0.6.4 → 0.6.5
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.
| 
         @@ -1,12 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #--
         
     | 
| 
       2 
2 
     | 
    
         
             
            # DO NOT MODIFY!!!!
         
     | 
| 
       3 
     | 
    
         
            -
            # This file is automatically generated by rex 1.0. 
     | 
| 
      
 3 
     | 
    
         
            +
            # This file is automatically generated by rex 1.0.5.beta1
         
     | 
| 
       4 
4 
     | 
    
         
             
            # from lexical definition file "lib/rack/mount/strexp/tokenizer.rex".
         
     | 
| 
       5 
5 
     | 
    
         
             
            #++
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            require 'racc/parser'
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
            class StrexpParser < Racc::Parser
         
     | 
| 
      
 8 
     | 
    
         
            +
            class Rack::Mount::StrexpParser < Racc::Parser
         
     | 
| 
       10 
9 
     | 
    
         
             
              require 'strscan'
         
     | 
| 
       11 
10 
     | 
    
         | 
| 
       12 
11 
     | 
    
         
             
              class ScanError < StandardError ; end
         
     | 
| 
         @@ -21,7 +20,7 @@ class StrexpParser < Racc::Parser 
     | 
|
| 
       21 
20 
     | 
    
         
             
                @state  = nil
         
     | 
| 
       22 
21 
     | 
    
         
             
              end
         
     | 
| 
       23 
22 
     | 
    
         | 
| 
       24 
     | 
    
         
            -
              def action 
     | 
| 
      
 23 
     | 
    
         
            +
              def action
         
     | 
| 
       25 
24 
     | 
    
         
             
                yield
         
     | 
| 
       26 
25 
     | 
    
         
             
              end
         
     | 
| 
       27 
26 
     | 
    
         | 
| 
         @@ -29,6 +28,7 @@ class StrexpParser < Racc::Parser 
     | 
|
| 
       29 
28 
     | 
    
         
             
                scan_setup(str)
         
     | 
| 
       30 
29 
     | 
    
         
             
                do_parse
         
     | 
| 
       31 
30 
     | 
    
         
             
              end
         
     | 
| 
      
 31 
     | 
    
         
            +
              alias :scan :scan_str
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
              def load_file( filename )
         
     | 
| 
       34 
34 
     | 
    
         
             
                @filename = filename
         
     | 
| 
         @@ -81,4 +81,3 @@ class StrexpParser < Racc::Parser 
     | 
|
| 
       81 
81 
     | 
    
         
             
              end  # def next_token
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
            end # class
         
     | 
| 
       84 
     | 
    
         
            -
            end # module
         
     | 
| 
         @@ -1,12 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #--
         
     | 
| 
       2 
2 
     | 
    
         
             
            # DO NOT MODIFY!!!!
         
     | 
| 
       3 
     | 
    
         
            -
            # This file is automatically generated by rex 1.0. 
     | 
| 
      
 3 
     | 
    
         
            +
            # This file is automatically generated by rex 1.0.5.beta1
         
     | 
| 
       4 
4 
     | 
    
         
             
            # from lexical definition file "lib/reginald/tokenizer.rex".
         
     | 
| 
       5 
5 
     | 
    
         
             
            #++
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            require 'racc/parser'
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
            class Parser < Racc::Parser
         
     | 
| 
      
 8 
     | 
    
         
            +
            class Reginald::Parser < Racc::Parser
         
     | 
| 
       10 
9 
     | 
    
         
             
              require 'strscan'
         
     | 
| 
       11 
10 
     | 
    
         | 
| 
       12 
11 
     | 
    
         
             
              class ScanError < StandardError ; end
         
     | 
| 
         @@ -21,7 +20,7 @@ class Parser < Racc::Parser 
     | 
|
| 
       21 
20 
     | 
    
         
             
                @state  = nil
         
     | 
| 
       22 
21 
     | 
    
         
             
              end
         
     | 
| 
       23 
22 
     | 
    
         | 
| 
       24 
     | 
    
         
            -
              def action 
     | 
| 
      
 23 
     | 
    
         
            +
              def action
         
     | 
| 
       25 
24 
     | 
    
         
             
                yield
         
     | 
| 
       26 
25 
     | 
    
         
             
              end
         
     | 
| 
       27 
26 
     | 
    
         | 
| 
         @@ -29,6 +28,7 @@ class Parser < Racc::Parser 
     | 
|
| 
       29 
28 
     | 
    
         
             
                scan_setup(str)
         
     | 
| 
       30 
29 
     | 
    
         
             
                do_parse
         
     | 
| 
       31 
30 
     | 
    
         
             
              end
         
     | 
| 
      
 31 
     | 
    
         
            +
              alias :scan :scan_str
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
              def load_file( filename )
         
     | 
| 
       34 
34 
     | 
    
         
             
                @filename = filename
         
     | 
| 
         @@ -211,4 +211,3 @@ class Parser < Racc::Parser 
     | 
|
| 
       211 
211 
     | 
    
         
             
              end  # def next_token
         
     | 
| 
       212 
212 
     | 
    
         | 
| 
       213 
213 
     | 
    
         
             
            end # class
         
     | 
| 
       214 
     | 
    
         
            -
            end # module
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rack-mount
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 13
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 6
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.6. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 5
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.6.5
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Joshua Peek
         
     | 
| 
         @@ -15,10 +15,51 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2010-06- 
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2010-06-21 00:00:00 -05:00
         
     | 
| 
       19 
19 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       20 
     | 
    
         
            -
            dependencies:  
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
      
 20 
     | 
    
         
            +
            dependencies: 
         
     | 
| 
      
 21 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 22 
     | 
    
         
            +
              name: rack
         
     | 
| 
      
 23 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 24 
     | 
    
         
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 25 
     | 
    
         
            +
                none: false
         
     | 
| 
      
 26 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 27 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 28 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 29 
     | 
    
         
            +
                    hash: 3
         
     | 
| 
      
 30 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 31 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 32 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
      
 33 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 34 
     | 
    
         
            +
              version_requirements: *id001
         
     | 
| 
      
 35 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 36 
     | 
    
         
            +
              name: racc
         
     | 
| 
      
 37 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 38 
     | 
    
         
            +
              requirement: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 39 
     | 
    
         
            +
                none: false
         
     | 
| 
      
 40 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 41 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 43 
     | 
    
         
            +
                    hash: 3
         
     | 
| 
      
 44 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 45 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 46 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
      
 47 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 48 
     | 
    
         
            +
              version_requirements: *id002
         
     | 
| 
      
 49 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 50 
     | 
    
         
            +
              name: rexical
         
     | 
| 
      
 51 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 52 
     | 
    
         
            +
              requirement: &id003 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 53 
     | 
    
         
            +
                none: false
         
     | 
| 
      
 54 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 55 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 56 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 57 
     | 
    
         
            +
                    hash: 3
         
     | 
| 
      
 58 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 59 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 60 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
      
 61 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 62 
     | 
    
         
            +
              version_requirements: *id003
         
     | 
| 
       22 
63 
     | 
    
         
             
            description: Stackable dynamic tree based Rack router
         
     | 
| 
       23 
64 
     | 
    
         
             
            email: josh@joshpeek.com
         
     | 
| 
       24 
65 
     | 
    
         
             
            executables: []
         
     |