Project

General

Profile

Feature #6563

Include safemode with respond_to? fixes

Added by Dominic Cleal about 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
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

Related to Foreman - Bug #6855: Require SafeMode gem version to latestClosed2014-07-31

History

#1 Updated by Dominic Cleal almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Dmitri Dolguikh

#2 Updated by Dominic Cleal almost 5 years ago

  • Status changed from Assigned to Closed
  • Target version set to 1.7.5
  • % Done changed from 0 to 100
  • Legacy Backlogs Release (now unused) 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.

#3 Updated by Dominic Cleal almost 5 years ago

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

Also available in: Atom PDF