cwt 0.4.0 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58ca060eb1aa285140dcbd999832e2147779ed902b8524132b976db964dec35c
4
- data.tar.gz: ec3f4154d2bae4530e462d2fc6253c305d314d96a9955d5dbdcb18e2440c9352
3
+ metadata.gz: bd8075a1e1c5a6b5d13df3ba47239b73c206e3aefa03a28755fb1e72304d7d92
4
+ data.tar.gz: b17d8c3943385b31218f5c9ae3cab00923ceb072f066e1e495c1b012a97221a1
5
5
  SHA512:
6
- metadata.gz: 2c3dd6f536f9803aa3ca81c2b26757cccca74a0542f19fb622effa37d755f4ba3b67c0929d5db6a7f7d849df14f8129466fa93a12a675b1a537db73e7676a218
7
- data.tar.gz: 290eadb2f3e862d52e344b197b4abeb5fdbe59f918172d2c9200a0b142d206ec23eb5e8014d97dbe593b8635c0075d94338581185e14152851ce4529632e19a0
6
+ metadata.gz: 70ceae54c32319a4589cbc1bd725471afadd5480cbbdde8fa99edcb295d287c6cb5c40a485651ee0150d6dd9fdf9912f155bfdf7c3a46f541ee9d8d4c1910ed3
7
+ data.tar.gz: 59eceb7984142b8dd061968c92ce0fd1106979824967a5388d53a67313bd6f67871eeeed5a66efc3dafe326fddbca3db04b89b39ef62b0dfb80780ba404d29c7
@@ -0,0 +1,30 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: build
9
+
10
+ on: push
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-20.04
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ ruby:
19
+ - '3.0'
20
+ - '2.7'
21
+ - '2.6'
22
+ - '2.5'
23
+ - '2.4'
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - uses: ruby/setup-ruby@v1
27
+ with:
28
+ ruby-version: ${{ matrix.ruby }}
29
+ bundler-cache: true
30
+ - run: bundle exec rake
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.5.0] - 2020-03-04
4
+
5
+ ### Dependencies
6
+
7
+ - Updated `cose` dependency version constraint from `0.11.x` to `1.x`
8
+
3
9
  ## [v0.4.0] - 2020-01-30
4
10
 
5
11
  ### Dependencies
@@ -18,6 +24,7 @@
18
24
 
19
25
  - `CWT.decode` can decode a signed CWT
20
26
 
27
+ [v0.5.0]: https://github.com/cedarcode/cwt-ruby/compare/v0.4.0...v0.5.0/
21
28
  [v0.4.0]: https://github.com/cedarcode/cwt-ruby/compare/v0.3.0...v0.4.0/
22
29
  [v0.3.0]: https://github.com/cedarcode/cwt-ruby/compare/v0.2.0...v0.3.0/
23
30
  [v0.2.0]: https://github.com/cedarcode/cwt-ruby/compare/9985bac0a1ffe5c5d4d3d7330a453b65f71a148f...v0.2.0/
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Ruby implementation of RFC [8392](https://tools.ietf.org/html/rfc8392) CBOR Web Token (CWT)
4
4
 
5
5
  [![Gem](https://img.shields.io/gem/v/cwt.svg?style=flat-square&color=informational)](https://rubygems.org/gems/cwt)
6
- [![Travis](https://img.shields.io/travis/cedarcode/cwt-ruby/master.svg?style=flat-square)](https://travis-ci.org/cedarcode/cwt-ruby)
6
+ [![Actions Build](https://github.com/cedarcode/cwt-ruby/workflows/build/badge.svg)](https://github.com/cedarcode/cwt-ruby/actions)
7
7
 
8
8
  ## Installation
9
9
 
data/cwt.gemspec CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.required_ruby_version = ">= 2.4"
34
34
 
35
35
  spec.add_dependency "cbor", "~> 0.5.9"
36
- spec.add_dependency "cose", "~> 0.11.0"
36
+ spec.add_dependency "cose", "~> 1.0"
37
37
 
38
38
  spec.add_development_dependency "bundler", "~> 2.0"
39
39
  spec.add_development_dependency "byebug", "~> 11.0"
data/lib/cwt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CWT
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cwt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Rodriguez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-30 00:00:00.000000000 Z
11
+ date: 2021-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cbor
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.11.0
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.11.0
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -143,10 +143,10 @@ executables: []
143
143
  extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
+ - ".github/workflows/build.yml"
146
147
  - ".gitignore"
147
148
  - ".rspec"
148
149
  - ".rubocop.yml"
149
- - ".travis.yml"
150
150
  - CHANGELOG.md
151
151
  - Gemfile
152
152
  - LICENSE.txt
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.1.2
184
+ rubygems_version: 3.2.13
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Ruby implementation of RFC 8392 CBOR Web Token (CWT)
data/.travis.yml DELETED
@@ -1,17 +0,0 @@
1
- dist: bionic
2
- language: ruby
3
- cache: bundler
4
-
5
- rvm:
6
- - ruby-head
7
- - 2.7.0
8
- - 2.6.5
9
- - 2.5.7
10
- - 2.4.9
11
-
12
- before_install: gem install bundler -v 2.1.4
13
-
14
- matrix:
15
- fast_finish: true
16
- allow_failures:
17
- - rvm: ruby-head