mutils 1.2.6 → 1.3.0

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: ba0d177914b79c45fb3da60966cfaad27381fb071f1d547ed164fdd6b36b4ff0
4
- data.tar.gz: 2b43060e32d381cf74b3e6e46d8d54c74951aad5ac22a72d56e6be59585e24b5
3
+ metadata.gz: f3db271534988dd1130f614df84fa5559bdd4e094e7736f3de94d0844a575b35
4
+ data.tar.gz: c0d705d4a50049a9211c7a4e582a7806cdc3b02524a680ea050fd6cd76ef900c
5
5
  SHA512:
6
- metadata.gz: bdf0e0225d311ffb32a28444715fdd67d906e0621eb427bd735fe7f00186334284069cbb5f6adb9bbe11ffa268b82ceb16a34fe23d16fba83c69213e229d21d7
7
- data.tar.gz: 5ba7fdd5317995172a7437612cb51506eb0d495ba5f82218de8b3b944391051e204dd920bbaabab409e60e9802912274aafdd5144a07c7622bef66b3836de100
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,7 +6,7 @@ jobs:
6
6
  name: Create Release
7
7
  runs-on: ubuntu-20.04
8
8
  steps:
9
- - uses: actions/checkout@v2
9
+ - uses: actions/checkout@v3
10
10
  - name: Use Node.js
11
11
  uses: actions/setup-node@v1
12
12
  with:
@@ -12,13 +12,12 @@ jobs:
12
12
  - "3.1"
13
13
  - "3.0"
14
14
  - "2.7"
15
- - "2.6"
16
15
  include:
17
16
  - ruby: "3.0"
18
17
  coverage: "true"
19
18
  name: Test with ruby ${{ matrix.ruby }}
20
19
  steps:
21
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v3
22
21
  - uses: ruby/setup-ruby@v1
23
22
  with:
24
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@v2
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:
@@ -14,13 +14,12 @@ jobs:
14
14
  - "3.1"
15
15
  - "3.0"
16
16
  - "2.7"
17
- - "2.6"
18
17
  include:
19
18
  - ruby: "3.2"
20
19
  coverage: "true"
21
20
  name: Test with ruby ${{ matrix.ruby }}
22
21
  steps:
23
- - uses: actions/checkout@v2
22
+ - uses: actions/checkout@v3
24
23
  - uses: ruby/setup-ruby@v1
25
24
  with:
26
25
  ruby-version: ${{ matrix.ruby }}
data/.rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: "2.6.0"
4
+ TargetRubyVersion: "2.7.0"
5
5
  Exclude:
6
6
  - 'spec/**/*'
7
7
  - 'test/**/*'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
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
+
1
8
  ## [1.2.6](https://github.com/Code-Vedas/mutils/compare/v1.2.5...v1.2.6) (2023-02-23)
2
9
 
3
10
 
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- mutils (1.2.6)
10
+ mutils (1.3.0)
11
11
  dry-inflector
12
12
 
13
13
  GEM
data/Version CHANGED
@@ -1 +1 @@
1
- v1.2.6
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.6.0'
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.2.6
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nitesh Purohit
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-23 00:00:00.000000000 Z
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,8 +113,8 @@ 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.2.6
117
- post_install_message:
116
+ source_code_uri: https://github.com/code-vedas/mutils/tree/v1.3.0
117
+ post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths:
120
120
  - lib
@@ -122,15 +122,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 2.6.0
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.4.7
133
- signing_key:
132
+ rubygems_version: 3.1.4
133
+ signing_key:
134
134
  specification_version: 4
135
135
  summary: mutils Utilities for rails app
136
136
  test_files: []
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)