Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix for ruby 1.8.7

  • Loading branch information...
commit b091b2b03ebfb021e1f5faeb20f0678462691777 1 parent 8b76da3
John Nunemaker authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/flipper/adapters/redis.rb
2  lib/flipper/adapters/redis.rb
@@ -127,7 +127,7 @@ def to_field(gate, thing)
127 127 #
128 128 # Returns a Set of the values enabled for the gate.
129 129 def fields_to_gate_value(fields, gate)
130   - regex = /^#{Regexp.escape(gate.key)}\//
  130 + regex = /^#{Regexp.escape(gate.key.to_s)}\//
131 131 keys = fields.grep(regex)
132 132 values = keys.map { |key| key.split('/', 2).last }
133 133 values.to_set

0 comments on commit b091b2b

Please sign in to comment.
Something went wrong with that request. Please try again.