pave 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pave/version.rb +1 -1
  3. data/lib/pave.rb +8 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3e0afee911462fd5493dd377aade9c9b088f35d
4
- data.tar.gz: 5a0cc5dda9f68e57b841c44707b7dbd2ee8362dc
3
+ metadata.gz: 336a915f47ac0ca22f465ccb1d076c249a67cf62
4
+ data.tar.gz: ee36a78dec4ac519c38abffa5ddbe729d5f934a9
5
5
  SHA512:
6
- metadata.gz: d7055f4d9c22cdab5e16456ebb87bd8f3f3077272cf6ad7904dd0070a3a095bf14c5051998e870636744329d8633576ff4f9eced815cd1bacef1518a165c787f
7
- data.tar.gz: efa6cb57e66922c9f031d292b5e2ef38a0fe78299ba9e583bd1c94f47fba95887400a22405740f0b9e2ad10474a7d362aa9e6e1c68342a06e2fe004aad299a5a
6
+ metadata.gz: 180f04f27dc56ff0c5e1e817caabc816d32229bf313a2fef5433e5ee4a5ffd9f5dec4807f6f0ed04d72da7944aa95b1c2e016bc85adb36d3dd144ac0be13f9b6
7
+ data.tar.gz: 28acc1201c1ce7a76c3d356f64dd0cfdd91455b02972c3c75603c0513cc818e56f7b4944801ced3f9ee21de32002be2b3cfd7b5e19877205e05ac65c816a44c3
data/lib/pave/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pave
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/pave.rb CHANGED
@@ -21,6 +21,7 @@ module Pave
21
21
  def setup
22
22
  clone_concrete5
23
23
  set_up_app_folder
24
+ initialize_git
24
25
  end
25
26
 
26
27
  def clone_concrete5
@@ -41,6 +42,13 @@ module Pave
41
42
  remove_extra_folders
42
43
  end
43
44
 
45
+ def initialize_git
46
+ info "* Setting up git..."
47
+ sh "echo 'files/cache/*' > #{name}/.gitignore"
48
+ sh "echo 'files/tmp/*' >> #{name}/.gitignore"
49
+ sh "cd #{name} && git init && git add -A && git commit -m 'Initial'"
50
+ end
51
+
44
52
  def symlink_folders
45
53
  symlinked_folders.each do |folder|
46
54
  sh "mv #{name}/#{folder} #{name}/app/#{folder}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pave
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamon Holmgren