hu 1.3.4 → 1.3.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de434f22130f00e40f09c076f2c5184bc3e71676
4
- data.tar.gz: 4589006b691edaa7d7a8fe5889621b8d4af7dec7
3
+ metadata.gz: 7b6012d2704060ace64f41aed7e2b0b6301888cc
4
+ data.tar.gz: 1faabd1f7eb3187c963402251089d6884513c650
5
5
  SHA512:
6
- metadata.gz: cb4494f02a22e769754cc3e3c1134ee2805aca19a936ebd73f6299f9dd2dc4c0d143fa2ff7103a7f12bcdd61c610aad1cdac3bc815e48c7a365623815e2787fe
7
- data.tar.gz: 14d2fabce05f6df06fc82c5831a8526fae610fa3cc512ce7a8acfed8888bf0059b7c0532ccecbe3b16be7d2427940dc936a23548eeb3ca79f1971055ebfe1237
6
+ metadata.gz: 795cec6ff98f9cd49f161aee6ffe2046d3d6586e60f7a29fb5e9399a8cbbe4c75c9fe08ec44f9b7fc4b2af09d06767418f76df55601a26e6abde6fe3d639d235
7
+ data.tar.gz: 07a272210595d6600f665e61cdf3278271c9e5ec16ad6df513b3c3a4a0ddfd83a8b28aa6b18938c78108d1d4f201bc6f69b2a746e52801febe711ba6fb155032
data/README.md CHANGED
@@ -1,11 +1,22 @@
1
- # Heroku Utility
1
+ # Heroku Utility [![Dependency Status](https://gemnasium.com/badges/github.com/busyloop/hu.svg)](https://gemnasium.com/github.com/busyloop/hu) [![Gem Version](https://badge.fury.io/rb/hu.svg)](https://badge.fury.io/rb/hu)
2
2
 
3
- Small utility to augment the toolbelt.
3
+ A small utility to augment the toolbelt.
4
+
5
+ ## Features
6
+
7
+ * Bulk collaborator management (export/import as YAML or JSON)
8
+
9
+ * Opinionated, guided application deployment (via [git-flow](https://github.com/nvie/gitflow) and [pipelines](https://devcenter.heroku.com/articles/pipelines))
4
10
 
5
11
  ## Installation
6
12
 
7
13
  $ gem install hu
8
14
 
15
+ ## Usage
16
+
17
+ Please run `hu --help` and follow the on-screen instructions.
18
+
19
+
9
20
  ## Contributing
10
21
 
11
22
  Patches are welcome, especially bugfixes.
@@ -18,7 +29,7 @@ Patches are welcome, especially bugfixes.
18
29
 
19
30
  ## License
20
31
 
21
- Copyright (C) 2015, moe@busyloop.net
32
+ Copyright (C) 2016, moe@busyloop.net
22
33
 
23
34
  Permission is hereby granted, free of charge, to any person obtaining a
24
35
  copy of this software and associated documentation files (the "Software"),
data/lib/hu/deploy.rb CHANGED
@@ -135,7 +135,7 @@ module Hu
135
135
  highest_versionomy = Versionomy.parse('v0.0.0')
136
136
  end
137
137
 
138
- all_tags = Set.new(@git.references.to_a("refs/tags/*").collect{|e| e.target.name})
138
+ all_tags = Set.new(@git.references.to_a("refs/tags/*").collect{|e| e.name[10..-1]})
139
139
 
140
140
  tiny_bump = highest_versionomy.dup
141
141
  minor_bump = highest_versionomy.dup
@@ -456,7 +456,7 @@ module Hu
456
456
  exit status.exitstatus
457
457
  end
458
458
 
459
- versions = VersionSorter.sort(output.lines.map(&:chomp))
459
+ versions = VersionSorter.sort(output.lines.map(&:chomp).map {|e| e[0].downcase == 'v' ? e.downcase : "v#{e.downcase}" })
460
460
  latest = versions[-1] || 'v0.0.0'
461
461
  latest = "v#{latest}" unless latest[0] == "v"
462
462
  latest
@@ -558,7 +558,6 @@ module Hu
558
558
  try_version = nil
559
559
  else
560
560
  show_existing_git_tags
561
- #puts
562
561
  release_tag = prompt.ask("Please enter a tag for this release", default: propose_version)
563
562
  begin
564
563
  unless release_tag[0] == 'v'
data/lib/hu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hu
2
- VERSION = "1.3.4"
2
+ VERSION = "1.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - moe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-19 00:00:00.000000000 Z
11
+ date: 2016-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler