Sha256: 502f56e8c29a4a8c1a6702ccd62a1d95481a8dc7b43061cc4a489c081d07d694

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

require 'generators/danthes'

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

5 entries across 5 versions & 1 rubygems

Version Path
danthes-1.0.5 lib/generators/danthes/redis_install_generator.rb
danthes-1.0.4 lib/generators/danthes/redis_install_generator.rb
danthes-1.0.3 lib/generators/danthes/redis_install_generator.rb
danthes-1.0.2 lib/generators/danthes/redis_install_generator.rb
danthes-1.0.1 lib/generators/danthes/redis_install_generator.rb