Sha256: c3574784405f0a8016724f52c47dd43b6c1345c6e22d5ea74ba0b329a41b64d7

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

require 'generators/danthes_generator'

module Danthes
  module Generators
    class RedisInstallGenerator < Base
      desc 'Create sample redis config file and add faye-redis gem to Gemfile'

      def copy_files
        template 'danthes_redis.yml', 'config/danthes_redis.yml'
      end

      def add_redis_gem
        add_gem 'faye-redis'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
edmond-danthes-2.1.1 lib/generators/danthes/redis_install_generator.rb
edmond-danthes-2.1.0 lib/generators/danthes/redis_install_generator.rb
danthes-2.0.1 lib/generators/danthes/redis_install_generator.rb
danthes-2.0.0 lib/generators/danthes/redis_install_generator.rb