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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7ee7d17e0b20c09150bf0bdd916cb095e80cb00
4
- data.tar.gz: 8980ec21a7e9ba564c76b030b7228864eb63c967
3
+ metadata.gz: 968edcfd5087edc2cbd40b101c4bdf216b4bd2c5
4
+ data.tar.gz: c02c15afb304d95da146cb8c31814f013405922b
5
5
  SHA512:
6
- metadata.gz: 79232477402303a69319cc1b5ec6d7d586b15b25c769fdfac226806d8b5262308a3daf24878bcaaea6afc002f2cbc39c6e9401c01c5cd7fb7a2b8c37735c5089
7
- data.tar.gz: f0df4616af12ea96fa3443c216fbf7371e88f3ba8b95d1143b2059f721c79f69c0a09b406960c746adcb2067dad140aec433c1d83bddff8389ea342de33767b1
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.1)
5
- archive-tar-minitar (>= 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
- mini_portile (0.5.1)
25
- nokogiri (1.6.0)
26
- mini_portile (~> 0.5.0)
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.list(:query => "id = 1 or id = 2") # => [["1", "A subject"], ["2", "Another subject"]]
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
@@ -29,8 +29,6 @@ task :push do
29
29
  newest = filenames_with_times.sort_by { |tuple| tuple.last }.last
30
30
  newest_filename = newest.first
31
31
 
32
- p newest_filename
33
-
34
32
  command = "gem push #{newest_filename}"
35
33
  system(command)
36
34
  end
data/lib/roust/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Roust
2
- VERSION = '1.0.1'
2
+ VERSION = '1.1.0'
3
3
  end