roust 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -13
- data/README.md +1 -1
- data/Rakefile +0 -2
- data/lib/roust/version.rb +1 -1
- data/lib/roust.rb +243 -783
- data/roust.gemspec +3 -5
- data/spec/ticket_spec.rb +10 -11
- metadata +7 -36
- data/lib/roust/rtxmlsrv.rb +0 -271
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 968edcfd5087edc2cbd40b101c4bdf216b4bd2c5
|
4
|
+
data.tar.gz: c02c15afb304d95da146cb8c31814f013405922b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a01186666603fd75969fd3a21245547b8834b5e8269342a9f9ef797a712c5924a94041ff842199e2eb1a9f8611dd65e366a15d1646dabc62bef928a4a587ee1
|
7
|
+
data.tar.gz: 83c4391e331f0f58cd3ccf69b2dc1f96a9ea7013bf3e8b9f135efcdb693058c1cb37e983d483aa2110bbd0aa9019ff03ace536940e721bd45de053565ebebdd3
|
data/Gemfile.lock
CHANGED
@@ -1,33 +1,38 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
roust (1.0
|
5
|
-
|
4
|
+
roust (1.1.0)
|
5
|
+
activesupport (>= 4.1.0)
|
6
|
+
httparty (>= 0.13.1)
|
6
7
|
mail (>= 2.5.4)
|
7
|
-
mime-types (>= 1.16)
|
8
|
-
nokogiri (>= 1.2)
|
9
|
-
rest-client (>= 0.9)
|
10
8
|
|
11
9
|
GEM
|
12
10
|
remote: https://rubygems.org/
|
13
11
|
specs:
|
12
|
+
activesupport (4.1.1)
|
13
|
+
i18n (~> 0.6, >= 0.6.9)
|
14
|
+
json (~> 1.7, >= 1.7.7)
|
15
|
+
minitest (~> 5.1)
|
16
|
+
thread_safe (~> 0.1)
|
17
|
+
tzinfo (~> 1.1)
|
14
18
|
addressable (2.3.5)
|
15
|
-
archive-tar-minitar (0.5.2)
|
16
19
|
colorize (0.5.8)
|
17
20
|
crack (0.4.1)
|
18
21
|
safe_yaml (~> 0.9.0)
|
19
22
|
diff-lcs (1.1.3)
|
23
|
+
httparty (0.13.1)
|
24
|
+
json (~> 1.8)
|
25
|
+
multi_xml (>= 0.5.2)
|
26
|
+
i18n (0.6.9)
|
27
|
+
json (1.8.1)
|
20
28
|
mail (2.5.4)
|
21
29
|
mime-types (~> 1.16)
|
22
30
|
treetop (~> 1.4.8)
|
23
|
-
mime-types (1.25)
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
polyglot (0.3.3)
|
31
|
+
mime-types (1.25.1)
|
32
|
+
minitest (5.3.3)
|
33
|
+
multi_xml (0.5.5)
|
34
|
+
polyglot (0.3.4)
|
28
35
|
rake (10.1.0)
|
29
|
-
rest-client (1.6.7)
|
30
|
-
mime-types (>= 1.16)
|
31
36
|
rspec (2.9.0)
|
32
37
|
rspec-core (~> 2.9.0)
|
33
38
|
rspec-expectations (~> 2.9.0)
|
@@ -37,9 +42,12 @@ GEM
|
|
37
42
|
diff-lcs (~> 1.1.3)
|
38
43
|
rspec-mocks (2.9.0)
|
39
44
|
safe_yaml (0.9.7)
|
45
|
+
thread_safe (0.3.3)
|
40
46
|
treetop (1.4.15)
|
41
47
|
polyglot
|
42
48
|
polyglot (>= 0.3.1)
|
49
|
+
tzinfo (1.1.0)
|
50
|
+
thread_safe (~> 0.1)
|
43
51
|
webmock (1.17.1)
|
44
52
|
addressable (>= 2.2.7)
|
45
53
|
crack (>= 0.3.2)
|
data/README.md
CHANGED
@@ -44,7 +44,7 @@ rt = Roust.new(credentials)
|
|
44
44
|
rt.authenticated? # => true
|
45
45
|
|
46
46
|
# Query RT
|
47
|
-
rt.
|
47
|
+
rt.search(:query => "id = 1 or id = 2") # => [["1", "A subject"], ["2", "Another subject"]]
|
48
48
|
|
49
49
|
# Fetch ticket metadata
|
50
50
|
rt.show("1") # => { {"cc"=>["dan@us.example", "dave@them.example"], "owner"=>"bob", "creator"=>"alice", "status"=>"open", … }
|
data/Rakefile
CHANGED
data/lib/roust/version.rb
CHANGED