padrino-core 0.10.6.e → 0.10.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,16 +22,17 @@ module Padrino
22
22
  class << self
23
23
 
24
24
  def inherited(base) # @private
25
- logger.devel "Setup #{base}"
25
+ begun_at = Time.now
26
26
  CALLERS_TO_IGNORE.concat(PADRINO_IGNORE_CALLERS)
27
27
  base.default_configuration!
28
28
  base.prerequisites.concat([
29
- File.join(base.root, "/models.rb"),
30
- File.join(base.root, "/models/**/*.rb"),
31
- File.join(base.root, "/lib.rb"),
32
- File.join(base.root, "/lib/**/*.rb")
29
+ File.join(base.root, '/models.rb'),
30
+ File.join(base.root, '/models/**/*.rb'),
31
+ File.join(base.root, '/lib.rb'),
32
+ File.join(base.root, '/lib/**/*.rb')
33
33
  ]).uniq!
34
34
  Padrino.require_dependencies(base.prerequisites)
35
+ logger.devel :setup, begun_at, base
35
36
  super(base) # Loading the subclass inherited method
36
37
  end
37
38
 
@@ -47,11 +48,10 @@ module Padrino
47
48
  # MyApp.reload!
48
49
  #
49
50
  def reload!
50
- logger.devel "Reloading #{self}"
51
- @_dependencies = nil # Reset dependencies
51
+ logger.devel "Reloading #{settings}"
52
52
  reset! # Reset sinatra app
53
53
  reset_router! # Reset all routes
54
- Padrino.require_dependencies(self.app_file, :force => true) # Reload the app file
54
+ Padrino.require_dependencies(settings.app_file, :force => true) # Reload the app file
55
55
  require_dependencies # Reload dependencies
56
56
  default_filters! # Reload filters
57
57
  default_routes! # Reload default routes
@@ -92,12 +92,12 @@ module Padrino
92
92
  #
93
93
  def setup_application!
94
94
  return if @_configured
95
- self.require_dependencies
96
- self.default_filters!
97
- self.default_routes!
98
- self.default_errors!
95
+ settings.require_dependencies
96
+ settings.default_filters!
97
+ settings.default_routes!
98
+ settings.default_errors!
99
99
  if defined?(I18n)
100
- I18n.load_path << self.locale_path
100
+ I18n.load_path << settings.locale_path
101
101
  I18n.reload!
102
102
  end
103
103
  @_configured = true
@@ -112,7 +112,7 @@ module Padrino
112
112
  #
113
113
  def run!(options={})
114
114
  return unless Padrino.load!
115
- Padrino.mount(self.to_s).to("/")
115
+ Padrino.mount(settings.to_s).to('/')
116
116
  Padrino.run!(options)
117
117
  end
118
118
 
@@ -121,7 +121,7 @@ module Padrino
121
121
  # directory that need to be added to +$LOAD_PATHS+ from this application
122
122
  #
123
123
  def load_paths
124
- @_load_paths ||= %w(models lib mailers controllers helpers).map { |path| File.join(self.root, path) }
124
+ @_load_paths ||= %w[models lib mailers controllers helpers].map { |path| File.join(settings.root, path) }
125
125
  end
126
126
 
127
127
  ##
@@ -136,10 +136,10 @@ module Padrino
136
136
  # MyApp.dependencies << Padrino.root('other_app', 'controllers.rb')
137
137
  #
138
138
  def dependencies
139
- @_dependencies ||= [
140
- "urls.rb", "config/urls.rb", "mailers/*.rb", "mailers.rb",
141
- "controllers/**/*.rb", "controllers.rb", "helpers/**/*.rb", "helpers.rb"
142
- ].map { |file| Dir[File.join(self.root, file)] }.flatten
139
+ [
140
+ 'urls.rb', 'config/urls.rb', 'mailers/*.rb', 'mailers.rb',
141
+ 'controllers/**/*.rb', 'controllers.rb', 'helpers/**/*.rb', 'helpers.rb'
142
+ ].map { |file| Dir[File.join(settings.root, file)] }.flatten
143
143
  end
