lib/dev/project.rb
def bump_app_version_to(version)
      if File.exists? self.app_version_file
        version_file = self.app_version_file
        version_content = File.read("#{version_file}")
        File.open(version_file, 'w+') do |f|
          f.puts version_content.gsub(/VERSION = '[0-9\.]+'\n/, "VERSION = '#{version}'\n")
        end
      end
    end
def bump_app_version_to(version)
      if File.exists? self.app_version_file
        version_file = self.app_version_file
        version_content = File.read("#{version_file}")
        File.open(version_file, 'w+') do |f|
          f.puts version_content.gsub(/VERSION = '[0-9\.]+'\n/, "VERSION = '#{version}'\n")
        end
      end
    end
Alza la versione dell'app corrente a quella specificata.

 @param [String] version la versione a cui arrivare.

 @return [nil]