submit_hw 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/submit_hw +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 713d8924dcf84b32d0445384994d5ca8d0d9db77
4
- data.tar.gz: 291390343c692d20c6487e0eec80a8c6e757677b
3
+ metadata.gz: 187c915d940469e11daab8ea18fdeaa405a8620b
4
+ data.tar.gz: 6a6a4f9de0232083247838d972b191dd16293398
5
5
  SHA512:
6
- metadata.gz: 5a3d7e25fab452ab3f68c41c64d6f97639eaeeb0e6527dbc0601d9549c1c5483ee7f3797822dfdcc618b91375c0849bf84f2a07ef3952929ce829ecddd300d41
7
- data.tar.gz: 4e91e328cd3949f777957f2d280c1772acf82431d9599d7d89a0951994d04193e542d82823b913c41fd5800d93b4e39154145a6e2975f76d289bdaf53fd9fdc5
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.2
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-24 00:00:00.000000000 Z
16
+ date: 2015-04-27 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: hub