easy-crypto 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +31 -0
- data/Gemfile.lock +3 -5
- data/easy-crypto.gemspec +1 -1
- data/lib/easycrypto/version.rb +1 -1
- data/repo-info.json +7 -0
- metadata +7 -7
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32927f958e449242beee9d34653cfca538a61dfd1a7ab50c100144937377b420
|
4
|
+
data.tar.gz: 1088bc0207174f7b69cbc2e19125744a27e7ad0a7d603cd9cac6faa8267039b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6b11db29f050998cd316ca0669819958cc5d78b21efd037a93b8f8858cb9eec652a3e7b1e8070ecdfe74e65728eae240216abe776d7ef16bf6071f0c8e03afa
|
7
|
+
data.tar.gz: 359e29a491171b1f5c1ae2c1c21651da73d4e96bf039f26eb7f20167ee6733c399ec5a62f6716bdede961990411a8c625e0a797544f0ebaacb64fc9a435448a2
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby-versions: ['2.6', '2.7', '3.0', 'jruby']
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: ${{ matrix.ruby-versions }}
|
17
|
+
- name: Install dependencies
|
18
|
+
run: bundle install
|
19
|
+
- name: Run tests
|
20
|
+
run: bundle exec rake
|
21
|
+
- name: Deploy
|
22
|
+
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.ruby-versions == '3.0'
|
23
|
+
run: |
|
24
|
+
mkdir -p $HOME/.gem
|
25
|
+
touch $HOME/.gem/credentials
|
26
|
+
chmod 0600 $HOME/.gem/credentials
|
27
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
28
|
+
gem build *.gemspec
|
29
|
+
gem push *.gem
|
30
|
+
env:
|
31
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
easy-crypto (0.2.
|
4
|
+
easy-crypto (0.2.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
diff-lcs (1.3)
|
10
|
-
ipaddr (1.2.2)
|
11
10
|
jruby-openssl (0.10.2-java)
|
12
11
|
openssl (2.1.2)
|
13
|
-
ipaddr
|
14
12
|
rake (12.3.3)
|
15
13
|
rspec (3.9.0)
|
16
14
|
rspec-core (~> 3.9.0)
|
@@ -31,7 +29,7 @@ PLATFORMS
|
|
31
29
|
ruby
|
32
30
|
|
33
31
|
DEPENDENCIES
|
34
|
-
bundler (~>
|
32
|
+
bundler (~> 2.2.23)
|
35
33
|
easy-crypto!
|
36
34
|
jruby-openssl (~> 0.9)
|
37
35
|
openssl (~> 2.1.2)
|
@@ -39,4 +37,4 @@ DEPENDENCIES
|
|
39
37
|
rspec (~> 3.0)
|
40
38
|
|
41
39
|
BUNDLED WITH
|
42
|
-
|
40
|
+
2.2.23
|
data/easy-crypto.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
16
16
|
spec.require_paths = ['lib']
|
17
17
|
|
18
|
-
spec.add_development_dependency 'bundler', '~>
|
18
|
+
spec.add_development_dependency 'bundler', '~> 2.2.23'
|
19
19
|
spec.add_development_dependency 'rake', '~> 12.3'
|
20
20
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
21
21
|
end
|
data/lib/easycrypto/version.rb
CHANGED
data/repo-info.json
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy-crypto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emarsys Security
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.2.23
|
20
20
|
type: :development
|
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:
|
26
|
+
version: 2.2.23
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,8 +59,8 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".github/workflows/ruby.yml"
|
62
63
|
- ".gitignore"
|
63
|
-
- ".travis.yml"
|
64
64
|
- Gemfile
|
65
65
|
- Gemfile.lock
|
66
66
|
- LICENSE.txt
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- lib/easycrypto/crypto.rb
|
72
72
|
- lib/easycrypto/key.rb
|
73
73
|
- lib/easycrypto/version.rb
|
74
|
+
- repo-info.json
|
74
75
|
- spec/easycrypto/crypto_spec.rb
|
75
76
|
- spec/easycrypto/key_spec.rb
|
76
77
|
- spec/spec_helper.rb
|
@@ -93,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
94
|
- !ruby/object:Gem::Version
|
94
95
|
version: '0'
|
95
96
|
requirements: []
|
96
|
-
|
97
|
-
rubygems_version: 2.7.7
|
97
|
+
rubygems_version: 3.2.22
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Provides simple wrappers around openssl crypto implementation.
|
data/.travis.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.4.1
|
5
|
-
- jruby-9.2.7.0
|
6
|
-
before_install: gem install bundler -v 1.16.1
|
7
|
-
deploy:
|
8
|
-
provider: rubygems
|
9
|
-
api_key: ${RUBYGEMS_API_KEY}
|
10
|
-
gem: easy-crypto
|
11
|
-
gemspec: easy-crypto.gemspec
|
12
|
-
skip_cleanup: true
|
13
|
-
on:
|
14
|
-
tags: true
|