Skip to content

Commit ce17cba

Browse files
author
Erik Räni
authored
🎉 1.2.1 (#8)
Use generator version 4.3.0
1 parent 759a875 commit ce17cba

71 files changed

Lines changed: 567 additions & 240 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.3
1+
4.3.0

.rubocop.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ AllCops:
1414
Style/AndOr:
1515
Enabled: true
1616

17-
# Do not use braces for hash literals when they are the last argument of a
18-
# method call.
19-
Style/BracesAroundHashParameters:
20-
Enabled: true
21-
EnforcedStyle: context_dependent
22-
2317
# Align `when` with `case`.
2418
Layout/CaseIndentation:
2519
Enabled: true
@@ -46,7 +40,7 @@ Layout/EmptyLinesAroundMethodBody:
4640
Layout/EmptyLinesAroundModuleBody:
4741
Enabled: true
4842

49-
Layout/IndentFirstArgument:
43+
Layout/FirstArgumentIndentation:
5044
Enabled: true
5145

5246
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
@@ -57,7 +51,7 @@ Style/HashSyntax:
5751
# extra level of indentation.
5852
Layout/IndentationConsistency:
5953
Enabled: true
60-
EnforcedStyle: rails
54+
EnforcedStyle: indented_internal_methods
6155

6256
# Two spaces, no tabs (for indentation).
6357
Layout/IndentationWidth:
@@ -123,15 +117,15 @@ Layout/Tab:
123117
Enabled: true
124118

125119
# Blank lines should not have any spaces.
126-
Layout/TrailingBlankLines:
120+
Layout/TrailingEmptyLines:
127121
Enabled: true
128122

129123
# No trailing whitespace.
130124
Layout/TrailingWhitespace:
131125
Enabled: false
132126

133127
# Use quotes for string literals when they are enough.
134-
Style/UnneededPercentQ:
128+
Style/RedundantPercentQ:
135129
Enabled: true
136130

137131
# Align `end` with the matching keyword or starting expression except for

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ script:
88
- bundle install --path vendor/bundle
99
- bundle exec rspec
1010
- gem build messente_api.gemspec
11-
- gem install ./messente_api-1.2.0.gem
11+
- gem install ./messente_api-1.2.1.gem

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
33
gemspec
44

55
group :development, :test do
6-
gem 'rake', '~> 12.0.0'
6+
gem 'rake', '~> 13.0.1'
77
gem 'pry-byebug'
88
gem 'rubocop', '~> 0.66.0'
99
end

Gemfile.lock

Lines changed: 0 additions & 79 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Messente API Library
22

33
- Messente API version: 1.2.0
4-
- Ruby gem version: 1.2.0
4+
- Ruby gem version: 1.2.1
55

66
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

git_push.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
#!/bin/sh
2-
#
3-
# Generated by: https://openapi-generator.tech
4-
#
52
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
63
#
7-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
4+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
85

96
git_user_id=$1
107
git_repo_id=$2
118
release_note=$3
9+
git_host=$4
10+
11+
if [ "$git_host" = "" ]; then
12+
git_host="github.com"
13+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14+
fi
1215

1316
if [ "$git_user_id" = "" ]; then
1417
git_user_id="messente"
@@ -40,16 +43,16 @@ if [ "$git_remote" = "" ]; then # git remote not defined
4043

4144
if [ "$GIT_TOKEN" = "" ]; then
4245
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43-
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
46+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
4447
else
45-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
48+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
4649
fi
4750

4851
fi
4952

5053
git pull origin master
5154

5255
# Pushes (Forces) the changes in the local repository up to the remote repository
53-
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
56+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
5457
git push origin master 2>&1 | grep -v 'To https'
5558

lib/messente_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.2.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
9-
OpenAPI Generator version: 4.0.3
9+
OpenAPI Generator version: 4.3.0
1010
1111
=end
1212

lib/messente_api/api/blacklist_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.2.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
9-
OpenAPI Generator version: 4.0.3
9+
OpenAPI Generator version: 4.3.0
1010
1111
=end
1212

lib/messente_api/api/contacts_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.2.0
77
Contact: messente@messente.com
88
Generated by: https://openapi-generator.tech
9-
OpenAPI Generator version: 4.0.3
9+
OpenAPI Generator version: 4.3.0
1010
1111
=end
1212

0 commit comments

Comments
 (0)