executable-hooks 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +16 -0
- data/bin/ruby_executable_hooks +2 -3
- data/executable-hooks.gemspec +1 -0
- data/lib/executable-hooks/hooks.rb +9 -1
- data/lib/executable-hooks/version.rb +1 -1
- metadata +11 -32
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 69412fd8810cd9d98e05fc9f4a472e29b3a9f490
|
4
|
+
data.tar.gz: 41089f2341d884877e8fa40e81a95665df1be0b9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 53ab4017aec27a4715001b63b6f33bd58ab31ed63788478a6adffba7adcc79e61b64ee4a29a485c4c658218cbd70bf2bb1976899852c8fa0b1a2f7ae9cdcc140
|
7
|
+
data.tar.gz: 97e380b67726c552bd285a43ae5909c0db2f6fb418737bc0df148c26c78868c4495a65e1f320be2a8f39a28614dcd2aa64bf57eb3c1f03a88102df4e7d8bd76b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.2.0
|
4
|
+
date: 2013-09-17
|
5
|
+
|
6
|
+
- fix full program name with params, fix #5
|
7
|
+
- RG 2.1 introduces find_latest_files
|
8
|
+
- add license to gemspec, fix #4
|
9
|
+
|
10
|
+
## 1.1.0
|
11
|
+
date: 2013-07-11
|
12
|
+
|
13
|
+
- fix hooks for older rubygems versions
|
14
|
+
- add regenerating wrappers on gem installation, closes #2
|
15
|
+
- fix uninstaller
|
16
|
+
- honor the program suffix, fix #3
|
17
|
+
- add a warning for custom custom_shebang, fix #1
|
18
|
+
|
3
19
|
## 1.0.0
|
4
20
|
date: 2013-07-10
|
5
21
|
|
data/bin/ruby_executable_hooks
CHANGED
data/executable-hooks.gemspec
CHANGED
@@ -6,6 +6,7 @@ Kernel.load(File.expand_path("../lib/executable-hooks/version.rb", __FILE__))
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "executable-hooks"
|
8
8
|
s.version = ExecutableHooks::VERSION
|
9
|
+
s.license = 'Apache 2.0'
|
9
10
|
s.authors = ["Michal Papis"]
|
10
11
|
s.email = ["mpapis@gmail.com"]
|
11
12
|
s.homepage = "https://github.com/mpapis/executable-hooks"
|
@@ -12,7 +12,15 @@ module Gem
|
|
12
12
|
|
13
13
|
unless method_defined?(:load_executable_plugins)
|
14
14
|
def load_executable_plugins
|
15
|
-
|
15
|
+
if ENV['RUBYGEMS_LOAD_ALL_PLUGINS']
|
16
|
+
load_plugin_files find_files('rubygems_executable_plugin', false)
|
17
|
+
else
|
18
|
+
begin
|
19
|
+
load_plugin_files find_latest_files('rubygems_executable_plugin', false)
|
20
|
+
rescue NoMethodError
|
21
|
+
load_plugin_files find_files('rubygems_executable_plugin', false)
|
22
|
+
end
|
23
|
+
end
|
16
24
|
rescue ArgumentError, NoMethodError
|
17
25
|
# old rubygems
|
18
26
|
plugins = find_files('rubygems_executable_plugin')
|
metadata
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: executable-hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
4
|
+
version: 1.2.0
|
11
5
|
platform: ruby
|
12
6
|
authors:
|
13
7
|
- Michal Papis
|
@@ -15,20 +9,16 @@ autorequire:
|
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
11
|
|
18
|
-
date: 2013-
|
19
|
-
default_executable:
|
12
|
+
date: 2013-09-17 00:00:00 Z
|
20
13
|
dependencies:
|
21
14
|
- !ruby/object:Gem::Dependency
|
22
15
|
name: tf
|
23
16
|
prerelease: false
|
24
17
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
18
|
requirements:
|
27
|
-
-
|
19
|
+
- &id002
|
20
|
+
- ">="
|
28
21
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
22
|
version: "0"
|
33
23
|
type: :development
|
34
24
|
version_requirements: *id001
|
@@ -61,9 +51,10 @@ files:
|
|
61
51
|
- lib/executable-hooks/wrapper.rb
|
62
52
|
- lib/rubygems_executable_plugin.rb
|
63
53
|
- lib/rubygems_plugin.rb
|
64
|
-
has_rdoc: true
|
65
54
|
homepage: https://github.com/mpapis/executable-hooks
|
66
|
-
licenses:
|
55
|
+
licenses:
|
56
|
+
- Apache 2.0
|
57
|
+
metadata: {}
|
67
58
|
|
68
59
|
post_install_message:
|
69
60
|
rdoc_options: []
|
@@ -71,29 +62,17 @@ rdoc_options: []
|
|
71
62
|
require_paths:
|
72
63
|
- lib
|
73
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
65
|
requirements:
|
76
|
-
-
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
hash: 3
|
79
|
-
segments:
|
80
|
-
- 0
|
81
|
-
version: "0"
|
66
|
+
- *id002
|
82
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
68
|
requirements:
|
85
|
-
-
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
hash: 3
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
version: "0"
|
69
|
+
- *id002
|
91
70
|
requirements: []
|
92
71
|
|
93
72
|
rubyforge_project:
|
94
|
-
rubygems_version:
|
73
|
+
rubygems_version: 2.0.8
|
95
74
|
signing_key:
|
96
|
-
specification_version:
|
75
|
+
specification_version: 4
|
97
76
|
summary: Hook into rubygems executables allowing extra actions to be taken before executable is run.
|
98
77
|
test_files: []
|
99
78
|
|