submit_hw 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/submit_hw +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 187c915d940469e11daab8ea18fdeaa405a8620b
4
- data.tar.gz: 6a6a4f9de0232083247838d972b191dd16293398
3
+ metadata.gz: fffeb2fcb121522e78a8656bd64175bfa644ba87
4
+ data.tar.gz: 350c6e550b9ebac5578546a0f0173cfd70c3cc12
5
5
  SHA512:
6
- metadata.gz: bef1562d937d387bf4733ed65ad77c6e0a25b29052724c3f66712d333bc4262e6fddbd410101e6d38e64ee2c3b1ae85678d4cc38f71774dc1e1dac606a5ff459
7
- data.tar.gz: 5c5901da9d7b926c9ec90d5db2ac8cfb53a3e961c682f89a45cf99df56b96bbe7db94b16ed8ee438df2c2dd44d3381cf7383e992aea48b77898568f82033500f
6
+ metadata.gz: 015b54c965e52d85df1f24af43b347900589c7d7b36dce43410d69e1710a60e673aca5152d4583e304178e6e126833fc02656471d7210fdb9f9be099d5f18b98
7
+ data.tar.gz: 6f1e07f156213a1fbaa0e01b9a8e7a8a5a353cf5af074b2c047dacadc771fb690fc07f281fea2079aac08bdd7cb2056ff4d08ce72fef61d388d44888fb90baaa
data/bin/submit_hw CHANGED
@@ -158,7 +158,7 @@ debug "data: #{data}"
158
158
 
159
159
  # Get the necessary metadata to submit the push and PR to GitHub.
160
160
  begin
161
- upstream = `git config --get remote.upstream.url`
161
+ upstream = `git config --get remote.upstream.url`.chomp
162
162
  upstream = upstream.strip.match(/:(.*)\.git/).captures.first
163
163
  rescue NoMethodError
164
164
  # Upstream has not been set
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.3
4
+ version: 0.1.4
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-27 00:00:00.000000000 Z
16
+ date: 2015-04-28 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: hub