Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update generators to reflect generated content

  • Loading branch information...
commit de8933bc8f3e170fe606384cea6577bd0d64d492 1 parent 6a182be
@mojodna mojodna authored
Showing with 13 additions and 16 deletions.
  1. +1 −0  Gemfile
  2. +11 −15 Rakefile
  3. +1 −1  VERSION
View
1  Gemfile
@@ -3,5 +3,6 @@ source :gemcutter
gem "fakeweb"
gem "oauth"
gem "json_pure"
+gem "rcov"
gem "rspec"
gem "vcr"
View
26 Rakefile
@@ -4,39 +4,35 @@ require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.name = "sg-ruby"
+ gem.name = "simplegeo"
gem.summary = %Q{A SimpleGeo Ruby Client}
- gem.email = "dan@dofter.com"
- gem.homepage = "http://github.com/archfear/sg-ruby"
- gem.authors = ["Dan Dofter"]
+ gem.email = "andrew@simplegeo.com"
+ gem.homepage = "https://github.com/simplegeo/simplegeo-ruby"
+ gem.authors = ["Dan Dofter", "Bryan Ryckbost", "Andrew Mager", "Peter Bell"]
gem.add_dependency("oauth", ">= 0.4.0")
gem.add_dependency("json_pure")
gem.add_development_dependency "rspec", ">= 1.2.0"
gem.add_development_dependency("fakeweb", ">= 1.2.0")
+ gem.add_development_dependency("vcr", ">= 1.6.0")
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = 'spec/**/*_spec.rb'
end
-Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
+RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
- spec.rcov_opts << "--sort coverage"
- spec.rcov_opts << "--exclude gems,spec"
+ spec.rcov_opts = "--sort coverage --exclude gems,spec"
end
-task :spec => :check_dependencies
-
task :default => :spec
require 'rake/rdoctask'
@@ -44,7 +40,7 @@ Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "sg-ruby #{version}"
+ rdoc.title = "simplegeo-ruby #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
View
2  VERSION
@@ -1 +1 @@
-0.1.0
+0.2.1
Please sign in to comment.
Something went wrong with that request. Please try again.