sinatra 1.3.4 → 1.3.5

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/CHANGES CHANGED
@@ -1,4 +1,10 @@
1
- = 1.3.4 / 2012-01-26
1
+ = 1.3.5 / 2013-02-25
2
+
3
+ * Fix for RubyGems 2.0 (Uchio KONDO)
4
+
5
+ * Improve documentation (Konstantin Haase)
6
+
7
+ = 1.3.4 / 2013-01-26
2
8
 
3
9
  * Improve documentation. (Kashyap, Stanislav Chistenko, Konstantin Haase,
4
10
  ymmtmsys, Anurag Priyam)
@@ -12,8 +18,8 @@
12
18
 
13
19
  * Fix regression where + was no longer treated like space. (Ross Boucher)
14
20
 
15
- * Status, headers and body will be set correctly in an after filter when using
16
- halt in a before filter or route. (Konstantin Haase)
21
+ * Status, headers and body will be set correctly in an after filter when using
22
+ halt in a before filter or route. (Konstantin Haase)
17
23
 
18
24
  = 1.3.3 / 2012-08-19
19
25
 
data/Gemfile CHANGED
@@ -36,7 +36,7 @@ gem 'liquid' unless RUBY_ENGINE == 'rbx' and RUBY_VERSION > '1.9'
36
36
  gem 'slim', '~> 1.0'
37
37
  gem 'temple', '!= 0.3.3'
38
38
  gem 'coffee-script', '>= 2.0'
39
- gem 'rdoc'
39
+ gem 'rdoc', '~> 3.12'
40
40
  gem 'kramdown'
41
41
  gem 'maruku'
42
42
  gem 'creole'
@@ -60,7 +60,7 @@ end
60
60
 
61
61
  if RUBY_ENGINE != 'jruby' or not ENV['TRAVIS']
62
62
  # C extensions
63
- gem 'rdiscount'
63
+ gem 'rdiscount' if RUBY_VERSION != '1.9.2'
64
64
  platforms(:ruby_18) do
65
65
  gem 'redcarpet'
66
66
  gem 'mongrel'
data/README.rdoc CHANGED
@@ -886,9 +886,9 @@ Other servers will still close the stream:
886
886
  post '/message' do
887
887
  connections.each do |out|
888
888
  # notify client that a new message has arrived
889
- out << message << "\n"
889
+ out << params[:message] << "\n"
890
890
 
891
- # indicate client to connect again
891
+ # indicate client to connect again
892
892
  out.close
893
893
  end
894
894
 
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  require 'rake/clean'
2
3
  require 'rake/testtask'
3
4
  require 'fileutils'
@@ -165,7 +166,7 @@ if defined?(Gem)
165
166
  end
166
167
 
167
168
  task 'release' => ['test', package('.gem')] do
168
- if File.read("CHANGES") =~ /= \d\.\d\.\d . not yet released$/i
169
+ if File.binread("CHANGES") =~ /= \d\.\d\.\d . not yet released$/i
169
170
  fail 'please update changes first'
170
171
  end
171
172
 
data/lib/sinatra/base.rb CHANGED
@@ -1502,14 +1502,14 @@ module Sinatra
1502
1502
 
1503
1503
  public
1504
1504
  CALLERS_TO_IGNORE = [ # :nodoc:
1505
- /\/sinatra(\/(base|main|showexceptions))?\.rb$/, # all sinatra code
1506
- /lib\/tilt.*\.rb$/, # all tilt code
1507
- /^\(.*\)$/, # generated code
1508
- /rubygems\/custom_require\.rb$/, # rubygems require hacks
1509
- /active_support/, # active_support require hacks
1510
- /bundler(\/runtime)?\.rb/, # bundler require hacks
1511
- /<internal:/, # internal in ruby >= 1.9.2
1512
- /src\/kernel\/bootstrap\/[A-Z]/ # maglev kernel files
1505
+ /\/sinatra(\/(base|main|showexceptions))?\.rb$/, # all sinatra code
1506
+ /lib\/tilt.*\.rb$/, # all tilt code
1507
+ /^\(.*\)$/, # generated code
1508
+ /rubygems\/(custom|core_ext\/kernel)_require\.rb$/, # rubygems require hacks
1509
+ /active_support/, # active_support require hacks
1510
+ /bundler(\/runtime)?\.rb/, # bundler require hacks
1511
+ /<internal:/, # internal in ruby >= 1.9.2
1512
+ /src\/kernel\/bootstrap\/[A-Z]/ # maglev kernel files
1513
1513
  ]
1514
1514
 
1515
1515
  # contrary to what the comment said previously, rubinius never supported this
@@ -1,3 +1,3 @@
1
1
  module Sinatra
2
- VERSION = '1.3.4'
2
+ VERSION = '1.3.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-01-26 00:00:00.000000000 Z
15
+ date: 2013-02-25 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rack
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  segments:
221
221
  - 0
222
- hash: -145507804200122103
222
+ hash: 2069879997840551551
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  none: false
225
225
  requirements:
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  segments:
230
230
  - 0
231
- hash: -145507804200122103
231
+ hash: 2069879997840551551
232
232
  requirements: []
233
233
  rubyforge_project:
234
234
  rubygems_version: 1.8.23