urbanairship 8.0.0 → 8.0.1
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/PULL_REQUEST_TEMPLATE.md +1 -1
- data/.github/workflows/ci.yaml +23 -0
- data/.gitignore +1 -0
- data/CHANGELOG +5 -0
- data/README.rst +2 -3
- data/lib/urbanairship/client.rb +1 -1
- data/lib/urbanairship/version.rb +1 -1
- metadata +4 -4
- data/.travis.yml +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1da985a2097fce219436538dbaa215aae47b9649ae658dd5ae16af3c3675bd8
|
|
4
|
+
data.tar.gz: ecf18938527e132580ed887081a89db81aab4665286431b06d268c3a2a6b7505
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3f2dad9fb10c281a0e10c1eacddb2fd26f0ec76af4c1a6a4fe0da3ddf83648f29e6762b0cbd756d81a2fadf2a0499fb8ead0c2a873d199ec2df05f16449edea
|
|
7
|
+
data.tar.gz: 4ec1e9d2b3f145446e6a6f5bbbb1d13bc79676186335aad7e5b36779f76a34ee41fff2e48cb15eac6dbf89013a27d71ad66742534999dba654f8c656811bcc05
|
|
@@ -16,7 +16,7 @@ Please include link to open issue if applicable.
|
|
|
16
16
|
* I've tested for Ruby versions:
|
|
17
17
|
|
|
18
18
|
- [ ] 2.6.7
|
|
19
|
-
- [ ] 2.7.
|
|
19
|
+
- [ ] 2.7.3
|
|
20
20
|
|
|
21
21
|
### Airship Contribution Agreement
|
|
22
22
|
[Link here](https://docs.google.com/forms/d/e/1FAIpQLScErfiz-fXSPpVZ9r8Di2Tr2xDFxt5MgzUel0__9vqUgvko7Q/viewform)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: Ruby Build
|
|
2
|
+
|
|
3
|
+
on: [ push ]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
test:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
ruby-version: [2.7.3, 2.6.7]
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
17
|
+
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
|
|
18
|
+
with:
|
|
19
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
20
|
+
- name: Install dependencies
|
|
21
|
+
run: bundle install
|
|
22
|
+
- name: Run tests
|
|
23
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/CHANGELOG
CHANGED
data/README.rst
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
.. image:: https://
|
|
2
|
-
:target: https://
|
|
3
|
-
|
|
1
|
+
.. image:: https://github.com/urbanairship/ruby-library/actions/workflows/ci.yaml/badge.svg
|
|
2
|
+
:target: https://github.com/urbanairship/ruby-library/
|
|
4
3
|
About
|
|
5
4
|
=====
|
|
6
5
|
|
data/lib/urbanairship/client.rb
CHANGED
|
@@ -52,7 +52,7 @@ module Urbanairship
|
|
|
52
52
|
|
|
53
53
|
raise ArgumentError.new("path and url can't be both nil") if path.nil? && url.nil?
|
|
54
54
|
|
|
55
|
-
headers = {'User-Agent' => 'UARubyLib/' + Urbanairship::VERSION}
|
|
55
|
+
headers = {'User-Agent' => 'UARubyLib/' + Urbanairship::VERSION + ' ' + @key}
|
|
56
56
|
headers['Accept'] = 'application/vnd.urbanairship+json; version=3'
|
|
57
57
|
headers['Content-Type'] = content_type unless content_type.nil?
|
|
58
58
|
headers['Content-Encoding'] = encoding unless encoding.nil?
|
data/lib/urbanairship/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: urbanairship
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.0.
|
|
4
|
+
version: 8.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Airship
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -140,9 +140,9 @@ files:
|
|
|
140
140
|
- ".github/ISSUE_TEMPLATE.md"
|
|
141
141
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
142
142
|
- ".github/SUPPORT.md"
|
|
143
|
+
- ".github/workflows/ci.yaml"
|
|
143
144
|
- ".gitignore"
|
|
144
145
|
- ".rspec"
|
|
145
|
-
- ".travis.yml"
|
|
146
146
|
- CHANGELOG
|
|
147
147
|
- Gemfile
|
|
148
148
|
- Guardfile
|
|
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
229
|
- !ruby/object:Gem::Version
|
|
230
230
|
version: '0'
|
|
231
231
|
requirements: []
|
|
232
|
-
rubygems_version: 3.
|
|
232
|
+
rubygems_version: 3.0.3
|
|
233
233
|
signing_key:
|
|
234
234
|
specification_version: 4
|
|
235
235
|
summary: Ruby Gem for using the Airship API
|
data/.travis.yml
DELETED