Sha256: 13abe81f9ed3979c0bf2f1792696d984d352db41c212afc0539acd3db876e128

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

require 'rubygems'
require 'spec/rake/spectask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "mostash"
    gemspec.summary = "A combo of OpenStruct and a ruby hash"
    gemspec.description = "You can treat an object as either a hash or as an OpenStruct. In additon to this you can create them nested, unlike OpenStruct"
    gemspec.email = "asher.friedman@gmail.com"
    #gemspec.homepage = "http://github.com/technicalpickles/the-perfect-gem"
    gemspec.authors = ["Joel Friedman"]

    gemspec.add_development_dependency "rspec"
  end
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

desc "run all specs"
Spec::Rake::SpecTask.new( "spec" ) do |t|
  t.spec_files = FileList["spec/**/*_spec.rb"]
end

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mostash-0.0.5 Rakefile