sinatra 1.2.0.d → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sinatra might be problematic. Click here for more details.

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)
@@ -7,7 +7,7 @@ require 'sinatra/showexceptions'
7
7
  require 'tilt'
8
8
 
9
9
  module Sinatra
10
- VERSION = '1.2.0.d'
10
+ VERSION = '1.2.0'
11
11
 
12
12
  # The request object. See Rack::Request for more info:
13
13
  # http://rack.rubyforge.org/doc/classes/Rack/Request.html
@@ -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.d'
7
- s.date = '2011-02-26'
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"
@@ -91,5 +91,5 @@ class BuilderTest < Test::Unit::TestCase
91
91
  end
92
92
 
93
93
  rescue LoadError
94
- warn "#{$!.to_s}: skipping less tests"
94
+ warn "#{$!.to_s}: skipping builder tests"
95
95
  end
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: 41
5
- prerelease: 6
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
- - d
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-02-26 00:00:00 +01:00
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: 25
221
+ hash: 3
223
222
  segments:
224
- - 1
225
- - 3
226
- - 1
227
- version: 1.3.1
223
+ - 0
224
+ version: "0"
228
225
  requirements: []
229
226
 
230
227
  rubyforge_project: sinatra