blossom 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/blossom +2 -1
- data/lib/blossom.rb +1 -1
- metadata +3 -3
data/bin/blossom
CHANGED
@@ -12,6 +12,7 @@ end
|
|
12
12
|
case ARGV.length
|
13
13
|
when 1
|
14
14
|
name = ARGV.first
|
15
|
+
name_symbol = name =~ /\W/ ? ":'#{name}'" : ":#{name}"
|
15
16
|
unless File.exist? name
|
16
17
|
mkdir name
|
17
18
|
cd name
|
@@ -23,7 +24,7 @@ require "rubygems"
|
|
23
24
|
require "bundler/setup"
|
24
25
|
require "blossom"
|
25
26
|
|
26
|
-
run Blossom(__FILE__,
|
27
|
+
run Blossom(__FILE__, #{name_symbol})
|
27
28
|
end_file
|
28
29
|
|
29
30
|
make_file "Gemfile", <<-"end_file"
|
data/lib/blossom.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Daniel Brockman
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-06 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|