rexer 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rexer/extension/plugin.rb +8 -0
- data/lib/rexer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8deb1f0e6b437141c6bc838cf954ee5520cbc44d9aca368060c99a4e7ce17bf2
|
4
|
+
data.tar.gz: cf110fb2a483dda81792c355e5fb8e83388bcf2b1a5ff177e764a16e423fb3ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e82d4c4bcda8901a8a44b1f9e3db8d4401f2e45781763f072fa6aea8eb75532cb3223d31b051fabee4f5afe4e53def13baa2df8d2c731aa7dee740c6548ac19
|
7
|
+
data.tar.gz: 0cdd7fa7759a3e94376b2539bef039c8ee5525b7c0358e8f19ab1409f5ff7946adf692f432c9bd862cb917ff7ab5b1661f0605d98b25f32a1ef4df75ddaf86a9
|
@@ -51,6 +51,7 @@ module Rexer
|
|
51
51
|
return if plugin_exists?
|
52
52
|
|
53
53
|
load_from_source
|
54
|
+
run_bundle_install
|
54
55
|
run_db_migrate
|
55
56
|
hooks[:installed]&.call
|
56
57
|
end
|
@@ -60,6 +61,13 @@ module Rexer
|
|
60
61
|
def load_from_source
|
61
62
|
source.load(plugin_dir.to_s)
|
62
63
|
end
|
64
|
+
|
65
|
+
def run_bundle_install
|
66
|
+
return unless plugin_dir.join("Gemfile").exist?
|
67
|
+
|
68
|
+
_, error, status = Open3.capture3("bundle install")
|
69
|
+
raise error unless status.success?
|
70
|
+
end
|
63
71
|
end
|
64
72
|
|
65
73
|
class Uninstaller < Base
|
data/lib/rexer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katsuya Hidaka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|