rack-rewrite 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b433927615a0c3d699ee348e2442d5e2d3f3bed
4
- data.tar.gz: 8b8f88d6bd02f4149e37a7d3956045fa795a467f
3
+ metadata.gz: 6bab57dfe4f0ff2b90a3dc8995445c69194a741e
4
+ data.tar.gz: a26abcc5a6c2a7ca38299a64801608d7da746d8d
5
5
  SHA512:
6
- metadata.gz: cfd596b1093d843050fe96bf3d6737c821d20a10d3371b17dc23a70c28e78cb55ddbeebe059f8842ad976170426c8cba5da8e215e21cd175165c7794c1dedd23
7
- data.tar.gz: 45b9edc5712be185b07cbcbc81dceab6e0053370510c2c381f3ba95f10b72e0aaed2708cfb2cf4cbfe0d4ce6ac4734bd8741f2fd2f1cc1baa8bb53e414a52192
6
+ metadata.gz: 127d0bb95c472d3f7312207190ba67a0b917450c3b211ba646a2914f42b25764218abd67fdc6f6032cd1def9e16c53df40f8cca1f72c7de55465305393fc421e
7
+ data.tar.gz: 4a417b2463b41cb87db15d3728fa48ad1c93649a176efc6c1a797e28a1af0f355a18d32498672d6cd2b1c733954f573690a07f1f854d2957f83f3696164d1ec5
@@ -1,3 +1,11 @@
1
+ == 1.5.1 / 2014-12-31
2
+ * Maintenance
3
+ * Fix content-length being set (#66)
4
+
5
+ == 1.5.0 / 2014-01-09
6
+ * API
7
+ * Add send_data (#51)
8
+
1
9
  == 1.4.1 / 2013-11-07
2
10
  * API
3
11
  * Add support for external loaders (#50)
@@ -15,7 +15,7 @@ can get away with rack-rewrite instead of writing Apache mod_rewrite rules.
15
15
 
16
16
  ```ruby
17
17
  # config.ru
18
- gem 'rack-rewrite', '~> 1.2.1'
18
+ gem 'rack-rewrite', '~> 1.5.0'
19
19
  require 'rack/rewrite'
20
20
  use Rack::Rewrite do
21
21
  rewrite '/wiki/John_Trupiano', '/john'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.5.1
@@ -169,7 +169,7 @@ module Rack
169
169
  }.merge!(additional_headers), []]
170
170
  when :send_data
171
171
  [status, {
172
- 'Content-Type' => interpreted_to.bytesize,
172
+ 'Content-Length' => interpreted_to.bytesize,
173
173
  'Content-Type' => 'text/html',
174
174
  }.merge!(additional_headers), [interpreted_to]]
175
175
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-rewrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Jeffery
@@ -9,62 +9,62 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-09 00:00:00.000000000 Z
12
+ date: 2014-12-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: shoulda
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: 2.10.2
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 2.10.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: mocha
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.9.7
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.9.7
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rack
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  description: A rack middleware for enforcing rewrite rules. In many cases you can
@@ -76,12 +76,12 @@ extra_rdoc_files:
76
76
  - LICENSE
77
77
  - History.rdoc
78
78
  files:
79
+ - Gemfile
79
80
  - History.rdoc
80
81
  - LICENSE
81
82
  - README.markdown
82
83
  - Rakefile
83
84
  - VERSION
84
- - Gemfile
85
85
  - lib/rack-rewrite.rb
86
86
  - lib/rack/rewrite.rb
87
87
  - lib/rack/rewrite/rule.rb
@@ -96,22 +96,22 @@ licenses: []
96
96
  metadata: {}
97
97
  post_install_message:
98
98
  rdoc_options:
99
- - --charset=UTF-8
99
+ - "--charset=UTF-8"
100
100
  require_paths:
101
101
  - lib
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project: johntrupiano
114
- rubygems_version: 2.0.3
114
+ rubygems_version: 2.2.2
115
115
  signing_key:
116
116
  specification_version: 3
117
117
  summary: A rack middleware for enforcing rewrite rules