Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add one line in README

  • Loading branch information...
commit f91a8928d5c5348ab40f5978ba6ce23443a19a1b 1 parent 0620e30
Joseph HALTER authored
Showing with 16 additions and 15 deletions.
  1. +2 −1  README.rdoc
  2. +14 −14 Rakefile
3  README.rdoc
View
@@ -1,6 +1,7 @@
= rspec_sequel_matchers
-Some Sequel Matchers for RSpec
+Some Sequel Matchers for RSpec, using no other gem than rspec and sequel themself.
+As a consequence, you can use these matchers with Rails, Sinatra or any other framework.
== Copyright
28 Rakefile
View
@@ -1,8 +1,8 @@
-require 'rubygems'
-require 'rake'
+require "rubygems"
+require "rake"
begin
- require 'jeweler'
+ require "jeweler"
Jeweler::Tasks.new do |gem|
gem.name = "rspec_sequel_matchers"
gem.summary = %Q{TODO}
@@ -18,31 +18,31 @@ rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
-require 'spec/rake/spectask'
+require "spec/rake/spectask"
Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
+ spec.libs << "lib" << "spec"
+ spec.spec_files = FileList["spec/**/*_spec.rb"]
end
Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.pattern = 'spec/**/*_spec.rb'
+ spec.libs << "lib" << "spec"
+ spec.pattern = "spec/**/*_spec.rb"
spec.rcov = true
end
task :default => :spec
-require 'rake/rdoctask'
+require "rake/rdoctask"
Rake::RDocTask.new do |rdoc|
- if File.exist?('VERSION.yml')
- config = YAML.load(File.read('VERSION.yml'))
+ if File.exist?("VERSION.yml")
+ config = YAML.load(File.read("VERSION.yml"))
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
else
version = ""
end
- rdoc.rdoc_dir = 'rdoc'
+ rdoc.rdoc_dir = "rdoc"
rdoc.title = "test #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
+ rdoc.rdoc_files.include("README*")
+ rdoc.rdoc_files.include("lib/**/*.rb")
end
Please sign in to comment.
Something went wrong with that request. Please try again.