bundly 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/bundly/cli.rb +6 -0
- data/lib/bundly/template.rb.erb +2 -1
- data/lib/bundly/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445bf43e06b00c99dd69c3cf5662e77976f2dac0
|
4
|
+
data.tar.gz: 3d7d06aceee0040dc2da51d0c8c750afa6662901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca92206ae984a4a3e7004a30071ed562ae4b768392c1485001467bd48f8304dbc35fad75da6bffdc9fb191a5d65eea143818c235095ee86819d77fbc83e4eb89
|
7
|
+
data.tar.gz: 7e404334b6fd94830de3007f78e7e9e5fdf9026552a2dab1e939a7d752ef6ef915cf45b63424c2d90ad8d49a6dca4ca4a9889327e918656cbfe758368d05ad43
|
data/README.md
CHANGED
data/lib/bundly/cli.rb
CHANGED
@@ -10,6 +10,12 @@ module Bundly
|
|
10
10
|
template = Pathname(__dir__) + "template.rb.erb"
|
11
11
|
init_script = Pathname(options[:init])
|
12
12
|
|
13
|
+
unless init_script.parent.directory?
|
14
|
+
puts "No directory for init script: #{init_script}"
|
15
|
+
puts "> mkdir #{init_script.parent}"
|
16
|
+
exit
|
17
|
+
end
|
18
|
+
|
13
19
|
init_script.open("w") do |io|
|
14
20
|
io.write Erubis::Eruby.new(template.read).result
|
15
21
|
end
|
data/lib/bundly/template.rb.erb
CHANGED
@@ -10,8 +10,9 @@ module Bundly
|
|
10
10
|
git = gem["git"]
|
11
11
|
branch = gem["branch"]
|
12
12
|
tag = gem["tag"]
|
13
|
+
require = gem["require"]
|
13
14
|
|
14
|
-
gem name, version, git: git, branch: branch, tag: tag
|
15
|
+
gem name, version, git: git, branch: branch, tag: tag, require: require
|
15
16
|
end
|
16
17
|
end
|
17
18
|
end
|
data/lib/bundly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.6.8
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Bundle gems from YAML file
|