codelation-cli 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 9bddb6cd8fef5bf14518f622ad3f75611bd3cdc8
4
- data.tar.gz: c55327163203b64136c7d9e13152bb3d3f8de348
3
+ metadata.gz: cc176acc9fee7800a6a750fa7607b246d5c69c62
4
+ data.tar.gz: fff44c2a874d58af1f16c599042b0bbe64216198
5
5
  SHA512:
6
- metadata.gz: 4ef533cba9e812ff0bae1445f27fb52267a0224526f367ed200adff8db7b5bcb2abcbde05fa62fd9d56a4092da3d1249cfe5742b4bbc9a70a2e9761c1662158d
7
- data.tar.gz: 2e874de3ded4c2d10205b27748569fdad80b4bc58daedbd7b454fd8b2bee5b59df77f5614ccd434c17dec8df73dd0e1800d6d3b78fc674bbd58ed1ed6b47af65
6
+ metadata.gz: 769e2a6eed0006c6591a9621073521ea057162fd7d58889bf85f5d55519e73659e73fd053577665bc09bc6559ced95210b0238d826e01fa8fad88e9363915184
7
+ data.tar.gz: 9c3b0e8bd161bc7e7ea558f03cfb0a6b223e15626950aee16cb93866477390a8a896367776fa41354dd6fd2eb7f2351e3d7fffcd6fa4206f83eef3f8c069e5b5
@@ -1,3 +1,4 @@
1
+ require "fileutils"
1
2
  require "thor"
2
3
 
3
4
  module Codelation
@@ -18,6 +19,7 @@ module Codelation
18
19
  copy_file "dot_files/.scss-lint.yml", "~/.scss-lint.yml"
19
20
 
20
21
  # Add `source ~/.codelation.bash` to ~/.bash_profile if it doesn't exist
22
+ FileUtils.touch(File.expand_path("~/.bash_profile"))
21
23
  append_to_file "~/.bash_profile", "source ~/.codelation/bash/.codelation.bash"
22
24
  end
23
25
  end
@@ -3,7 +3,7 @@ require "open-uri"
3
3
  require "thor"
4
4
 
5
5
  module Codelation
6
- VERSION = "0.0.5"
6
+ VERSION = "0.0.6"
7
7
 
8
8
  class Cli < Thor
9
9
  desc "update", "Update codelation-cli to latest version"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codelation-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison