luo 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/luo/init_project.rb +2 -2
- data/lib/luo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9c2a48667ea14c7c9d58e171baa44342929cb9ef585867543ba545559623cb8
|
4
|
+
data.tar.gz: d586451833334193d7da2f08efc9b0ffa0a06e66dbf3e1de1d18c8c46cf53706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45e76d27242650bf196acec577d910b7134ccfe693742eb5c2e200c9e9b68a91b8113d8a3c198231ae6fc4cf96caffea918fb6f1c40ad0db0ad5742eaf2b03c
|
7
|
+
data.tar.gz: ed3a621280d191459520076628630716b5e684a01623df426dd048d28df2eb55fbf2ff7dc3eaa5e235a6518a858bc8b0fd65e1bc7dec8acfc7f99e05d003c1d6
|
data/lib/luo/init_project.rb
CHANGED
@@ -11,12 +11,12 @@ module Luo
|
|
11
11
|
puts "create Gemfile"
|
12
12
|
version = Luo::VERSION
|
13
13
|
unless File.exist?('Gemfile')
|
14
|
-
gemfile = <<-GEMFILE
|
14
|
+
gemfile = <<-GEMFILE.gsub(/^ */, '')
|
15
15
|
source 'https://rubygems.org'
|
16
16
|
gem 'luo', '~> #{version}'
|
17
17
|
GEMFILE
|
18
18
|
File.open('Gemfile', 'w') do |file|
|
19
|
-
file.
|
19
|
+
file.puts(gemfile)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
data/lib/luo/version.rb
CHANGED