rdstation-ruby-client 1.2.0 → 1.2.1

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
- SHA1:
3
- metadata.gz: a0928853bb9ae75ec8ed56f8f532c18ddc42c205
4
- data.tar.gz: 74e5de6ea1c9f33cae06f781f4979a0e674b7e1b
2
+ SHA256:
3
+ metadata.gz: 1b061b8a4742fb7cff52c977a633fb91b31f9b59021ed13cb249323233f5e1a1
4
+ data.tar.gz: f3ea76482500d4042ad946112d547aea3cfc34514ea1539e5aacddce8d1a93d9
5
5
  SHA512:
6
- metadata.gz: a89281c0b92792ebe57eb4383dcb460aa0edc04b967a8aa283a7272fc336dd410ba4b2e0482109949cb6f27321af5566c055bd49c9e7a55efa85c995b4329ab4
7
- data.tar.gz: 0703a456fd3772fa02b1026f69c6bcec1b3dfb22b34efe93ba6ce75c4bcd528feb88b2d9dba8dc97d4dccc14eaa8c9a965c59367bc0e786106b57f1e2c3f9271
6
+ metadata.gz: 85b617237d11e956886ce1388cdfd892c5e8eeb961597551e0499cfafc63bb0f5cad18ce817d7c921f50436cb7f2a217a8f2662804432829bed7fa0f862eecdf
7
+ data.tar.gz: 714d715427d726adf4438782db176a5301bf299df02346ad9fd911f955f2f3fef5a9fe884ee476d7f2fa56bdb266dfa6f7b2fce6602692ee00b5ded2a0ed03a4
@@ -7,6 +7,7 @@ module RDStation
7
7
  include HTTParty
8
8
 
9
9
  def initialize(rdstation_token, auth_token, identifier="integração")
10
+ warn "DEPRECATION WARNING: all methods in this class has been deprecated because the version 1.x is no longer under active development and will be removed in version 2.0.0. See more details about the new version here: https://developers.rdstation.com/en/overview"
10
11
  @identificador = identifier
11
12
  @rdstation_token = rdstation_token
12
13
  @auth_token = auth_token
@@ -32,6 +33,7 @@ module RDStation
32
33
  # "Detalhes do Lead".
33
34
  #
34
35
  def create_lead(lead_hash)
36
+ warn "DEPRECATION WARNING: create_lead has been deprecated because the version 1.x is no longer under active development and will be removed in version 2.0.0. See more details about the new version here: https://developers.rdstation.com/en/overview"
35
37
  lead_hash = rdstation_token_hash.merge(lead_hash)
36
38
  lead_hash = lead_hash.merge(identifier_hash) unless lead_hash.has_key?(:identificador)
37
39
  post_with_body("/conversions", {:body => lead_hash})
@@ -50,11 +52,13 @@ module RDStation
50
52
  # true ou false
51
53
  #
52
54
  def change_lead(lead, lead_hash)
55
+ warn "DEPRECATION WARNING: change_lead has been deprecated because the version 1.x is no longer under active development and will be removed in version 2.0.0. See more details about the new version here: https://developers.rdstation.com/en/overview"
53
56
  lead_hash = auth_token_hash.merge({:lead => lead_hash})
54
57
  put_with_body("/leads/#{lead}", :body => lead_hash.to_json, :headers => {'Content-Type' => 'application/json'})
55
58
  end
56
59
 
57
60
  def change_lead_status(lead_hash)
61
+ warn "DEPRECATION WARNING: change_lead_status has been deprecated because the version 1.x is no longer under active development and will be removed in version 2.0.0. See more details about the new version here: https://developers.rdstation.com/en/overview"
58
62
  post_with_body("/services/#{@auth_token}/generic", :body => lead_hash )
59
63
  end
60
64
 
@@ -1,3 +1,3 @@
1
1
  module RDStation
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdstation-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo L F Casaretto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-12 00:00:00.000000000 Z
11
+ date: 2019-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -118,7 +118,6 @@ files:
118
118
  - ".circleci/config.yml"
119
119
  - ".gitignore"
120
120
  - Gemfile
121
- - Gemfile.lock
122
121
  - LICENSE
123
122
  - README.md
124
123
  - Rakefile
@@ -182,8 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
181
  - !ruby/object:Gem::Version
183
182
  version: '0'
184
183
  requirements: []
185
- rubyforge_project:
186
- rubygems_version: 2.5.2
184
+ rubygems_version: 3.0.2
187
185
  signing_key:
188
186
  specification_version: 4
189
187
  summary: Ruby API wrapper for RD Station
data/Gemfile.lock DELETED
@@ -1,59 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rdstation-ruby-client (1.2.0)
5
- httparty (~> 0.12)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.5.2)
11
- public_suffix (>= 2.0.2, < 4.0)
12
- ansi (1.5.0)
13
- crack (0.4.3)
14
- safe_yaml (~> 1.0.0)
15
- diff-lcs (1.2.5)
16
- hashdiff (0.3.7)
17
- httparty (0.16.2)
18
- multi_xml (>= 0.5.2)
19
- minitest (4.7.5)
20
- multi_xml (0.6.0)
21
- public_suffix (3.0.2)
22
- rake (10.1.0)
23
- rspec (3.1.0)
24
- rspec-core (~> 3.1.0)
25
- rspec-expectations (~> 3.1.0)
26
- rspec-mocks (~> 3.1.0)
27
- rspec-core (3.1.7)
28
- rspec-support (~> 3.1.0)
29
- rspec-expectations (3.1.2)
30
- diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.1.0)
32
- rspec-mocks (3.1.3)
33
- rspec-support (~> 3.1.0)
34
- rspec-support (3.1.2)
35
- rspec_junit_formatter (0.3.0)
36
- rspec-core (>= 2, < 4, != 2.12.0)
37
- safe_yaml (1.0.4)
38
- turn (0.9.7)
39
- ansi
40
- minitest (~> 4)
41
- webmock (2.3.2)
42
- addressable (>= 2.3.6)
43
- crack (>= 0.3.2)
44
- hashdiff
45
-
46
- PLATFORMS
47
- ruby
48
-
49
- DEPENDENCIES
50
- bundler (~> 1.3)
51
- rake
52
- rdstation-ruby-client!
53
- rspec
54
- rspec_junit_formatter
55
- turn
56
- webmock (~> 2.1)
57
-
58
- BUNDLED WITH
59
- 1.16.1