sym 3.0.1 → 3.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: 771bd4af71d031a3224d226cf4a315cbfe809dfcc9598a38984294da8b0ed742
4
- data.tar.gz: e4f566c83ae142709e1989551c05d4549f7e09f7904f5ee422e42bf340bb0dee
3
+ metadata.gz: 67acdb213e1c14e6d1eb34a4a0b27e1e3724b1a98d715bff0716290674c3afbb
4
+ data.tar.gz: 92ae116832760799ed97301189e4b339984163db7881d630044a39a20af9ecd5
5
5
  SHA512:
6
- metadata.gz: cabff15ab1743d6b46ee0b36296e9fbe2daa8ccbb06a7ac2a0c4e8a0b89dba1e34e8024a0ded099163b558b914204d5fbde442ffdaa5b8ac8282884c51a5f5c1
7
- data.tar.gz: 966efda5948b8c27419ecc286ac93e51e7d8fe6b3fb8712485209470995b73f21ae5c14d5cc67b96dd7e026d26f395bb34b810ffb16ebf157ef86ee75f6495f5
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 2021-02-12 15:04:35 UTC using RuboCop version 1.9.1.
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: 5
22
- # Configuration parameters: Max.
21
+ # Offense count: 4
22
+ # Configuration parameters: CountAsOne.
23
23
  RSpec/ExampleLength:
24
- Exclude:
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: 4
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
- image:https://badge.fury.io/rb/sym.svg[Gem Version,link=https://badge.fury.io/rb/sym]
11
- image:https://travis-ci.org/kigster/sym.svg?branch=master[Build Status,link=https://travis-ci.org/kigster/sym]
12
- image:https://circleci.com/gh/kigster/sym.svg?style=shield[CircleCI,link=https://circleci.com/gh/kigster/sym?style=shield]
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]