mutils 0.2.37 → 1.1.2

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.
@@ -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": "^11.0.0",
12
+ "@commitlint/config-angular": "^11.0.0",
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.1.1",
17
+ "husky": "^4.3.0",
18
+ "lint-staged": "^10.4.0",
19
+ "semantic-release": "^17.1.2"
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: 0.2.37
4
+ version: 1.1.2
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-04-15 00:00:00.000000000 Z
11
+ date: 2020-10-15 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,34 +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-json_expectations
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
55
  description: mutils Utilities for rails app
98
56
  email:
99
57
  - nitesh.purohit.it@gmail.com
@@ -107,9 +65,9 @@ files:
107
65
  - ".github/ISSUE_TEMPLATE/bug_report.md"
108
66
  - ".github/ISSUE_TEMPLATE/feature_request.md"
109
67
  - ".github/PULL_REQUEST_TEMPLATE.md"
110
- - ".github/workflows/gempush.yml"
68
+ - ".github/dependabot.yml"
111
69
  - ".gitignore"
112
- - ".mergify.yml"
70
+ - ".huskyrc"
113
71
  - ".rspec"
114
72
  - ".rubocop.yml"
115
73
  - ".rubocop_todo.yml"
@@ -119,28 +77,40 @@ files:
119
77
  - Gemfile
120
78
  - Gemfile.lock
121
79
  - LICENSE.txt
122
- - Makefile
123
80
  - README.md
124
81
  - Rakefile
82
+ - SECURITY.md
83
+ - Version
125
84
  - bin/console
126
85
  - bin/setup
86
+ - commitlint.config.js
87
+ - gemdeploy.sh
127
88
  - lib/generators/mutils/USAGE
128
89
  - lib/generators/mutils/serializer_generator.rb
129
90
  - lib/generators/mutils/templates/serializer.rb.tt
130
91
  - lib/mutils.rb
131
92
  - lib/mutils/lib/helper.rb
93
+ - lib/mutils/lib/result_hash.rb
132
94
  - lib/mutils/serialization/base_serializer.rb
95
+ - lib/mutils/serialization/methods/attributes.rb
96
+ - lib/mutils/serialization/methods/main.rb
97
+ - lib/mutils/serialization/methods/relations.rb
98
+ - lib/mutils/serialization/results/attributes.rb
99
+ - lib/mutils/serialization/results/main.rb
100
+ - lib/mutils/serialization/results/relations.rb
133
101
  - lib/mutils/serialization/serialization_includes.rb
134
102
  - lib/mutils/serialization/serialization_methods.rb
135
103
  - lib/mutils/serialization/serialization_results.rb
136
104
  - lib/mutils/version.rb
137
105
  - mutils.gemspec
106
+ - package-lock.json
107
+ - package.json
138
108
  homepage: https://github.com/code-vedas/mutils
139
109
  licenses:
140
110
  - MIT
141
111
  metadata:
142
112
  bug_tracker_uri: https://github.com/code-vedas/mutils/issues
143
- source_code_uri: https://github.com/code-vedas/mutils/tree/v0.2.37
113
+ source_code_uri: https://github.com/code-vedas/mutils/tree/v1.1.2
144
114
  post_install_message:
145
115
  rdoc_options: []
146
116
  require_paths:
@@ -156,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
126
  - !ruby/object:Gem::Version
157
127
  version: 1.8.11
158
128
  requirements: []
159
- rubygems_version: 3.0.3
129
+ rubygems_version: 3.0.8
160
130
  signing_key:
161
131
  specification_version: 4
162
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
-
@@ -1,8 +0,0 @@
1
- pull_request_rules:
2
- - name: automatic approve for Owner
3
- conditions:
4
- - author=niteshpurohit
5
- - status-success=Travis CI - Pull Request
6
- actions:
7
- review:
8
- message: 'LGTM'
data/Makefile DELETED
@@ -1,8 +0,0 @@
1
- changelog:
2
- github_changelog_generator --user niteshpurohit --project mutils
3
- build:
4
- bundle exec rake build
5
- release: build
6
- git add .
7
- git commit -am '$(MESSAGE)'
8
- bundle exec rake release