Skip to content

Commit 62de3ff

Browse files
committed
Prepare for merge to non-forked version
* 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
1 parent c971c6c commit 62de3ff

File tree

5 files changed

+14
-37
lines changed

5 files changed

+14
-37
lines changed

.github/workflows/tests.yml

-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ jobs:
2020
run: bundle exec standardrb
2121
- name: Run tests
2222
run: bundle exec rspec
23-
- name: Report to Coveralls
24-
uses: coverallsapp/[email protected]
25-
with:
26-
github-token: ${{ secrets.github_token }}

.travis.yml

-8
This file was deleted.

README.md

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

5-
# (r)pairtree
6-
7-
Ruby implementation of the [Pairtree](https://wiki.ucop.edu/display/Curation/PairTree) specification from the California Digital Library.
8-
9-
## Description
10-
11-
A fork of the seemingly-abandoned [pairtree](https://github.com/microservices/pairtree).
4+
# pairtree
125

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

148
## Installation
159

1610
Add this line to your application's Gemfile:
1711

1812
```ruby
19-
gem 'rpairtree'
13+
gem 'pairtree'
2014
```
2115

2216
And then execute:
@@ -25,12 +19,12 @@ And then execute:
2519

2620
Or install it yourself as:
2721

28-
$ gem install rpairtree
22+
$ gem install pairtree
2923

3024
## Usage
3125

3226
```ruby
33-
require 'pairtree' # You'll need to do this in rails, as it won't find it automatically.
27+
require 'pairtree'
3428

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

54+
## Copyright
6055

56+
Copyright (c) 2010 Chris Beer. See LICENSE.txt for further details.

Rakefile

-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ require "rspec/core/rake_task"
1717
desc "Default: run specs."
1818
task default: :spec
1919

20-
RSpec::Core::RakeTask.new do |t|
21-
if ENV["COVERAGE"] && RUBY_VERSION =~ (/^1.8/)
22-
t.rcov = true
23-
t.rcov_opts = ["--exclude", "spec", "--exclude", "gems"]
24-
end
25-
end
26-
2720
# Use yard to build docs
2821
begin
2922
require "yard"

pairtree.gemspec

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Gem::Specification.new do |s|
2-
s.name = "rpairtree"
3-
s.summary = "Ruby Pairtree implementation, forked from pairtree which is abandoned."
4-
s.version = "0.2.0"
5-
s.homepage = "http://github.com/mlibrary/pairtree"
2+
s.name = "pairtree"
3+
s.summary = "Ruby Pairtree implementation"
4+
s.version = "0.3.0"
5+
s.homepage = "http://github.com/ruby-microservices/pairtree"
66
s.licenses = ["Apache2"]
7-
s.authors = ["Chris Beer, Bryan Hockey, Michael Slone"]
7+
s.authors = ["Chris Beer, Bryan Hockey, Michael Slone, Aaron Elkiss"]
88
s.files = `git ls-files`.split("\n")
99
s.extra_rdoc_files = ["LICENSE.txt", "README.md"]
1010
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
1111
s.require_paths = ["lib"]
1212

1313
s.add_development_dependency "bundler"
14-
s.add_development_dependency "rspec", ">= 2.0"
14+
s.add_development_dependency "rspec", ">= 3.12"
1515
s.add_development_dependency "yard"
1616
s.add_development_dependency "rake"
1717
end

0 commit comments

Comments
 (0)