ansible-powerplay 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: d6c839d1462aa167126cd018e5d67ad2280ca7bf
4
- data.tar.gz: 4f0e0f8f29a6e60b2342c05313df1169ea55a6cf
3
+ metadata.gz: cb40dbf111896bd21d6222190285c8fbe3a8f43a
4
+ data.tar.gz: 536a964f3be80cdeee2afa2530e8428c1c214f92
5
5
  SHA512:
6
- metadata.gz: d80dc56ad99056ee129bf2dd1e92e7bbf0876a49685f435da90fc0143ccdcbe1192739360d170c927c9187bbd64aff94f5c4dff128d6d485d8908774fca43547
7
- data.tar.gz: 086864cb0a53668d87b05e6c5afaf9d28010cbf6d37b4f0d3f5de8c5f1d584f5c9a32031162e305e607c4353002c1b4d5d4f21f899f09b080427b5d927dedce3
6
+ metadata.gz: ff370b7c1b9f5ef1e8a5cb2c18139a39792db7dfb84e7d60a0655f15cf63453c42e429637ed021ed175fa92cf31c6ee719896dc666dee0a402c29f6e972f8bff
7
+ data.tar.gz: e3711e106e82a49959da9032dc2c4cd905e117bb49849cf1b4fd8b600139c7cf05a3c9f101193df3df9329124acd4c4af1ed237b4603a4d5a7153570105aa41f
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 1
4
+ :patch: 2
5
5
  :special: ''
data/RELEASE_NOTES.org CHANGED
@@ -6,29 +6,17 @@
6
6
  number. For "milestone" upgrades and/or compability breaks, we'll rev the
7
7
  major number. Of course, you can read all about it here.
8
8
 
9
- ** Relases
10
- Newer entries shall be listed first.
11
-
12
-
13
- *** v0.1.1 2016-02-22
14
- | Feature / Bug | Description |
15
- | --book, --group, --play | Minor bug with the array handling |
16
- | | |
17
-
18
- *** v0.1.0 2016-02-22
19
- | Feature / Bug | Description |
20
- |-------------------------+-------------------------------------------|
21
- | --book, --group, --play | Now each can take multiple specifications |
22
-
23
-
24
- *** v0.0.8 2016-02-20
25
- | Feature / Bug | Description |
26
- |---------------------------------+----------------------------------------------------------------------------|
27
- | Creation of these Release Notes | About bloody time. The prior releases were all mostly bug fixes, and so... |
28
- | --tmux | Now you can optionally specify the window number |
29
- | --tmux | Now checks to ensure it does not dump to its own pane |
30
- | --book | You can select an individual playbook to run |
31
- | --group | You can select an individual group to run |
9
+ ** Release Notes
10
+ | Date | Release | Feature / Bug | Description |
11
+ |------------+---------+---------------------------------+----------------------------------------------------------------------------|
12
+ | 2016-02-23 | v0.1.2 | --tmux. --no-tmux | Default output now goes to current tty |
13
+ | 2016-02-22 | v0.1.1 | --book, --group, --play | Minor bug with the array handling |
14
+ | 2016-02-22 | v0.1.0 | --book, --group, --play | Now each can take multiple specifications |
15
+ | 2016-02-20 | v0.0.8 | Creation of these Release Notes | About bloody time. The prior releases were all mostly bug fixes, and so... |
16
+ | | | --tmux | Now you can optionally specify the window number |
17
+ | | | --tmux | Now checks to ensure it does not dump to its own pane |
18
+ | | | --book | You can select an individual playbook to run |
19
+ | | | --group | You can select an individual group to run |
32
20
 
33
21
  ** Known Outstanding Issues
34
22
  Bugs and missing features that needs to be addressed. As they are,
@@ -38,7 +26,7 @@
38
26
  |------------+----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------|
39
27
  | 2016-02-20 | Non tmux output | Redirected to stdout, but really needs to go to the current tty. |
40
28
  | 2016-02-20 | Platforms other than Linux | We need to test on Mac OSX and Windows. Should work fine on Macs. I do not plan to support Windows in general, but may accept pull requests to that end. |
41
- | | | |
29
+
42
30
  ** Wish List
43
31
  Well, we can always wish upon a star...
44
32
 
@@ -46,5 +34,3 @@
46
34
  |------------+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
47
35
  | 2016-02-20 | Integration with Jenkins | I have no idea what form this will take |
48
36
  | 2016-02-20 | Curses integration | Basically, the tmux integration is used because it was quick to do. But what I really want to do is full Curses support, similar with what you see with htop and other tools. |
49
- | | | |
50
-
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: ansible-powerplay 0.1.1 ruby lib
5
+ # stub: ansible-powerplay 0.1.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "ansible-powerplay"
9
- s.version = "0.1.1"
9
+ s.version = "0.1.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Fred Mitchell"]
14
- s.date = "2016-02-22"
14
+ s.date = "2016-02-23"
15
15
  s.description = "Ansible Powerplay, by way of its DSL, allows you to\n specify your Ansible playbooks and their vars, and common\n vars to all, so that you can run your\n indeoendent playbooks in full parallel."
16
16
  s.email = "fred.mitchell@gmx.de"
17
17
  s.executables = ["powerplay"]
@@ -3,13 +3,16 @@ require 'ansible-powerplay'
3
3
 
4
4
  module Powerplay
5
5
  module Play
6
- DEFOUT = "&1" # default non-tmux output
7
-
8
6
  def self.clopts
9
7
  @cliots ||= DSL::_global[:options]
10
8
  end
11
9
 
12
10
  module Tmux
11
+
12
+ def self.current_tty
13
+ %x[tty].chop
14
+ end
15
+
13
16
  # Get a list of the ptys
14
17
  # Note that this code is a bit innefficient, but will only be
15
18
  # executed once in the loop.
@@ -28,7 +31,7 @@ module Powerplay
28
31
  .reject{ |pty| pty == %x(tty).chop }
29
32
  .reject{ |pty| pty == '' }
30
33
  else
31
- [Play::DEFOUT]
34
+ [current_tty]
32
35
  end
33
36
  end
34
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible-powerplay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-22 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor