hw 1.3.2 → 1.3.3

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: 71683aa998a69e3b7c3f780bf21a20829543bbf7
4
- data.tar.gz: 9a79926eff8f081585beac9b7c920c93ee40ce16
3
+ metadata.gz: 161d335094c445e94f587d5e4c2e72b59d4bdf81
4
+ data.tar.gz: 784f5ad725c9696893666d5468148551b07b2f92
5
5
  SHA512:
6
- metadata.gz: 7775ab0c6f3c5b433052468ea6b1a204bb19902843b36b7e0407d871e591268c33fdda0863b54e3f1554399caa4c37860319bdd6759e845d7815e9cd4e96dc18
7
- data.tar.gz: c72d504b00a653e6555702cf4a4e286050a6e1b4ee68a2fe1df13701c8fe675c453916eaba0075baa1daa54148bcaadc01a9950913669d1257bc59c71a6a370d
6
+ metadata.gz: 65749c087bd201cdfa84fe8977b52bd8ef609e486a2563f4572651a056b399d87bf45ff898a6390f3c90736ca5a8778cac507a4350036bf31e25d6e9e05b9ff7
7
+ data.tar.gz: 7882f8420d7b7d8351cbbf2ea5052e5b7693ba03576963a555b7e84928d5fe8460fb3df1e92fd9e349214812608fe544a13c47a1a9a9ad32ca40c49bfccdf0ad
@@ -29,14 +29,15 @@ module HW
29
29
  end
30
30
 
31
31
  def ensure_defaults
32
+ self.destination_root = "~/.hw/"
33
+
32
34
  empty_directory DIRECTORY unless File.exists? DIRECTORY
33
35
  empty_directory SOURCES_PATH unless File.exists? SOURCES_PATH
34
36
 
35
37
  unless File.exists? CONFIG_PATH
36
38
  header "Adding default source to #{CONFIG_PATH}"
37
-
38
39
  create_file CONFIG_PATH
39
- self.class.new.invoke :add_source, ["default", DEFAULT_SOURCE] # self.class.new added else RSpec screws up.
40
+ add "default", DEFAULT_SOURCE
40
41
  end
41
42
  end
42
43
 
@@ -1,7 +1,7 @@
1
1
  module HW
2
2
  MAJOR = 1
3
3
  MINOR = 3
4
- TINY = 2
4
+ TINY = 3
5
5
  PRE = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Milewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-25 00:00:00.000000000 Z
11
+ date: 2013-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor