embed_callbacks 0.1.1 → 0.1.2

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: 57f1e7749e44b988e0f6b29c490f660a371450d730b4127f221c88fb4e5fa0ff
4
- data.tar.gz: 6ed35b660c5a759faf5604b854b7c1a5e64b9ed16255142e922fbadeb18342ff
3
+ metadata.gz: 990a9b6265950f2406a56fde7ab9da8577a995b8ee29fc63ea4b47c85c5e3660
4
+ data.tar.gz: 93c663f603dd6320b6e0a659e46e8587be2ab64eee4100fdcdf72235d74e6ba7
5
5
  SHA512:
6
- metadata.gz: 04d7081bf03e41b5f35e3c726807eb9409433532aec07fc7f4a0181621d2395bce3fdd9d1232864c5f21d332366f2790ac2a3d43962090c5d9022b3d5c5e95ca
7
- data.tar.gz: 44e748e38213072d6f01fc8bc4b38ab222875b4dedbc4b398eae155ba2d5d81893fd0466985ca3fea63a81601a177ee4fc61b370698a54b47b2a2b286f29c904
6
+ metadata.gz: 5638de8723e24c36cbca0c4e891f61fe31f4edaa4a5a11bda7ab27517342093d407c7d24d545bebb35d25de10003089391bee6ff04b4068943511d64c4f84c3f
7
+ data.tar.gz: 01fad0491691b400a5ab73435c1f9aa5512a8d3987172bb4834760306c9a7462bd2790cf3c16567582be5f04b6780d8c2acf50c06f3b7c5929585d546203491a
@@ -1,29 +1,18 @@
1
1
  name: Ruby Gem
2
2
 
3
3
  on:
4
- push:
5
- branches: [ main ]
4
+ release:
5
+ types: [published]
6
6
 
7
7
  jobs:
8
8
  build:
9
- name: Build + Publish
9
+ name: Publish
10
10
  runs-on: ubuntu-latest
11
-
12
11
  steps:
13
- - uses: actions/checkout@v2
14
- - name: Set up Ruby
15
- uses: actions/setup-ruby@v1
12
+ - uses: actions/checkout@v3
13
+ - uses: ruby/setup-ruby@v1
16
14
  with:
17
- ruby-version: 2.6.x
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
@@ -5,19 +5,23 @@ on:
5
5
 
6
6
  jobs:
7
7
  build:
8
- name: Rspec test
9
- runs-on: ubuntu-latest
8
+ name: RSpec test
10
9
 
11
10
  strategy:
11
+ fail-fast: false
12
12
  matrix:
13
- ruby: [ '2.7.x', '2.6.x', '2.5.x' ]
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@v2
19
+ - uses: actions/checkout@v3
17
20
  - name: Set up Ruby
18
- uses: actions/setup-ruby@v1
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: |
@@ -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.5.0")
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)/}) }
@@ -1,3 +1,3 @@
1
1
  module EmbedCallbacks
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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: 2020-08-26 00:00:00.000000000 Z
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-push.yml"
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.5.0
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.0.3
113
+ rubygems_version: 3.3.26
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Create a method callback.