sinatra 1.2.0.d → 1.2.0
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.
Potentially problematic release.
This version of sinatra might be problematic. Click here for more details.
- data/AUTHORS +2 -0
- data/CHANGES +2 -2
- data/README.es.rdoc +4 -0
- data/README.rdoc +4 -0
- data/README.zh.rdoc +862 -97
- data/Rakefile +14 -0
- data/lib/sinatra/base.rb +1 -1
- data/sinatra.gemspec +2 -2
- data/test/builder_test.rb +1 -1
- metadata +8 -11
    
        data/Rakefile
    CHANGED
    
    | @@ -66,6 +66,20 @@ task :add_template, [:name] do |t, args| | |
| 66 66 | 
             
              end
         | 
| 67 67 | 
             
            end
         | 
| 68 68 |  | 
| 69 | 
            +
            # Thanks in announcement ===============================================
         | 
| 70 | 
            +
             | 
| 71 | 
            +
            team = ["Ryan Tomayko", "Blake Mizerany", "Simon Rozet", "Konstantin Haase"]
         | 
| 72 | 
            +
            desc "list of contributors: rake thanks[1.1.0..master,1.1.0..1.1.x]"
         | 
| 73 | 
            +
            task :thanks, [:release,:backports] do |t, a|
         | 
| 74 | 
            +
              a.with_defaults :release => "1.1.0..master", :backports => "1.1.0..1.1.x"
         | 
| 75 | 
            +
              included = `git log --format=format:"%aN\t%s" #{a.release}`.lines.to_a
         | 
| 76 | 
            +
              excluded = `git log --format=format:"%aN\t%s" #{a.backports}`.lines.to_a
         | 
| 77 | 
            +
              commits = (included - excluded).group_by { |c| c[/^[^\t]+/] }
         | 
| 78 | 
            +
              authors = commits.keys.sort_by { |n| - commits[n].size } - team
         | 
| 79 | 
            +
              puts authors[0..-2].join(', ') << " and " << authors.last,
         | 
| 80 | 
            +
                "(based on commits included in #{a.release}, but not in #{a.backports})"
         | 
| 81 | 
            +
            end
         | 
| 82 | 
            +
             | 
| 69 83 | 
             
            # PACKAGING ============================================================
         | 
| 70 84 |  | 
| 71 85 | 
             
            if defined?(Gem)
         | 
    
        data/lib/sinatra/base.rb
    CHANGED
    
    
    
        data/sinatra.gemspec
    CHANGED
    
    | @@ -3,8 +3,8 @@ Gem::Specification.new do |s| | |
| 3 3 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 4 4 |  | 
| 5 5 | 
             
              s.name = 'sinatra'
         | 
| 6 | 
            -
              s.version = '1.2.0 | 
| 7 | 
            -
              s.date = '2011- | 
| 6 | 
            +
              s.version = '1.2.0'
         | 
| 7 | 
            +
              s.date = '2011-03-03'
         | 
| 8 8 |  | 
| 9 9 | 
             
              s.description = "Classy web-development dressed in a DSL"
         | 
| 10 10 | 
             
              s.summary     = "Classy web-development dressed in a DSL"
         | 
    
        data/test/builder_test.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: sinatra
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 5 | 
            -
              prerelease:  | 
| 4 | 
            +
              hash: 31
         | 
| 5 | 
            +
              prerelease: 
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 1
         | 
| 8 8 | 
             
              - 2
         | 
| 9 9 | 
             
              - 0
         | 
| 10 | 
            -
               | 
| 11 | 
            -
              version: 1.2.0.d
         | 
| 10 | 
            +
              version: 1.2.0
         | 
| 12 11 | 
             
            platform: ruby
         | 
| 13 12 | 
             
            authors: 
         | 
| 14 13 | 
             
            - Blake Mizerany
         | 
| @@ -19,7 +18,7 @@ autorequire: | |
| 19 18 | 
             
            bindir: bin
         | 
| 20 19 | 
             
            cert_chain: []
         | 
| 21 20 |  | 
| 22 | 
            -
            date: 2011- | 
| 21 | 
            +
            date: 2011-03-03 00:00:00 +01:00
         | 
| 23 22 | 
             
            default_executable: 
         | 
| 24 23 | 
             
            dependencies: 
         | 
| 25 24 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -217,14 +216,12 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 217 216 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 218 217 | 
             
              none: false
         | 
| 219 218 | 
             
              requirements: 
         | 
| 220 | 
            -
              - - " | 
| 219 | 
            +
              - - ">="
         | 
| 221 220 | 
             
                - !ruby/object:Gem::Version 
         | 
| 222 | 
            -
                  hash:  | 
| 221 | 
            +
                  hash: 3
         | 
| 223 222 | 
             
                  segments: 
         | 
| 224 | 
            -
                  -  | 
| 225 | 
            -
                   | 
| 226 | 
            -
                  - 1
         | 
| 227 | 
            -
                  version: 1.3.1
         | 
| 223 | 
            +
                  - 0
         | 
| 224 | 
            +
                  version: "0"
         | 
| 228 225 | 
             
            requirements: []
         | 
| 229 226 |  | 
| 230 227 | 
             
            rubyforge_project: sinatra
         |