144
144
 
145
145
  ##
@@ -161,110 +161,109 @@ module Padrino
161
161
  end
162
162
 
163
163
  protected
164
- ##
165
- # Defines default settings for Padrino application
166
- #
167
- def default_configuration!
168
- # Overwriting Sinatra defaults
169
- set :app_file, File.expand_path(caller_files.first || $0) # Assume app file is first caller
170
- set :environment, Padrino.env
171
- set :reload, Proc.new { development? }
172
- set :logging, Proc.new { development? }
173
- set :method_override, true
174
- set :sessions, false
175
- set :public_folder, Proc.new { Padrino.root('public', uri_root) }
176
- set :views, Proc.new { File.join(root, "views") }
177
- set :images_path, Proc.new { File.join(public, "images") }
178
- set :protection, false
179
- # Padrino specific
180
- set :uri_root, "/"
181
- set :app_name, self.to_s.underscore.to_sym
182
- set :default_builder, 'StandardFormBuilder'
183
- set :flash, defined?(Sinatra::Flash) || defined?(Rack::Flash)
184
- set :authentication, false
185
- # Padrino locale
186
- set :locale_path, Proc.new { Dir[File.join(self.root, "/locale/**/*.{rb,yml}")] }
187
- # Load the Global Configurations
188
- class_eval(&Padrino.apps_configuration) if Padrino.apps_configuration
189
- end
164
+ ##
165
+ # Defines default settings for Padrino application
166
+ #
167
+ def default_configuration!
168
+ # Overwriting Sinatra defaults
169
+ set :app_file, File.expand_path(caller_files.first || $0) # Assume app file is first caller
170
+ set :environment, Padrino.env
171
+ set :reload, Proc.new { development? }
172
+ set :logging, Proc.new { development? }
173
+ set :method_override, true
174
+ set :sessions, false
175
+ set :public_folder, Proc.new { Padrino.root('public', uri_root) }
176
+ set :views, Proc.new { File.join(root, "views") }
177
+ set :images_path, Proc.new { File.join(public, "images") }
178
+ set :protection, false
179
+ # Padrino specific
180
+ set :uri_root, '/'
181
+ set :app_name, settings.to_s.underscore.to_sym
182
+ set :default_builder, 'StandardFormBuilder'
183
+ set :flash, defined?(Sinatra::Flash) || defined?(Rack::Flash)
184
+ set :authentication, false
185
+ # Padrino locale
186
+ set :locale_path, Proc.new { Dir[File.join(settings.root, '/locale/**/*.{rb,yml}')] }
187
+ # Load the Global Configurations
188
+ class_eval(&Padrino.apps_configuration) if Padrino.apps_configuration
189
+ end
190
190
 
191
- ##
192
- # We need to add almost __sinatra__ images.
193
- #
194
- def default_routes!
195
- configure :development do
196
- get '*__sinatra__/:image.png' do
197
- content_type :png
198
- filename = File.dirname(__FILE__) + "/images/#{params[:image]}.png"
199
- send_file filename
200
- end
191
+ ##
192
+ # We need to add almost __sinatra__ images.
193
+ #
194
+ def default_routes!
195
+ configure :development do
196
+ get '*__sinatra__/:image.png' do
197
+ content_type :png
198
+ filename = File.dirname(__FILE__) + "/images/#{params[:image]}.png"
199
+ send_file filename
201
200
  end
202
201
  end
202
+ end
203
203
 
204
- ##
205
- # This filter it's used for know the format of the request, and automatically set the content type.
206
- #
207
- def default_filters!
208
- before do
209
- unless @_content_type
210
- @_content_type = :html
211
- response['Content-Type'] = 'text/html;charset=utf-8'
212
- end
204
+ ##
205
+ # This filter it's used for know the format of the request, and automatically set the content type.
206
+ #
207
+ def default_filters!
208
+ before do
209
+ unless @_content_type
210
+ @_content_type = :html
211
+ response['Content-Type'] = 'text/html;charset=utf-8'
213
212
  end
