threeman 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a38286d26038200e32dd5ac06d159c9097bddd265554955765194506492eb2a
4
- data.tar.gz: '03117213615048aecb66b64f17b17036068090086c76ddf8eb4b132bc879d4fb'
3
+ metadata.gz: 1b2f74bfedc2d8fd381783ea740e84ce88c18fc6426629b33a150ad627f6a383
4
+ data.tar.gz: fbc264bd35bd20dca3108697bf116cd97a8e3cfa8b77b469804837041937e580
5
5
  SHA512:
6
- metadata.gz: f93fe78bf87ab7c39f55d678c05bbf337b3e7afe913b4a04349420ba3568c68fb911d06b4ff0aa1cb30d2fcdc8cfdcaa4ac14901e6a837dd0a801465236accd2
7
- data.tar.gz: 39aa4cdfafee6125a8bab217d6527ed9250063b3150ae9141cbc681db117096aad0a0758c79f50ac634d45f991d6da2c5355671d6175286c99339c38cbd05f30
6
+ metadata.gz: 1218f32b4acb25d4cdc37a0a1cd78e453f7d39c94c7d7ef33d488c35d6780f82cef5432f14dbca87b871a76ed17d61c4ced4269a61ee6862c93d77f89aeaa70d
7
+ data.tar.gz: b243bd7541a51db9e174a15b3018de48d7c03a52d6de917ce4a2c83e1209a96411abe67cffc974e857816bf73a2cd6800d0ae66d6b8a16579b3ba61a5586491a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 0.7.0 - July 16, 2018
2
+
3
+ * Support `--procfile` and `--root` options just like Foreman does
4
+
5
+ # 0.6.0 - March 29, 2018
6
+
7
+ * Adds `--open-in-new-tab` start option to allow threeman to open tabs in existing window versus opening a new window.
8
+
1
9
  # 0.5.0 - May 31, 2017
2
10
 
3
11
  * Adds `--panes=command_name command_two` to run certain commands in panes
data/README.md CHANGED
@@ -40,6 +40,7 @@ will cause Threeman to run the app with the `PORT` environment variable set to 3
40
40
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
41
41
 
42
42
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
43
+ Remember to also update the CHANGELOG.
43
44
 
44
45
  ## Contributing
45
46
 
data/lib/threeman/cli.rb CHANGED
@@ -24,6 +24,8 @@ module Threeman
24
24
  desc "start", "Start the application"
25
25
  option :frontend, desc: "Which frontend to use. One of: #{FRONTENDS.keys.sort.join(', ')}"
26
26
  option :layout_name, desc: "If using tmux, the layout name to use for paned commands", type: :string
27
+ option :procfile, desc: "Procfile file name", default: "Procfile", aliases: "-f"
28
+ option :root, desc: "Directory of Procfile", aliases: "-d"
27
29
  option(
28
30
  :open_in_new_tab,
29
31
  desc: "If using iterm3, configure how threeman opens",
@@ -41,8 +43,9 @@ module Threeman
41
43
  )
42
44
 
43
45
  def start
44
- pwd = Dir.pwd
45
- procfile = Threeman::Procfile.new(File.expand_path("Procfile", pwd))
46
+ procfile_name = options[:procfile]
47
+ pwd = options[:root] || Dir.pwd
48
+ procfile = Threeman::Procfile.new(File.expand_path(procfile_name, pwd))
46
49
  commands = procfile.commands(pwd, options[:port] || 5000)
47
50
 
48
51
  frontend_name = options[:frontend] || auto_frontend
@@ -1,3 +1,3 @@
1
1
  module Threeman
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: threeman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Budin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman