qb 0.1.81 → 0.1.82

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: bba65080a724f81277adc9a2a56f8e6ba62c165c
4
- data.tar.gz: be45317a1716f484e9040ef0830d02cd0439d3f2
3
+ metadata.gz: f79af1971f3f381d7ea11a3cbfb012ce0a69b058
4
+ data.tar.gz: 8ad77980fe630f79998e0b6bff45101562228bc4
5
5
  SHA512:
6
- metadata.gz: da5cacdac63f70bd0aa391c97ab289e35f1596cf7fdc7a48ccee6c943a6cf91da896505c18d97339ca7b4e2357a61757e48cdef8c3c2f584c202b7a2e30d0314
7
- data.tar.gz: e46d091cc8abb4800c1734a6d2f643852dbd7375d6dff4eb1509ae4331b6905f80e9b4bd2242431e6c229ff85566a10d9ceb6d69180020ef522aface45cf6d92
6
+ metadata.gz: ca03ec1f6d7d5d865a5751db8023995feab1464aac8e885bca694d7d399a8f1da1b6888ffe734e6b3a1006741db74ba05047b1f6fce53894a786ebd768fe2db1
7
+ data.tar.gz: 9327a604f4fae53a4db53c80c53366fed3a1738e40fd6a24ed549b7d7708efdcd4eb111a2a88a4ab0bd44b7526ea704e58b110d9f1e3ac4cfdbcd75eaf39fc28
@@ -134,7 +134,7 @@ module QB
134
134
  # @return [QB::Package::Version]
135
135
  #
136
136
  def self.from_docker_tag version
137
- from_string version.gsub('_', '+')
137
+ from_string(version.gsub('_', '+')).merge raw: version
138
138
  end # .from_docker_tag
139
139
 
140
140
 
@@ -4,7 +4,7 @@ module QB
4
4
 
5
5
  GEM_NAME = 'qb'
6
6
 
7
- VERSION = "0.1.81"
7
+ VERSION = "0.1.82"
8
8
 
9
9
  MIN_ANSIBLE_VERSION = Gem::Version.new '2.1.2'
10
10
 
@@ -10,3 +10,10 @@
10
10
  {{ role_dest }}/filter_plugins/{{ name }}_plugins.py
11
11
  force: >-
12
12
  {{ role_force }}
13
+
14
+ - name: >-
15
+ Make filter plugin executable so it's easier to run doctests.
16
+ file:
17
+ dest: >-
18
+ {{ role_dest }}/filter_plugins/{{ name }}_plugins.py
19
+ mode: a+x
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env python2
2
+
1
3
  # `{{ name }}` Ansible/Jinja2 Filters for `{{ role_role_name }}` Role.
2
4
  #
3
5
 
@@ -29,6 +31,9 @@ from ansible.errors import AnsibleError
29
31
  def my_{{ name }}_filter(subject, *args, **kwds):
30
32
  '''
31
33
  TODO doc me!
34
+
35
+ >>> my_{{ name }}_filter('yao')
36
+ "buyao"
32
37
  '''
33
38
 
34
39
  raise NotImplementedError("Implement me!")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.81
4
+ version: 0.1.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser