Sha256: cdce9e57062443409c5fa293de4e8a6e2176f57869d502fa729b48a37d1d63e6

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

class PgbackupsS3
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../../templates', __FILE__)
      desc "Creates PgbackupsS3 initialzier for your application"

      def copy_initializer
        template "pgbackups_s3_initializer.rb", "config/initializers/pgbackups_s3.rb"

        puts "Your data is almost safe! Just fill out the 'config/initializers/pgbackups_s3.rb' and you'll be good to go"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pgbackups_s3-0.0.4 lib/generators/pgbackups_s3/install_generator.rb
pgbackups_s3-0.0.3 lib/generators/pgbackups_s3/install_generator.rb
pgbackups_s3-0.0.2 lib/generators/pgbackups_s3/install_generator.rb
pgbackups_s3-0.0.1 lib/generators/pgbackups_s3/install_generator.rb