~srushe/indieweb-authorship

620544e20d87c1836f251836d46df11ecfb303ec — Stephen Rushe 2 years ago fcc9f61
Add gem config
3 files changed, 85 insertions(+), 0 deletions(-)

A Gemfile
A Gemfile.lock
A indieweb-authorship.gemspec
A Gemfile => Gemfile +6 -0
@@ 0,0 1,6 @@
source "https://rubygems.org"

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in indieweb-authorship.gemspec
gemspec

A Gemfile.lock => Gemfile.lock +43 -0
@@ 0,0 1,43 @@
PATH
  remote: .
  specs:
    indieweb-authorship (0.1.0)
      microformats (~> 4.0, >= 4.0.9)

GEM
  remote: https://rubygems.org/
  specs:
    diff-lcs (1.3)
    json (2.1.0)
    microformats (4.0.9)
      json (~> 2.1)
      nokogiri (~> 1.8, >= 1.8.3)
    mini_portile2 (2.3.0)
    nokogiri (1.8.5)
      mini_portile2 (~> 2.3.0)
    rake (12.3.1)
    rspec (3.7.0)
      rspec-core (~> 3.7.0)
      rspec-expectations (~> 3.7.0)
      rspec-mocks (~> 3.7.0)
    rspec-core (3.7.1)
      rspec-support (~> 3.7.0)
    rspec-expectations (3.7.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.7.0)
    rspec-mocks (3.7.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.7.0)
    rspec-support (3.7.1)

PLATFORMS
  ruby

DEPENDENCIES
  bundler (~> 1.16)
  indieweb-authorship!
  rake (~> 12.3)
  rspec (~> 3.0)

BUNDLED WITH
   1.17.1

A indieweb-authorship.gemspec => indieweb-authorship.gemspec +36 -0
@@ 0,0 1,36 @@
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "indieweb/authorship/version"

Gem::Specification.new do |spec|
  spec.name          = "indieweb-authorship"
  spec.version       = Indieweb::Authorship::VERSION
  spec.authors       = ["Stephen Rushe"]
  spec.email         = ["steve+authorship@deeden.co.uk"]

  spec.summary       = 'Identify the author of an IndieWeb post'
  spec.description   = 'Identify the author of an IndieWeb post using the Authorship algorithm'
  spec.homepage      = "https://github.com/srushe/indieweb-authorship"
  spec.license       = "MIT"

  spec.metadata = {
    'bug_tracker_uri' => 'https://github.com/srushe/indieweb-authorship/issues',
    'changelog_uri'   => 'https://github.com/srushe/indieweb-authorship/blob/master/CHANGELOG.md',
    'homepage_uri'    => 'https://github.com/srushe/indieweb-authorship/'
  }

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_runtime_dependency "microformats", "~> 4.0", ">= 4.0.9"

  spec.add_development_dependency "bundler", "~> 1.16"
  spec.add_development_dependency "rake", "~> 12.3"
  spec.add_development_dependency "rspec", "~> 3.0"
end