padrino-core 0.12.6 → 0.12.7

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: a00a9aa092a6863518b87ff722f5caeecad136f0
4
- data.tar.gz: 3a03270ae3055db921d9a65c0ebabfef56307158
3
+ metadata.gz: e2b679c2f627848d7a686d7a22aae78af6dee3ab
4
+ data.tar.gz: 327234ca54d5e028496a5a11fe66f85196549cdc
5
5
  SHA512:
6
- metadata.gz: d91332ef20783e0dd5e1580b79e235f8a3435bf98194558f2ac81b87eb1993e80361efefffb5faa514432546ed0607a1d04fc9853368217f555b893362371456
7
- data.tar.gz: 7f3a2c369c6c5634e7cef139f5ebfcb210ae0a137c8f7d7f3084a468dabd3f2c264db25b8dbc1b665e40901344e973ef23b9823622cde25eab0d0ecb023a3544
6
+ metadata.gz: 9d0c849a2894bbe47abe5cbc22725823c032dfc7d3fff4a27cca3ffe75863d0368cf0b225b612783c1ead2404ef05048b5aaa1f566873b7bd38d1a035b9f4603
7
+ data.tar.gz: 7fb0617986ee7ed545c6e3cc883bb6895926636463019b0f821b049af678d1f32db3f0181d81dae04115f528ac7374c11d29f92fc68fbb7d217c04aef105ab07
@@ -241,7 +241,8 @@ module Padrino
241
241
  # end
242
242
  # end
243
243
  #
244
- def parent(name, options={})
244
+ def parent(name = nil, options={})
245
+ return super() unless name
245
246
  defaults = { :optional => false, :map => name.to_s }
246
247
  options = defaults.merge(options)
247
248
  @_parent = Array(@_parent) unless @_parent.is_a?(Array)
@@ -6,7 +6,7 @@
6
6
  #
7
7
  module Padrino
8
8
  # The version constant for the current version of Padrino.
9
- VERSION = '0.12.6' unless defined?(Padrino::VERSION)
9
+ VERSION = '0.12.7' unless defined?(Padrino::VERSION)
10
10
 
11
11
  #
12
12
  # The current Padrino version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.6
4
+ version: 0.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-05-09 00:00:00.000000000 Z
14
+ date: 2016-05-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-support
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.12.6
22
+ version: 0.12.7
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.6
29
+ version: 0.12.7
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rack
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -237,66 +237,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  version: 1.3.6
238
238
  requirements: []
239
239
  rubyforge_project: padrino-core
240
- rubygems_version: 2.4.8
240
+ rubygems_version: 2.5.1
241
241
  signing_key:
242
242
  specification_version: 4
243
243
  summary: The required Padrino core gem
244
- test_files:
245
- - test/fixtures/app_gem/Gemfile
246
- - test/fixtures/app_gem/app/app.rb
247
- - test/fixtures/app_gem/app_gem.gemspec
248
- - test/fixtures/app_gem/lib/app_gem.rb
249
- - test/fixtures/app_gem/lib/app_gem/version.rb
250
- - test/fixtures/apps/complex.rb
251
- - test/fixtures/apps/demo_app.rb
252
- - test/fixtures/apps/demo_demo.rb
253
- - test/fixtures/apps/demo_project/api/app.rb
254
- - test/fixtures/apps/demo_project/api/lib/api_lib.rb
255
- - test/fixtures/apps/demo_project/app.rb
256
- - test/fixtures/apps/helpers/class_methods_helpers.rb
257
- - test/fixtures/apps/helpers/instance_methods_helpers.rb
258
- - test/fixtures/apps/helpers/support.rb
259
- - test/fixtures/apps/helpers/system_helpers.rb
260
- - test/fixtures/apps/kiq.rb
261
- - test/fixtures/apps/lib/myklass.rb
262
- - test/fixtures/apps/lib/myklass/mysubklass.rb
263
- - test/fixtures/apps/models/child.rb
264
- - test/fixtures/apps/models/parent.rb
265
- - test/fixtures/apps/rack_apps.rb
266
- - test/fixtures/apps/simple.rb
267
- - test/fixtures/apps/static.html
268
- - test/fixtures/apps/static.rb
269
- - test/fixtures/apps/stealthy/app.rb
270
- - test/fixtures/apps/stealthy/helpers/stealthy_class_helpers.rb
271
- - test/fixtures/apps/system.rb
272
- - test/fixtures/apps/system_class_methods_demo.rb
273
- - test/fixtures/apps/system_instance_methods_demo.rb
274
- - test/fixtures/dependencies/a.rb
275
- - test/fixtures/dependencies/b.rb
276
- - test/fixtures/dependencies/c.rb
277
- - test/fixtures/dependencies/circular/e.rb
278
- - test/fixtures/dependencies/circular/f.rb
279
- - test/fixtures/dependencies/circular/g.rb
280
- - test/fixtures/dependencies/d.rb
281
- - test/fixtures/reloadable_apps/external/app/app.rb
282
- - test/fixtures/reloadable_apps/external/app/controllers/base.rb
283
- - test/fixtures/reloadable_apps/main/app.rb
284
- - test/helper.rb
285
- - test/test_application.rb
286
- - test/test_core.rb
287
- - test/test_csrf_protection.rb
288
- - test/test_dependencies.rb
289
- - test/test_filters.rb
290
- - test/test_flash.rb
291
- - test/test_locale.rb
292
- - test/test_logger.rb
293
- - test/test_mounter.rb
294
- - test/test_params_protection.rb
295
- - test/test_reloader_complex.rb
296
- - test/test_reloader_external.rb
297
- - test/test_reloader_simple.rb
298
- - test/test_reloader_system.rb
299
- - test/test_restful_routing.rb
300
- - test/test_router.rb
301
- - test/test_routing.rb
244
+ test_files: []
302
245
  has_rdoc: