Sha256: 39cb86111bcfaf700ff3e3e582346da854dc5d32eebdfd0d66b5535a7d4fcf93

Contents?: true

Size: 472 Bytes

Versions: 34

Compression:

Stored size: 472 Bytes

Contents

module ValidatesTimeliness
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy ValidatesTimeliness default files"
      source_root File.expand_path('../templates', __FILE__)

      def copy_initializers
        copy_file 'validates_timeliness.rb', 'config/initializers/validates_timeliness.rb'
      end

      def copy_locale_file
        copy_file 'en.yml', 'config/locales/validates_timeliness.en.yml'
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 6 rubygems

Version Path
validates_timeliness-8.0.0.beta1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-7.0.0 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-7.0.0.beta2 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-6.0.1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-7.0.0.beta1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-6.0.0 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-6.0.0.beta2 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-6.0.0.beta1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-6.0.0.alpha1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.beta2 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.beta1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.alpha5 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-4.1.1 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-4.1.0 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.alpha4 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.alpha3 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.alpha2 lib/generators/validates_timeliness/install_generator.rb
validates_timeliness-5.0.0.alpha1 lib/generators/validates_timeliness/install_generator.rb