mutils 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +11 -0
- data/.gitignore +1 -0
- data/.huskyrc +7 -0
- data/.travis.yml +13 -2
- data/CHANGELOG.md +8 -1
- data/Gemfile +6 -0
- data/Gemfile.lock +25 -0
- data/README.md +8 -4
- data/SECURITY.md +13 -0
- data/Version +1 -0
- data/commitlint.config.js +1 -0
- data/gemdeploy.sh +10 -0
- data/lib/mutils/version.rb +1 -1
- data/mutils.gemspec +1 -4
- data/package-lock.json +7157 -0
- data/package.json +94 -0
- metadata +12 -62
- data/.github/workflows/gempush.yml +0 -28
- data/.mergify.yml +0 -8
data/package.json
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
{
|
2
|
+
"name": "mutils-dev",
|
3
|
+
"version": "0.0.0",
|
4
|
+
"description": "used to install husky and commit lint",
|
5
|
+
"main": "index.js",
|
6
|
+
"repository": "git@github.com:Code-Vedas/mutils.git",
|
7
|
+
"author": "Nitesh Purohit <nitesh.purohit.it@gmail.com>",
|
8
|
+
"license": "MIT",
|
9
|
+
"private": true,
|
10
|
+
"devDependencies": {
|
11
|
+
"@commitlint/cli": "^9.1.1",
|
12
|
+
"@commitlint/config-angular": "^9.1.1",
|
13
|
+
"@semantic-release/changelog": "^5.0.1",
|
14
|
+
"@semantic-release/exec": "^5.0.0",
|
15
|
+
"@semantic-release/git": "^9.0.0",
|
16
|
+
"@semantic-release/github": "^7.0.7",
|
17
|
+
"husky": "^4.2.5",
|
18
|
+
"lint-staged": "^10.2.11",
|
19
|
+
"semantic-release": "^17.1.1"
|
20
|
+
},
|
21
|
+
"scripts": {
|
22
|
+
"copyfiles": "cp -r CHANGELOG.md dist/CHANGELOG.md && cp -r dist/package.json src/package.json",
|
23
|
+
"semantic-release": "semantic-release"
|
24
|
+
},
|
25
|
+
"lint-staged": {
|
26
|
+
"*.{rb}": [
|
27
|
+
"bundle exec rubocop lib"
|
28
|
+
]
|
29
|
+
},
|
30
|
+
"husky": {
|
31
|
+
"hooks": {
|
32
|
+
"pre-commit": "lint-staged",
|
33
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"release": {
|
37
|
+
"branch": "master",
|
38
|
+
"ci": false,
|
39
|
+
"verifyConditions": [
|
40
|
+
"@semantic-release/changelog",
|
41
|
+
"@semantic-release/git",
|
42
|
+
"@semantic-release/github"
|
43
|
+
],
|
44
|
+
"analyzeCommits": [
|
45
|
+
"@semantic-release/commit-analyzer"
|
46
|
+
],
|
47
|
+
"generateNotes": {
|
48
|
+
"path": "@semantic-release/release-notes-generator",
|
49
|
+
"preset": "angular",
|
50
|
+
"parserOpts": {
|
51
|
+
"noteKeywords": [
|
52
|
+
"BREAKING CHANGE",
|
53
|
+
"BREAKING CHANGES",
|
54
|
+
"BREAKING"
|
55
|
+
]
|
56
|
+
},
|
57
|
+
"writerOpts": {
|
58
|
+
"commitsSort": [
|
59
|
+
"scope",
|
60
|
+
"subject"
|
61
|
+
]
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"prepare": [
|
65
|
+
{
|
66
|
+
"path": "@semantic-release/changelog",
|
67
|
+
"changelogFile": "CHANGELOG.md"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"path": "@semantic-release/exec",
|
71
|
+
"cmd": "echo \"v${nextRelease.version}\" > Version"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"path": "@semantic-release/exec",
|
75
|
+
"cmd": "echo \"Deploying Version: $(cat Version)\""
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"path": "@semantic-release/exec",
|
79
|
+
"cmd": "./gemdeploy.sh"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"path": "@semantic-release/git",
|
83
|
+
"assets": [
|
84
|
+
"CHANGELOG.md",
|
85
|
+
"Version"
|
86
|
+
],
|
87
|
+
"message": "build(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"publish": [
|
91
|
+
"@semantic-release/github"
|
92
|
+
]
|
93
|
+
}
|
94
|
+
}
|
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.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nitesh Purohit
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: coveralls
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,48 +52,6 @@ dependencies:
|
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '13.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec-benchmark
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rspec-json_expectations
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
55
|
description: mutils Utilities for rails app
|
112
56
|
email:
|
113
57
|
- nitesh.purohit.it@gmail.com
|
@@ -121,9 +65,9 @@ files:
|
|
121
65
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
122
66
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
123
67
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
124
|
-
- ".github/
|
68
|
+
- ".github/dependabot.yml"
|
125
69
|
- ".gitignore"
|
126
|
-
- ".
|
70
|
+
- ".huskyrc"
|
127
71
|
- ".rspec"
|
128
72
|
- ".rubocop.yml"
|
129
73
|
- ".rubocop_todo.yml"
|
@@ -135,8 +79,12 @@ files:
|
|
135
79
|
- LICENSE.txt
|
136
80
|
- README.md
|
137
81
|
- Rakefile
|
82
|
+
- SECURITY.md
|
83
|
+
- Version
|
138
84
|
- bin/console
|
139
85
|
- bin/setup
|
86
|
+
- commitlint.config.js
|
87
|
+
- gemdeploy.sh
|
140
88
|
- lib/generators/mutils/USAGE
|
141
89
|
- lib/generators/mutils/serializer_generator.rb
|
142
90
|
- lib/generators/mutils/templates/serializer.rb.tt
|
@@ -155,12 +103,14 @@ files:
|
|
155
103
|
- lib/mutils/serialization/serialization_results.rb
|
156
104
|
- lib/mutils/version.rb
|
157
105
|
- mutils.gemspec
|
106
|
+
- package-lock.json
|
107
|
+
- package.json
|
158
108
|
homepage: https://github.com/code-vedas/mutils
|
159
109
|
licenses:
|
160
110
|
- MIT
|
161
111
|
metadata:
|
162
112
|
bug_tracker_uri: https://github.com/code-vedas/mutils/issues
|
163
|
-
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.0.
|
113
|
+
source_code_uri: https://github.com/code-vedas/mutils/tree/v1.0.1
|
164
114
|
post_install_message:
|
165
115
|
rdoc_options: []
|
166
116
|
require_paths:
|
@@ -176,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
126
|
- !ruby/object:Gem::Version
|
177
127
|
version: 1.8.11
|
178
128
|
requirements: []
|
179
|
-
rubygems_version: 3.0.
|
129
|
+
rubygems_version: 3.0.8
|
180
130
|
signing_key:
|
181
131
|
specification_version: 4
|
182
132
|
summary: mutils Utilities for rails app
|
@@ -1,28 +0,0 @@
|
|
1
|
-
name: Ruby Gem
|
2
|
-
on:
|
3
|
-
release:
|
4
|
-
types: ["created"]
|
5
|
-
|
6
|
-
jobs:
|
7
|
-
build:
|
8
|
-
name: Build + Publish
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up Ruby 2.6
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: 2.6.x
|
17
|
-
|
18
|
-
- name: Publish to RubyGems
|
19
|
-
run: |
|
20
|
-
mkdir -p $HOME/.gem
|
21
|
-
touch $HOME/.gem/credentials
|
22
|
-
chmod 0600 $HOME/.gem/credentials
|
23
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
24
|
-
gem build *.gemspec
|
25
|
-
gem push *.gem
|
26
|
-
env:
|
27
|
-
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
28
|
-
|