toastyapps-gembox 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gembox.rb +3 -4
- data/lib/templates/bashrc +1 -1
- metadata +1 -1
data/lib/gembox.rb
CHANGED
@@ -3,9 +3,8 @@ require 'yaml'
|
|
3
3
|
require 'erb'
|
4
4
|
|
5
5
|
class Gembox
|
6
|
-
VERSION = '1.3.
|
7
|
-
attr_accessor :dir, :cfg
|
8
|
-
attr_accessor :cfg
|
6
|
+
VERSION = '1.3.3'
|
7
|
+
attr_accessor :dir, :cfg, :box_name
|
9
8
|
|
10
9
|
def initialize
|
11
10
|
@cfg_path = "#{ENV['HOME']}/.gembox/config.yml"
|
@@ -18,7 +17,7 @@ class Gembox
|
|
18
17
|
|
19
18
|
def self.create(args)
|
20
19
|
args.each do |box_name|
|
21
|
-
|
20
|
+
@box_name = box_name
|
22
21
|
@dir = "#{ENV['HOME']}/.gembox/#{box_name}"
|
23
22
|
|
24
23
|
if File.exists?(@dir)
|
data/lib/templates/bashrc
CHANGED