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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a84123002f270556f69e6ac923c13a2d6d06c409307cdb9faa890b6fbde6d216
4
- data.tar.gz: 5246496de3ac4dbe7eb367af5b5b749c2bc59a15b2d9a24303a25f99b3643ef2
3
+ metadata.gz: e9c2a48667ea14c7c9d58e171baa44342929cb9ef585867543ba545559623cb8
4
+ data.tar.gz: d586451833334193d7da2f08efc9b0ffa0a06e66dbf3e1de1d18c8c46cf53706
5
5
  SHA512:
6
- metadata.gz: 84f8055ebd6583b4acdb48bf571eace3ba750d5d937e334e003fb03318defe768b80c5fb708c07fe21127b6beada99ad924b3e7ad71c8d495a3044a8af5ea95e
7
- data.tar.gz: 7fa29b2e5473866e5822c7d5fbff1a3520eb2a456ed109aca2b6ff459bf88097c9399f4a06bef671a28decb7982c10ebe8ab1e392cf8e4e5027b0ab085c21d5e
6
+ metadata.gz: f45e76d27242650bf196acec577d910b7134ccfe693742eb5c2e200c9e9b68a91b8113d8a3c198231ae6fc4cf96caffea918fb6f1c40ad0db0ad5742eaf2b03c
7
+ data.tar.gz: ed3a621280d191459520076628630716b5e684a01623df426dd048d28df2eb55fbf2ff7dc3eaa5e235a6518a858bc8b0fd65e1bc7dec8acfc7f99e05d003c1d6
@@ -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.write(gemfile)
19
+ file.puts(gemfile)
20
20
  end
21
21
  end
22
22
  end
data/lib/luo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luo
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