Project

General

Profile

Actions

Feature #6563

closed

Include safemode with respond_to? fixes

Added by Dominic Cleal over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We need a new version of safemode that includes a working respond_to? method:
https://github.com/svenfuchs/safemode/pull/8

Since Foreman uses both ~> 1.2.0 and ~> 1.0.2 (for Ruby 1.8), we would need a new release of master, plus if at all possible, a backport to the 1.0.x series.

This will make it possible for us to use respond_to? for feature checks in templates.

I'll likely backport into 1.5 too if we can get this in 1.6.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #6855: Require SafeMode gem version to latestClosedStephen Benjamin07/31/2014Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Anonymous
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Status changed from Assigned to Closed
  • Target version set to 1.7.5
  • % Done changed from 0 to 100
  • Translation missing: en.field_release changed from 10 to 20

This will now permit object.respond_to? and using operators on booleans from within templates.

1.2.1 RPMs built.

Actions #3

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #6855: Require SafeMode gem version to latest added
Actions

Also available in: Atom PDF