ztil 0.1.3 → 0.1.4
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.
- checksums.yaml +4 -4
- data/lib/ztil/command.rb +3 -0
- data/lib/ztil.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3337064c5544827a1495042dbab671c97675c561
|
|
4
|
+
data.tar.gz: 770fb27124f658627c3453a4c88de101b8f35200
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0e017aa20eaf76bbd8cc753ae1211d93d31e449293fc91bc23e00fa82158602e626b01c763706654a3e3924156385a021245a50f3050e36017dfd5bc68a0de7
|
|
7
|
+
data.tar.gz: 917d35be8355e85cf23eb5f2ed5600e960f2bc0caa5b86709c18c84c036df4384b43405b1586f8f2afd8f0c9ab8f803244454f8908110bef7929911ead2ac7b7
|
data/lib/ztil/command.rb
CHANGED
|
@@ -142,6 +142,9 @@ end
|
|
|
142
142
|
run "git clone https://github.com/zires/capistrano-3-rails-template.git #{tmp_dir}"
|
|
143
143
|
run "cp -R #{tmp_dir}/config #{path}/"
|
|
144
144
|
run "cp -R #{tmp_dir}/lib #{path}/"
|
|
145
|
+
append_to_file File.join(path, 'Capfile') do
|
|
146
|
+
"Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }"
|
|
147
|
+
end
|
|
145
148
|
|
|
146
149
|
uncomment_lines File.join(path, 'Capfile'), /require.+rbenv/
|
|
147
150
|
uncomment_lines File.join(path, 'Capfile'), /require.+bundler/
|
data/lib/ztil.rb
CHANGED