Sha256: e9529f3fbf5c337609152db7d9a51f32cd0ba665cc201e9ac9c6bd6d2d1a1ce7

Contents?: true

Size: 523 Bytes

Versions: 57

Compression:

Stored size: 523 Bytes

Contents

# Apparently this file gets loaded by Rails. Only want to define the pureruby
# task in the context of RedCloth compilation (echoe loaded).

if Gem::Specification.const_defined?(:PLATFORM_CROSS_TARGETS)
  Gem::Specification::PLATFORM_CROSS_TARGETS << "pureruby"

  task 'pureruby' do
    reset_target 'pureruby'
  end

  if target = ARGV.detect do |arg| 
    # Hack to get the platform set before the Rakefile evaluates
      Gem::Specification::PLATFORM_CROSS_TARGETS.include? arg
    end
    reset_target target
  end
end

Version data entries

57 entries across 57 versions & 8 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/RedCloth-4.3.3/lib/tasks/pureruby.rake
RedCloth-4.3.4 lib/tasks/pureruby.rake
RedCloth-4.3.3 lib/tasks/pureruby.rake
gv-RedCloth-4.3.2 lib/tasks/pureruby.rake
RedCloth-4.3.2 lib/tasks/pureruby.rake
RedCloth-4.3.1 lib/tasks/pureruby.rake
RedCloth-4.3.0 lib/tasks/pureruby.rake
parity-RedCloth-4.2.13 lib/tasks/pureruby.rake
parity-RedCloth-4.2.12 lib/tasks/pureruby.rake
parity-RedCloth-4.2.11 lib/tasks/pureruby.rake
parity-RedCloth-4.2.10 lib/tasks/pureruby.rake
parity-RedCloth-4.2.9 lib/tasks/pureruby.rake
YSRedCloth-4.2.18 lib/tasks/pureruby.rake
assplecake-RedCloth-4.2.10 lib/tasks/pureruby.rake
YSRedCloth-4.2.17 lib/tasks/pureruby.rake
YSRedCloth-4.2.16 lib/tasks/pureruby.rake
gv-RedCloth-4.2.9 lib/tasks/pureruby.rake
YSRedCloth-4.2.15 lib/tasks/pureruby.rake
YSRedCloth-4.2.14 lib/tasks/pureruby.rake
YSRedCloth-4.2.13 lib/tasks/pureruby.rake