214
213
  end
214
+ end
215
215
 
216
- ##
217
- # This log errors for production environments
218
- #
219
- def default_errors!
220
- configure :production do
221
- error ::Exception do
222
- boom = env['sinatra.error']
223
- logger.error ["#{boom.class} - #{boom.message}:", *boom.backtrace].join("\n ")
224
- response.status = 500
225
- content_type 'text/html'
226
- '<h1>Internal Server Error</h1>'
227
- end unless errors.has_key?(::Exception)
228
- end
216
+ ##
217
+ # This log errors for production environments
218
+ #
219
+ def default_errors!
220
+ configure :production do
221
+ error ::Exception do
222
+ boom = env['sinatra.error']
223
+ logger.error ["#{boom.class} - #{boom.message}:", *boom.backtrace].join("\n ")
224
+ response.status = 500
225
+ content_type 'text/html'
226
+ '<h1>Internal Server Error</h1>'
227
+ end unless errors.has_key?(::Exception)
229
228
  end
229
+ end
230
230
 
231
- ##
232
- # Requires all files within the application load paths
233
- #
234
- def require_dependencies
235
- Padrino.set_load_paths(*load_paths)
236
- Padrino.require_dependencies(dependencies, :force => true)
237
- end
231
+ ##
232
+ # Requires all files within the application load paths
233
+ #
234
+ def require_dependencies
235
+ Padrino.set_load_paths(*load_paths)
236
+ Padrino.require_dependencies(dependencies, :force => true)
237
+ end
238
238
 
239
239
  private
240
+ # Overrides the default middleware for Sinatra based on Padrino conventions
241
+ # Also initializes the application after setting up the middleware
242
+ def setup_default_middleware(builder)
243
+ setup_sessions builder
244
+ setup_flash builder
245
+ builder.use Padrino::ShowExceptions if show_exceptions?
246
+ builder.use Padrino::Logger::Rack, uri_root if Padrino.logger && logging?
247
+ builder.use Padrino::Reloader::Rack if reload?
248
+ builder.use Rack::MethodOverride if method_override?
249
+ builder.use Rack::Head
250
+ setup_protection builder
251
+ setup_application!
252
+ end
240
253
 
241
- # Overrides the default middleware for Sinatra based on Padrino conventions
242
- # Also initializes the application after setting up the middleware
243
- def setup_default_middleware(builder)
244
- setup_sessions builder
245
- setup_flash builder
246
- builder.use Padrino::ShowExceptions if show_exceptions?
247
- builder.use Padrino::Logger::Rack, uri_root if Padrino.logger && logging?
248
- builder.use Padrino::Reloader::Rack if reload?
249
- builder.use Rack::MethodOverride if method_override?
250
- builder.use Rack::Head
251
- setup_protection builder
252
- setup_application!
253
- end
254
-
255
- # TODO Remove this in a few versions (rack-flash deprecation)
256
- # Move register Sinatra::Flash into setup_default_middleware
257
- # Initializes flash using sinatra-flash or rack-flash
258
- def setup_flash(builder)
259
- register Sinatra::Flash if flash? && defined?(Sinatra::Flash)
260
- if defined?(Rack::Flash) && !defined?(Sinatra::Flash)
261
- logger.warn %Q{
262
- [Deprecation] In Gemfile, 'rack-flash' should be replaced with 'sinatra-flash'!
263
- Rack-Flash is not compatible with later versions of Rack and should be replaced.
264
- }
265
- builder.use Rack::Flash, :sweep => true if flash?
266
- end
254
+ # TODO Remove this in a few versions (rack-flash deprecation)
255
+ # Move register Sinatra::Flash into setup_default_middleware
256
+ # Initializes flash using sinatra-flash or rack-flash
257
+ def setup_flash(builder)
258
+ register Sinatra::Flash if flash? && defined?(Sinatra::Flash)
259
+ if defined?(Rack::Flash) && !defined?(Sinatra::Flash)
260
+ logger.warn %Q{
261
+ [Deprecation] In Gemfile, 'rack-flash' should be replaced with 'sinatra-flash'!
262
+ Rack-Flash is not compatible with later versions of Rack and should be replaced.
263
+ }
264
+ builder.use Rack::Flash, :sweep => true if flash?
267
265
  end
266
+ end
268
267
  end # self
269
268
  end # Application
270
269
  end # Padrino
@@ -13,7 +13,7 @@ it:
13
13
  abbr_day_names: [Dom, Lun, Mar, Mer, Gio, Ven, Sab]
14
14
  month_names: [~, Gennaio, Febbraio, Marzo, Aprile, Maggio, Giugno, Luglio, Agosto, Settembre, Ottobre, Novembre, Dicembre]
15
15
  abbr_month_names: [~, Gen, Feb, Mar, Apr, Mag, Giu, Lug, Ago, Set, Ott, Nov, Dic]
16
- order:
16
+ order:
17
17
  - day
18
18
  - month
19
19
  - year
@@ -70,7 +70,7 @@ module Padrino
70
70
  define_method(name) do |*args|
71
71
  return if number < level
72
72
  if args.size > 1
73
- bench(*args)
73
+ bench(args[0], args[1], args[2], name)
74
74
  else
75
75
  push(args * '', name)
76
76
  end
@@ -102,7 +102,9 @@ module Padrino
102
102
  @_pad = action.to_s.size if action.to_s.size > @_pad
103
103
  duration = Time.now - began_at
104
104
  color = :red if duration > 1
105
- push "%s (" % colorize(action.to_s.upcase.rjust(@_pad), color) + colorize("%0.4fms", :bold, color) % duration + ") %s" % message.to_s, level
105
+ action = colorize(action.to_s.upcase.rjust(@_pad), color)
106
+ duration = colorize('%0.4fms' % duration, :bold, color)
107
+ push "#{action} (#{duration}) #{message}", level
106
108
  end
107
109
 
108
110
  ##
@@ -274,8 +276,8 @@ module Padrino
274
276
 
275
277
  stream = case config[:stream]
276
278
  when :to_file
277
- FileUtils.mkdir_p(Padrino.root("log")) unless File.exists?(Padrino.root("log"))
278
- File.new(Padrino.root("log", "#{Padrino.env}.log"), "a+")
279
+ FileUtils.mkdir_p(Padrino.root('log')) unless File.exists?(Padrino.root('log'))
280
+ File.new(Padrino.root('log', "#{Padrino.env}.log"), 'a+')
279
281
  when :null then StringIO.new
280
282
  when :stdout then $stdout
281
283
  when :stderr then $stderr
@@ -368,8 +370,6 @@ module Padrino
368
370
  @format_message % [stylized_level(level), colorize(Time.now.strftime(@format_datetime), :yellow), message.to_s.strip]
369
371
  end
370
372
 
371
-
372
-
373
373
  ##
374
374
  # Padrino::Loggger::Rack forwards every request to an +app+ given, and
375
375
  # logs a line in the Apache common log format to the +logger+, or
@@ -391,28 +391,28 @@ module Padrino
391
391
  end
392
392
 
393
393
  private
