bundler-rbs-collection 0.0.1
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 +7 -0
- data/bundler-rbs-collection.gemspec +26 -0
- data/plugins.rb +15 -0
- metadata +61 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: '09c7c19d81dae17db6c931d4268e28c449946feb16905537ff2eadbbc89ac7f9'
|
|
4
|
+
data.tar.gz: 190b33bd900287f5e417fd756cec7f72dea60ade2c7b5046f351b3076ed0ce5f
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 23d1181b0379c0a5b096be4255d27df903f3f0fb21d48e6ec7c56c04384ff2bd7b4cc3ed2b5b68bf51c911c388eaf0fc939aa4812de3cdce5d05c12362be59c5
|
|
7
|
+
data.tar.gz: 12167be0b9bfb0a3491c319150200a51c0428553cfa4d8bef0f20568a64d78cf91a4e3b806739c4fde48c8de46bd2527beb0c82d4325c9f289fccb11bf9ba43b
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |spec|
|
|
4
|
+
spec.name = 'bundler-rbs-collection'
|
|
5
|
+
spec.version = '0.0.1'
|
|
6
|
+
spec.authors = ['Yoshiyuki Hirano']
|
|
7
|
+
spec.email = ['yhirano@me.com']
|
|
8
|
+
spec.licenses = ['MIT']
|
|
9
|
+
|
|
10
|
+
spec.summary = 'Execute rbs collection command after bundle'
|
|
11
|
+
spec.homepage = 'https://github.com/yhirano55/bundler-rbs-collection'
|
|
12
|
+
spec.required_ruby_version = '>= 3.0.0'
|
|
13
|
+
|
|
14
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
15
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
|
16
|
+
|
|
17
|
+
spec.files = [
|
|
18
|
+
'bundler-rbs-collection.gemspec',
|
|
19
|
+
'plugins.rb',
|
|
20
|
+
]
|
|
21
|
+
spec.bindir = 'exe'
|
|
22
|
+
spec.executables = []
|
|
23
|
+
spec.require_paths = ['lib']
|
|
24
|
+
|
|
25
|
+
spec.add_dependency 'bundler', '>= 2.0'
|
|
26
|
+
end
|
data/plugins.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'bundler'
|
|
4
|
+
|
|
5
|
+
Bundler::Plugin.add_hook('after-install-all') do |_dependencies|
|
|
6
|
+
if ENV['BUNDLER_RBS_COLLECTION_UPDATE']
|
|
7
|
+
$stdout.puts 'Updating RBS collection...'
|
|
8
|
+
system('bundle exec rbs collection update')
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
if ENV['BUNDLER_RBS_COLLECTION_CLEAN']
|
|
12
|
+
$stdout.puts 'Cleaning RBS collection...'
|
|
13
|
+
system('bundle exec rbs collection clean')
|
|
14
|
+
end
|
|
15
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: bundler-rbs-collection
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Yoshiyuki Hirano
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '2.0'
|
|
27
|
+
description:
|
|
28
|
+
email:
|
|
29
|
+
- yhirano@me.com
|
|
30
|
+
executables: []
|
|
31
|
+
extensions: []
|
|
32
|
+
extra_rdoc_files: []
|
|
33
|
+
files:
|
|
34
|
+
- bundler-rbs-collection.gemspec
|
|
35
|
+
- plugins.rb
|
|
36
|
+
homepage: https://github.com/yhirano55/bundler-rbs-collection
|
|
37
|
+
licenses:
|
|
38
|
+
- MIT
|
|
39
|
+
metadata:
|
|
40
|
+
allowed_push_host: https://rubygems.org
|
|
41
|
+
homepage_uri: https://github.com/yhirano55/bundler-rbs-collection
|
|
42
|
+
post_install_message:
|
|
43
|
+
rdoc_options: []
|
|
44
|
+
require_paths:
|
|
45
|
+
- lib
|
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: 3.0.0
|
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '0'
|
|
56
|
+
requirements: []
|
|
57
|
+
rubygems_version: 3.3.26
|
|
58
|
+
signing_key:
|
|
59
|
+
specification_version: 4
|
|
60
|
+
summary: Execute rbs collection command after bundle
|
|
61
|
+
test_files: []
|