Sha256: 4cc6a67ee8cd950ba4ada4a4d6ef67b3f20dd7eebc9d78c6e721bee330ec0fd1

Contents?: true

Size: 501 Bytes

Versions: 13

Compression:

Stored size: 501 Bytes

Contents

require 'fourchette'

namespace :fourchette do
  desc 'This enables Fourchette hook'
  task :enable do
    Fourchette::GitHub.new.enable_hook
  end

  desc 'This disables Fourchette hook'
  task :disable do
    Fourchette::GitHub.new.disable_hook
  end

  desc 'This updates the Fourchette hook with the current URL of the app'
  task :update do
    Fourchette::GitHub.new.update_hook
  end

  desc 'This deletes the Fourchette hook'
  task :delete do
    Fourchette::GitHub.new.delete_hook
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fourchette-0.1.4 lib/fourchette/rake_tasks.rb
fourchette-0.1.3 lib/fourchette/rake_tasks.rb
fourchette-0.1.2 lib/fourchette/rake_tasks.rb
fourchette-0.1.1 lib/fourchette/rake_tasks.rb
fourchette-0.1.0 lib/fourchette/rake_tasks.rb
fourchette-0.0.8 lib/fourchette/rake_tasks.rb
fourchette-0.0.7 lib/fourchette/rake_tasks.rb
fourchette-0.0.6 lib/fourchette/rake_tasks.rb
fourchette-0.0.5 lib/fourchette/rake_tasks.rb
fourchette-0.0.4 lib/fourchette/rake_tasks.rb
fourchette-0.0.3 lib/fourchette/rake_tasks.rb
fourchette-0.0.2 lib/fourchette/rake_tasks.rb
fourchette-0.0.1 lib/fourchette/rake_tasks.rb