whatsapp_sdk 0.0.2 → 0.3.0

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.
data/whatsapp_sdk.gemspec CHANGED
@@ -9,10 +9,12 @@ Gem::Specification.new do |spec|
9
9
  spec.version = WhatsappSdk::VERSION
10
10
  spec.authors = ["ignacio-chiazzo"]
11
11
  spec.email = ["ignaciochiazzo@gmail.com"]
12
-
13
- spec.summary = "Use the Whatsapp SDK to comunicate with Whatsapp API"
14
- spec.description = "Ruby Whatsapp SDK. Use the Whatsapp API through this library"
15
- spec.homepage = "https://github.com/ignacio-chiazzo/whatsapp_sdk"
12
+ spec.summary = "Use the Ruby Whatsapp SDK to comunicate with Whatsapp API using the Cloud API"
13
+ spec.description = <<-DESCRIPTION
14
+ Use the Ruby Whatsapp SDK to comunicate with Whatsapp API using the Cloud API.
15
+ Create bots to send and receive messages using the Whatsapp SDK in a few minutes.
16
+ DESCRIPTION
17
+ spec.homepage = "https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk"
16
18
  spec.license = "MIT"
17
19
  spec.required_ruby_version = '>= 1.8.6'
18
20
 
@@ -20,11 +22,11 @@ Gem::Specification.new do |spec|
20
22
  # to allow pushing to a single host or delete this section to allow pushing to any host.
21
23
  if spec.respond_to?(:metadata)
22
24
  spec.metadata["homepage_uri"] = spec.homepage
23
- spec.metadata["source_code_uri"] = "https://github.com/ignacio-chiazzo/whatsapp_sdk"
24
- spec.metadata["changelog_uri"] = "https://github.com/ignacio-chiazzo/whatsapp_sdk/blob/main/CHANGELOG.md"
25
+ spec.metadata["source_code_uri"] = "https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk"
26
+ spec.metadata["changelog_uri"] = "https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/blob/main/CHANGELOG.md"
25
27
  else
26
28
  raise "RubyGems 2.0 or newer is required to protect against " \
27
- "public gem pushes."
29
+ "public gem pushes."
28
30
  end
29
31
 
30
32
  # Specify which files should be added to the gem when it is released.
@@ -38,8 +40,10 @@ Gem::Specification.new do |spec|
38
40
 
39
41
  spec.add_development_dependency "bundler", "~> 2.3"
40
42
  spec.add_development_dependency "minitest", "~> 5.0"
41
- spec.add_development_dependency "rake", "~> 10.0"
43
+ spec.add_development_dependency "rake", "~> 12.3.3"
42
44
 
43
45
  spec.add_dependency("faraday", "~> 2.3.0")
46
+ spec.add_dependency("faraday-multipart", "~> 1.0.4")
44
47
  spec.add_dependency("oj", "~> 3.13.13")
48
+ spec.metadata['rubygems_mfa_required'] = 'true'
45
49
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatsapp_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ignacio-chiazzo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-03 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: 12.3.3
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: 12.3.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.3.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday-multipart
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.4
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.4
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: oj
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +94,9 @@ dependencies:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
96
  version: 3.13.13
83
- description: Ruby Whatsapp SDK. Use the Whatsapp API through this library
97
+ description: |2
98
+ Use the Ruby Whatsapp SDK to comunicate with Whatsapp API using the Cloud API.
99
+ Create bots to send and receive messages using the Whatsapp SDK in a few minutes.
84
100
  email:
85
101
  - ignaciochiazzo@gmail.com
86
102
  executables: []
@@ -102,37 +118,51 @@ files:
102
118
  - Rakefile
103
119
  - bin/console
104
120
  - bin/setup
121
+ - example.rb
105
122
  - lib/version.rb
106
123
  - lib/whatsapp_sdk.rb
107
124
  - lib/whatsapp_sdk/api/client.rb
125
+ - lib/whatsapp_sdk/api/medias.rb
108
126
  - lib/whatsapp_sdk/api/messages.rb
109
127
  - lib/whatsapp_sdk/api/phone_numbers.rb
110
128
  - lib/whatsapp_sdk/api/request.rb
111
129
  - lib/whatsapp_sdk/api/response.rb
112
130
  - lib/whatsapp_sdk/api/responses/data_response.rb
113
131
  - lib/whatsapp_sdk/api/responses/error_response.rb
132
+ - lib/whatsapp_sdk/api/responses/media_data_response.rb
114
133
  - lib/whatsapp_sdk/api/responses/message_data_response.rb
134
+ - lib/whatsapp_sdk/api/responses/message_error_response.rb
115
135
  - lib/whatsapp_sdk/api/responses/phone_number_data_response.rb
116
136
  - lib/whatsapp_sdk/api/responses/phone_numbers_data_response.rb
117
137
  - lib/whatsapp_sdk/api/responses/read_message_data_response.rb
138
+ - lib/whatsapp_sdk/api/responses/success_response.rb
139
+ - lib/whatsapp_sdk/configuration.rb
118
140
  - lib/whatsapp_sdk/error.rb
119
141
  - lib/whatsapp_sdk/resource/address.rb
142
+ - lib/whatsapp_sdk/resource/button_parameter.rb
143
+ - lib/whatsapp_sdk/resource/component.rb
120
144
  - lib/whatsapp_sdk/resource/contact.rb
121
145
  - lib/whatsapp_sdk/resource/contact_response.rb
146
+ - lib/whatsapp_sdk/resource/currency.rb
147
+ - lib/whatsapp_sdk/resource/date_time.rb
122
148
  - lib/whatsapp_sdk/resource/email.rb
149
+ - lib/whatsapp_sdk/resource/media.rb
123
150
  - lib/whatsapp_sdk/resource/message.rb
124
151
  - lib/whatsapp_sdk/resource/name.rb
125
152
  - lib/whatsapp_sdk/resource/org.rb
153
+ - lib/whatsapp_sdk/resource/parameter_object.rb
126
154
  - lib/whatsapp_sdk/resource/phone_number.rb
127
155
  - lib/whatsapp_sdk/resource/url.rb
156
+ - tmp/whatsapp.png
128
157
  - whatsapp_sdk.gemspec
129
- homepage: https://github.com/ignacio-chiazzo/whatsapp_sdk
158
+ homepage: https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk
130
159
  licenses:
131
160
  - MIT
132
161
  metadata:
133
- homepage_uri: https://github.com/ignacio-chiazzo/whatsapp_sdk
134
- source_code_uri: https://github.com/ignacio-chiazzo/whatsapp_sdk
135
- changelog_uri: https://github.com/ignacio-chiazzo/whatsapp_sdk/blob/main/CHANGELOG.md
162
+ homepage_uri: https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk
163
+ source_code_uri: https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk
164
+ changelog_uri: https://github.com/ignacio-chiazzo/ruby_whatsapp_sdk/blob/main/CHANGELOG.md
165
+ rubygems_mfa_required: 'true'
136
166
  post_install_message:
137
167
  rdoc_options: []
138
168
  require_paths:
@@ -151,5 +181,6 @@ requirements: []
151
181
  rubygems_version: 3.2.3
152
182
  signing_key:
153
183
  specification_version: 4
154
- summary: Use the Whatsapp SDK to comunicate with Whatsapp API
184
+ summary: Use the Ruby Whatsapp SDK to comunicate with Whatsapp API using the Cloud
185
+ API
155
186
  test_files: []