ruby_minitest_analyzer 0.1.1 → 0.1.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: 4ed1a131727d516076a07651d4f2a949e91e712488f17aa470507e0f120aed8c
4
- data.tar.gz: c276fe4754bdca68d8941f1b15924cacc40d4b0dae1028a3beceb42e71f1bc18
3
+ metadata.gz: 482855886866635ff202178a86c09e20196ffde4cc2c649252cdce2a7de35e91
4
+ data.tar.gz: 22e4520f2445de20b3f388cbc9d8d62b435b2ade3c3b5fbc8c11cfcdf108eca1
5
5
  SHA512:
6
- metadata.gz: 520fefaada9536cb8abd3ae938362c5bce37b62a137b813c2c33e5d35d17f31befadfb1780379edd41c4c5e39d77f13514b6ff033579388447ecf17fb1e1edb6
7
- data.tar.gz: '0998fe3f1e28c1663a7729ad312db187bb9daa234ddd4b529a02f99999f3bb97de9c732072d3a5218cf773536bd86fcd9676b67cf8d47f2b98d0a35c98ccc3bf'
6
+ metadata.gz: bd736ac81722ba3fefe6f2de52c8ac892edc30610dd3b07cb0625d3c88ca6d4839bfecb7fe04b9883399172a926e4803ebe894326d71ea0dd196f49b0b0eca3b
7
+ data.tar.gz: e45b53f23e1a2dd6f258a02736b2ef92e5f03148a849b9bcb1f71488eca62634ade2e936ea14c931a4363326487ffaee023007fb5f2399ca2706e245e8b062d4
@@ -0,0 +1,70 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '36 21 * * 3'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Learn more about CodeQL language support at https://git.io/codeql-language-support
38
+
39
+ steps:
40
+ - name: Checkout repository
41
+ uses: actions/checkout@v2
42
+
43
+ # Initializes the CodeQL tools for scanning.
44
+ - name: Initialize CodeQL
45
+ uses: github/codeql-action/init@v1
46
+ with:
47
+ languages: ${{ matrix.language }}
48
+ # If you wish to specify custom queries, you can do so here or in a config file.
49
+ # By default, queries listed here will override any specified in a config file.
50
+ # Prefix the list here with "+" to use these queries and those in the config file.
51
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
52
+
53
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
+ # If this step fails, then you should remove it and run the build manually (see below)
55
+ - name: Autobuild
56
+ uses: github/codeql-action/autobuild@v1
57
+
58
+ # ℹ️ Command-line programs to run using the OS shell.
59
+ # 📚 https://git.io/JvXDl
60
+
61
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62
+ # and modify them (or add more) to build your code if your project
63
+ # uses a compiled language
64
+
65
+ #- run: |
66
+ # make bootstrap
67
+ # make release
68
+
69
+ - name: Perform CodeQL Analysis
70
+ uses: github/codeql-action/analyze@v1
data/Gemfile.lock CHANGED
@@ -23,7 +23,7 @@ GEM
23
23
  byebug (~> 11.0)
24
24
  pry (~> 0.13.0)
25
25
  rainbow (3.1.1)
26
- rake (10.5.0)
26
+ rake (13.0.6)
27
27
  regexp_parser (2.2.1)
28
28
  rexml (3.2.5)
29
29
  rubocop (1.25.1)
@@ -47,12 +47,11 @@ PLATFORMS
47
47
  ruby
48
48
 
49
49
  DEPENDENCIES
50
- bundler (~> 1.17)
51
50
  minitest (~> 5.0)
52
51
  mocha
53
52
  pry (~> 0.13.1)
54
53
  pry-byebug (~> 3.9.0)
55
- rake (~> 10.0)
54
+ rake (~> 13.0)
56
55
  rubocop (~> 1.25.1)
57
56
  rubocop-minitest (~> 0.17.2)
58
57
  ruby_minitest_analyzer!
data/README.md CHANGED
@@ -7,7 +7,7 @@ Ruby Minitest Analyzer will analyze your Minitest classes and detect any duplica
7
7
 
8
8
  ![Untitled-2022-03-13-1106](https://user-images.githubusercontent.com/11672878/158284753-08ea962f-9ac6-46a6-acec-e2464a258a41.png)
9
9
 
10
- This Library is explained in detail in [this Post](https://ignaciochiazzo.medium.com/dont-run-ruby-minitest-classess-twice-988645662cdb?source=friends_link&sk=4fafa2404be622156fd50cab519d5fd0)
10
+ **This Library is explained in detail in [this Post](https://ignaciochiazzo.medium.com/dont-run-your-ruby-minitest-classes-twice-988645662cdb)**
11
11
 
12
12
  ### Example
13
13
  See the following case.
@@ -48,7 +48,7 @@ Finished in 0.001218s, 3284.0724 runs/s, 0.0000 assertions/s.
48
48
 
49
49
  The reason is that `ProductTest` is a subclass of `ProductParentTest`.
50
50
 
51
- More details in [this Post](https://ignaciochiazzo.medium.com/dont-run-ruby-minitest-classess-twice-988645662cdb?source=friends_link&sk=4fafa2404be622156fd50cab519d5fd0)
51
+ **More details in [this Post](https://ignaciochiazzo.medium.com/dont-run-your-ruby-minitest-classes-twice-988645662cdb)**
52
52
 
53
53
  ## Installation
54
54
 
data/Rakefile CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
3
  require 'rubocop'
5
4
  require 'rake/testtask'
6
5
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyMinitestAnalyzer
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
@@ -36,9 +36,8 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ['lib']
38
38
 
39
- spec.add_development_dependency 'bundler', '~> 1.17'
40
39
  spec.add_development_dependency 'minitest', '~> 5.0'
41
- spec.add_development_dependency 'rake', '~> 10.0'
40
+ spec.add_development_dependency 'rake', '~> 13.0'
42
41
  spec.add_dependency 'table_print', '~> 1.5.7'
43
42
  spec.metadata['rubygems_mfa_required'] = 'true'
44
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_minitest_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Chiazzo Cardarello
@@ -10,20 +10,6 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.17'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.17'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: minitest
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +30,14 @@ dependencies:
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '10.0'
33
+ version: '13.0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '10.0'
40
+ version: '13.0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: table_print
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -74,6 +60,7 @@ extensions: []
74
60
  extra_rdoc_files: []
75
61
  files:
76
62
  - ".circleci/config.yml"
63
+ - ".github/workflows/codeql-analysis.yml"
77
64
  - ".gitignore"
78
65
  - ".rubocop.yml"
79
66
  - ".travis.yml"