Skip to content

Commit 0068c00

Browse files
committed
version bump, README update
1 parent f5146b7 commit 0068c00

File tree

4 files changed

+30
-4
lines changed

4 files changed

+30
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Thanks to the following members of the RT community for patches:
1111
* Brian McArdle for patch dealing with spaces in Custom Fields (use '_')
1212
* Steven Craig for a bug fix and feature additions to the usersearch() method.
1313
* Rafael Abdo for fixing a broken regex.
14-
1514
* Extra Special Thanks to Robert Vinson for 1.9.x compatibility and refactoring the old mess into something with much fewer
1615
dependencies.
16+
* Steven Hansen for patch dealing with modern versions of rest-client.
1717

1818
TODO: Streaming, chunking attachments in compose method
1919

README.md~

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# rt-client
2+
RT_Client is a ruby object that accesses the REST interface version 1.0 of a Request Tracker instance. See [Best Practical](http://www.bestpractical.com/) for Request Tracker.
3+
A ruby library API to Request Tracker's REST interface. Requires the
4+
rubygem rest-client be installed. You can
5+
create a file name .rtclientrc in the same directory as client.rb with a
6+
default server/user/pass to connect to RT as, so that you don't have to
7+
specify it/update it in lots of different scripts.
8+
9+
Thanks to the following members of the RT community for patches:
10+
11+
* Brian McArdle for patch dealing with spaces in Custom Fields (use '_')
12+
* Steven Craig for a bug fix and feature additions to the usersearch() method.
13+
* Rafael Abdo for fixing a broken regex.
14+
15+
* Extra Special Thanks to Robert Vinson for 1.9.x compatibility and refactoring the old mess into something with much fewer
16+
dependencies.
17+
18+
TODO: Streaming, chunking attachments in compose method
19+
20+
See each method for sample usage. To use this, "gem install rt-client" and
21+
```ruby
22+
require "rt_client"
23+
```
24+
25+
# Documentation
26+
For usage documentation, see [the RubyDoc web site](http://www.rubydoc.info/gems/rt-client/)

rt-client.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |s|
44
s.name = "rt-client"
5-
s.version = "1.0.1"
5+
s.version = "1.0.2"
66

77
s.files = ['rt_client.rb','rtxmlsrv.rb','rtxmlsrv2.rb','rt/client.rb','.yardopts']
88
s.authors = ["Tom Lahti"]

rt_client.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
class RT_Client
4040

41-
UA = "Mozilla/5.0 ruby RT Client Interface 1.0.1"
41+
UA = "Mozilla/5.0 ruby RT Client Interface 1.0.2"
4242
attr_reader :status, :site, :version, :cookies, :server, :user, :cookie
4343

4444
# Create a new RT_Client object. Load up our stored cookie and check it.
@@ -70,7 +70,7 @@ class RT_Client
7070
# pass=<RT password>
7171
# cookies=<directory>
7272
def initialize(*params)
73-
@version = "1.0.0"
73+
@version = "1.0.2"
7474
@status = "Not connected"
7575
@server = "http://localhost/"
7676
@user = "rt_user"

0 commit comments

Comments
 (0)