Skip to content

Commit

Permalink
Prepare for merge to non-forked version
Browse files Browse the repository at this point in the history
* Remove references to rpairtree
* Remove coveralls upload from action
* Remove references to Ruby 1.8
* Remove travis config
* Update link to spec to point to live URL
  • Loading branch information
aelkiss committed Mar 28, 2023
1 parent c971c6c commit 62de3ff
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 37 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ jobs:
run: bundle exec standardrb
- name: Run tests
run: bundle exec rspec
- name: Report to Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
[![Tests](https://github.com/mlibrary/pairtree/actions/workflows/tests.yaml/badge.svg)](https://github.com/mlibrary/pairtree/actions/workflows/tests.yaml)
[![Coverage Status](https://coveralls.io/repos/github/mlibrary/pairtree/badge.svg?branch=main)](https://coveralls.io/github/mlibrary/pairtree?branch=main)
[![Tests](https://github.com/ruby-microservices/pairtree/actions/workflows/tests.yml/badge.svg)](https://github.com/ruby-microservices/pairtree/actions/workflows/tests.yml)
[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)

# (r)pairtree

Ruby implementation of the [Pairtree](https://wiki.ucop.edu/display/Curation/PairTree) specification from the California Digital Library.

## Description

A fork of the seemingly-abandoned [pairtree](https://github.com/microservices/pairtree).
# pairtree

Ruby implementation of the [Pairtree](https://www.ietf.org/archive/id/draft-kunze-pairtree-01.txt) specification from the California Digital Library.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rpairtree'
gem 'pairtree'
```

And then execute:
Expand All @@ -25,12 +19,12 @@ And then execute:

Or install it yourself as:

$ gem install rpairtree
$ gem install pairtree

## Usage

```ruby
require 'pairtree' # You'll need to do this in rails, as it won't find it automatically.
require 'pairtree'

# Initiate a tree
pairtree = Pairtree.at('./data', :prefix => 'pfx:', :create => true)
Expand All @@ -57,4 +51,6 @@ Or install it yourself as:
pairtree.purge!('pfx:abc123def')
```

## Copyright

Copyright (c) 2010 Chris Beer. See LICENSE.txt for further details.
7 changes: 0 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ require "rspec/core/rake_task"
desc "Default: run specs."
task default: :spec

RSpec::Core::RakeTask.new do |t|
if ENV["COVERAGE"] && RUBY_VERSION =~ (/^1.8/)
t.rcov = true
t.rcov_opts = ["--exclude", "spec", "--exclude", "gems"]
end
end

# Use yard to build docs
begin
require "yard"
Expand Down
12 changes: 6 additions & 6 deletions pairtree.gemspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Gem::Specification.new do |s|
s.name = "rpairtree"
s.summary = "Ruby Pairtree implementation, forked from pairtree which is abandoned."
s.version = "0.2.0"
s.homepage = "http://github.com/mlibrary/pairtree"
s.name = "pairtree"
s.summary = "Ruby Pairtree implementation"
s.version = "0.3.0"
s.homepage = "http://github.com/ruby-microservices/pairtree"
s.licenses = ["Apache2"]
s.authors = ["Chris Beer, Bryan Hockey, Michael Slone"]
s.authors = ["Chris Beer, Bryan Hockey, Michael Slone, Aaron Elkiss"]
s.files = `git ls-files`.split("\n")
s.extra_rdoc_files = ["LICENSE.txt", "README.md"]
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_development_dependency "bundler"
s.add_development_dependency "rspec", ">= 2.0"
s.add_development_dependency "rspec", ">= 3.12"
s.add_development_dependency "yard"
s.add_development_dependency "rake"
end

0 comments on commit 62de3ff

Please sign in to comment.