sym 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +30 -0
- data/.github/workflows/ruby.yml +30 -0
- data/.rubocop_todo.yml +39 -11
- data/CHANGELOG.md +12 -4
- data/README.adoc +6 -3
- data/README.pdf +10764 -7615
- data/lib/ruby_warnings.rb +1 -1
- data/lib/sym/app/commands/open_editor.rb +3 -3
- data/lib/sym/app/commands/show_examples.rb +1 -1
- data/lib/sym/app/keychain.rb +1 -1
- data/lib/sym/app/output/file.rb +1 -1
- data/lib/sym/app/private_key/key_source_check.rb +1 -1
- data/lib/sym/app.rb +2 -2
- data/lib/sym/application.rb +1 -1
- data/lib/sym/version.rb +1 -1
- data/sym.gemspec +1 -0
- metadata +7 -5
- data/.circleci/config.yml +0 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67acdb213e1c14e6d1eb34a4a0b27e1e3724b1a98d715bff0716290674c3afbb
|
4
|
+
data.tar.gz: 92ae116832760799ed97301189e4b339984163db7881d630044a39a20af9ecd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9202cee6a164dd7bb7fa12f6cc475bf822ecdbd4b613295009362099fd4cd431a41e5a60df701bccf3aec9828826bb7026164e72208123ebce7f0fd5ca69d0f5
|
7
|
+
data.tar.gz: 97437a1e56195daae154c529f65ea878ca5f6cdacfe89ecd4211897a77bad5922a20d6c72d10f6720d56851b029a01dc15dd5b478db08bbf9c019cd5e8f55ed7
|
@@ -0,0 +1,30 @@
|
|
1
|
+
name: Rubocop
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
runs-on: ubuntu-20.04
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby: [ '3.1' ]
|
15
|
+
name: Ruby ${{ matrix.ruby }} Tests
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
- uses: actions/cache@v2
|
22
|
+
with:
|
23
|
+
path: vendor/bundle
|
24
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
25
|
+
restore-keys: |
|
26
|
+
${{ runner.os }}-gems-
|
27
|
+
- run: |
|
28
|
+
gem install bundler -N
|
29
|
+
bundle install --jobs 10
|
30
|
+
bundle exec rubocop
|
@@ -0,0 +1,30 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
runs-on: ubuntu-20.04
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby: [ '2.6', '2.7', '3.0', '3.1' ]
|
15
|
+
name: Ruby ${{ matrix.ruby }} Tests
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
- uses: actions/cache@v2
|
22
|
+
with:
|
23
|
+
path: vendor/bundle
|
24
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
25
|
+
restore-keys: |
|
26
|
+
${{ runner.os }}-gems-
|
27
|
+
- run: |
|
28
|
+
gem install bundler -N
|
29
|
+
bundle install --jobs 10
|
30
|
+
bundle exec rspec
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2022-09-22 23:53:51 UTC using RuboCop version 1.36.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -13,20 +13,15 @@ RSpec/AnyInstance:
|
|
13
13
|
- 'spec/sym/app/password/providers_spec.rb'
|
14
14
|
|
15
15
|
# Offense count: 97
|
16
|
-
# Configuration parameters: Prefixes.
|
16
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
17
17
|
# Prefixes: when, with, without
|
18
18
|
RSpec/ContextWording:
|
19
19
|
Enabled: false
|
20
20
|
|
21
|
-
# Offense count:
|
22
|
-
# Configuration parameters:
|
21
|
+
# Offense count: 4
|
22
|
+
# Configuration parameters: CountAsOne.
|
23
23
|
RSpec/ExampleLength:
|
24
|
-
|
25
|
-
- 'spec/sym/app/cli_spec.rb'
|
26
|
-
- 'spec/sym/app/commands_spec.rb'
|
27
|
-
- 'spec/sym/app/input/handler_spec.rb'
|
28
|
-
- 'spec/sym/app/password/cache_spec.rb'
|
29
|
-
- 'spec/sym/sym_spec.rb'
|
24
|
+
Max: 25
|
30
25
|
|
31
26
|
# Offense count: 20
|
32
27
|
RSpec/ExpectInHook:
|
@@ -39,6 +34,11 @@ RSpec/ExpectInHook:
|
|
39
34
|
- 'spec/sym/application_spec.rb'
|
40
35
|
- 'spec/sym/magic_file_spec.rb'
|
41
36
|
|
37
|
+
# Offense count: 2
|
38
|
+
RSpec/IdenticalEqualityAssertion:
|
39
|
+
Exclude:
|
40
|
+
- 'spec/sym/sym_spec.rb'
|
41
|
+
|
42
42
|
# Offense count: 11
|
43
43
|
RSpec/LeakyConstantDeclaration:
|
44
44
|
Exclude:
|
@@ -75,9 +75,17 @@ RSpec/NamedSubject:
|
|
75
75
|
- 'spec/sym/app/password/providers_spec.rb'
|
76
76
|
|
77
77
|
# Offense count: 10
|
78
|
+
# Configuration parameters: AllowedGroups.
|
78
79
|
RSpec/NestedGroups:
|
79
80
|
Max: 6
|
80
81
|
|
82
|
+
# Offense count: 3
|
83
|
+
RSpec/NoExpectationExample:
|
84
|
+
Exclude:
|
85
|
+
- 'spec/sym/app/commands/encrypt_decrypt_spec.rb'
|
86
|
+
- 'spec/sym/app/commands/generate_key_spec.rb'
|
87
|
+
- 'spec/sym/data_spec.rb'
|
88
|
+
|
81
89
|
# Offense count: 1
|
82
90
|
RSpec/OverwritingSetup:
|
83
91
|
Exclude:
|
@@ -109,7 +117,27 @@ RSpec/StubbedMock:
|
|
109
117
|
- 'spec/sym/app/private_key/detector_spec.rb'
|
110
118
|
- 'spec/sym/application_spec.rb'
|
111
119
|
|
112
|
-
# Offense count:
|
120
|
+
# Offense count: 2
|
121
|
+
# This cop supports safe autocorrection (--autocorrect).
|
113
122
|
Rake/Desc:
|
114
123
|
Exclude:
|
115
124
|
- 'Rakefile'
|
125
|
+
|
126
|
+
# Offense count: 1
|
127
|
+
# This cop supports safe autocorrection (--autocorrect).
|
128
|
+
# Configuration parameters: AllowedVars.
|
129
|
+
Style/FetchEnvVar:
|
130
|
+
Exclude:
|
131
|
+
- 'lib/sym/app/private_key/key_source_check.rb'
|
132
|
+
|
133
|
+
# Offense count: 2
|
134
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
135
|
+
Style/GlobalStdStream:
|
136
|
+
Exclude:
|
137
|
+
- 'spec/sym/app/cli_spec.rb'
|
138
|
+
|
139
|
+
# Offense count: 1
|
140
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
141
|
+
Style/MapToHash:
|
142
|
+
Exclude:
|
143
|
+
- 'lib/sym/application.rb'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [Unreleased](https://github.com/kigster/sym/tree/HEAD)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/kigster/sym/compare/v3.0.1...HEAD)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Adding github actions [\#33](https://github.com/kigster/sym/pull/33) ([kigster](https://github.com/kigster))
|
10
|
+
|
3
11
|
## [v3.0.1](https://github.com/kigster/sym/tree/v3.0.1) (2021-02-12)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/kigster/sym/compare/v3.0.0...v3.0.1)
|
@@ -79,14 +87,14 @@
|
|
79
87
|
|
80
88
|
[Full Changelog](https://github.com/kigster/sym/compare/v2.8.0...v2.8.1)
|
81
89
|
|
82
|
-
## [v2.8.0](https://github.com/kigster/sym/tree/v2.8.0) (2018-01-06)
|
83
|
-
|
84
|
-
[Full Changelog](https://github.com/kigster/sym/compare/v2.7.0...v2.8.0)
|
85
|
-
|
86
90
|
**Merged pull requests:**
|
87
91
|
|
88
92
|
- Changing -t to expect a file argument; Version 2.7.0 [\#13](https://github.com/kigster/sym/pull/13) ([kigster](https://github.com/kigster))
|
89
93
|
|
94
|
+
## [v2.8.0](https://github.com/kigster/sym/tree/v2.8.0) (2018-01-06)
|
95
|
+
|
96
|
+
[Full Changelog](https://github.com/kigster/sym/compare/v2.7.0...v2.8.0)
|
97
|
+
|
90
98
|
## [v2.7.0](https://github.com/kigster/sym/tree/v2.7.0) (2017-06-23)
|
91
99
|
|
92
100
|
[Full Changelog](https://github.com/kigster/sym/compare/v2.6.3...v2.7.0)
|
data/README.adoc
CHANGED
@@ -7,11 +7,14 @@
|
|
7
7
|
:toclevel: 4
|
8
8
|
|
9
9
|
====
|
10
|
-
|
11
|
-
image:https://
|
12
|
-
image:https://
|
10
|
+
|
11
|
+
image:https://github.com/kigster/sym/actions/workflows/ruby.yml/badge.svg[Ruby,link=https://github.com/kigster/sym/actions/workflows/ruby.yml]
|
12
|
+
image:https://github.com/kigster/sym/actions/workflows/rubocop.yml/badge.svg[Rubocop,link=https://github.com/kigster/sym/actions/workflows/rubocop.yml]
|
13
|
+
|
13
14
|
image:https://api.codeclimate.com/v1/badges/4f1d1614ccaa61c974dd/maintainability[Maintainability,link=https://codeclimate.com/github/kigster/sym/maintainability]
|
14
15
|
|
16
|
+
image:https://badge.fury.io/rb/sym.svg[Gem Version,link=https://badge.fury.io/rb/sym]
|
17
|
+
|
15
18
|
image:https://codecov.io/gh/kigster/sym/branch/master/graph/badge.svg?style=shield[Coverage,link="https://codecov.io/gh/kigster/sym"]
|
16
19
|
image:https://img.shields.io/gitter/room/gitterHQ/gitter.svg[Gitter,link=https://gitter.im/kigster/sym]
|
17
20
|
image:https://ruby-gem-downloads-badge.herokuapp.com/sym?extension=svg[Sym Downloads,link=https://rubygems.org/gems/sym]
|