mutils 1.2.5 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql.yml +65 -0
- data/.github/workflows/create-release.yml +2 -3
- data/.github/workflows/master.yml +3 -2
- data/.github/workflows/publish-gem.yml +1 -1
- data/.github/workflows/test.yml +6 -5
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +27 -26
- data/Version +1 -1
- data/mutils.gemspec +1 -1
- metadata +6 -6
- data/.travis.yml +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3db271534988dd1130f614df84fa5559bdd4e094e7736f3de94d0844a575b35
|
4
|
+
data.tar.gz: c0d705d4a50049a9211c7a4e582a7806cdc3b02524a680ea050fd6cd76ef900c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95c973c182e50083fce234af589d4e444426a8dac78268ac49535331d511f90294e281697729031d11029c70f256d1e8afa154a9fba64843d128b5043f24f1e5
|
7
|
+
data.tar.gz: de66b614983b2991297af9579b70aab810b3df95b56eb8b601d66fb9dd4793be4c94dc2051d392feb480a161da24414f8a04ab4ec7540f3f0a40d7247ffda779
|
@@ -0,0 +1,65 @@
|
|
1
|
+
name: "CodeQL"
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ "master" ]
|
6
|
+
pull_request:
|
7
|
+
# The branches below must be a subset of the branches above
|
8
|
+
branches: [ "master" ]
|
9
|
+
schedule:
|
10
|
+
- cron: '26 6 * * 5'
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
analyze:
|
14
|
+
name: Analyze
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
permissions:
|
17
|
+
actions: read
|
18
|
+
contents: read
|
19
|
+
security-events: write
|
20
|
+
|
21
|
+
strategy:
|
22
|
+
fail-fast: false
|
23
|
+
matrix:
|
24
|
+
language: [ 'ruby' ]
|
25
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
26
|
+
# Use only 'java' to analyze code written in Java, Kotlin or both
|
27
|
+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
|
28
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
29
|
+
|
30
|
+
steps:
|
31
|
+
- name: Checkout repository
|
32
|
+
uses: actions/checkout@v3
|
33
|
+
|
34
|
+
# Initializes the CodeQL tools for scanning.
|
35
|
+
- name: Initialize CodeQL
|
36
|
+
uses: github/codeql-action/init@v2
|
37
|
+
with:
|
38
|
+
languages: ${{ matrix.language }}
|
39
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
40
|
+
# By default, queries listed here will override any specified in a config file.
|
41
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
42
|
+
|
43
|
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
44
|
+
# queries: security-extended,security-and-quality
|
45
|
+
|
46
|
+
|
47
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
48
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
49
|
+
- name: Autobuild
|
50
|
+
uses: github/codeql-action/autobuild@v2
|
51
|
+
|
52
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
53
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
54
|
+
|
55
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
56
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
57
|
+
|
58
|
+
# - run: |
|
59
|
+
# echo "Run, Build Application using script"
|
60
|
+
# ./location_of_script_within_repo/buildscript.sh
|
61
|
+
|
62
|
+
- name: Perform CodeQL Analysis
|
63
|
+
uses: github/codeql-action/analyze@v2
|
64
|
+
with:
|
65
|
+
category: "/language:${{matrix.language}}"
|
@@ -6,11 +6,11 @@ jobs:
|
|
6
6
|
name: Create Release
|
7
7
|
runs-on: ubuntu-20.04
|
8
8
|
steps:
|
9
|
-
- uses: actions/checkout@
|
9
|
+
- uses: actions/checkout@v3
|
10
10
|
- name: Use Node.js
|
11
11
|
uses: actions/setup-node@v1
|
12
12
|
with:
|
13
|
-
node-version:
|
13
|
+
node-version: 18.x
|
14
14
|
- uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
16
|
ruby-version: 3.0
|
@@ -27,4 +27,3 @@ jobs:
|
|
27
27
|
npm install -g @commitlint/cli @commitlint/config-angular @semantic-release/changelog @semantic-release/exec
|
28
28
|
npm install -g @semantic-release/git @semantic-release/github semantic-release
|
29
29
|
npx semantic-release
|
30
|
-
|
@@ -8,15 +8,16 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
10
|
ruby:
|
11
|
+
- "3.2"
|
12
|
+
- "3.1"
|
11
13
|
- "3.0"
|
12
14
|
- "2.7"
|
13
|
-
- "2.6"
|
14
15
|
include:
|
15
16
|
- ruby: "3.0"
|
16
17
|
coverage: "true"
|
17
18
|
name: Test with ruby ${{ matrix.ruby }}
|
18
19
|
steps:
|
19
|
-
- uses: actions/checkout@
|
20
|
+
- uses: actions/checkout@v3
|
20
21
|
- uses: ruby/setup-ruby@v1
|
21
22
|
with:
|
22
23
|
ruby-version: ${{ matrix.ruby }}
|
@@ -17,7 +17,7 @@ jobs:
|
|
17
17
|
echo "release_password=${{secrets.RELEASE_PASSWORD}}" >> $GITHUB_ENV
|
18
18
|
- name: Checkout
|
19
19
|
if: github.event.inputs.release_password == env.release_password
|
20
|
-
uses: actions/checkout@
|
20
|
+
uses: actions/checkout@v3
|
21
21
|
- uses: ruby/setup-ruby@v1
|
22
22
|
if: github.event.inputs.release_password == env.release_password
|
23
23
|
with:
|
data/.github/workflows/test.yml
CHANGED
@@ -2,23 +2,24 @@ name: Pull Requests
|
|
2
2
|
on:
|
3
3
|
push:
|
4
4
|
branches:
|
5
|
-
-
|
6
|
-
-
|
5
|
+
- "*"
|
6
|
+
- "!master"
|
7
7
|
jobs:
|
8
8
|
testing:
|
9
9
|
runs-on: ubuntu-20.04
|
10
10
|
strategy:
|
11
11
|
matrix:
|
12
12
|
ruby:
|
13
|
+
- "3.2"
|
14
|
+
- "3.1"
|
13
15
|
- "3.0"
|
14
16
|
- "2.7"
|
15
|
-
- "2.6"
|
16
17
|
include:
|
17
|
-
- ruby: "3.
|
18
|
+
- ruby: "3.2"
|
18
19
|
coverage: "true"
|
19
20
|
name: Test with ruby ${{ matrix.ruby }}
|
20
21
|
steps:
|
21
|
-
- uses: actions/checkout@
|
22
|
+
- uses: actions/checkout@v3
|
22
23
|
- uses: ruby/setup-ruby@v1
|
23
24
|
with:
|
24
25
|
ruby-version: ${{ matrix.ruby }}
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [1.3.0](https://github.com/Code-Vedas/mutils/compare/v1.2.6...v1.3.0) (2023-03-01)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* remove ruby 2.6 support ([0a3cb1f](https://github.com/Code-Vedas/mutils/commit/0a3cb1f657ce4f3a8a153a012933dcb826a74cef))
|
7
|
+
|
8
|
+
## [1.2.6](https://github.com/Code-Vedas/mutils/compare/v1.2.5...v1.2.6) (2023-02-23)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* add upto ruby 3.2 test matrix ([cbeedc3](https://github.com/Code-Vedas/mutils/commit/cbeedc36ca96bb691fa8b6fdc8c19788c7184b4a))
|
14
|
+
|
1
15
|
## [1.2.5](https://github.com/Code-Vedas/mutils/compare/v1.2.4...v1.2.5) (2022-03-10)
|
2
16
|
|
3
17
|
|
data/Gemfile.lock
CHANGED
@@ -7,7 +7,7 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: .
|
9
9
|
specs:
|
10
|
-
mutils (1.
|
10
|
+
mutils (1.3.0)
|
11
11
|
dry-inflector
|
12
12
|
|
13
13
|
GEM
|
@@ -25,49 +25,50 @@ GEM
|
|
25
25
|
tins (~> 1.6)
|
26
26
|
diff-lcs (1.5.0)
|
27
27
|
docile (1.4.0)
|
28
|
-
dry-inflector (0.
|
29
|
-
json (2.6.
|
30
|
-
json (2.6.
|
31
|
-
parallel (1.
|
32
|
-
parser (3.
|
28
|
+
dry-inflector (1.0.0)
|
29
|
+
json (2.6.3)
|
30
|
+
json (2.6.3-java)
|
31
|
+
parallel (1.22.1)
|
32
|
+
parser (3.2.1.0)
|
33
33
|
ast (~> 2.4.1)
|
34
34
|
pluginator (1.5.0)
|
35
35
|
pre-commit (0.39.0)
|
36
36
|
pluginator (~> 1.5)
|
37
37
|
rainbow (3.1.1)
|
38
38
|
rake (13.0.6)
|
39
|
-
regexp_parser (2.
|
39
|
+
regexp_parser (2.7.0)
|
40
40
|
rexml (3.2.5)
|
41
|
-
rspec (3.
|
42
|
-
rspec-core (~> 3.
|
43
|
-
rspec-expectations (~> 3.
|
44
|
-
rspec-mocks (~> 3.
|
41
|
+
rspec (3.12.0)
|
42
|
+
rspec-core (~> 3.12.0)
|
43
|
+
rspec-expectations (~> 3.12.0)
|
44
|
+
rspec-mocks (~> 3.12.0)
|
45
45
|
rspec-benchmark (0.6.0)
|
46
46
|
benchmark-malloc (~> 0.2)
|
47
47
|
benchmark-perf (~> 0.6)
|
48
48
|
benchmark-trend (~> 0.4)
|
49
49
|
rspec (>= 3.0)
|
50
|
-
rspec-core (3.
|
51
|
-
rspec-support (~> 3.
|
52
|
-
rspec-expectations (3.
|
50
|
+
rspec-core (3.12.0)
|
51
|
+
rspec-support (~> 3.12.0)
|
52
|
+
rspec-expectations (3.12.0)
|
53
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
|
-
rspec-support (~> 3.
|
54
|
+
rspec-support (~> 3.12.0)
|
55
55
|
rspec-json_expectations (2.2.0)
|
56
|
-
rspec-mocks (3.
|
56
|
+
rspec-mocks (3.12.0)
|
57
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.
|
59
|
-
rspec-support (3.
|
60
|
-
rubocop (1.
|
58
|
+
rspec-support (~> 3.12.0)
|
59
|
+
rspec-support (3.12.0)
|
60
|
+
rubocop (1.46.0)
|
61
|
+
json (~> 2.3)
|
61
62
|
parallel (~> 1.10)
|
62
|
-
parser (>= 3.
|
63
|
+
parser (>= 3.2.0.0)
|
63
64
|
rainbow (>= 2.2.2, < 4.0)
|
64
65
|
regexp_parser (>= 1.8, < 3.0)
|
65
|
-
rexml
|
66
|
-
rubocop-ast (>= 1.
|
66
|
+
rexml (>= 3.2.5, < 4.0)
|
67
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
67
68
|
ruby-progressbar (~> 1.7)
|
68
|
-
unicode-display_width (>=
|
69
|
-
rubocop-ast (1.
|
70
|
-
parser (>= 3.
|
69
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
70
|
+
rubocop-ast (1.26.0)
|
71
|
+
parser (>= 3.2.1.0)
|
71
72
|
ruby-progressbar (1.11.0)
|
72
73
|
simplecov (0.16.1)
|
73
74
|
docile (~> 1.1)
|
@@ -80,7 +81,7 @@ GEM
|
|
80
81
|
thor (1.2.1)
|
81
82
|
tins (1.31.0)
|
82
83
|
sync
|
83
|
-
unicode-display_width (2.
|
84
|
+
unicode-display_width (2.4.2)
|
84
85
|
|
85
86
|
PLATFORMS
|
86
87
|
java
|
data/Version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
v1.
|
1
|
+
v1.3.0
|
data/mutils.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.bindir = 'exe'
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
|
-
spec.required_ruby_version = '>= 2.
|
23
|
+
spec.required_ruby_version = '>= 2.7.0'
|
24
24
|
spec.required_rubygems_version = '>= 1.8.11'
|
25
25
|
spec.add_dependency('dry-inflector')
|
26
26
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nitesh Purohit
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
67
67
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
68
68
|
- ".github/dependabot.yml"
|
69
|
+
- ".github/workflows/codeql.yml"
|
69
70
|
- ".github/workflows/create-release.yml"
|
70
71
|
- ".github/workflows/master.yml"
|
71
72
|
- ".github/workflows/publish-gem.yml"
|
@@ -76,7 +77,6 @@ files:
|
|
76
77
|
- ".rspec"
|
77
78
|
- ".rubocop.yml"
|
78
79
|
- ".rubocop_todo.yml"
|
79
|
-
- ".travis.yml"
|
80
80
|
- CHANGELOG.md
|
81
81
|
- CODE_OF_CONDUCT.md
|
82
82
|
- Gemfile
|
@@ -113,7 +113,7 @@ licenses:
|
|
113
113
|
- MIT
|
114
114
|
metadata:
|
115
115
|
bug_tracker_uri: https://github.com/code-vedas/mutils/issues
|
116
|
-
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.
|
116
|
+
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.3.0
|
117
117
|
post_install_message:
|
118
118
|
rdoc_options: []
|
119
119
|
require_paths:
|
@@ -122,14 +122,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
122
|
requirements:
|
123
123
|
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 2.
|
125
|
+
version: 2.7.0
|
126
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 1.8.11
|
131
131
|
requirements: []
|
132
|
-
rubygems_version: 3.
|
132
|
+
rubygems_version: 3.1.4
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: mutils Utilities for rails app
|
data/.travis.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
#rvm:
|
2
|
-
# - 2.6.3
|
3
|
-
# - 2.6.5
|
4
|
-
# - 2.7.0
|
5
|
-
# - 2.7.1
|
6
|
-
# - jruby-9.2.13.0
|
7
|
-
#sudo: false
|
8
|
-
#language: ruby
|
9
|
-
#cache: bundler
|
10
|
-
#before_install:
|
11
|
-
# - gem install bundler -v 2.0.1
|
12
|
-
# - gem install rspec
|
13
|
-
# - nvm use 11
|
14
|
-
# - npm install
|
15
|
-
#script: bundle exec rubocop lib && bundle exec rspec
|
16
|
-
#branches:
|
17
|
-
# only: master
|
18
|
-
#bundler_args: --with=development,test --jobs=3 --retry=3
|
19
|
-
#jobs:
|
20
|
-
# include:
|
21
|
-
# - stage: release
|
22
|
-
# rvm: 2.6.5
|
23
|
-
# script: npx semantic-release
|
24
|
-
#stages:
|
25
|
-
# - test
|
26
|
-
# - name: release
|
27
|
-
# if: (NOT type IN (pull_request)) AND (branch = master)
|