Sha256: 280cdd5b4cfb04c8199ce28c981e6e56c463abb4a48c7bd5f1bea0767436e725

Contents?: true

Size: 1.41 KB

Versions: 3

Compression:

Stored size: 1.41 KB

Contents

spec = Gem::Specification.new do |s|  
  s.name         = "compass-jquery-plugin"
  s.version      = CompassJquery::VERSION::STRING
  s.authors      = ["Kosmas Schuetz", "David Turnbull"]
  s.email        = "kosmas.schuetz@gmx.com"
  s.homepage     = "http://github.com/kosmas58/compass-jquery-plugin"
  s.summary      = "Integrates jRails, jQuery, jQuery UI and Themes, jqGrid and more into Compass Sass framework."
  s.description  = s.summary
  #s.executables  = ["jqgrid", "jquery-ui"]
  s.files        = %w[MIT-LICENSE Rakefile README.textile] + Dir["lib/**/*"] + Dir["templates/**/*"]
  s.add_dependency("chriseppstein-compass", [">= 0.8.16"])
end

Rake::GemPackageTask.new(spec) do |package|
  package.gem_spec = spec
end

desc 'Show information about the gem.'
task :gemspec do
  File.open("compass-jquery-plugin.gemspec", 'w') do |f|
    f.write spec.to_ruby
  end
  puts "Generated: compass-jquery-plugin.gemspec"
end

desc 'Build all templates.'
task :build_templates => ["jrails:build_templates", "jqgrid:build_templates", "secret_sauce:build_templates"] do
  
end

CLEAN.include ["pkg", "*.gem", "doc", "ri", "coverage", "templates"]

desc 'Install the package as a gem.'
task :gem_install => [:clean, :build_templates, :package] do
  gem = Dir['pkg/*.gem'].first
  if RUBY_PLATFORM =~ /win/ 
    system "gem install --no-ri --no-rdoc --local #{gem}"
  else 
    sh "sudo gem install --no-ri --no-rdoc --local #{gem}"
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
kosmas58-compass-jquery-plugin-0.2.2.0 lib/jquery/rubygems.rake
kosmas58-compass-jquery-plugin-0.2.2.2 lib/jquery/rubygems.rake
compass-jquery-plugin-0.2.2.4 lib/jquery/rubygems.rake