dopstick 0.0.8 โ†’ 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88e28fc1753aaa4198ed8021100c401d532d1574daaa5017953ea00b8794ac74
4
- data.tar.gz: d5fd3840b247b6bb1d8b4e2a1780a71e9fda02a887433290e0f50100902fc594
3
+ metadata.gz: 2aa86046c2695bb53d268387e84b64eaef271b4a84c7dc3063fd348e9cf468f1
4
+ data.tar.gz: dbb91f6abd2288002e101c5381674832302bca07ab95c51f6f4ef37a3ddd66bc
5
5
  SHA512:
6
- metadata.gz: 13785048ac2360a3237879f43c723b1a7663f826fe4ec3448aa1af36be3c7265debbd23a0fee5401a2b7032eda383e6fda118c39a49e9ea6f9288104cdaa2220
7
- data.tar.gz: 5e5db46af35eabcea97fadae738235ec38a155e372066ee3deb0eaa7ce0c9fbeaf5e71fdb787141ff989c256f6eac00f59617517884f23af461f958c2334ee5f
6
+ metadata.gz: e023d152354956c4d8649b067a480df1c055314d90c17b45f2e859948eed11d5d4412adb7f328c2908fb360b950008f122f5efb12ff7f4a06b27e5b878d4ec4e
7
+ data.tar.gz: ec155594ae994bc9989f1ae12f4e09fbb06039058145592ab4f17a64d9f5564097c56f726a0d1c743f2111450308ac08ea9085f82d4d817115f7d2c7bf3a8191
@@ -1,4 +1,4 @@
1
1
  # These are supported funding model platforms
2
-
2
+ ---
3
3
  github: [<%= options.github_user %>]
4
4
  custom: ["https://paypal.me/<%= options.paypal_user %>/๐Ÿ•"]
@@ -0,0 +1,5 @@
1
+ ---
2
+ contact_links:
3
+ - name: "๐Ÿคจ Q&A"
4
+ url: <%= options.github_url %>/discussions/new?category=q-a
5
+ about: Have a question? Ask it away here!
@@ -51,6 +51,8 @@ module Dopstick
51
51
  template "feature_request.erb",
52
52
  ".github/ISSUE_TEMPLATE/feature_request.md"
53
53
  template "pull_request.erb", ".github/PULL_REQUEST_TEMPLATE.md"
54
+ template "issue_template_config.erb",
55
+ ".github/ISSUE_TEMPLATE/config.yml"
54
56
  template "dependabot.erb", ".github/dependabot.yml"
55
57
  template "codeowners.erb", ".github/CODEOWNERS"
56
58
  end
@@ -1,9 +1,9 @@
1
1
  # <%= options.package_name %>
2
2
 
