mutils 1.2.2 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +0 -0
- data/.github/CONTRIBUTING.md +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- data/.github/ISSUE_TEMPLATE.md +0 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- data/.github/dependabot.yml +0 -0
- data/.github/workflows/{release.yml → create-release.yml} +8 -9
- data/.github/workflows/master.yml +3 -1
- data/.github/workflows/publish-gem.yml +44 -0
- data/.github/workflows/{pr.yml → test.yml} +5 -3
- data/.gitignore +0 -0
- data/.jrubyrc +0 -0
- data/.releaserc +64 -0
- data/.rspec +0 -0
- data/.rubocop.yml +0 -0
- data/.rubocop_todo.yml +0 -0
- data/.travis.yml +0 -0
- data/CHANGELOG.md +28 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +31 -30
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/SECURITY.md +0 -0
- data/Version +1 -1
- data/commitlint.config.js +0 -0
- data/lib/generators/mutils/USAGE +0 -0
- data/lib/generators/mutils/serializer_generator.rb +0 -0
- data/lib/generators/mutils/templates/serializer.rb.tt +0 -0
- data/lib/mutils/lib/helper.rb +0 -0
- data/lib/mutils/lib/result_hash.rb +0 -0
- data/lib/mutils/serialization/base_serializer.rb +0 -0
- data/lib/mutils/serialization/methods/attributes.rb +0 -0
- data/lib/mutils/serialization/methods/main.rb +0 -0
- data/lib/mutils/serialization/methods/relations.rb +0 -0
- data/lib/mutils/serialization/results/attributes.rb +0 -0
- data/lib/mutils/serialization/results/main.rb +0 -0
- data/lib/mutils/serialization/results/relations.rb +0 -0
- data/lib/mutils/serialization/serialization_includes.rb +0 -0
- data/lib/mutils/serialization/serialization_methods.rb +0 -0
- data/lib/mutils/serialization/serialization_results.rb +0 -0
- data/lib/mutils/version.rb +0 -0
- data/lib/mutils.rb +0 -0
- data/mutils.gemspec +0 -0
- metadata +11 -12
- data/.huskyrc +0 -7
- data/package-lock.json +0 -5806
- data/package.json +0 -94
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba0d177914b79c45fb3da60966cfaad27381fb071f1d547ed164fdd6b36b4ff0
|
4
|
+
data.tar.gz: 2b43060e32d381cf74b3e6e46d8d54c74951aad5ac22a72d56e6be59585e24b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf0e0225d311ffb32a28444715fdd67d906e0621eb427bd735fe7f00186334284069cbb5f6adb9bbe11ffa268b82ceb16a34fe23d16fba83c69213e229d21d7
|
7
|
+
data.tar.gz: 5ba7fdd5317995172a7437612cb51506eb0d495ba5f82218de8b3b944391051e204dd920bbaabab409e60e9802912274aafdd5144a07c7622bef66b3836de100
|
data/.codeclimate.yml
CHANGED
File without changes
|
data/.github/CONTRIBUTING.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/.github/ISSUE_TEMPLATE.md
CHANGED
File without changes
|
File without changes
|
data/.github/dependabot.yml
CHANGED
File without changes
|
@@ -1,20 +1,19 @@
|
|
1
|
-
name: Release
|
1
|
+
name: Create Release
|
2
2
|
on:
|
3
|
-
|
4
|
-
branches: [master]
|
3
|
+
workflow_dispatch:
|
5
4
|
jobs:
|
6
|
-
|
5
|
+
create_release:
|
6
|
+
name: Create Release
|
7
7
|
runs-on: ubuntu-20.04
|
8
|
-
name: Release
|
9
8
|
steps:
|
10
9
|
- uses: actions/checkout@v2
|
11
10
|
- name: Use Node.js
|
12
11
|
uses: actions/setup-node@v1
|
13
12
|
with:
|
14
|
-
node-version:
|
13
|
+
node-version: 18.x
|
15
14
|
- uses: ruby/setup-ruby@v1
|
16
15
|
with:
|
17
|
-
ruby-version:
|
16
|
+
ruby-version: 3.0
|
18
17
|
bundler-cache: true
|
19
18
|
- name: Run Rubocop
|
20
19
|
run: bundle exec rubocop lib
|
@@ -25,6 +24,6 @@ jobs:
|
|
25
24
|
RUBYGEMS_AUTH_TOKEN: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
|
26
25
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
27
26
|
run: |
|
28
|
-
npm install
|
27
|
+
npm install -g @commitlint/cli @commitlint/config-angular @semantic-release/changelog @semantic-release/exec
|
28
|
+
npm install -g @semantic-release/git @semantic-release/github semantic-release
|
29
29
|
npx semantic-release
|
30
|
-
|
@@ -0,0 +1,44 @@
|
|
1
|
+
name: Publish Gem
|
2
|
+
on:
|
3
|
+
workflow_dispatch:
|
4
|
+
inputs:
|
5
|
+
release_password:
|
6
|
+
description: "Enter Release Password"
|
7
|
+
required: true
|
8
|
+
default: ""
|
9
|
+
jobs:
|
10
|
+
release:
|
11
|
+
runs-on: ubuntu-20.04
|
12
|
+
name: Publish Gem
|
13
|
+
steps:
|
14
|
+
- name: Set ENV
|
15
|
+
run: |
|
16
|
+
echo "release password: ${{secrets.RELEASE_PASSWORD}}"
|
17
|
+
echo "release_password=${{secrets.RELEASE_PASSWORD}}" >> $GITHUB_ENV
|
18
|
+
- name: Checkout
|
19
|
+
if: github.event.inputs.release_password == env.release_password
|
20
|
+
uses: actions/checkout@v2
|
21
|
+
- uses: ruby/setup-ruby@v1
|
22
|
+
if: github.event.inputs.release_password == env.release_password
|
23
|
+
with:
|
24
|
+
ruby-version: 3.0
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Run Rubocop
|
27
|
+
if: github.event.inputs.release_password == env.release_password
|
28
|
+
run: bundle exec rubocop lib
|
29
|
+
- name: Run Test
|
30
|
+
if: github.event.inputs.release_password == env.release_password
|
31
|
+
run: bundle exec rspec
|
32
|
+
- name: Publish
|
33
|
+
if: github.event.inputs.release_password == env.release_password
|
34
|
+
env:
|
35
|
+
RUBYGEMS_AUTH_TOKEN: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
|
36
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
37
|
+
run: |
|
38
|
+
mkdir -p $HOME/.gem
|
39
|
+
touch $HOME/.gem/credentials
|
40
|
+
chmod 0600 $HOME/.gem/credentials
|
41
|
+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_AUTH_TOKEN}\n" > $HOME/.gem/credentials
|
42
|
+
gem build *.gemspec
|
43
|
+
gem push *.gem
|
44
|
+
|
@@ -2,19 +2,21 @@ 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
17
|
- "2.6"
|
16
18
|
include:
|
17
|
-
- ruby: "3.
|
19
|
+
- ruby: "3.2"
|
18
20
|
coverage: "true"
|
19
21
|
name: Test with ruby ${{ matrix.ruby }}
|
20
22
|
steps:
|
data/.gitignore
CHANGED
File without changes
|
data/.jrubyrc
CHANGED
File without changes
|
data/.releaserc
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
branch: master
|
2
|
+
ci: false
|
3
|
+
verifyConditions:
|
4
|
+
- "@semantic-release/changelog"
|
5
|
+
- "@semantic-release/git"
|
6
|
+
- "@semantic-release/github"
|
7
|
+
analyzeCommits:
|
8
|
+
- "@semantic-release/commit-analyzer"
|
9
|
+
generateNotes:
|
10
|
+
path: "@semantic-release/release-notes-generator"
|
11
|
+
preset: angular
|
12
|
+
parserOpts:
|
13
|
+
noteKeywords:
|
14
|
+
- BREAKING CHANGE
|
15
|
+
- BREAKING CHANGES
|
16
|
+
- BREAKING
|
17
|
+
writerOpts:
|
18
|
+
commitsSort:
|
19
|
+
- scope
|
20
|
+
- subject
|
21
|
+
presetConfig:
|
22
|
+
types:
|
23
|
+
- type: chore
|
24
|
+
section: Chores
|
25
|
+
- type: build
|
26
|
+
section: Build Changes
|
27
|
+
- type: docs
|
28
|
+
section: Documentation Changes
|
29
|
+
- type: feat
|
30
|
+
section: Features
|
31
|
+
- type: fix
|
32
|
+
section: Bug Fixes
|
33
|
+
- type: perf
|
34
|
+
section: Performance Improvments
|
35
|
+
- type: refactor
|
36
|
+
section: Refactors
|
37
|
+
- type: revert
|
38
|
+
section: Reverted
|
39
|
+
- type: style
|
40
|
+
section: Styles Changes
|
41
|
+
- type: test
|
42
|
+
section: Test Suite Changes
|
43
|
+
prepare:
|
44
|
+
- path: "@semantic-release/changelog"
|
45
|
+
changelogFile: CHANGELOG.md
|
46
|
+
- path: "@semantic-release/exec"
|
47
|
+
cmd: echo "v${nextRelease.version}" > Version
|
48
|
+
- path: "@semantic-release/exec"
|
49
|
+
cmd: 'bundle config unset deployment'
|
50
|
+
- path: "@semantic-release/exec"
|
51
|
+
cmd: 'bundle install'
|
52
|
+
- path: "@semantic-release/exec"
|
53
|
+
cmd: 'echo "Creating Version: $(cat Version)"'
|
54
|
+
- path: "@semantic-release/git"
|
55
|
+
assets:
|
56
|
+
- CHANGELOG.md
|
57
|
+
- Version
|
58
|
+
- Gemfile.lock
|
59
|
+
message: |-
|
60
|
+
build(release): v${nextRelease.version} [skip ci]
|
61
|
+
|
62
|
+
${nextRelease.notes}
|
63
|
+
publish:
|
64
|
+
- "@semantic-release/github"
|
data/.rspec
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.rubocop_todo.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,31 @@
|
|
1
|
+
## [1.2.6](https://github.com/Code-Vedas/mutils/compare/v1.2.5...v1.2.6) (2023-02-23)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* add upto ruby 3.2 test matrix ([cbeedc3](https://github.com/Code-Vedas/mutils/commit/cbeedc36ca96bb691fa8b6fdc8c19788c7184b4a))
|
7
|
+
|
8
|
+
## [1.2.5](https://github.com/Code-Vedas/mutils/compare/v1.2.4...v1.2.5) (2022-03-10)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* include Gemfile.lock when creating release ([7c9b88a](https://github.com/Code-Vedas/mutils/commit/7c9b88a2ef63bda6ab44a36eafbbaf31dab9cd7f))
|
14
|
+
|
15
|
+
## [1.2.4](https://github.com/Code-Vedas/mutils/compare/v1.2.3...v1.2.4) (2022-03-10)
|
16
|
+
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
* bundle ([4f70247](https://github.com/Code-Vedas/mutils/commit/4f70247451df4df88397ff51b0dbe382eed02838))
|
21
|
+
|
22
|
+
## [1.2.3](https://github.com/Code-Vedas/mutils/compare/v1.2.2...v1.2.3) (2022-03-10)
|
23
|
+
|
24
|
+
|
25
|
+
### Bug Fixes
|
26
|
+
|
27
|
+
* release with test ruby 3.0 ([c3a6034](https://github.com/Code-Vedas/mutils/commit/c3a60344f7722552215559f46377dc83d7e33e05))
|
28
|
+
|
1
29
|
## [1.2.2](https://github.com/Code-Vedas/mutils/compare/v1.2.1...v1.2.2) (2021-11-26)
|
2
30
|
|
3
31
|
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
@@ -7,7 +7,7 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: .
|
9
9
|
specs:
|
10
|
-
mutils (1.2.
|
10
|
+
mutils (1.2.6)
|
11
11
|
dry-inflector
|
12
12
|
|
13
13
|
GEM
|
@@ -23,51 +23,52 @@ GEM
|
|
23
23
|
term-ansicolor (~> 1.3)
|
24
24
|
thor (>= 0.19.4, < 2.0)
|
25
25
|
tins (~> 1.6)
|
26
|
-
diff-lcs (1.
|
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
|
-
rainbow (3.
|
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)
|
@@ -77,10 +78,10 @@ GEM
|
|
77
78
|
sync (0.5.0)
|
78
79
|
term-ansicolor (1.7.1)
|
79
80
|
tins (~> 1.0)
|
80
|
-
thor (1.1
|
81
|
-
tins (1.
|
81
|
+
thor (1.2.1)
|
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/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/SECURITY.md
CHANGED
File without changes
|
data/Version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
v1.2.
|
1
|
+
v1.2.6
|
data/commitlint.config.js
CHANGED
File without changes
|
data/lib/generators/mutils/USAGE
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/mutils/lib/helper.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/mutils/version.rb
CHANGED
File without changes
|
data/lib/mutils.rb
CHANGED
File without changes
|
data/mutils.gemspec
CHANGED
File without changes
|
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.
|
4
|
+
version: 1.2.6
|
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:
|
11
|
+
date: 2023-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|
@@ -66,12 +66,13 @@ files:
|
|
66
66
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
67
67
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
68
68
|
- ".github/dependabot.yml"
|
69
|
+
- ".github/workflows/create-release.yml"
|
69
70
|
- ".github/workflows/master.yml"
|
70
|
-
- ".github/workflows/
|
71
|
-
- ".github/workflows/
|
71
|
+
- ".github/workflows/publish-gem.yml"
|
72
|
+
- ".github/workflows/test.yml"
|
72
73
|
- ".gitignore"
|
73
|
-
- ".huskyrc"
|
74
74
|
- ".jrubyrc"
|
75
|
+
- ".releaserc"
|
75
76
|
- ".rspec"
|
76
77
|
- ".rubocop.yml"
|
77
78
|
- ".rubocop_todo.yml"
|
@@ -107,15 +108,13 @@ files:
|
|
107
108
|
- lib/mutils/serialization/serialization_results.rb
|
108
109
|
- lib/mutils/version.rb
|
109
110
|
- mutils.gemspec
|
110
|
-
- package-lock.json
|
111
|
-
- package.json
|
112
111
|
homepage: https://github.com/code-vedas/mutils
|
113
112
|
licenses:
|
114
113
|
- MIT
|
115
114
|
metadata:
|
116
115
|
bug_tracker_uri: https://github.com/code-vedas/mutils/issues
|
117
|
-
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.2.
|
118
|
-
post_install_message:
|
116
|
+
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.2.6
|
117
|
+
post_install_message:
|
119
118
|
rdoc_options: []
|
120
119
|
require_paths:
|
121
120
|
- lib
|
@@ -130,8 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
129
|
- !ruby/object:Gem::Version
|
131
130
|
version: 1.8.11
|
132
131
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
134
|
-
signing_key:
|
132
|
+
rubygems_version: 3.4.7
|
133
|
+
signing_key:
|
135
134
|
specification_version: 4
|
136
135
|
summary: mutils Utilities for rails app
|
137
136
|
test_files: []
|