394
- def log(env, status, header, began_at)
395
- return if env['sinatra.static_file'] and !logger.log_static
396
- logger.bench(
397
- env["REQUEST_METHOD"],
398
- began_at,
399
- [
400
- @uri_root.to_s,
401
- env["PATH_INFO"],
402
- env["QUERY_STRING"].empty? ? "" : "?" + env["QUERY_STRING"],
403
- ' - ',
404
- logger.colorize(status.to_s[0..3], :bold),
405
- ' ',
406
- code_to_name(status)
407
- ] * '',
408
- :debug,
409
- :magenta
410
- )
411
- end
394
+ def log(env, status, header, began_at)
395
+ return if env['sinatra.static_file'] && (!logger.respond_to?(:log_static) || !logger.log_static)
396
+ logger.bench(
397
+ env["REQUEST_METHOD"],
398
+ began_at,
399
+ [
400
+ @uri_root.to_s,
401
+ env["PATH_INFO"],
402
+ env["QUERY_STRING"].empty? ? "" : "?" + env["QUERY_STRING"],
403
+ ' - ',
404
+ logger.colorize(status.to_s[0..3], :bold),
405
+ ' ',
406
+ code_to_name(status)
407
+ ] * '',
408
+ :debug,
409
+ :magenta
410
+ )
411
+ end
412
412
 
413
- def code_to_name(status)
414
- ::Rack::Utils::HTTP_STATUS_CODES[status.to_i] || ''
415
- end
413
+ def code_to_name(status)
414
+ ::Rack::Utils::HTTP_STATUS_CODES[status.to_i] || ''
415
+ end
416
416
  end # Rack
417
417
  end # Logger
418
418
  end # Padrino
@@ -92,7 +92,7 @@ module Padrino
92
92
  changed = false
93
93
  rotation do |file, mtime|
94
94
  new_file = MTIMES[file].nil?
95
- previous_mtime = MTIMES[file] ||= mtime
95
+ previous_mtime = MTIMES[file]
96
96
  changed = true if new_file || mtime > previous_mtime
97
97
  end
98
98
  changed
@@ -103,7 +103,7 @@ module Padrino
103
103
  # We lock dependencies sets to prevent reloading of protected constants
104
104
  #
105
105
  def lock!
106
- klasses = ObjectSpace.classes.map { |klass| klass.name.to_s.split("::")[0] }.uniq
106
+ klasses = ObjectSpace.classes.map { |klass| klass.name.split('::')[0] }.uniq
107
107
  klasses = klasses | Padrino.mounted_apps.map { |app| app.app_class }
108
108
  Padrino::Reloader.exclude_constants.concat(klasses)
109
109
  end
@@ -183,50 +183,50 @@ module Padrino
183
183
  # Removes the specified class and constant.
184
184
  #
185
185
  def remove_constant(const)
