Sha256: 6562cf268c02984867ee41d05e800a63b600bb6cbd2c62db87e9a1a5cc2c9f38
Contents?: true
Size: 948 Bytes
Versions: 23
Compression:
Stored size: 948 Bytes
Contents
require 'rubygems' desc 'Default: run specs' task :default => :spec require 'spec/rake/spectask' desc 'Run constructor specs' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['specs/*_spec.rb'] t.spec_opts << '-c -f s' end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| $: << "lib" require 'constructor.rb' gemspec.name = 'constructor' gemspec.version = CONSTRUCTOR_VERSION gemspec.summary = 'Declarative named-argument object initialization.' gemspec.description = 'Declarative means to define object properties by passing a hash to the constructor, which will set the corresponding ivars.' gemspec.homepage = 'http://atomicobject.github.com/constructor' gemspec.authors = 'Atomic Object' gemspec.email = 'github@atomicobject.com' gemspec.test_files = FileList['specs/*_spec.rb'] end Jeweler::GemcutterTasks.new rescue LoadError puts "(jeweler not installed)" end
Version data entries
23 entries across 23 versions & 2 rubygems