qb 0.1.5 → 0.1.6

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: 54687128688607e61d8014d9ff30313dfa384f31
4
- data.tar.gz: 317c700f6509ab626d48a84265aa039aa4284c5e
3
+ metadata.gz: 3a87aebc0a5f8a50e6c93a5f1578b0d6b4048f59
4
+ data.tar.gz: 92c218d8d154974862fd1fc265af5a6974f70935
5
5
  SHA512:
6
- metadata.gz: e4f727fdd46c64547cf5034c23bf9dcc5217f3c7af51ae660cc2684c68b4581453633478cf3ce97098e297022b033e7f8521404685dabb5eae63fb7e1af81479
7
- data.tar.gz: 6fc724c46b9946ee5121289f1dfd54cd6e57c008ea9f4b703ca9f08d9d34eb7a0ced62f363a94ebd4b9f12319a1020b38564476067b9d25314a589f0fa3052ba
6
+ metadata.gz: f919f5cf427eec5f8754e05fd19b9f31ca9cc551c93615cf0ab027e02c626b5cb78c1cc98ddc6ba68e0812ec9d1e0555de48c7f16c2cd614639938a9cd258b1a
7
+ data.tar.gz: 4af3e13140e6ec256f6388df6ddc913160b1926a873bf7f6e8a056fff4a53304ed3458637c8e4f9d1c98b08aa00ffa97431204edc2bcb016df7eb1e9392f1c2e
data/.gitignore CHANGED
@@ -172,3 +172,4 @@ target/
172
172
  #
173
173
  # END Python.gitignore
174
174
  ##############################################################################
175
+ /dev/roles/tmp
data/.qb-options.yml CHANGED
@@ -2,3 +2,5 @@
2
2
  qb.gem:
3
3
  constant: QB
4
4
  license: MIT
5
+ qb.project:
6
+ dev_bin: false
data/dev/ansible.cfg CHANGED
@@ -1,4 +1,4 @@
1
1
  [defaults]
2
2
 
3
- roles_path = ../tmp/roles:./roles
3
+ roles_path = ./roles/tmp:./roles
4
4
  inventory = ./hosts
data/exe/qb CHANGED
@@ -159,6 +159,8 @@ end
159
159
 
160
160
  def help
161
161
  puts <<-END
162
+ version: #{ QB::VERSION }
163
+
162
164
  syntax:
163
165
 
164
166
  qb ROLE [OPTIONS] DIRECTORY
data/lib/qb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module QB
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -4,9 +4,10 @@ project_owner: "{{ ansible_env.GITHUB_USER }}"
4
4
  project_name: "{{ dir | realpath | basename }}"
5
5
  project_bin: true
6
6
  project_dev: true
7
+ project_dev_bin: true
7
8
  project_setup: true
8
9
  project_scratch: true
9
10
  project_tmp: true
10
11
  project_readme: true
11
12
  project_hub: false
12
- project_private: true
13
+ project_private: true
@@ -1,4 +1,4 @@
1
1
  [defaults]
2
2
 
3
- roles_path = ../tmp/roles:./roles
3
+ roles_path = ./roles/tmp:./roles
4
4
  inventory = ./hosts
@@ -23,6 +23,10 @@ qb_info:
23
23
  description: create a /dev directory
24
24
  type: boolean
25
25
 
26
+ - name: dev_bin
27
+ description: create a dev/bin directory
28
+ type: boolean
29
+
26
30
  - name: setup
27
31
  description: create a /dev/setup.yml playbook
28
32
  type: boolean
@@ -12,10 +12,15 @@
12
12
  # dev
13
13
  # ===
14
14
 
15
- - name: create /dev and /dev/bin directories
15
+ - name: create /dev
16
+ git_mkdir:
17
+ path: "{{ dir }}/dev"
18
+ when: project_dev or project_setup
19
+
20
+ - name: create /dev/bin directory
16
21
  git_mkdir:
17
22
  path: "{{ dir }}/dev/bin"
18
- when: project_dev
23
+ when: project_dev and project_dev_bin
19
24
 
20
25
  # setup
21
26
  # =====
@@ -30,7 +30,12 @@
30
30
  line: /dev/repos
31
31
  dest: "{{ dir }}/.gitignore"
32
32
 
33
- - name: ignore dev/ref/repos in git
33
+ - name: ignore dev/ref/tmp in git
34
34
  lineinfile:
35
- line: /dev/ref/repos
35
+ line: /dev/ref/tmp
36
+ dest: "{{ dir }}/.gitignore"
37
+
38
+ - name: ignore dev/roles/tmp (where galaxy downloads to)
39
+ lineinfile:
40
+ line: /dev/roles/tmp
36
41
  dest: "{{ dir }}/.gitignore"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-19 00:00:00.000000000 Z
11
+ date: 2016-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler