diff --git a/Gemfile b/Gemfile index b4e2a20..1269e18 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ +# encoding: utf-8 source "https://rubygems.org" gemspec diff --git a/Gemfile.lock b/Gemfile.lock index 1c4990d..37a0fc7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,6 +9,7 @@ GEM specs: diff-lcs (1.1.3) inflecto (0.0.2) + rake (10.1.0) rspec (2.8.0) rspec-core (~> 2.8.0) rspec-expectations (~> 2.8.0) @@ -23,4 +24,5 @@ PLATFORMS DEPENDENCIES gaston! + rake rspec (~> 2.8) diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..70a846d --- /dev/null +++ b/Rakefile @@ -0,0 +1,5 @@ +require 'rspec/core/rake_task' + +RSpec::Core::RakeTask.new(:spec) + +task :default => :spec diff --git a/benchmark/gaston.rb b/benchmark/gaston.rb index a25db34..bfb81f4 100644 --- a/benchmark/gaston.rb +++ b/benchmark/gaston.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 require 'benchmark' require_relative "../lib/gaston" diff --git a/gaston.gemspec b/gaston.gemspec index 3412ba8..2fc94bd 100644 --- a/gaston.gemspec +++ b/gaston.gemspec @@ -17,4 +17,5 @@ Gem::Specification.new do |s| s.require_path = 'lib' s.add_dependency "inflecto" s.add_development_dependency "rspec", "~>2.8" + s.add_development_dependency "rake" end