pakada-dispatch 0.1.0 → 0.1.1

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.
@@ -49,7 +49,7 @@ class Pakada
49
49
 
50
50
  def json(obj)
51
51
  response.headers["Content-Type"] = "application/json"
52
- response.write obj.respond_to?(:json) ? obj.to_json : Yajl::Encoder.encode(obj)
52
+ response.write obj.respond_to?(:to_json) ? obj.to_json : Yajl::Encoder.encode(obj)
53
53
  finish!
54
54
  end
55
55
 
@@ -1,5 +1,5 @@
1
1
  class Pakada
2
2
  class Dispatch
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pakada-dispatch
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Lars Gierth
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-20 00:00:00 +02:00
14
- default_executable:
13
+ date: 2011-05-16 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: pakada
@@ -95,7 +94,6 @@ files:
95
94
  - spec/module_spec.rb
96
95
  - spec/spec_helper.rb
97
96
  - spec/util_spec.rb
98
- has_rdoc: true
99
97
  homepage: https://rubygems.org/gems/pakada-dispatch
100
98
  licenses: []
101
99
 
@@ -109,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
- hash: -856977645
110
+ hash: 198419571
113
111
  segments:
114
112
  - 0
115
113
  version: "0"
@@ -118,14 +116,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
116
  requirements:
119
117
  - - ">="
120
118
  - !ruby/object:Gem::Version
121
- hash: -856977645
119
+ hash: 198419571
122
120
  segments:
123
121
  - 0
124
122
  version: "0"
125
123
  requirements: []
126
124
 
127
125
  rubyforge_project:
128
- rubygems_version: 1.6.2
126
+ rubygems_version: 1.8.2
129
127
  signing_key:
130
128
  specification_version: 3
131
129
  summary: Routing And Action Controllers For Pakada