rys-bundler 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rys/bundler/version.rb +1 -1
- data/plugins.rb +24 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2670ca4aca40e3b2b13b97acb9c7c01295f460f5abbe3c0c1b5c63b07da1800
|
4
|
+
data.tar.gz: 1889802bcdbb2d1c720454f4605c0d74ff14cfe2043aa2aad32bb2b2d6aae5e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92edffa739b992e719ef7b7600e99a90d3b124f3ea690a9a0fa17a9e40880a3b96ab2931ab2c480b23f16e38d47e56e89543afce8c7d04165f8b0d0991f1b784
|
7
|
+
data.tar.gz: c45365015105a65868abc68e83f6de6f5fc99209ab7585570455c7d49cc68101b34d24ae76a45156d89dff3cb0cb82b5272f17e2ac8966e1436626370af28a37
|
data/lib/rys/bundler/version.rb
CHANGED
data/plugins.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
$:.push File.expand_path('lib', __dir__)
|
2
|
+
require 'rys/bundler'
|
3
|
+
|
4
|
+
# Commands
|
5
|
+
Bundler::Plugin.add_command('rys', Rys::Bundler::Command)
|
6
|
+
|
7
|
+
# Hooks
|
8
|
+
Bundler::Plugin.add_hook('before-install-all') do |dependencies|
|
9
|
+
Rys::Bundler::Hooks.before_install_all(dependencies)
|
10
|
+
end
|
11
|
+
|
12
|
+
# Because of bundler >= 1.17
|
13
|
+
if defined?(Bundler::Plugin::Events)
|
14
|
+
Bundler::Plugin::Events.send(:define, :RYS_GEMFILE, 'rys-gemfile')
|
15
|
+
Bundler::Plugin::Events.send(:define, :RYS_LOAD_DUMMY, 'rys-load-dummy')
|
16
|
+
end
|
17
|
+
|
18
|
+
Bundler::Plugin.add_hook('rys-gemfile') do |dsl|
|
19
|
+
Rys::Bundler::Hooks.rys_gemfile(dsl)
|
20
|
+
end
|
21
|
+
|
22
|
+
Bundler::Plugin.add_hook('rys-load-dummy') do |dsl|
|
23
|
+
Rys::Bundler::Hooks.rys_load_dummy(dsl)
|
24
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rys-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Moravčík
|
@@ -42,6 +42,7 @@ files:
|
|
42
42
|
- lib/rys/bundler/commands/build_local.rb
|
43
43
|
- lib/rys/bundler/hooks.rb
|
44
44
|
- lib/rys/bundler/version.rb
|
45
|
+
- plugins.rb
|
45
46
|
homepage:
|
46
47
|
licenses: []
|
47
48
|
metadata: {}
|