diff --git a/.gitignore b/.gitignore index 0cb6eeb..b7e7725 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /pkg/ /spec/reports/ /tmp/ +*.gem diff --git a/README.md b/README.md index 18a006b..9b83083 100644 --- a/README.md +++ b/README.md @@ -22,18 +22,16 @@ This project is not affiliated with any organisation. Add this line to your application's Gemfile: ```ruby -gem 'uk_planning_scraper', \ - git: 'https://github.com/adrianshort/uk_planning_scraper/' +gem 'uk_planning_scraper' ``` And then execute: $ bundle install -Or install it yourself as: +Or install it directly: - $ gem install specific_install - $ gem specific_install adrianshort/uk_planning_scraper + $ gem install uk_planning_scraper ## Usage diff --git a/lib/uk_planning_scraper/version.rb b/lib/uk_planning_scraper/version.rb index 1e42278..0b2353c 100644 --- a/lib/uk_planning_scraper/version.rb +++ b/lib/uk_planning_scraper/version.rb @@ -1,3 +1,3 @@ module UKPlanningScraper - VERSION = "0.4.2" + VERSION = "0.4.3" end diff --git a/uk_planning_scraper.gemspec b/uk_planning_scraper.gemspec index 2902c70..f08bc9b 100644 --- a/uk_planning_scraper.gemspec +++ b/uk_planning_scraper.gemspec @@ -7,19 +7,11 @@ Gem::Specification.new do |spec| spec.name = "uk_planning_scraper" spec.version = UKPlanningScraper::VERSION spec.authors = ["Adrian Short"] - - spec.summary = %q{Get planning applications data from UK council websites.} + spec.email = 'rubygems@adrianshort.org' + spec.summary = %q{Scrape planning applications data from UK council websites.} # spec.description = %q{TODO: Write a longer description or delete this line.} spec.homepage = "https://github.com/adrianshort/uk_planning_scraper/" - - # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' - # to allow pushing to a single host or delete this section to allow pushing to any host. - if spec.respond_to?(:metadata) - spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" - else - raise "RubyGems 2.0 or newer is required to protect against " \ - "public gem pushes." - end + spec.licenses = ['LGPL-3.0'] spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) @@ -28,14 +20,14 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.15" + spec.add_development_dependency "bundler", "~> 2.0" spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3.8.0" - spec.add_development_dependency "simplecov", "~> 0.16.1" - spec.add_development_dependency "vcr" - spec.add_development_dependency "webmock" - spec.add_development_dependency "pry" + spec.add_development_dependency "rspec", "~> 3.8" + spec.add_development_dependency "simplecov", "~> 0.16" + spec.add_development_dependency "vcr", "~> 4.0" + spec.add_development_dependency "webmock", "~> 3.5" + spec.add_development_dependency "pry", "~> 0.11" spec.add_runtime_dependency "mechanize", "~> 2.7" - spec.add_runtime_dependency "http" + spec.add_runtime_dependency "http", "~> 3.3" end