Sha256: 89f731fc825649d540121e2cfc1f2a0147c97dcaf0fbc346134af470a7c31a47

Contents?: true

Size: 980 Bytes

Versions: 6

Compression:

Stored size: 980 Bytes

Contents

# Copyright (c) 2013-2014 SUSE LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact SUSE LLC.
#
# To contact SUSE about this file by physical or electronic mail,
# you may find current contact information at www.suse.com

class Machinery::Migrate4To5 < Machinery::Migration
  desc <<-EOT
    Schema version 5 adds a "environment" scope which stores information about the inspected system.
  EOT

  def migrate
    @hash["environment"] = {
      locale: "en_US.utf8"
    }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 schema/migrations/migrate4to5.rb
machinery-tool-1.24.0 schema/migrations/migrate4to5.rb
machinery-tool-1.23.1 schema/migrations/migrate4to5.rb
machinery-tool-1.23.0 schema/migrations/migrate4to5.rb
machinery-tool-1.22.3 schema/migrations/migrate4to5.rb
machinery-tool-1.22.2 schema/migrations/migrate4to5.rb