latest_branch 1.0.2 → 1.0.3
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/History.txt +5 -0
- data/bin/alias_all_projects +3 -1
- data/lib/latest_branch/version.rb +1 -1
- data/website/index.html +10 -2
- data/website/index.txt +4 -0
- metadata +2 -2
data/History.txt
CHANGED
data/bin/alias_all_projects
CHANGED
@@ -50,7 +50,9 @@ end
|
|
50
50
|
path = File.expand_path OPTIONS[:path]
|
51
51
|
prefix = OPTIONS[:prefix]
|
52
52
|
|
53
|
-
folders = Dir["#{path}/**/Rakefile"].map
|
53
|
+
folders = Dir["#{path}/**/Rakefile"].map do |folder|
|
54
|
+
folder.gsub(path + '/','').gsub('/Rakefile','').gsub('/trunk','').gsub('/branches','')
|
55
|
+
end
|
54
56
|
OPTIONS[:ignore].split(',').each do |ignore_me|
|
55
57
|
folders.reject! { |folder| folder =~ /#{ignore_me}/ }
|
56
58
|
end
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>latest_branch</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/dr_nic_utilities"; return false'>
|
35
35
|
Get Version
|
36
|
-
<a href="http://rubyforge.org/projects/dr_nic_utilities" class="numbers">1.0.
|
36
|
+
<a href="http://rubyforge.org/projects/dr_nic_utilities" class="numbers">1.0.3</a>
|
37
37
|
</div>
|
38
38
|
<h2>→ latest_branch -a <proj_name></h2>
|
39
39
|
|
@@ -142,6 +142,14 @@ alias_all_projects --prefix="gem_" --path=~/Documents/ruby/gems/
|
|
142
142
|
. ~/.project_aliases
|
143
143
|
</pre>
|
144
144
|
|
145
|
+
<h2>Articles</h2>
|
146
|
+
|
147
|
+
|
148
|
+
<ul>
|
149
|
+
<li><a href="http://drnicwilliams.com/2007/04/16/aliases-to-the-latest-branch-folder-youre-working-on/">Aliases to the latest branch folder you’re working on</a></li>
|
150
|
+
</ul>
|
151
|
+
|
152
|
+
|
145
153
|
<h2>Licence</h2>
|
146
154
|
|
147
155
|
|
@@ -153,7 +161,7 @@ alias_all_projects --prefix="gem_" --path=~/Documents/ruby/gems/
|
|
153
161
|
|
154
162
|
<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
|
155
163
|
<p class="coda">
|
156
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
164
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 16th April 2007<br>
|
157
165
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
158
166
|
</p>
|
159
167
|
</div>
|
data/website/index.txt
CHANGED
@@ -83,6 +83,10 @@ alias_all_projects --prefix="gem_" --path=~/Documents/ruby/gems/
|
|
83
83
|
. ~/.project_aliases
|
84
84
|
</pre>
|
85
85
|
|
86
|
+
h2. Articles
|
87
|
+
|
88
|
+
* "Aliases to the latest branch folder you’re working on":http://drnicwilliams.com/2007/04/16/aliases-to-the-latest-branch-folder-youre-working-on/
|
89
|
+
|
86
90
|
h2. Licence
|
87
91
|
|
88
92
|
This code is free to use under the terms of the MIT licence.
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: latest_branch
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-04-
|
6
|
+
version: 1.0.3
|
7
|
+
date: 2007-04-16 00:00:00 +02:00
|
8
8
|
summary: Return the most-recently-updated folder starting with a common prefix.
|
9
9
|
require_paths:
|
10
10
|
- lib
|