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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c463d41d628123e4c1e09b444a903076cd13fda6436c2a25c9ef6ff3594cae5f
4
- data.tar.gz: 3c4ee5081c2789809bcb9359a5253c6b135d700174c27d75229538b082a48e02
3
+ metadata.gz: d2670ca4aca40e3b2b13b97acb9c7c01295f460f5abbe3c0c1b5c63b07da1800
4
+ data.tar.gz: 1889802bcdbb2d1c720454f4605c0d74ff14cfe2043aa2aad32bb2b2d6aae5e1
5
5
  SHA512:
6
- metadata.gz: f7d2a5463ec8bd83f2465726ef929ab6c5b697b4a4f1465ea0eb9497ea6d9a2c98ab38a36c46d2b17fd2aca5f260f3fcecf6ec0af56ab1c8d4cc01df0b4eacea
7
- data.tar.gz: 6fefbbd224b6b032ee867423b1b09ddedff97713fc84246a957bd289b9ba53a2f9b8a3bbd5fc11dc665999c44ad4c49dbb690226b7e65a8722c421f85d98331f
6
+ metadata.gz: 92edffa739b992e719ef7b7600e99a90d3b124f3ea690a9a0fa17a9e40880a3b96ab2931ab2c480b23f16e38d47e56e89543afce8c7d04165f8b0d0991f1b784
7
+ data.tar.gz: c45365015105a65868abc68e83f6de6f5fc99209ab7585570455c7d49cc68101b34d24ae76a45156d89dff3cb0cb82b5272f17e2ac8966e1436626370af28a37
@@ -1,5 +1,5 @@
1
1
  module Rys
2
2
  module Bundler
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
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.1
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: {}