aircall 0.1.3 → 0.1.4

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: 746f432e23ae5007a5fe74534b249afa55637300
4
- data.tar.gz: 22ed6476d7ec75c9fdb9dfde9b8c70b45e504087
3
+ metadata.gz: 8dd3962146b4214727d5468e14c72ea456b3a38c
4
+ data.tar.gz: 3b0b0e603049d23233083ccbe088cfe9045b6f64
5
5
  SHA512:
6
- metadata.gz: 0387761fb3376a6bb47917dd0e44ae1cc6fd88bbba75302e186d3308aea9a7504b960cd6fffc3b8a877c19fc15341f48b1ec9c81aa2252178c6970b8cf74639a
7
- data.tar.gz: 6b2e5b5d604e6caaecb8953194543292af4a449a87936c33fcfb1ef26f7ebfb46781274298597d0cbce7177ef357738ce1d51b39a2da76b727ee00c1f1f30efd
6
+ metadata.gz: e63b76d61fe275ea5ab85233c93c1007710ab6bd09e6ab39e7625f59d5c6fd6ad691a91866719766eae08fc19bb913bfedfde8a3282c437107641e0a58e0a87d
7
+ data.tar.gz: eaf509ecb9c46f7b81429056183b0545614512a4a46ceb45a14092c00479556ca8d26dd5133a42102ae2a9cf1620ee752e478cb0471fa8bbe5e81ad2cd757848
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aircall (0.1.3)
4
+ aircall (0.1.4)
5
5
  httparty (~> 0.16.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -6,6 +6,7 @@
6
6
  A Ruby gem for [Aircall](https://developer.aircall.io/api-references/).
7
7
  Only some methods are presents for the moment.
8
8
 
9
+
9
10
  ## Installation
10
11
 
11
12
  Add this line to your application's Gemfile:
@@ -22,17 +23,19 @@ Or install it yourself as:
22
23
 
23
24
  $ gem install aircall
24
25
 
25
- ## Usage
26
26
 
27
+ ## Usage
27
28
 
28
29
  ### Init
29
30
 
30
31
  Create new Aircall connection like this:
31
32
 
33
+ require 'aircall'
32
34
  aircall = Aircall.new({id: [AIRCALL_ID], token: [AIRCALL_TOKEN]})
33
35
 
34
36
  Or like this:
35
37
 
38
+ require 'aircall'
36
39
  aircall = Aircall.new
37
40
  aircall.id = [AIRCALL_ID]
38
41
  aircall.token = [AIRCALL_TOKEN]
@@ -50,9 +53,27 @@ Or like this:
50
53
 
51
54
  `aircall.contacts.get_by_phone_number("+33612345678", per_page:1, page:3, order: "desc", order_by: "updated_at")`
52
55
 
53
- ## Tests
56
+ ---
57
+
58
+ ## Development
59
+
60
+ ### Build
61
+ `gem build aircall.gemspec`
62
+
63
+ ### Local installation
64
+ `gem install ./aircall[version].gem`
65
+
66
+
67
+ ### Tests
54
68
 
55
69
  Create **.env** file from **.env.example**.
56
70
  Complete with your variables.
57
71
 
58
72
  Run test with `rake test`.
73
+
74
+
75
+ ### Deployment
76
+
77
+ Deployment from Github
78
+
79
+ `bundle exec rake release`
@@ -1,4 +1,4 @@
1
- require 'HTTParty'
1
+ require 'httparty'
2
2
  require 'json'
3
3
 
4
4
  module Aircall
@@ -1,3 +1,3 @@
1
1
  module Aircall
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aircall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilek
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-14 00:00:00.000000000 Z
12
+ date: 2018-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty