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

Version Path
ceedling-0.27.0 vendor/constructor/Rakefile
ceedling-0.25.0 vendor/constructor/Rakefile
ceedling-0.24.0 vendor/constructor/Rakefile
ceedling-0.22.0 vendor/constructor/Rakefile
ceedling-0.21.0 vendor/constructor/Rakefile
ceedling-0.20.3 vendor/constructor/Rakefile
ceedling-0.20.2 vendor/constructor/Rakefile
ceedling-0.19.0 vendor/constructor/Rakefile
ceedling-0.18.0 vendor/constructor/Rakefile
ceedling-0.17.0 vendor/constructor/Rakefile
ceedling-0.16.0 vendor/constructor/Rakefile
ceedling-0.15.6 vendor/constructor/Rakefile
ceedling-0.15.5 vendor/constructor/Rakefile
ceedling-0.15.4 vendor/constructor/Rakefile
ceedling-0.15.3 vendor/constructor/Rakefile
ceedling-0.15.2 vendor/constructor/Rakefile
ceedling-0.15.1 vendor/constructor/Rakefile
ceedling-0.15.0 vendor/constructor/Rakefile
ceedling-0.13.0 vendor/constructor/Rakefile
ceedling-0.13.0.rc1 vendor/constructor/Rakefile