Sha256: 06ad1264ddae8f94734c2137a8a507ac2e233a1555ea81a8fd0e2bc8933b3c33

Contents?: true

Size: 190 Bytes

Versions: 25

Compression:

Stored size: 190 Bytes

Contents

module Ddr::Models
  module AutoVersion

    def self.extended(base)
      base.include Versionable

      base.class_eval do
        after_save :create_version
      end
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ddr-models-3.0.4 lib/ddr/models/auto_version.rb
ddr-models-3.0.3 lib/ddr/models/auto_version.rb
ddr-models-3.0.2 lib/ddr/models/auto_version.rb
ddr-models-3.0.1 lib/ddr/models/auto_version.rb
ddr-models-3.0.0 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.rc6 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.rc5 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.rc4 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.rc3 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.rc2 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.rc1 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.22 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.21 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.20 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.18 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.17 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.16 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.15 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.14 lib/ddr/models/auto_version.rb
ddr-models-3.0.0.beta.13 lib/ddr/models/auto_version.rb