devicecheck 1.0.0 → 1.0.2

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: f390b2f4f12838ea2fdcda13f66b7921908d7abee05345924d7d69dd64181b97
4
- data.tar.gz: 9faa3df7dd33770d1dca907ffa41d38ab31d38964d826a067ca9ddb6e15ee5e0
3
+ metadata.gz: cdceb92ff19e14a9a018bb2c6fb2f6a05f8a5bf5568699c6a20972be155308e0
4
+ data.tar.gz: 58f94fd86eebcbaa6ddfbb40ebf494668d507f9bc156f7746b7a24d79170df07
5
5
  SHA512:
6
- metadata.gz: 36d6ef82465760fee953e0b4d626b495f3b487428be068101a99f1c2bcb41d99575f8a45517848a61dd9ac00158ebb4e871b4d72ac331bbf659d2410ff4b559c
7
- data.tar.gz: f9aeaed2c53257775775c03e10872af43b4c829fb09e99151abe66285f7555dc53946e783f242eb0c6a5713c8f64f1806b1e0584838895070996c888af78cf0f
6
+ metadata.gz: 258c723d6b438cbb3147bb1647e58056d99d9f1d51e5e51954b3a7d32ee1b8da8382acf17c3b7decee53a2c6a9eb5fa9a593da967f4074a72b86fd2462a29ffd
7
+ data.tar.gz: 28e8ecda728ffad4fbcec3ecb6b97f8a05092505bf02ec383f1db6dbf2f96bc8afacf8a4be3a173556dddc1687bc0b782d488fd93ae49bcb2c73d5e16fb5a4c2
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
- require:
3
+ plugins:
4
4
  - rubocop-rake
5
5
  - rubocop-rspec
6
6
  - rubocop-performance
@@ -27,3 +27,6 @@ Style/Documentation:
27
27
  Metrics/BlockLength:
28
28
  Exclude:
29
29
  - spec/**/*
30
+
31
+ ThreadSafety/DirChdir:
32
+ AllowCallWithBlock: true
data/CONTRIBUTING.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Contributing
2
2
 
3
3
  We love pull requests from everyone. By participating in this project,
4
- you agree to abide by the our [code of conduct](code_of_conduct).
4
+ you agree to abide by our [code of conduct][code_of_conduct].
5
5
 
6
6
  Here are some ways *you* can contribute:
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Devicecheck
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devicecheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabricio Chalub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-18 00:00:00.000000000 Z
11
+ date: 2025-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.0
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cbor
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -71,7 +71,6 @@ files:
71
71
  - README.md
72
72
  - Rakefile
73
73
  - SECURITY.md
74
- - devicecheck.gemspec
75
74
  - lib/devicecheck.rb
76
75
  - lib/devicecheck/assertion.rb
77
76
  - lib/devicecheck/attestation.rb
@@ -84,7 +83,7 @@ licenses:
84
83
  - MIT
85
84
  metadata:
86
85
  bug_tracker_uri: https://github.com/catawiki/devicecheck-ruby/issues
87
- changelog_uri: https://github.com/catawiki/devicecheck-ruby/CHANGELOG.md
86
+ changelog_uri: https://github.com/catawiki/devicecheck-ruby/blob/main/CHANGELOG.md
88
87
  documentation_uri: https://rubydoc.info/github/catawiki/devicecheck-ruby
89
88
  source_code_uri: https://github.com/catawiki/devicecheck-ruby
90
89
  rubygems_mfa_required: 'true'
@@ -103,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
102
  - !ruby/object:Gem::Version
104
103
  version: '0'
105
104
  requirements: []
106
- rubygems_version: 3.4.10
105
+ rubygems_version: 3.4.19
107
106
  signing_key:
108
107
  specification_version: 4
109
108
  summary: Apple App Attestation (aka DeviceCheck) support for Ruby.
data/devicecheck.gemspec DELETED
@@ -1,42 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'lib/devicecheck/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'devicecheck'
7
- spec.version = Devicecheck::VERSION
8
- spec.authors = ['Fabricio Chalub']
9
- spec.email = ['opensource@catawiki.nl']
10
- spec.license = 'MIT'
11
- spec.homepage = 'https://github.com/catawiki/devicecheck-ruby'
12
- spec.description = 'Pure Ruby implementation of the Apple App Attestation server side verifier'
13
- spec.summary = 'Apple App Attestation (aka DeviceCheck) support for Ruby.'
14
- spec.required_ruby_version = '>= 3.2'
15
-
16
- spec.metadata = {
17
- 'bug_tracker_uri' => 'https://github.com/catawiki/devicecheck-ruby/issues',
18
- 'changelog_uri' => 'https://github.com/catawiki/devicecheck-ruby/CHANGELOG.md',
19
- 'documentation_uri' => 'https://rubydoc.info/github/catawiki/devicecheck-ruby',
20
- 'source_code_uri' => 'https://github.com/catawiki/devicecheck-ruby',
21
- 'rubygems_mfa_required' => 'true'
22
- }
23
-
24
- # Specify which files should be added to the gem when it is released.
25
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
- spec.files = Dir.chdir(__dir__) do
27
- `git ls-files -z`.split("\x0").reject do |f|
28
- (File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
29
- end
30
- end
31
- spec.bindir = 'exe'
32
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
- spec.require_paths = ['lib']
34
-
35
- spec.add_dependency 'base64', '~> 0.2.0'
36
- spec.add_dependency 'cbor', '~> 0.5.9'
37
- spec.add_dependency 'openssl', '~> 3'
38
-
39
- # For more information and examples about making a new gem, check out our
40
- # guide at: https://bundler.io/guides/creating_gem.html
41
- spec.metadata['rubygems_mfa_required'] = 'true'
42
- end