callrail 0.2.4 → 0.2.5

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: 4d2a351eae1db14b48e39b25985d3e28828e96ce
4
- data.tar.gz: c7cb9b5596253d381d2b51b4c4f70146a02c4f52
3
+ metadata.gz: b093b3983ed9f25bc5d81cd57099d4e2a7ab1157
4
+ data.tar.gz: d82ee524203aca3ba4903e4c990bf428a176fb8e
5
5
  SHA512:
6
- metadata.gz: 9391c9602c080491e3dda95ae9f7f2052c227a1c9216c08ae4a8bb1937339afeb020280b2dbeeeca1fcd8b089c9d3c1a73ee685ee2494ea01e37db5197514e19
7
- data.tar.gz: 43a23b6baf71a14bf8810ff9ab6900a314742af16f793ee9e681837ded6353ba4d5edf902f7f14ebbbdb3e973d5bf404228fd83a0a19c0ba76839cdd39ac71eb
6
+ metadata.gz: 86619cd53fa3dde399f9231528a7108531da61241fab64c9a4abecc9a023a63e94d9d41b6f8fcb63158c777d00614fe3e9e7647fd85e70a3c05ff062ce90818b
7
+ data.tar.gz: 471d5cc5002a41dc46a240dad085a8fc4853a5ffca73fd9b6d72fa4c5e692b66a38d227902c5cfb2d734dfbb2ba295e8a371b3af66ac935a4b62d12079b80f4e
@@ -76,7 +76,7 @@ module Callrail
76
76
  params[:role] = opts[:role] if opts[:role]
77
77
  params[:password] = opts[:password] if opts[:password]
78
78
  params[:companies] = opts[:companies] if opts[:companies]
79
- params[:company_ids] = opts[:company_ids] if opts[:company_ids]
79
+ params[:company_ids] = opts[:company_ids] if opts[:company_ids] #Callrail disabled
80
80
  #Tracker Params
81
81
  # Filtering: type, status
82
82
  params[:type] = opts[:type] if opts[:type]
@@ -187,13 +187,13 @@ module Callrail
187
187
  end
188
188
 
189
189
  def update_tracker(opts={})
190
- opts[:path] = "/" + @account_id + "/trackers/" + opts[:tracker_id] + ".json"
190
+ opts[:path] = "/" + @account_id + "/trackers/" + opts[:tracker_id].to_s + ".json"
191
191
  params = set_params(opts)
192
192
  return parse_json(RestClient.put(@url+path, params, :Authorization => @auth))
193
193
  end
194
194
 
195
195
  def disable_tracker(opts={})
196
- path = "/" + @account_id + "/trackers/" + opts[:tracker_id] + ".json"
196
+ path = "/" + @account_id + "/trackers/" + opts[:tracker_id].to_s + ".json"
197
197
  return parse_json(RestClient.delete(@url+path, :Authorization => @auth))
198
198
  end
199
199
 
@@ -1,3 +1,3 @@
1
1
  module Callrail
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: callrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hoskison
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-16 00:00:00.000000000 Z
11
+ date: 2018-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,7 +92,6 @@ files:
92
92
  - ".travis.yml"
93
93
  - CODE_OF_CONDUCT.md
94
94
  - Gemfile
95
- - Gemfile.lock
96
95
  - LICENSE.txt
97
96
  - README.md
98
97
  - Rakefile
@@ -1,53 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- callrail (0.2.2)
5
- json (~> 2.1.0)
6
- rest-client (~> 2.0.2)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- diff-lcs (1.3)
12
- domain_name (0.5.20170404)
13
- unf (>= 0.0.5, < 1.0.0)
14
- http-cookie (1.0.3)
15
- domain_name (~> 0.5)
16
- json (2.1.0)
17
- mime-types (3.1)
18
- mime-types-data (~> 3.2015)
19
- mime-types-data (3.2016.0521)
20
- netrc (0.11.0)
21
- rake (10.5.0)
22
- rest-client (2.0.2)
23
- http-cookie (>= 1.0.2, < 2.0)
24
- mime-types (>= 1.16, < 4.0)
25
- netrc (~> 0.8)
26
- rspec (3.7.0)
27
- rspec-core (~> 3.7.0)
28
- rspec-expectations (~> 3.7.0)
29
- rspec-mocks (~> 3.7.0)
30
- rspec-core (3.7.0)
31
- rspec-support (~> 3.7.0)
32
- rspec-expectations (3.7.0)
33
- diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.7.0)
35
- rspec-mocks (3.7.0)
36
- diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.7.0)
38
- rspec-support (3.7.0)
39
- unf (0.1.4)
40
- unf_ext
41
- unf_ext (0.0.7.4)
42
-
43
- PLATFORMS
44
- ruby
45
-
46
- DEPENDENCIES
47
- bundler (~> 1.16)
48
- callrail!
49
- rake (~> 10.0)
50
- rspec (~> 3.0)
51
-
52
- BUNDLED WITH
53
- 1.16.0