-
Notifications
You must be signed in to change notification settings - Fork 38
/
Rakefile
26 lines (22 loc) · 824 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require "rubygems"
require "spec/rake/spectask"
task :default => :spec
desc "Run all specification examples"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "full-name-splitter"
gemspec.summary = "FullNameSplitter splits full name into first and last name considering name prefixes and initials"
gemspec.description = ""
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/pahanix/full-name-splitter"
gemspec.authors = ["Pavel Gorbokon", "contributors Michael S. Klishin and Trevor Creech"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end