Sha256: f42d7d87de46fdfb7c25149b0f0248ad2c5baaf24c8dd55844ed3fd09cdd505b

Contents?: true

Size: 407 Bytes

Versions: 15

Compression:

Stored size: 407 Bytes

Contents

require 'rails/generators'
require 'rails/generators/migration'

module NotificationPusher

    class InstallGenerator < Rails::Generators::Base

        source_root File.join File.dirname(__FILE__), '../templates/install'
        desc 'Install NotificationPusher'

        def create_initializer
            template 'initializer.rb', 'config/initializers/notification-pusher.rb'
        end

    end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
notification-pusher-1.2.5 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.2.4 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.2.3 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.2.2 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.2.1 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.2.0 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.1.2 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.1.1 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.1.0 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.0.0 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.0.0.beta11 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.0.0.beta10 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.0.0.beta9 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.0.0.beta8 lib/generators/notification_pusher/install_generator.rb
notification-pusher-1.0.0.beta7 lib/generators/notification_pusher/install_generator.rb