Sha256: 70d962b29c6205ce9c7351b480c3ce4fda3646643051482b1659a4c05f4289e0

Contents?: true

Size: 836 Bytes

Versions: 15

Compression:

Stored size: 836 Bytes

Contents

require 'rubygems'
require 'rake/gempackagetask'

GEM = "new_gem"
VERSION = "0.0.1"
AUTHOR = "Your Name"
EMAIL = "Your Email"
HOMEPAGE = "http://example.com"
SUMMARY = "A gem that provides..."

spec = Gem::Specification.new do |s|
  s.name = GEM
  s.version = VERSION
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README", "LICENSE", 'TODO']
  s.summary = SUMMARY
  s.description = s.summary
  s.author = AUTHOR
  s.email = EMAIL
  s.homepage = HOMEPAGE
  
  # Uncomment this to add a dependency
  # s.add_dependency "foo"
  
  s.require_path = 'lib'
  s.autorequire = GEM
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
end

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

task :install => [:package] do
  sh %{sudo gem install pkg/#{GEM}-#{VERSION}}
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
newgem-0.19.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.16.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.17.1 app_generators/newgem_simple/templates/Rakefile
newgem-0.17.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.16.1 app_generators/newgem_simple/templates/Rakefile
newgem-0.18.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.19.1 app_generators/newgem_simple/templates/Rakefile
newgem-0.21.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.20.1 app_generators/newgem_simple/templates/Rakefile
newgem-0.20.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.22.0 app_generators/newgem_simple/templates/Rakefile
newgem-0.23.1 app_generators/newgem_simple/templates/Rakefile
newgem-0.22.1 app_generators/newgem_simple/templates/Rakefile
newgem-0.22.2 app_generators/newgem_simple/templates/Rakefile
newgem-0.23.0 app_generators/newgem_simple/templates/Rakefile