mutils 1.2.2 → 1.2.5
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 +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} +7 -7
- data/.github/workflows/master.yml +1 -1
- data/.github/workflows/publish-gem.yml +44 -0
- data/.github/workflows/{pr.yml → test.yml} +0 -0
- 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 +21 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +23 -23
- 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 +8 -9
- 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: 7a007e727dcbb5b30495b9a709364b293b4fff354c73907801fd2e7ba211ee83
|
|
4
|
+
data.tar.gz: c231f34800a1a19b7d05c0e0dde6930c32a83495b8506fff5cec1fc47b3f1e14
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9da7d6d7ed39f67709a504192257f14efc9a8c1ceb516164b8a3192a499f0cbb6a378e32c83128a703afaab00da572d6d1f15c1c842154dfc12ef04ab444c94d
|
|
7
|
+
data.tar.gz: ec4d6c7aebc288e39314e61a076fa0911ec21daafb6fb8b6bb625c03790764382e02c9b4b586347b8768537a1ee33a2b15d547eec5640a3c3d4bef0f82004479
|
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,11 +1,10 @@
|
|
|
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
|
|
@@ -14,7 +13,7 @@ jobs:
|
|
|
14
13
|
node-version: 14.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,7 @@ 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
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
|
+
|
|
File without changes
|
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,24 @@
|
|
|
1
|
+
## [1.2.5](https://github.com/Code-Vedas/mutils/compare/v1.2.4...v1.2.5) (2022-03-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* include Gemfile.lock when creating release ([7c9b88a](https://github.com/Code-Vedas/mutils/commit/7c9b88a2ef63bda6ab44a36eafbbaf31dab9cd7f))
|
|
7
|
+
|
|
8
|
+
## [1.2.4](https://github.com/Code-Vedas/mutils/compare/v1.2.3...v1.2.4) (2022-03-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* bundle ([4f70247](https://github.com/Code-Vedas/mutils/commit/4f70247451df4df88397ff51b0dbe382eed02838))
|
|
14
|
+
|
|
15
|
+
## [1.2.3](https://github.com/Code-Vedas/mutils/compare/v1.2.2...v1.2.3) (2022-03-10)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* release with test ruby 3.0 ([c3a6034](https://github.com/Code-Vedas/mutils/commit/c3a60344f7722552215559f46377dc83d7e33e05))
|
|
21
|
+
|
|
1
22
|
## [1.2.2](https://github.com/Code-Vedas/mutils/compare/v1.2.1...v1.2.2) (2021-11-26)
|
|
2
23
|
|
|
3
24
|
|
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.5)
|
|
11
11
|
dry-inflector
|
|
12
12
|
|
|
13
13
|
GEM
|
|
@@ -23,51 +23,51 @@ 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
28
|
dry-inflector (0.2.1)
|
|
29
29
|
json (2.6.1)
|
|
30
30
|
json (2.6.1-java)
|
|
31
31
|
parallel (1.21.0)
|
|
32
|
-
parser (3.
|
|
32
|
+
parser (3.1.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.2.1)
|
|
40
40
|
rexml (3.2.5)
|
|
41
|
-
rspec (3.
|
|
42
|
-
rspec-core (~> 3.
|
|
43
|
-
rspec-expectations (~> 3.
|
|
44
|
-
rspec-mocks (~> 3.
|
|
41
|
+
rspec (3.11.0)
|
|
42
|
+
rspec-core (~> 3.11.0)
|
|
43
|
+
rspec-expectations (~> 3.11.0)
|
|
44
|
+
rspec-mocks (~> 3.11.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.11.0)
|
|
51
|
+
rspec-support (~> 3.11.0)
|
|
52
|
+
rspec-expectations (3.11.0)
|
|
53
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
-
rspec-support (~> 3.
|
|
54
|
+
rspec-support (~> 3.11.0)
|
|
55
55
|
rspec-json_expectations (2.2.0)
|
|
56
|
-
rspec-mocks (3.
|
|
56
|
+
rspec-mocks (3.11.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.11.0)
|
|
59
|
+
rspec-support (3.11.0)
|
|
60
|
+
rubocop (1.26.0)
|
|
61
61
|
parallel (~> 1.10)
|
|
62
|
-
parser (>= 3.
|
|
62
|
+
parser (>= 3.1.0.0)
|
|
63
63
|
rainbow (>= 2.2.2, < 4.0)
|
|
64
64
|
regexp_parser (>= 1.8, < 3.0)
|
|
65
65
|
rexml
|
|
66
|
-
rubocop-ast (>= 1.
|
|
66
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
|
67
67
|
ruby-progressbar (~> 1.7)
|
|
68
68
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
69
|
-
rubocop-ast (1.
|
|
70
|
-
parser (>= 3.
|
|
69
|
+
rubocop-ast (1.16.0)
|
|
70
|
+
parser (>= 3.1.1.0)
|
|
71
71
|
ruby-progressbar (1.11.0)
|
|
72
72
|
simplecov (0.16.1)
|
|
73
73
|
docile (~> 1.1)
|
|
@@ -77,8 +77,8 @@ GEM
|
|
|
77
77
|
sync (0.5.0)
|
|
78
78
|
term-ansicolor (1.7.1)
|
|
79
79
|
tins (~> 1.0)
|
|
80
|
-
thor (1.1
|
|
81
|
-
tins (1.
|
|
80
|
+
thor (1.2.1)
|
|
81
|
+
tins (1.31.0)
|
|
82
82
|
sync
|
|
83
83
|
unicode-display_width (2.1.0)
|
|
84
84
|
|
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.5
|
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.5
|
|
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: 2022-03-10 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,14 +108,12 @@ 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.
|
|
116
|
+
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.2.5
|
|
118
117
|
post_install_message:
|
|
119
118
|
rdoc_options: []
|
|
120
119
|
require_paths:
|
|
@@ -130,7 +129,7 @@ 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.
|
|
132
|
+
rubygems_version: 3.3.7
|
|
134
133
|
signing_key:
|
|
135
134
|
specification_version: 4
|
|
136
135
|
summary: mutils Utilities for rails app
|