ext 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ end
11
11
 
12
12
  gem_specification = Gem::Specification.new do |specification|
13
13
  specification.name = 'ext'
14
- specification.version = '0.0.7'
14
+ specification.version = '0.0.8'
15
15
  specification.platform = Gem::Platform::RUBY
16
16
  specification.rubyforge_project = 'ext'
17
17
 
@@ -37,7 +37,7 @@ project is checked out via "ext checkout" it knows where to fetch the
37
37
  subprojects.
38
38
 
39
39
  There are several other useful commands, such as init, touch_emptydirs, add_all,
40
- export, status. I plan to put up a tutorial at http://nopugs.com/ext-tutorial
40
+ export, status. There's a tutorial at http://nopugs.com/ext-tutorial
41
41
 
42
42
  The reason I made this project is that I was frustrated by two things:
43
43
 
@@ -163,6 +163,7 @@ module Externals
163
163
  end
164
164
 
165
165
  def help(args, options)
166
+ puts "There's a tutorial available at http://nopugs.com/ext-tutorial\n\n"
166
167
  puts "#{self.class.new_opts({},{}).to_s}\n\n"
167
168
 
168
169
  puts "\nCommands that apply to the main project or the .externals file:"
@@ -14,7 +14,9 @@ module Externals
14
14
  puts(gitclonecmd = "git clone \"#{repository}\" #{dest}")
15
15
  puts `#{gitclonecmd}`
16
16
  if branch
17
- puts `cd #{path}; git checkout --track -b #{branch} origin/#{branch}`
17
+ Dir.chdir path do
18
+ puts `git checkout --track -b #{branch} origin/#{branch}`
19
+ end
18
20
  end
19
21
  end
20
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-04 00:00:00 -07:00
12
+ date: 2008-09-05 00:00:00 -07:00
13
13
  default_executable: ext
14
14
  dependencies: []
15
15
 
16
- description: "Provides an SCM agnostic way to manage subprojects with a workflow similar to the scm:externals feature of subversion. It's particularly useful for rails projects that have some plugins managed by svn and some managed by git. For example, \"ext install git://github.com/rails/rails.git\" from within a rails application directory will realize that this belongs in the vendor/rails folder. It will also realize that this URL is a git repository and clone it into that folder. It will also add the vendor/rails folder to the ignore feature for the SCM of the main project. Let's say that the main project is being managed by subversion. In that case it adds \"rails\" to the svn:ignore property of the vendor folder. It also adds the URL to the .externals file so that when this project is checked out via \"ext checkout\" it knows where to fetch the subprojects. There are several other useful commands, such as init, touch_emptydirs, add_all, export, status. I plan to put up a tutorial at http://nopugs.com/ext-tutorial The reason I made this project is that I was frustrated by two things: 1. In my opinion, the workflow for svn:externals is far superior to git-submodule. 2. Even if git-submodule was as useful as svn:externals, I would still like a uniform way to fetch all of the subprojects regardless of the SCM used to manage the main project."
16
+ description: "Provides an SCM agnostic way to manage subprojects with a workflow similar to the scm:externals feature of subversion. It's particularly useful for rails projects that have some plugins managed by svn and some managed by git. For example, \"ext install git://github.com/rails/rails.git\" from within a rails application directory will realize that this belongs in the vendor/rails folder. It will also realize that this URL is a git repository and clone it into that folder. It will also add the vendor/rails folder to the ignore feature for the SCM of the main project. Let's say that the main project is being managed by subversion. In that case it adds \"rails\" to the svn:ignore property of the vendor folder. It also adds the URL to the .externals file so that when this project is checked out via \"ext checkout\" it knows where to fetch the subprojects. There are several other useful commands, such as init, touch_emptydirs, add_all, export, status. There's a tutorial at http://nopugs.com/ext-tutorial The reason I made this project is that I was frustrated by two things: 1. In my opinion, the workflow for svn:externals is far superior to git-submodule. 2. Even if git-submodule was as useful as svn:externals, I would still like a uniform way to fetch all of the subprojects regardless of the SCM used to manage the main project."
17
17
  email: azimux@gmail.com
18
18
  executables:
19
19
  - ext