natero 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/natero/account.rb +2 -1
- data/lib/natero/version.rb +1 -1
- data/natero.gemspec +1 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ed4c581f38ed2e51522a4d1d411615636910a7a871e92d9480622efebc372dd
|
4
|
+
data.tar.gz: 5a5029bd7a49a97b6619f808b10ad4b418b080bae2e5e37b962b2c152e543a13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 799eeef59b28e648c07267f05c42642109769882d25028c0ba867197a3a6b04440482180fa0f9889429acc9efe96204fab4508e0b8861e5b680caa5ded0d7ce1
|
7
|
+
data.tar.gz: d51c48363646569e7b7e9077cfbe524687a43c3354795971035d5dc15d3808316fad1c100943a1788240f0caa85436ea28a2612900dd0bb9d9c6e648547a45f2
|
data/README.md
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
[branch]: http://learn.github.com/p/branching.html
|
6
6
|
[pr]: http://help.github.com/send-pull-requests/
|
7
7
|
|
8
|
+
This gem has been replaced by the Freshworks gem and will no longer be supported. Please switch to [Freshworks](https://github.com/bonusly/freshworks) as soon as possible.
|
9
|
+
|
8
10
|
# Natero Gem
|
9
11
|
A Ruby interface for the [Natero Public API][api-docs].
|
10
12
|
|
@@ -40,7 +42,7 @@ Modify an account:
|
|
40
42
|
```Ruby
|
41
43
|
account = Natero::Account.retrieve('ACCOUNT_ID')
|
42
44
|
account.name = 'TEST'
|
43
|
-
|
45
|
+
|
44
46
|
Natero::Account.modify('ACCOUNT_ID', account)
|
45
47
|
```
|
46
48
|
|
@@ -48,7 +50,7 @@ Create an event:
|
|
48
50
|
```Ruby
|
49
51
|
event = { id: 'test', name: 'Testing the API.'}
|
50
52
|
details = 'These details should be associated with the event in Natero'
|
51
|
-
|
53
|
+
|
52
54
|
Natero::Event.create(event, details)
|
53
55
|
```
|
54
56
|
|
@@ -67,7 +69,7 @@ improve this project. Here are some ways *you* can contribute:
|
|
67
69
|
#### Submitting an issue:
|
68
70
|
We use the [GitHub issue tracker][issues] to track bugs and features. Before
|
69
71
|
submitting a bug report or feature request, check to make sure it hasn't
|
70
|
-
already been submitted. When submitting a bug report, please include a stack
|
72
|
+
already been submitted. When submitting a bug report, please include a stack
|
71
73
|
trace and any details that may be necessary to reproduce
|
72
74
|
the bug, including your gem version, Ruby version, and operating system.
|
73
75
|
Ideally, a bug report should include a pull request with failing specs.
|
data/lib/natero/account.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
class Natero::Account < Natero::Base
|
2
2
|
def self.retrieve_all
|
3
|
+
warn "[DEPRECATION] The Natero gem has been deprecated and will no longer be supported. Please switch to using the Freshworks gem. See https://rubygems.org/gems/freshworks and https://github.com/bonusly/freshworks."
|
3
4
|
get
|
4
5
|
end
|
5
6
|
|
@@ -66,4 +67,4 @@ class Natero::Account < Natero::Base
|
|
66
67
|
def self.endpoint_path
|
67
68
|
['accounts']
|
68
69
|
end
|
69
|
-
end
|
70
|
+
end
|
data/lib/natero/version.rb
CHANGED
data/natero.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = 'Natero is customer success software used to reduce churn and increase B2B SaaS adoption.'
|
13
13
|
spec.homepage = 'http://bonus.ly'
|
14
14
|
spec.license = 'MIT'
|
15
|
+
spec.post_install_message = 'The Natero gem has been deprecated and will no longer be supported. Please switch to using the Freshworks gem. See https://rubygems.org/gems/freshworks and https://github.com/bonusly/freshworks.'
|
15
16
|
|
16
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
18
|
spec.bindir = 'exe'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: natero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Brown
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -212,7 +212,9 @@ homepage: http://bonus.ly
|
|
212
212
|
licenses:
|
213
213
|
- MIT
|
214
214
|
metadata: {}
|
215
|
-
post_install_message:
|
215
|
+
post_install_message: The Natero gem has been deprecated and will no longer be supported.
|
216
|
+
Please switch to using the Freshworks gem. See https://rubygems.org/gems/freshworks
|
217
|
+
and https://github.com/bonusly/freshworks.
|
216
218
|
rdoc_options: []
|
217
219
|
require_paths:
|
218
220
|
- lib
|