zensana 1.3.0 → 1.4.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: 08db9404392b3ccfc2461bc38d4a1af86648b687
4
- data.tar.gz: 92153952d8bc3dd0b0f6f1d744e94697ba91da78
3
+ metadata.gz: a632b18646b91c133a179ec117ca45aca51b1ddb
4
+ data.tar.gz: 0c672de8743650be24c38891e34b6ca33c94a2c4
5
5
  SHA512:
6
- metadata.gz: ed052c75b1b0dcabe04002ba5c6ed34ec4bc23e9089c894fd576496b556a63d29ae77c84a20e1df1b1c7eadf3baeef37109b10009526b5754ba7a03d05631ebb
7
- data.tar.gz: a0a5a7ccec8ff22f843849d49c7548dd6cc6e9c454193d7e1d79f099d6a9909bcc187668c7ea8a8b1e2ec362780db094c47e68e237bc8c3f254516804bd963c3
6
+ metadata.gz: 6fac3a8d7f6c4828bc145977bb4535db662becd037c18dfd3f57999d11ae179f1abf82851dbdf2bb1ca8d9a5e16e687b03e6cdbd56cbc7f66bde773b46b241db
7
+ data.tar.gz: b90819c1aa191fd05f67651ea7aaa4961b751859ca3e076200f4ba37070905cb3addeb7ce308bda793af814d72728489762ef3e66e41616f8851bf4d78a883dc
data/README.md CHANGED
@@ -103,6 +103,7 @@ There is support for reading:
103
103
 
104
104
  There is support for accessing and updating:
105
105
  * user
106
+ * agent group (read-only)
106
107
  * ticket - via the Ticket Import API only
107
108
  * comment
108
109
  * attachment - uploading
@@ -133,6 +134,11 @@ ZENDESK_PASSWORD
133
134
  ZENDESK_DOMAIN
134
135
  ```
135
136
 
137
+ ## Other Environment Vars
138
+
139
+ The default http timeout of 20 seconds can be over-ridden by supplying a
140
+ suitable value as an environment var called `ZENSANA_TIMEOUT`
141
+
136
142
  ## Contributing
137
143
 
138
144
  1. Fork it ( https://github.com/thoughtcroft/zensana/fork )
@@ -5,7 +5,7 @@ module Zensana
5
5
  include HTTMultiParty
6
6
  base_uri 'https://app.asana.com/api/1.0'
7
7
  headers 'Content-Type' => 'application/json; charset=utf-8'
8
- default_timeout 10
8
+ default_timeout ( ENV['ZENSANA_TIMEOUT'] || 20 ).to_i
9
9
  #debug_output
10
10
 
11
11
  def self.inst
@@ -3,7 +3,7 @@ require 'httmultiparty'
3
3
  module Zensana
4
4
  class Zendesk
5
5
  include HTTMultiParty
6
- default_timeout 20
6
+ default_timeout ( ENV['ZENSANA_TIMEOUT'] || 20 ).to_i
7
7
  #debug_output
8
8
 
9
9
  def self.inst
@@ -1,3 +1,3 @@
1
1
  module Zensana
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zensana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Warren Bain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httmultiparty