embed_callbacks 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 990a9b6265950f2406a56fde7ab9da8577a995b8ee29fc63ea4b47c85c5e3660
|
4
|
+
data.tar.gz: 93c663f603dd6320b6e0a659e46e8587be2ab64eee4100fdcdf72235d74e6ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5638de8723e24c36cbca0c4e891f61fe31f4edaa4a5a11bda7ab27517342093d407c7d24d545bebb35d25de10003089391bee6ff04b4068943511d64c4f84c3f
|
7
|
+
data.tar.gz: 01fad0491691b400a5ab73435c1f9aa5512a8d3987172bb4834760306c9a7462bd2790cf3c16567582be5f04b6780d8c2acf50c06f3b7c5929585d546203491a
|
@@ -1,29 +1,18 @@
|
|
1
1
|
name: Ruby Gem
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
5
|
-
|
4
|
+
release:
|
5
|
+
types: [published]
|
6
6
|
|
7
7
|
jobs:
|
8
8
|
build:
|
9
|
-
name:
|
9
|
+
name: Publish
|
10
10
|
runs-on: ubuntu-latest
|
11
|
-
|
12
11
|
steps:
|
13
|
-
- uses: actions/checkout@
|
14
|
-
-
|
15
|
-
uses: actions/setup-ruby@v1
|
12
|
+
- uses: actions/checkout@v3
|
13
|
+
- uses: ruby/setup-ruby@v1
|
16
14
|
with:
|
17
|
-
ruby-version:
|
18
|
-
|
19
|
-
- name: Install dependencies
|
20
|
-
run: |
|
21
|
-
gem install bundler --no-document
|
22
|
-
bundle install
|
23
|
-
|
24
|
-
- name: Run test
|
25
|
-
run: bundle exec rspec spec
|
26
|
-
|
15
|
+
ruby-version: '3.1'
|
27
16
|
- name: Publish to RubyGems
|
28
17
|
run: |
|
29
18
|
mkdir -p $HOME/.gem
|
data/.github/workflows/test.yml
CHANGED
@@ -5,19 +5,23 @@ on:
|
|
5
5
|
|
6
6
|
jobs:
|
7
7
|
build:
|
8
|
-
name:
|
9
|
-
runs-on: ubuntu-latest
|
8
|
+
name: RSpec test
|
10
9
|
|
11
10
|
strategy:
|
11
|
+
fail-fast: false
|
12
12
|
matrix:
|
13
|
-
|
13
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
14
|
+
ruby: [ '2.6', '2.7', '3.0', '3.1' ]
|
15
|
+
|
16
|
+
runs-on: ${{ matrix.os }}
|
14
17
|
|
15
18
|
steps:
|
16
|
-
- uses: actions/checkout@
|
19
|
+
- uses: actions/checkout@v3
|
17
20
|
- name: Set up Ruby
|
18
|
-
uses:
|
21
|
+
uses: ruby/setup-ruby@v1
|
19
22
|
with:
|
20
23
|
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
21
25
|
|
22
26
|
- name: Install dependencies
|
23
27
|
run: |
|
data/embed_callbacks.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.description = %q{Whenever you want to add a callback, you can easily incorporate the process.\n }
|
11
11
|
spec.homepage = "https://github.com/hotoolong/embed_callbacks"
|
12
12
|
spec.license = "MIT"
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
|
14
14
|
|
15
15
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
16
16
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embed_callbacks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hotoolong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -74,7 +74,7 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
-
- ".github/workflows/gem-
|
77
|
+
- ".github/workflows/gem-publish.yml"
|
78
78
|
- ".github/workflows/test.yml"
|
79
79
|
- ".gitignore"
|
80
80
|
- ".rspec"
|
@@ -103,14 +103,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
103
|
requirements:
|
104
104
|
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: 2.
|
106
|
+
version: 2.6.0
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
|
-
rubygems_version: 3.
|
113
|
+
rubygems_version: 3.3.26
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Create a method callback.
|