jem 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +1 -1
  2. data/jem.gemspec +2 -2
  3. data/lib/jem/build.rb +3 -3
  4. metadata +4 -4
@@ -1,4 +1,4 @@
1
- Jem: Really simple Ruby project file structure generator.
1
+ Jem: Really simple Ruby project bootstrap.
2
2
  ================
3
3
 
4
4
  Set up directory in one command.
@@ -1,8 +1,8 @@
1
1
 
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'jem'
4
- s.version = '0.0.3'
5
- s.date = '2010-07-08'
4
+ s.version = '0.0.5'
5
+ s.date = '2010-08-18'
6
6
  s.description = "Quick and simple generic Ruby project (i.e. making gems) directory and file structure generator."
7
7
  s.summary = s.description
8
8
 
@@ -5,7 +5,7 @@ module Jem
5
5
 
6
6
  module Build
7
7
 
8
- def Build.execute project_name
8
+ def Build.execute project_name
9
9
  build project_name[0] if command_line_options[:build]
10
10
  end
11
11
 
@@ -16,7 +16,7 @@ module Jem
16
16
  print "* Building structure in directory: #{project_name}/\n"
17
17
  options = {:verbose => true}
18
18
  print "\t=> "
19
- FileUtils.mkdir_p project_name + '/lib/' + project_name, options
19
+ FileUtils.mkdir_p File.expand_path(project_name) + '/lib/' + File.basename(project_name), options
20
20
  FileUtils.cd project_name
21
21
  print "\t=> "
22
22
  FileUtils.mkdir %w(test docs examples bin), options
@@ -45,4 +45,4 @@ module Jem
45
45
  end
46
46
  end
47
47
 
48
- Jem::Build.execute(ARGV)
48
+ Jem::Build.execute(ARGV)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Watson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-08 00:00:00 +01:00
18
+ date: 2010-08-18 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency