executable-hooks 1.4.1 → 1.4.2
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.
- data/.travis.yml +2 -0
- data/CHANGELOG.md +5 -0
- data/lib/executable-hooks/version.rb +1 -1
- data/lib/executable-hooks/wrapper.rb +1 -1
- data/lib/rubygems_plugin.rb +4 -1
- metadata +4 -4
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/rubygems_plugin.rb
CHANGED
|
@@ -13,7 +13,10 @@ if
|
|
|
13
13
|
|
|
14
14
|
# Set the custom_shebang if user did not set one
|
|
15
15
|
Gem.pre_install do |gem_installer|
|
|
16
|
-
|
|
16
|
+
options = if gem_installer.methods.map(&:to_s).include?('options')
|
|
17
|
+
gem_installer.options
|
|
18
|
+
end
|
|
19
|
+
ExecutableHooks::Wrapper.new(options).install
|
|
17
20
|
end
|
|
18
21
|
|
|
19
22
|
if Gem::Version.new(Gem::VERSION) < Gem::Version.new('2.0') then
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: executable-hooks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 3
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 1.4.
|
|
9
|
+
- 2
|
|
10
|
+
version: 1.4.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Michal Papis
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2018-02-
|
|
18
|
+
date: 2018-02-14 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|