synclenote 0.1.1 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6842ad72e5f7f899d1b5d962b8af0db7cae65c99e16693cedd43de396b51c529
4
- data.tar.gz: 296010bb3a8b526e43a49986314076bb85be2cd9a7c2cade2fd4a50eb6cf361f
3
+ metadata.gz: 900f9db6e130be92d726c2459420a67429c8dc2d13fe84570da3264524d2c3ae
4
+ data.tar.gz: 413b9363fc6e5fbea345fd9de2c5133ae32ddeded06d2f232c6876ad2e73605b
5
5
  SHA512:
6
- metadata.gz: b64e8832799ca114404b838d28fb159d4730072041caf405601d372ada55a25816741486cdcc864e89b4ea8c500a7b4de640d7f5bf26d1c01c4abc5a3beddc92
7
- data.tar.gz: 7f1a3179d818e0fcff4e3174ce66d517d05e87ed8f31447cbaaa6c80e6ef2888501286c315107ca7050e380fb8be94d1ccd8252a749c0897fda393a89d472821
6
+ metadata.gz: b48f5df082c858e2c75d10875230ca0b1634e70142bcd30f57cd854610eee2949a6979c6f5aa5ddf407eea04c6a3c29c96ac1608a2f040cf5e9d002b483e9650
7
+ data.tar.gz: a728a2ca1065118102be77ae7d1c132f99e6a6a4010e638fda581d3781b34535d42265f7f55344f9578145c7c77ccf3bbe6a3d8a29b396232e23ba8aa8a06384
@@ -18,6 +18,14 @@ jobs:
18
18
  - 3.3
19
19
  - 3.2
20
20
  - 3.1
21
+ # ?? HELP-ME: ad-hoc fix for ruby-3.2.3 on macOS.
22
+ # https://github.com/nishidayuya/synclenote/actions/runs/7595239023/job/20687581036
23
+ exclude:
24
+ - os: macos
25
+ ruby_version: 3.2
26
+ include:
27
+ - os: macos
28
+ ruby_version: 3.2.2
21
29
  runs-on: ${{ matrix.os }}-latest
22
30
  steps:
23
31
  - uses: actions/checkout@v3
@@ -37,17 +45,25 @@ jobs:
37
45
  - name: Install dependencies
38
46
  shell: bash
39
47
  run: |
40
- set -eux
48
+ set -eux -o pipefail
41
49
  gem update --system
42
50
  bundle config path vendor/bundle
43
51
  bundle install --jobs "${{ steps.system-info.outputs.cpu-core }}" --retry 3
44
52
  - name: Run tests
45
- run: bundle exec rake
53
+ run: bundle exec rake test
54
+ - name: Run command help
55
+ shell: bash
56
+ run: |
57
+ set -eux -o pipefail
58
+ version=$(ruby -r./lib/synclenote/version -e 'puts(Synclenote::VERSION)')
59
+ bundle exec rake build
60
+ gem install pkg/synclenote-$version.gem
61
+ synclenote help
46
62
  - name: Output versions
47
63
  if: always()
48
64
  shell: bash
49
65
  run: |
50
- set -eux
66
+ set -eux -o pipefail
51
67
  run_if_exist() {
52
68
  if test "x$(which $1)" != "x"
53
69
  then
data/exe/synclenote CHANGED
@@ -1,5 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
2
 
3
- require "synclenote/command"
3
+ require "synclenote"
4
4
 
5
5
  Synclenote::Command.start
@@ -1,3 +1,3 @@
1
1
  module Synclenote
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/synclenote.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require "pathname"
2
+
1
3
  # This module is a namespace for this gem.
2
4
  module Synclenote
3
5
  DRY_RUN = false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synclenote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya.Nishida.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-18 00:00:00.000000000 Z
11
+ date: 2024-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64