3
3
  [![Tests](<%= options.github_url %>/workflows/ruby-tests/badge.svg)](https://github.com/fnando/<%= options.package_name %>)
4
- [![Code Climate](https://codeclimate.com/github/<%= options.github_user %>/<%= options.package_name %>/badges/gpa.svg)](https://codeclimate.com/github/<%= options.github_user %>/<%= options.package_name %>)
5
4
  [![Gem](https://img.shields.io/gem/v/<%= options.package_name %>.svg)](https://rubygems.org/gems/<%= options.package_name %>)
6
5
  [![Gem](https://img.shields.io/gem/dt/<%= options.package_name %>.svg)](https://rubygems.org/gems/<%= options.package_name %>)
6
+ [![MIT License](https://img.shields.io/:License-MIT-blue.svg)](https://tldrlegal.com/license/mit-license)
7
7
 
8
8
  <%= options.description %>
9
9
 
@@ -5,6 +5,9 @@ inherit_gem:
5
5
  AllCops:
6
6
  TargetRubyVersion: <%= options.oldest_ruby_version.split(".").take(2).join(".") %>
7
7
  NewCops: enable
8
+ Exclude:
9
+ - vendor/**/*
10
+ - gemfiles/**/*
8
11
  <%- if options.package_name.include?("-") -%>
9
12
  Naming/FileName:
10
13
  Exclude:
@@ -67,8 +67,10 @@ jobs:
67
67
 
68
68
  - name: Run Tests
69
69
  env:
70
+ BUNDLE_GEMFILE: ${{ matrix.gemfile }}
71
+ <%- if options.active_record? -%>
70
72
  PGHOST: localhost
71
73
  PGUSER: postgres
72
- BUNDLE_GEMFILE: ${{ matrix.gemfile }}
74
+ <%- end -%>
73
75
  run: |
74
76
  bundle exec rake
@@ -30,7 +30,6 @@ module Dopstick
30
30
 
31
31
  def copy_npm_templates
32
32
  template "package.erb", "package.json"
33
- template "tests_workflow.erb", ".github/workflows/js-tests.yml"
34
33
  template "tsconfig.erb", "tsconfig.json"
35
34
  template "prettier.erb", "prettier.config.js"
36
35
  template "jest.erb", "jest.config.js"
@@ -51,11 +50,14 @@ module Dopstick
51
50
  end
52
51
 
53
52
  def copy_github_templates
53
+ template "tests_workflow.erb", ".github/workflows/js-tests.yml"
54
54
  template "funding.erb", ".github/FUNDING.yml"
55
55
  template "bug_report.erb", ".github/ISSUE_TEMPLATE/bug_report.md"
56
56
  template "feature_request.erb",
57
57
  ".github/ISSUE_TEMPLATE/feature_request.md"
58
58
  template "pull_request.erb", ".github/PULL_REQUEST_TEMPLATE.md"
59
+ template "issue_template_config.erb",
60
+ ".github/ISSUE_TEMPLATE/config.yml"
59
61
  template "dependabot.erb", ".github/dependabot.yml"
60
62
  template "codeowners.erb", ".github/CODEOWNERS"
61
63
  end
@@ -71,6 +73,7 @@ module Dopstick
71
73
  @fnando/eslint-config-codestyle
72
74
  @typescript-eslint/eslint-plugin
73
75
  @typescript-eslint/parser
76
+ @types/jest
74
77
  babel-loader
75
78
  babel-plugin-module-resolver
76
79
  eslint
@@ -1,9 +1,9 @@
1
1
  # <%= options.package_name %>
2
2
 
3
- [![Tests](<%= options.github_url %>/workflows/node-tests/badge.svg)](https://github.com/fnando/<%= options.package_name %>)
4
- [![Code Climate](https://codeclimate.com/github/<%= options.github_user %>/<%= options.package_name %>/badges/gpa.svg)](https://codeclimate.com/github/<%= options.github_user %>/<%= options.package_name %>)
5
- [![NPM](https://img.shields.io/npm/v/<%= options.package_name %>.svg)](https://npmjs.org/packages/<%= options.package_name %>)
6
- [![NPM](https://img.shields.io/npm/dt/<%= options.package_name %>.svg)](https://npmjs.org/packages/<%= options.package_name %>)
3
+ [![Tests](<%= options.github_url %>/workflows/js-tests/badge.svg)](https://github.com/fnando/<%= options.package_name %>)
4
+ [![NPM](https://img.shields.io/npm/v/<%= options.package_name %>.svg)](https://npmjs.org/package/<%= options.package_name %>)
5
+ [![NPM](https://img.shields.io/npm/dt/<%= options.package_name %>.svg)](https://npmjs.org/package/<%= options.package_name %>)
6
+ [![MIT License](https://img.shields.io/:License-MIT-blue.svg)](https://tldrlegal.com/license/mit-license)
7
7
 
8
8
  <%= options.description %>
9
9
 
@@ -23,7 +23,7 @@ yarn add <%= options.package_name %>
23
23
 
24
24
  ## Usage
25
25
 
26
- TODO: Write gem usage
26
+ TODO: Write package usage
27
27
 
28
28
  ## Maintainer
29
29
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: node-tests
2
+ name: js-tests
3
3
 
4
4
  on:
5
5
  pull_request_target:
@@ -28,7 +28,7 @@ jobs:
28
28
  with:
29
29
  path: vendor/bundle
30
30
  key: >
31
- ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles("package.json") }}
31
+ ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles('package.json') }}
32
32
 
33
33
  - name: Set up Node
34
34
  uses: actions/setup-node@v2-beta
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dopstick
4
- VERSION = "0.0.8"
4
+ VERSION = "0.0.12"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dopstick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-01 00:00:00.000000000 Z
11
+ date: 2022-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -164,6 +164,7 @@ files:
164
164
  - lib/dopstick/generator/base/templates/funding.erb
165
165
  - lib/dopstick/generator/base/templates/gitignore.erb
166
166
  - lib/dopstick/generator/base/templates/issue.erb
167
+ - lib/dopstick/generator/base/templates/issue_template_config.erb
167
168
  - lib/dopstick/generator/base/templates/license.erb
168
169
  - lib/dopstick/generator/base/templates/pull_request.erb
169
170
  - lib/dopstick/generator/base/templates/setup.erb
@@ -210,10 +211,10 @@ metadata:
210
211
  rubygems_mfa_required: 'true'
211
212
  homepage_uri: https://github.com/fnando/dopstick
212
213
  bug_tracker_uri: https://github.com/fnando/dopstick/issues
213
- source_code_uri: https://github.com/fnando/dopstick/tree/v0.0.8
214
- changelog_uri: https://github.com/fnando/dopstick/tree/v0.0.8/CHANGELOG.md
215
- documentation_uri: https://github.com/fnando/dopstick/tree/v0.0.8/README.md
216
- license_uri: https://github.com/fnando/dopstick/tree/v0.0.8/LICENSE.md
214
+ source_code_uri: https://github.com/fnando/dopstick/tree/v0.0.12
215
+ changelog_uri: https://github.com/fnando/dopstick/tree/v0.0.12/CHANGELOG.md
216
+ documentation_uri: https://github.com/fnando/dopstick/tree/v0.0.12/README.md
217
+ license_uri: https://github.com/fnando/dopstick/tree/v0.0.12/LICENSE.md
217
218
  post_install_message:
218
219
  rdoc_options: []
219
220
  require_paths: