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 +4 -4
- data/lib/hw/sources.rb +3 -2
- data/lib/hw/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 161d335094c445e94f587d5e4c2e72b59d4bdf81
|
4
|
+
data.tar.gz: 784f5ad725c9696893666d5468148551b07b2f92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65749c087bd201cdfa84fe8977b52bd8ef609e486a2563f4572651a056b399d87bf45ff898a6390f3c90736ca5a8778cac507a4350036bf31e25d6e9e05b9ff7
|
7
|
+
data.tar.gz: 7882f8420d7b7d8351cbbf2ea5052e5b7693ba03576963a555b7e84928d5fe8460fb3df1e92fd9e349214812608fe544a13c47a1a9a9ad32ca40c49bfccdf0ad
|
data/lib/hw/sources.rb
CHANGED
@@ -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
|
-
|
40
|
+
add "default", DEFAULT_SOURCE
|
40
41
|
end
|
41
42
|
end
|
42
43
|
|
data/lib/hw/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2013-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|