lib/gonative/plugins/ios/rename.rb in gonative-cli-1.4.0 vs lib/gonative/plugins/ios/rename.rb in gonative-cli-1.4.1
- old
+ new
@@ -9,10 +9,10 @@
extend DSL::Serviceable
attr_reader :name, :proj
def initialize(name)
- @name = name
+ @name = name.gsub(/[^0-9a-zA-Z]/, '')
end
def call
system("mv MedianIOS.xcodeproj #{proj_path}")
@proj = Xcodeproj::Project.open(proj_path)