File tree 7 files changed +105
-42
lines changed
7 files changed +105
-42
lines changed Original file line number Diff line number Diff line change 1
- .reap /digest
1
+ .ergo /digest
2
2
.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
+
Original file line number Diff line number Diff line change 2
2
revision: 2013
3
3
type: ruby
4
4
sources:
5
- - var
5
+ - Index.yml
6
+ - Gemfile
6
7
authors:
7
8
- name: Trans
8
9
@@ -14,29 +15,25 @@ organizations:
14
15
- name: Rubyworks
15
16
requirements:
16
17
- groups:
17
- - build
18
- development: true
19
- name: detroit
18
+ - test
19
+ version: '>= 0'
20
+ name: microtest
20
21
- groups:
21
- - build
22
- development: true
23
- name: ergo
22
+ - test
23
+ version: '>= 0'
24
+ name: ae
24
25
- groups:
25
26
- test
26
- development: true
27
+ version: '>= 0'
27
28
name: rubytest
28
29
- groups:
29
30
- test
30
- development: true
31
+ version: '>= 0'
31
32
name: rubytest-cli
32
33
- 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
40
37
conflicts: []
41
38
alternatives: []
42
39
resources:
@@ -60,23 +57,20 @@ categories: []
60
57
copyrights:
61
58
- holder: Rubyworks
62
59
year: '2009'
60
+ license: BSD-2
63
61
- holder: K. Kodama
64
62
year: '2001'
65
63
customs: []
66
64
paths:
67
65
lib:
68
66
- lib
69
- created: '2001-03-10'
70
- summary: Queue of Prioritized Elements
67
+ name: pqueue
71
68
title: PQueue
72
69
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'
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ script: "bundle exec rubytest"
3
3
rvm :
4
4
- 1.8.7
5
5
- 1.9.3
6
+ - 2.0.0
6
7
- jruby
7
- - jruby-19mode
8
8
- rbx
9
- - rbx-19mode
10
9
Original file line number Diff line number Diff line change
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
+
Original file line number Diff line number Diff line change 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
+
Original file line number Diff line number Diff line change 1
1
#!mast .ruby .yaropts bin lib man qed spec test [A-Z]*.*
2
- .ruby
3
2
lib/pqueue.rb
4
3
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
File renamed without changes.
You can’t perform that action at this time.
0 commit comments