jem 0.0.3 → 0.0.5
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.markdown +1 -1
- data/jem.gemspec +2 -2
- data/lib/jem/build.rb +3 -3
- metadata +4 -4
data/README.markdown
CHANGED
data/jem.gemspec
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
Gem::Specification.new do |s|
|
|
3
3
|
s.name = 'jem'
|
|
4
|
-
s.version = '0.0.
|
|
5
|
-
s.date = '2010-
|
|
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
|
|
data/lib/jem/build.rb
CHANGED
|
@@ -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:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
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-
|
|
18
|
+
date: 2010-08-18 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|