Sha256: 5836b39bcbf9845828c4631909f8cb38dbf31455fada6634773752d10829d8d9

Contents?: true

Size: 1.3 KB

Versions: 185

Compression:

Stored size: 1.3 KB

Contents

require 'rubygems'
require 'rake'
require 'yaml'
require 'jeweler'
require './lib/polyglot/version'

Jeweler::Tasks.new do |gem|
  gem.name = "polyglot"
  gem.version = Polyglot::VERSION::STRING
  gem.homepage = "http://github.com/cjheath/polyglot"
  gem.license = "MIT"
  gem.summary = %Q{Augment 'require' to load non-Ruby file types}
  gem.description = %Q{
The Polyglot library allows a Ruby module to register a loader
for the file type associated with a filename extension, and it
augments 'require' to find and load matching files.}
  gem.email = %w[clifford.heath@gmail.com]
  gem.authors = ["Clifford Heath"]
  gem.files.exclude "website/**/*.*", "script/*"
end
Jeweler::RubygemsDotOrgTasks.new

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "polyglot #{Polyglot::VERSION::STRING}"
  rdoc.rdoc_files.include('README.txt')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc 'Generate website files'
task :website_generate do
  sh %q{ruby script/txt2html website/index.txt > website/index.html}
end

desc 'Upload website files via rsync'
task :website_upload do
  rfconfig = YAML.load_file("#{ENV['HOME']}/.rubyforge/user-config.yml")
  ENV['RSYNC_PASSWORD'] = rfconfig['password']
  sh %{rsync -aCv website #{rfconfig['username']}@rubyforge.org:/var/www/gforge-projects/polyglot}
end

Version data entries

185 entries across 173 versions & 31 rubygems

Version Path
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.15.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.14.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.13 vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.12 vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.11.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile
logstash-output-scalyr-0.1.10.beta vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/Rakefile