submit_hw 0.1.2 → 0.1.3
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 +4 -4
- data/bin/submit_hw +2 -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: 187c915d940469e11daab8ea18fdeaa405a8620b
|
|
4
|
+
data.tar.gz: 6a6a4f9de0232083247838d972b191dd16293398
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bef1562d937d387bf4733ed65ad77c6e0a25b29052724c3f66712d333bc4262e6fddbd410101e6d38e64ee2c3b1ae85678d4cc38f71774dc1e1dac606a5ff459
|
|
7
|
+
data.tar.gz: 5c5901da9d7b926c9ec90d5db2ac8cfb53a3e961c682f89a45cf99df56b96bbe7db94b16ed8ee438df2c2dd44d3381cf7383e992aea48b77898568f82033500f
|
data/bin/submit_hw
CHANGED
|
@@ -10,6 +10,7 @@ require "colorize"
|
|
|
10
10
|
require "json"
|
|
11
11
|
require "yaml"
|
|
12
12
|
require "io/console"
|
|
13
|
+
require "fileutils"
|
|
13
14
|
|
|
14
15
|
# handle command line options
|
|
15
16
|
if ARGV[0] == "--debug"
|
|
@@ -117,7 +118,7 @@ unless File.exists? File.expand_path(".config/hub","~")
|
|
|
117
118
|
debug "hub yaml: #{hub_config}"
|
|
118
119
|
|
|
119
120
|
# ensure ~/.config exists
|
|
120
|
-
FileUtils.mkdir_p File.expand_path(".config","~")
|
|
121
|
+
::FileUtils.mkdir_p File.expand_path(".config","~")
|
|
121
122
|
|
|
122
123
|
File.write(File.expand_path(".config/hub","~"), hub_config)
|
|
123
124
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: submit_hw
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeffrey Konowitch
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2015-04-
|
|
16
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: hub
|