gitty 0.2.0 → 0.2.1
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/README.textile +0 -2
- data/lib/gitty/hook.rb +1 -1
- metadata +1 -1
data/README.textile
CHANGED
|
@@ -11,8 +11,6 @@ h2. Currently in alpha!
|
|
|
11
11
|
|
|
12
12
|
Missing features:
|
|
13
13
|
|
|
14
|
-
* List available hooks
|
|
15
|
-
* List installed hooks
|
|
16
14
|
* Only receive hooks from trusted publishers. (currently when gitty is activated on a repository, any hook published to origin is automatically installed)
|
|
17
15
|
* It's very young and might break
|
|
18
16
|
|
data/lib/gitty/hook.rb
CHANGED
|
@@ -108,7 +108,7 @@ class Gitty::Hook
|
|
|
108
108
|
cp(path, target_hook_path + name)
|
|
109
109
|
chmod(0755, target_hook_path + name)
|
|
110
110
|
meta_data["targets"].each do |target|
|
|
111
|
-
|
|
111
|
+
ln_sf(
|
|
112
112
|
"../hooks/#{name}",
|
|
113
113
|
file_with_existing_directory!(base_directory + "#{target}.d" + name)
|
|
114
114
|
)
|