mkdircd 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ef006960edb0915b37e622b85ba30dd8c2a3d79
4
- data.tar.gz: b9f0df8cc2a93ed68ba635da37c7dc9af2b014c6
3
+ metadata.gz: ea81df572b6c720ee86316fb9dcfca5215c52524
4
+ data.tar.gz: c77a39234f4f4919b7d70d9486efdf9d4f3e1b90
5
5
  SHA512:
6
- metadata.gz: 4826184f38b2ad6c5395029c19f92d04482c3a4b87741c68a3afc58b6aa24d0b745e572462bc3dc0da102fedeb54bf65ab20e51f63b2c4955199863411d35027
7
- data.tar.gz: 794098d015c8bd9a9465f96cff2e4ebe8920562e42c27b5e579c3724a53ca410048ea78078e3e190a877e7e0135e6103415d0b57b00f65785820422dbb3bdd68
6
+ metadata.gz: f69b5fc2c99a653cadc8d349e2de1fbb4de74359b66207383b4039155ddcc9a5cc578016d55b25f824e64b854004e6702c6c90a822127b1debf047bf73cab072
7
+ data.tar.gz: efb68d5f4ee34cf46bb44bb0139a5eeb6d3093ae936cc4e517ebfc4d435bb06ad49f8c21399e99e8aad29c5c0f4cb8dd65b4097eb3ff66c26a6a6086129e79b7
data/README.md CHANGED
@@ -1,18 +1,10 @@
1
1
  # Mkdircd
2
2
 
3
- TODO: Write a gem description
3
+ A single command to create and cd into the directory
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'mkdircd'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
7
+ Installation is simple (assuming you have Ruby installed). Just run
16
8
 
17
9
  $ gem install mkdircd
18
10
 
@@ -1,3 +1,3 @@
1
1
  module Mkdircd
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/mkdircd.rb CHANGED
@@ -6,6 +6,6 @@ module Mkdircd
6
6
  def self.process_argv(input_argument)
7
7
  new_folder_name = "#{Dir.pwd}/#{input_argument[0]}"
8
8
  FileUtils::mkdir_p(new_folder_name)
9
- Dir.chdir(new_folder_name)
9
+ system("cd #{input_argument[0]}")
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkdircd
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
  - Adhithya Rajasekaran