Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (27 sloc) 0.913 kB
2c806c1 @binarylogic Switch to jewler from hoe
binarylogic authored
1 require 'rubygems'
2 require 'rake'
8007ac0 @binarylogic Initial commit
binarylogic authored
3
2c806c1 @binarylogic Switch to jewler from hoe
binarylogic authored
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "settingslogic"
8 gem.summary = "A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern."
9 gem.email = "bjohnson@binarylogic.com"
10 gem.homepage = "http://github.com/binarylogic/settingslogic"
11 gem.authors = ["Ben Johnson of Binary Logic"]
12 end
8a8ad25 @binarylogic version bump to release to gemcutter
binarylogic authored
13 Jeweler::GemcutterTasks.new
2c806c1 @binarylogic Switch to jewler from hoe
binarylogic authored
14 rescue LoadError
15 puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
16 end
8007ac0 @binarylogic Initial commit
binarylogic authored
17
471adcb @binarylogic Complete rewrite, see changelog / readme
binarylogic authored
18 require 'spec/rake/spectask'
19 Spec::Rake::SpecTask.new(:spec) do |spec|
20 spec.libs << 'lib' << 'spec'
21 spec.spec_files = FileList['spec/**/*_spec.rb']
2c806c1 @binarylogic Switch to jewler from hoe
binarylogic authored
22 end
23
471adcb @binarylogic Complete rewrite, see changelog / readme
binarylogic authored
24 Spec::Rake::SpecTask.new(:rcov) do |spec|
25 spec.libs << 'lib' << 'spec'
26 spec.pattern = 'spec/**/*_spec.rb'
27 spec.rcov = true
2c806c1 @binarylogic Switch to jewler from hoe
binarylogic authored
28 end
29
471adcb @binarylogic Complete rewrite, see changelog / readme
binarylogic authored
30 task :spec => :check_dependencies
2c806c1 @binarylogic Switch to jewler from hoe
binarylogic authored
31
471adcb @binarylogic Complete rewrite, see changelog / readme
binarylogic authored
32 task :default => :spec
Something went wrong with that request. Please try again.