crisp-api 1.1.7 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +37 -0
- data/LICENSE +1 -1
- data/README.md +5 -3
- data/crisp-api.gemspec +1 -1
- data/lib/crisp-api.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59db2e5908afa5ae5c95b38d016832ff57c2e789487a87f32e7ef8c322f993e3
|
4
|
+
data.tar.gz: cdf9d1ed5d893af3ff760832acfe7c27d4194fd3847956e3fd68477803cc826b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d4a16274e8d5786ffbe46fd0f6ee51094b43cd2f0eb626a303acc51eaaee4f4d3531b75f8f9403d5bf28962289cfe586a13bb68c2937acf49cdbd98e13726c5
|
7
|
+
data.tar.gz: cfb799018b89104237bbc5b4d04311bc69065563b4d1f72591e32659063b74da3516ba4c2c8a25490b95691a3bda8a78e7ba13919651f8a1edc8aa81559519ff
|
@@ -0,0 +1,37 @@
|
|
1
|
+
on:
|
2
|
+
push:
|
3
|
+
tags:
|
4
|
+
- "v*.*.*"
|
5
|
+
|
6
|
+
name: Build and Release
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
release:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- name: Checkout
|
13
|
+
id: checkout
|
14
|
+
uses: actions/checkout@v3
|
15
|
+
|
16
|
+
- name: Install Ruby
|
17
|
+
id: install_ruby
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: "2.7"
|
21
|
+
|
22
|
+
- name: Install dependencies
|
23
|
+
id: install_dependencies
|
24
|
+
run: |
|
25
|
+
bundle install
|
26
|
+
|
27
|
+
- name: Build
|
28
|
+
id: build
|
29
|
+
run: |
|
30
|
+
gem build crisp-api.gemspec
|
31
|
+
|
32
|
+
- name: Publish
|
33
|
+
id: publish
|
34
|
+
run: |
|
35
|
+
gem push crisp-api-*.gem
|
36
|
+
env:
|
37
|
+
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
#
|
1
|
+
# Crisp API Wrapper
|
2
|
+
|
3
|
+
[](https://github.com/crisp-im/ruby-crisp-api/actions?query=workflow%3A%22Build+and+Release%22) [](https://rubygems.org/gems/crisp-api) [](https://rubygems.org/gems/crisp-api)
|
2
4
|
|
3
5
|
The Crisp API Ruby wrapper. Authenticate, send messages, fetch conversations, access your agent accounts from your Ruby code.
|
4
6
|
|
5
|
-
Copyright
|
7
|
+
Copyright 2023 Crisp IM SAS. See LICENSE for copying information.
|
6
8
|
|
7
9
|
* **📝 Implements**: [REST API Reference (V1)](https://docs.crisp.chat/references/rest-api/v1/) at revision: 12/31/2017
|
8
10
|
* **😘 Maintainer**: [@valeriansaliou](https://github.com/valeriansaliou), [@eliottvincent](https://github.com/eliottvincent)
|
@@ -14,7 +16,7 @@ You may follow the [REST API Quickstart](https://docs.crisp.chat/guides/rest-api
|
|
14
16
|
Add the library to your `Gemfile`:
|
15
17
|
|
16
18
|
```bash
|
17
|
-
gem "crisp-api", "~> 1.1.
|
19
|
+
gem "crisp-api", "~> 1.1.9"
|
18
20
|
```
|
19
21
|
|
20
22
|
Then, import it:
|
data/crisp-api.gemspec
CHANGED
data/lib/crisp-api.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crisp-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valerian Saliou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -30,6 +30,7 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
+
- ".github/workflows/build.yml"
|
33
34
|
- ".gitignore"
|
34
35
|
- EXAMPLES.md
|
35
36
|
- Gemfile
|
@@ -60,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|
63
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.1.6
|
64
65
|
signing_key:
|
65
66
|
specification_version: 4
|
66
67
|
summary: Crisp API Ruby
|