dopstick 0.0.7 → 0.0.8

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: 32408bef26c9cac4f69fd929fa86a84c0ad7eab9528573f649c720d57c1b7e7d
4
- data.tar.gz: e412045ce7e9ea82ecd9bdbd74fa7863be86a62aac87ebdf397104e34c85a0b5
3
+ metadata.gz: 88e28fc1753aaa4198ed8021100c401d532d1574daaa5017953ea00b8794ac74
4
+ data.tar.gz: d5fd3840b247b6bb1d8b4e2a1780a71e9fda02a887433290e0f50100902fc594
5
5
  SHA512:
6
- metadata.gz: 90f33a149c994f693d5fce46ee19de6f7656d28378bd1147fc572010f630ec8b9ca06c2f4bdc8c34163525a5ad58760de72e00c06b9337f56d646ae7139b9b76
7
- data.tar.gz: aeca3ecf5d6324b50139f1461b760769ae11015430078d8c72ff25e8f3a3436ea7ffdb3fe952b7d29ef097b6b6788c5ce7f093978cea3be0fcb4f875fe28b50d
6
+ metadata.gz: 13785048ac2360a3237879f43c723b1a7663f826fe4ec3448aa1af36be3c7265debbd23a0fee5401a2b7032eda383e6fda118c39a49e9ea6f9288104cdaa2220
7
+ data.tar.gz: 5e5db46af35eabcea97fadae738235ec38a155e372066ee3deb0eaa7ce0c9fbeaf5e71fdb787141ff989c256f6eac00f59617517884f23af461f958c2334ee5f
data/lib/dopstick/cli.rb CHANGED
@@ -48,7 +48,7 @@ module Dopstick
48
48
  desc: "Set the codebase namespace. By default, it's inferred from " \
49
49
  "the gem name."
50
50
  option :ruby_versions,
51
- default: %w[2.7 3.0],
51
+ default: %w[2.7 3.0 3.1],
52
52
  type: :array,
53
53
  desc: "Set Ruby versions that are officially supported. Multiple " \
54
54
  "versions must separated by space."
@@ -1,8 +1,11 @@
1
+ ---
1
2
  name: ruby-tests
2
3
 
3
4
  on:
4
- pull_request:
5
+ pull_request_target:
5
6
  push:
7
+ branches:
8
+ - main
6
9
  workflow_dispatch:
7
10
  inputs: {}
8
11
 
@@ -10,6 +13,9 @@ jobs:
10
13
  build:
11
14
  name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }}
12
15
  runs-on: "ubuntu-latest"
16
+ if: |
17
+ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target' ||
18
+ github.actor != 'dependabot[bot]'
13
19
  strategy:
14
20
  fail-fast: false
15
21
  matrix:
@@ -35,8 +41,6 @@ jobs:
35
41
  path: vendor/bundle
36
42
  key: >
37
43
  ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }}
38
- restore-keys: >
39
- ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }}
40
44
 
41
45
  - name: Set up Ruby
42
46
  uses: ruby/setup-ruby@v1
@@ -1,23 +1,21 @@
1
+ ---
1
2
  name: node-tests
2
3
 
3
4
  on:
4
- pull_request:
5
- branches:
6
- - main
5
+ pull_request_target:
7
6
  push:
8
7
  branches:
9
8
  - main
10
-
11
- schedule:
12
- - cron: "0 10 * * *"
13
-
14
9
  workflow_dispatch:
15
- inputs: {}
10
+ inputs: {}
16
11
 
17
12
  jobs:
18
13
  build:
19
14
  name: Tests with Node ${{ matrix.node }}
20
15
  runs-on: "ubuntu-latest"
16
+ if: |
17
+ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target' ||
18
+ github.actor != 'dependabot[bot]'
21
19
  strategy:
22
20
  fail-fast: false
23
21
  matrix:
@@ -31,8 +29,6 @@ jobs:
31
29
  path: vendor/bundle
32
30
  key: >
33
31
  ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles("package.json") }}
34
- restore-keys: >
35
- ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles("package.json") }}
36
32
 
37
33
  - name: Set up Node
38
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.7"
4
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-05 00:00:00.000000000 Z
11
+ date: 2022-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -210,10 +210,10 @@ metadata:
210
210
  rubygems_mfa_required: 'true'
211
211
  homepage_uri: https://github.com/fnando/dopstick
212
212
  bug_tracker_uri: https://github.com/fnando/dopstick/issues
213
- source_code_uri: https://github.com/fnando/dopstick/tree/v0.0.7
214
- changelog_uri: https://github.com/fnando/dopstick/tree/v0.0.7/CHANGELOG.md
215
- documentation_uri: https://github.com/fnando/dopstick/tree/v0.0.7/README.md
216
- license_uri: https://github.com/fnando/dopstick/tree/v0.0.7/LICENSE.md
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
217
217
  post_install_message:
218
218
  rdoc_options: []
219
219
  require_paths:
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.2.32
232
+ rubygems_version: 3.3.3
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Generate a project skeleton for creating a Ruby/NPM package.