Sha256: 2d52f10f58104bcb087e537dd1d58bf524b99d63bbf9da986ff68cefb4fc06b0

Contents?: true

Size: 530 Bytes

Versions: 5

Compression:

Stored size: 530 Bytes

Contents

# Upgrading

# Upgrading from 0.3.0 to 0.3.1

* Nothing todo

# Upgrading from 0.2.0 to 0.3.0

* Model is now a module you have to change include from `include DirModel` to `include DirModel::Model`

# Upgrading from 0.1.0 to 0.2.0

You have to change

```
def _generate
  mk_chdir "level1" do
    mk_chdir "level2" do
      copy_file :zone_image
    end
  end
end
```

for a DirModel

```
class ImageDir
  include DirModel

  file :image, path: -> { "#{dir}/#{sub_dir}" }, name: -> { "#{image_name}.png" }
end
```
see the README

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dir_model-0.4.0 UPGRADE.md
dir_model-0.3.4 UPGRADE.md
dir_model-0.3.3 UPGRADE.md
dir_model-0.3.2 UPGRADE.md
dir_model-0.3.1 UPGRADE.md