Skip to content

Commit eb4bf9b

Browse files
committed
Gem project in order to new maintainer. [admin]
1 parent 1f3f774 commit eb4bf9b

File tree

7 files changed

+105
-42
lines changed

7 files changed

+105
-42
lines changed

.gitignore

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
.reap/digest
1+
.ergo/digest
22
.yardoc
3-
doc
4-
log
5-
pkg
6-
tmp
7-
web
3+
doc/
4+
log/
5+
pkg/
6+
tmp/
7+
web/
8+
*.gem
9+
*.lock
10+

.index

+22-28
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
revision: 2013
33
type: ruby
44
sources:
5-
- var
5+
- Index.yml
6+
- Gemfile
67
authors:
78
- name: Trans
89
@@ -14,29 +15,25 @@ organizations:
1415
- name: Rubyworks
1516
requirements:
1617
- groups:
17-
- build
18-
development: true
19-
name: detroit
18+
- test
19+
version: '>= 0'
20+
name: microtest
2021
- groups:
21-
- build
22-
development: true
23-
name: ergo
22+
- test
23+
version: '>= 0'
24+
name: ae
2425
- groups:
2526
- test
26-
development: true
27+
version: '>= 0'
2728
name: rubytest
2829
- groups:
2930
- test
30-
development: true
31+
version: '>= 0'
3132
name: rubytest-cli
3233
- groups:
33-
- test
34-
development: true
35-
name: microtest
36-
- groups:
37-
- test
38-
development: true
39-
name: ae
34+
- build
35+
version: '>= 0'
36+
name: indexer
4037
conflicts: []
4138
alternatives: []
4239
resources:
@@ -60,23 +57,20 @@ categories: []
6057
copyrights:
6158
- holder: Rubyworks
6259
year: '2009'
60+
license: BSD-2
6361
- holder: K. Kodama
6462
year: '2001'
6563
customs: []
6664
paths:
6765
lib:
6866
- lib
69-
created: '2001-03-10'
70-
summary: Queue of Prioritized Elements
67+
name: pqueue
7168
title: PQueue
7269
version: 2.0.2
73-
name: pqueue
74-
description: ! 'A priority queue is like a standard queue, except that each inserted
75-
elements
76-
77-
is given a certain priority, based on the result of the comparison block given
78-
79-
at instantiation time. Retrieving an element from the queue will always return
80-
81-
the one with the highest priority.'
82-
date: '2013-03-10'
70+
summary: Queue of Prioritized Elements
71+
description: A priority queue is like a standard queue, except that each inserted
72+
elements is given a certain priority, based on the result of the comparison block
73+
given at instantiation time. Retrieving an element from the queue will always return
74+
the one with the highest priority.
75+
created: '2001-03-10'
76+
date: '2014-04-15'

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ script: "bundle exec rubytest"
33
rvm:
44
- 1.8.7
55
- 1.9.3
6+
- 2.0.0
67
- jruby
7-
- jruby-19mode
88
- rbx
9-
- rbx-19mode
109

CONTRIBUTE.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# CONTRIBUTING
2+
3+
## Testing
4+
5+
We are using the Microtest framework which is a very simple test
6+
framework built to mimic the original Test::Unit but build on
7+
Ruby Test, the slick meta-testing framework.
8+
9+
Thanks to the configuration in `etc/test.rb` running test should
10+
be as simple as:
11+
12+
```
13+
$ rubytest
14+
```
15+
16+
## Releasing
17+
18+
When releasing a new version there a few things that need to done.
19+
First, of course, make sure the version number is correct by editing
20+
the `Index.yml` file. Then update the canonical `.index` file via:
21+
22+
```
23+
$ index -u Index.yml Gemfile
24+
```
25+
26+
Also, don't forget to add an entry to the `HISTORY.md` file for the
27+
new release.
28+
29+
Though it is not likely to be needed for this project, ensure the MANIFEST
30+
is up to date:
31+
32+
```
33+
$ mast -u
34+
```
35+
36+
Now build the gem:
37+
38+
```
39+
$ gem build .gemspec
40+
```
41+
42+
To release simply use:
43+
44+
```
45+
$ gem push pqueue-x.x.x.gem
46+
```
47+
48+
Finally, don't forget to add a tag for the release. I always use the
49+
description of the release from the HISTORY file as the tag message
50+
(excluding the changes list).
51+
52+
```
53+
$ gem tag -a x.x.x
54+
```
55+

Gemfile

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
source :rubygems
2-
gemspec
1+
source "https://rubygems.org"
2+
3+
group "test" do
4+
gem "microtest"
5+
gem "ae"
6+
gem "rubytest"
7+
gem "rubytest-cli"
8+
end
9+
10+
group :build do
11+
gem "indexer"
12+
end
13+

MANIFEST

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!mast .ruby .yaropts bin lib man qed spec test [A-Z]*.*
2-
.ruby
32
lib/pqueue.rb
43
test/test_pqueue.rb
5-
HISTORY.rdoc
6-
README.rdoc
7-
COPYING.rdoc
4+
CONTRIBUTE.md
5+
Index.yml
6+
README.md
7+
HISTORY.md
8+
LICENSE.txt

Assembly renamed to work/Assembly

File renamed without changes.

0 commit comments

Comments
 (0)