Sha256: 0c7352b51b6d125313565c1597dcc15b1945c65e84b220819ebe535984348eed

Contents?: true

Size: 724 Bytes

Versions: 32

Compression:

Stored size: 724 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'json'

require 'yard'
YARD::Rake::YardocTask.new

begin
  require 'rspec/core/rake_task'

  rspec_task = RSpec::Core::RakeTask.new(:spec)

  task :default => :spec

  namespace :doc do
    desc 'Generate Markdown Specification from the RSpec public API tests'
    task :spec do
      ENV['PROTOCOL'] = 'json'

      rspec_task.rspec_opts = %w(
        --require ./spec/support/markdown_spec_formatter
        --order defined
        --tag ~api_private
        --format documentation
        --format Ably::RSpec::MarkdownSpecFormatter
      ).join(' ')

      Rake::Task[:spec].invoke
    end
  end
rescue LoadError
  # RSpec not available
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
ably-1.0.7 Rakefile
ably-rest-1.0.6 lib/submodules/ably-ruby/Rakefile
ably-1.0.6 Rakefile
ably-rest-1.0.5 lib/submodules/ably-ruby/Rakefile
ably-1.0.5 Rakefile
ably-1.0.4 Rakefile
ably-1.0.3 Rakefile
ably-1.0.2 Rakefile
ably-1.0.1 Rakefile
ably-rest-1.0.0 lib/submodules/ably-ruby/Rakefile
ably-1.0.0 Rakefile
ably-rest-0.8.15 lib/submodules/ably-ruby/Rakefile
ably-0.8.15 Rakefile
ably-rest-0.9.3 lib/submodules/ably-ruby/Rakefile
ably-rest-0.9.2 lib/submodules/ably-ruby/Rakefile
ably-rest-0.9.1 lib/submodules/ably-ruby/Rakefile
ably-rest-0.9.0 lib/submodules/ably-ruby/Rakefile
ably-rest-0.8.14 lib/submodules/ably-ruby/Rakefile
ably-0.8.14 Rakefile
ably-rest-0.8.13 lib/submodules/ably-ruby/Rakefile