lib/travis/cli/setup/service.rb in travis-1.6.15.travis.551.6 vs lib/travis/cli/setup/service.rb in travis-1.6.15.travis.552.6
- old
+ new
@@ -3,10 +3,10 @@
module Travis
module CLI
class Setup
class Service
def self.normalized_name(string)
- string.to_s.downcase.gsub(/[^a-z]/, '')
+ string.to_s.downcase.gsub(/[^a-z\d]/, '')
end
def self.description(description = nil)
@description ||= ""
@description = description if description