roust 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/.ruby-version +1 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +55 -0
- data/LICENSE +14 -0
- data/README.md +103 -0
- data/Rakefile +37 -0
- data/examples/example.rb +15 -0
- data/lib/roust/rtxmlsrv.rb +271 -0
- data/lib/roust/version.rb +3 -0
- data/lib/roust.rb +856 -0
- data/roust.gemspec +29 -0
- data/spec/mocks/ticket-1-history-long.txt +1451 -0
- data/spec/mocks/ticket-1-history-short.txt +71 -0
- data/spec/mocks/ticket-1-show.txt +31 -0
- data/spec/mocks/ticket-search-1-or-2.txt +4 -0
- data/spec/mocks/user-dan@us.example.txt +21 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/ticket_spec.rb +125 -0
- metadata +141 -0
data/roust.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "roust/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "roust"
|
7
|
+
s.version = Roust::VERSION
|
8
|
+
s.date = %q{2014-01-23}
|
9
|
+
|
10
|
+
s.authors = [ "Lindsay Holmwood" ]
|
11
|
+
s.email = [ "lindsay@holmwood.id.au" ]
|
12
|
+
s.summary = %q{Ruby client for RT's REST API}
|
13
|
+
s.description = %q{Roust is a Ruby API client that accesses the REST interface version 1.0 of a Request Tracker instance. See http://www.bestpractical.com/ for Request Tracker.}
|
14
|
+
s.homepage = "http://github.com/bulletproofnetworks/roust"
|
15
|
+
s.license = "Apache 2.0"
|
16
|
+
|
17
|
+
s.required_ruby_version = ">= 1.9.2"
|
18
|
+
|
19
|
+
s.files = `git ls-files`.split("\n")
|
20
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
21
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
22
|
+
s.require_paths = ["lib"]
|
23
|
+
|
24
|
+
s.add_runtime_dependency 'rest-client', ">= 0.9"
|
25
|
+
s.add_runtime_dependency 'mail', ">= 2.5.4"
|
26
|
+
s.add_runtime_dependency 'mime-types', ">= 1.16"
|
27
|
+
s.add_runtime_dependency 'archive-tar-minitar', ">= 0.5"
|
28
|
+
s.add_runtime_dependency 'nokogiri', ">= 1.2"
|
29
|
+
end
|