Sha256: c06ba37201ad7bc8eb34c3c54d1007eae2a4be18b2216a0cf57d84af3d168f65

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

# Upgrading

# Upgrading from 0.4.0 to 0.5.0

* Ensure you have only on definition of `file:` by dir_model

# 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 BasicDirModel
  include DirModel

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dir_model-0.5.1 UPGRADE.md
dir_model-0.5.0 UPGRADE.md