186
- return if exclude_constants.compact.uniq.any? { |c| (const.to_s =~ %r{^#{Regexp.escape(c)}}) } &&
187
- !include_constants.compact.uniq.any? { |c| (const.to_s =~ %r{^#{Regexp.escape(c)}}) }
186
+ return if exclude_constants.compact.uniq.any? { |c| const.name.index(c) == 0 } &&
187
+ !include_constants.compact.uniq.any? { |c| const.name.index(c) == 0 }
188
188
  begin
189
- parts = const.to_s.split("::")
190
- base = parts.size == 1 ? Object : parts[0..-2].join("::").constantize
191
- object = parts[-1].to_s
192
- base.send(:remove_const, object)
193
- logger.devel "Removed constant: #{const}"
189
+ parts = const.to_s.sub(/^::(Object)?/, 'Object::').split('::')
190
+ object = parts.pop
191
+ base = parts.empty? ? Object : Inflector.constantize(parts * '::')
192
+ base.send :remove_const, object
193
+ logger.devel "Removed constant: #{const} from #{base}"
194
194
  rescue NameError; end
195
195
  end
196
196
 
197
197
  private
198
- ##
199
- # Return the mounted_apps providing the app location
200
- # Can be an array because in one app.rb we can define multiple Padrino::Appplications
201
- #
202
- def mounted_apps_of(file)
203
- file = figure_path(file)
204
- Padrino.mounted_apps.find_all { |app| File.identical?(file, app.app_file) }
205
- end
198
+ ##
199
+ # Return the mounted_apps providing the app location
200
+ # Can be an array because in one app.rb we can define multiple Padrino::Appplications
201
+ #
202
+ def mounted_apps_of(file)
203
+ file = figure_path(file)
204
+ Padrino.mounted_apps.find_all { |app| File.identical?(file, app.app_file) }
205
+ end
206
206
 
207
- ##
208
- # Returns true if file is in our Padrino.root
209
- #
210
- def in_root?(file)
211
- # This is better but slow:
212
- # Pathname.new(Padrino.root).find { |f| File.identical?(Padrino.root(f), figure_path(file)) }
213
- figure_path(file) =~ %r{^#{Regexp.escape(Padrino.root)}}
214
- end
207
+ ##
208
+ # Returns true if file is in our Padrino.root
209
+ #
210
+ def in_root?(file)
211
+ # This is better but slow:
212
+ # Pathname.new(Padrino.root).find { |f| File.identical?(Padrino.root(f), figure_path(file)) }
213
+ figure_path(file).index(Padrino.root) == 0
214
+ end
215
215
 
216
- ##
217
- # Searches Ruby files in your +Padrino.load_paths+ , Padrino::Application.load_paths
218
- # and monitors them for any changes.
219
- #
220
- def rotation
221
- files = Padrino.load_paths.map { |path| Dir["#{path}/**/*.rb"] }.flatten
222
- files = files | Padrino.mounted_apps.map { |app| app.app_file }
223
- files = files | Padrino.mounted_apps.map { |app| app.app_obj.dependencies }.flatten
224
- files.uniq.map { |file|
225
- file = File.expand_path(file)
226
- next if Padrino::Reloader.exclude.any? { |base| file =~ %r{^#{Regexp.escape(base)}} } || !File.exist?(file)
227
- yield(file, File.mtime(file))
228
- }.compact
229
- end
216
+ ##
217
+ # Searches Ruby files in your +Padrino.load_paths+ , Padrino::Application.load_paths
218
+ # and monitors them for any changes.
219
+ #
220
+ def rotation
221
+ files = Padrino.load_paths.map { |path| Dir["#{path}/**/*.rb"] }.flatten
222
+ files = files | Padrino.mounted_apps.map { |app| app.app_file }
223
+ files = files | Padrino.mounted_apps.map { |app| app.app_obj.dependencies }.flatten
224
+ files.uniq.map do |file|
225
+ file = File.expand_path(file)
226
+ next if Padrino::Reloader.exclude.any? { |base| file.index(base) == 0 } || !File.exist?(file)
227
+ yield file, File.mtime(file)
228
+ end.compact
229
+ end
230
230
  end # self
231
231
 
232
232
  ##
@@ -11,7 +11,7 @@ require 'active_support/inflector/methods' # constantize
11
11
  require 'active_support/inflector/inflections' # pluralize
12
12
  require 'active_support/inflections' # load default inflections
13
13
  require 'yaml' unless defined?(YAML) # load yaml for i18n
14
- require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32/ # ruby color suppor for win
14
+ require 'win32console' if RUBY_PLATFORM =~ /(win|m)32/ # ruby color support for win
15
15
 
16
16
  ##
17
17
  # This is an adapted version of active_support/core_ext/string/inflections.rb
@@ -113,8 +113,8 @@ module ObjectSpace
113
113
  # Returns all the classes in the object space.
114
114
  def classes
115
115
  ObjectSpace.each_object(Module).select do |klass|
116
- # Why this? Ruby when you remove a constant don't clean it from
117
- # rb_tables, this mean that here we can found classes that was
116
+ # Why? Ruby, when you remove a costant dosen't remove it from
117
+ # rb_tables, this mean that here we can find classes that was
118
118
  # removed.
119
119
  klass.name rescue false
120
120
  end
@@ -6,7 +6,7 @@
6
6
  #
7
7
  module Padrino
8
8
  # The version constant for the current version of Padrino.
9
- VERSION = '0.10.6.e' unless defined?(Padrino::VERSION)
9
+ VERSION = '0.10.6' unless defined?(Padrino::VERSION)
10
10
 
11
11
  #
12
12
  # The current Padrino version.
metadata CHANGED
@@ -1,14 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1109933050
5
- prerelease: 7
6
- segments:
7
- - 0
8
- - 10
9
- - 6
10
- - e
11
- version: 0.10.6.e
4
+ prerelease:
5
+ version: 0.10.6
12
6
  platform: ruby
13
7
  authors:
14
8
  - Padrino Team
@@ -19,7 +13,7 @@ autorequire:
19
13
  bindir: bin
20
14
  cert_chain: []
21
15
 
22
- date: 2012-02-23 00:00:00 Z
16
+ date: 2012-03-15 00:00:00 Z
23
17
  dependencies:
24
18
  - !ruby/object:Gem::Dependency
25
19
  name: tilt
@@ -29,11 +23,6 @@ dependencies:
29
23
  requirements:
30
24
  - - ~>
31
25
  - !ruby/object:Gem::Version
32
- hash: 27
33
- segments:
34
- - 1
35
- - 3
36
- - 0
37
26
  version: 1.3.0
38
27
  type: :runtime
39
28
  version_requirements: *id001
@@ -45,11 +34,6 @@ dependencies:
45
34
  requirements:
46
35
  - - ~>
47
36
  - !ruby/object:Gem::Version
48
- hash: 25
49
- segments:
50
- - 1
51
- - 3
52
- - 1
53
37
  version: 1.3.1
54
38
  type: :runtime
55
39
  version_requirements: *id002
@@ -61,11 +45,6 @@ dependencies:
61
45
  requirements:
62
46
  - - ~>
63
47
  - !ruby/object:Gem::Version
64
- hash: 51
65
- segments:
66
- - 0
67
- - 10
68
- - 2
69
48
  version: 0.10.2
70
49
  type: :runtime
71
50
  version_requirements: *id003
@@ -77,11 +56,6 @@ dependencies:
77
56
  requirements:
78
57
  - - ~>
79
58
  - !ruby/object:Gem::Version
80
- hash: 33
81
- segments:
82
- - 0
83
- - 14
84
- - 3
85
59
  version: 0.14.3
86
60
  type: :runtime
87
61
  version_requirements: *id004
@@ -93,11 +67,6 @@ dependencies:
93
67
  requirements:
94
68
  - - ~>
95
69
  - !ruby/object:Gem::Version
96
- hash: 15
97
- segments:
98
- - 3
99
- - 2
100
- - 0
101
70
  version: 3.2.0
102
71
  type: :runtime
103
72
  version_requirements: *id005
@@ -199,25 +168,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
168
  requirements:
200
169
  - - ">="
201
170
  - !ruby/object:Gem::Version
202
- hash: 3
203
- segments:
204
- - 0
205
171
  version: "0"
206
172
  required_rubygems_version: !ruby/object:Gem::Requirement
207
173
  none: false
208
174
  requirements:
209
- - - ">"
175
+ - - ">="
210
176
  - !ruby/object:Gem::Version
211
- hash: 25
212
- segments:
213
- - 1
214
- - 3
215
- - 1
216
- version: 1.3.1
177
+ version: 1.3.6
217
178
  requirements: []
218
179
 
219
180
  rubyforge_project: padrino-core
220
- rubygems_version: 1.8.15
181
+ rubygems_version: 1.8.19
221
182
  signing_key:
222
183
  specification_version: 3
223
184
  summary: The required Padrino core gem
@@ -248,4 +209,3 @@ test_files:
248
209
  - test/test_restful_routing.rb
249
210
  - test/test_router.rb
250
211
  - test/test_routing.rb
251
- has_rdoc: