padrino-core 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
data/test/test_server.rb CHANGED
@@ -27,11 +27,11 @@ class ServerTest < Test::Unit::TestCase
27
27
 
28
28
  context 'for server functionality' do
29
29
  should "locates the appropriate Rack handler and calls ::run" do
30
- Padrino.run!('foo.local', 9001, 'mock')
30
+ silence_logger { Padrino.run!(:host => 'foo.local', :port => 9001, :adapter => 'mock') }
31
31
  end
32
32
 
33
33
  should "falls back on the next server handler when not found" do
34
- assert_raise(Padrino::Server::LoadError) { Padrino.run!('foo.local', 9001, 'foo') }
34
+ assert_raise(Padrino::Server::LoadError) { silence_logger {Padrino.run!(:host => 'foo.local', :port => 9001, :adapter => 'foo') } }
35
35
  end
36
36
  end
37
37
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 10
9
- version: 0.9.10
8
+ - 11
9
+ version: 0.9.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Padrino Team
@@ -17,13 +17,13 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-04-22 00:00:00 +02:00
20
+ date: 2010-06-17 00:00:00 -07:00
21
21
  default_executable: padrino
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: sinatra
25
- prerelease: false
26
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
@@ -33,39 +33,27 @@ dependencies:
33
33
  - 0
34
34
  version: 1.0.0
35
35
  type: :runtime
36
+ prerelease: false
36
37
  version_requirements: *id001
37
38
  - !ruby/object:Gem::Dependency
38
- name: i18n
39
- prerelease: false
39
+ name: http_router
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
41
42
  requirements:
42
43
  - - ">="
43
44
  - !ruby/object:Gem::Version
44
45
  segments:
45
46
  - 0
46
- - 3
47
47
  - 2
48
- version: 0.3.2
48
+ - 3
49
+ version: 0.2.3
49
50
  type: :runtime
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: usher
53
51
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- - 6
61
- - 2
62
- version: 0.6.2
63
- type: :runtime
64
- version_requirements: *id003
52
+ version_requirements: *id002
65
53
  - !ruby/object:Gem::Dependency
66
54
  name: thor
67
- prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
69
57
  requirements:
70
58
  - - ">="
71
59
  - !ruby/object:Gem::Version
@@ -75,67 +63,57 @@ dependencies:
75
63
  - 0
76
64
  version: 0.13.0
77
65
  type: :runtime
78
- version_requirements: *id004
79
- - !ruby/object:Gem::Dependency
80
- name: bundler
81
66
  prerelease: false
82
- requirement: &id005 !ruby/object:Gem::Requirement
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- segments:
87
- - 0
88
- - 9
89
- - 7
90
- version: 0.9.7
91
- type: :runtime
92
- version_requirements: *id005
67
+ version_requirements: *id003
93
68
  - !ruby/object:Gem::Dependency
94
69
  name: activesupport
95
- prerelease: false
96
- requirement: &id006 !ruby/object:Gem::Requirement
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
97
72
  requirements:
98
- - - "="
73
+ - - ">="
99
74
  - !ruby/object:Gem::Version
100
75
  segments:
101
76
  - 2
102
77
  - 3
103
- - 5
104
- version: 2.3.5
78
+ - 8
79
+ version: 2.3.8
105
80
  type: :runtime
106
- version_requirements: *id006
107
- - !ruby/object:Gem::Dependency
108
- name: shoulda
109
81
  prerelease: false
110
- requirement: &id007 !ruby/object:Gem::Requirement
82
+ version_requirements: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
111
87
  requirements:
112
88
  - - ">="
113
89
  - !ruby/object:Gem::Version
114
90
  segments:
115
- - 2
116
- - 10
117
- - 3
118
- version: 2.10.3
91
+ - 0
92
+ - 8
93
+ - 7
94
+ version: 0.8.7
119
95
  type: :development
120
- version_requirements: *id007
96
+ prerelease: false
97
+ version_requirements: *id005
121
98
  - !ruby/object:Gem::Dependency
122
99
  name: mocha
123
- prerelease: false
124
- requirement: &id008 !ruby/object:Gem::Requirement
100
+ requirement: &id006 !ruby/object:Gem::Requirement
101
+ none: false
125
102
  requirements:
126
103
  - - ">="
127
104
  - !ruby/object:Gem::Version
128
105
  segments:
129
106
  - 0
130
107
  - 9
131
- - 7
132
- version: 0.9.7
108
+ - 8
109
+ version: 0.9.8
133
110
  type: :development
134
- version_requirements: *id008
111
+ prerelease: false
112
+ version_requirements: *id006
135
113
  - !ruby/object:Gem::Dependency
136
114
  name: rack-test
137
- prerelease: false
138
- requirement: &id009 !ruby/object:Gem::Requirement
115
+ requirement: &id007 !ruby/object:Gem::Requirement
116
+ none: false
139
117
  requirements:
140
118
  - - ">="
141
119
  - !ruby/object:Gem::Version
@@ -145,11 +123,12 @@ dependencies:
145
123
  - 0
146
124
  version: 0.5.0
147
125
  type: :development
148
- version_requirements: *id009
126
+ prerelease: false
127
+ version_requirements: *id007
149
128
  - !ruby/object:Gem::Dependency
150
129
  name: webrat
151
- prerelease: false
152
- requirement: &id010 !ruby/object:Gem::Requirement
130
+ requirement: &id008 !ruby/object:Gem::Requirement
131
+ none: false
153
132
  requirements:
154
133
  - - ">="
155
134
  - !ruby/object:Gem::Version
@@ -159,11 +138,12 @@ dependencies:
159
138
  - 1
160
139
  version: 0.5.1
161
140
  type: :development
162
- version_requirements: *id010
141
+ prerelease: false
142
+ version_requirements: *id008
163
143
  - !ruby/object:Gem::Dependency
164
144
  name: haml
165
- prerelease: false
166
- requirement: &id011 !ruby/object:Gem::Requirement
145
+ requirement: &id009 !ruby/object:Gem::Requirement
146
+ none: false
167
147
  requirements:
168
148
  - - ">="
169
149
  - !ruby/object:Gem::Version
@@ -173,7 +153,23 @@ dependencies:
173
153
  - 22
174
154
  version: 2.2.22
175
155
  type: :development
176
- version_requirements: *id011
156
+ prerelease: false
157
+ version_requirements: *id009
158
+ - !ruby/object:Gem::Dependency
159
+ name: shoulda
160
+ requirement: &id010 !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ segments:
166
+ - 2
167
+ - 10
168
+ - 3
169
+ version: 2.10.3
170
+ type: :development
171
+ prerelease: false
172
+ version_requirements: *id010
177
173
  description: The Padrino core gem required for use of this framework
178
174
  email: padrinorb@gmail.com
179
175
  executables:
@@ -188,28 +184,33 @@ files:
188
184
  - LICENSE
189
185
  - README.rdoc
190
186
  - Rakefile
187
+ - padrino-core.gemspec
191
188
  - bin/padrino
192
- - lib/padrino-core.rb
193
- - lib/padrino-core/application.rb
194
189
  - lib/padrino-core/application/mounter.rb
195
190
  - lib/padrino-core/application/rendering.rb
196
191
  - lib/padrino-core/application/routing.rb
197
192
  - lib/padrino-core/application/showexceptions.rb
193
+ - lib/padrino-core/application.rb
198
194
  - lib/padrino-core/caller.rb
199
195
  - lib/padrino-core/cli/adapter.rb
200
196
  - lib/padrino-core/cli/base.rb
201
197
  - lib/padrino-core/cli/console.rb
202
198
  - lib/padrino-core/cli/rake.rb
199
+ - lib/padrino-core/command.rb
203
200
  - lib/padrino-core/images/404.png
204
201
  - lib/padrino-core/images/500.png
205
202
  - lib/padrino-core/loader.rb
203
+ - lib/padrino-core/locale/cz.yml
206
204
  - lib/padrino-core/locale/da.yml
207
205
  - lib/padrino-core/locale/de.yml
208
206
  - lib/padrino-core/locale/en.yml
207
+ - lib/padrino-core/locale/es.yml
209
208
  - lib/padrino-core/locale/fr.yml
210
209
  - lib/padrino-core/locale/it.yml
211
210
  - lib/padrino-core/locale/pt_br.yml
212
211
  - lib/padrino-core/locale/ru.yml
212
+ - lib/padrino-core/locale/tr.yml
213
+ - lib/padrino-core/locale/uk.yml
213
214
  - lib/padrino-core/logger.rb
214
215
  - lib/padrino-core/reloader.rb
215
216
  - lib/padrino-core/router.rb
@@ -217,9 +218,7 @@ files:
217
218
  - lib/padrino-core/support_lite.rb
218
219
  - lib/padrino-core/tasks.rb
219
220
  - lib/padrino-core/version.rb
220
- - padrino-core.gemspec
221
- - test/fixtures/apps/.components
222
- - test/fixtures/apps/.gitignore
221
+ - lib/padrino-core.rb
223
222
  - test/fixtures/apps/complex.rb
224
223
  - test/fixtures/apps/simple.rb
225
224
  - test/fixtures/dependencies/a.rb
@@ -247,6 +246,7 @@ rdoc_options:
247
246
  require_paths:
248
247
  - lib
249
248
  required_ruby_version: !ruby/object:Gem::Requirement
249
+ none: false
250
250
  requirements:
251
251
  - - ">="
252
252
  - !ruby/object:Gem::Version
@@ -254,16 +254,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
254
  - 0
255
255
  version: "0"
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
+ none: false
257
258
  requirements:
258
259
  - - ">="
259
260
  - !ruby/object:Gem::Version
260
261
  segments:
261
- - 0
262
- version: "0"
262
+ - 1
263
+ - 3
264
+ - 6
265
+ version: 1.3.6
263
266
  requirements: []
264
267
 
265
268
  rubyforge_project: padrino-core
266
- rubygems_version: 1.3.6
269
+ rubygems_version: 1.3.7
267
270
  signing_key:
268
271
  specification_version: 3
269
272
  summary: The required Padrino core gem
@@ -1,6 +0,0 @@
1
- ---
2
- :test: bacon
3
- :mock: mocha
4
- :orm: datamapper
5
- :renderer: erb
6
- :script: jquery
@@ -1,7 +0,0 @@
1
- .DS_Store
2
- log/**/*
3
- tmp/**/*
4
- vendor/gems/gems
5
- vendor/gems/specifications
6
- vendor/gems/doc
7
- vendor/gems/environment.rb