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 +4 -4
- data/README.md +14 -3
- data/lib/hu/deploy.rb +2 -3
- data/lib/hu/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: 7b6012d2704060ace64f41aed7e2b0b6301888cc
|
|
4
|
+
data.tar.gz: 1faabd1f7eb3187c963402251089d6884513c650
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 795cec6ff98f9cd49f161aee6ffe2046d3d6586e60f7a29fb5e9399a8cbbe4c75c9fe08ec44f9b7fc4b2af09d06767418f76df55601a26e6abde6fe3d639d235
|
|
7
|
+
data.tar.gz: 07a272210595d6600f665e61cdf3278271c9e5ec16ad6df513b3c3a4a0ddfd83a8b28aa6b18938c78108d1d4f201bc6f69b2a746e52801febe711ba6fb155032
|
data/README.md
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
# Heroku Utility
|
|
1
|
+
# Heroku Utility [](https://gemnasium.com/github.com/busyloop/hu) [](https://badge.fury.io/rb/hu)
|
|
2
2
|
|
|
3
|
-
|
|
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)
|
|
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.
|
|
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
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
|
+
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-
|
|
11
|
+
date: 2016-05-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|