mercure 0.0.14 → 0.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b22599acdaa14de80559692dd59e601eb23337a
4
- data.tar.gz: 9b7ddcae2c0a9364527f34d39f4d85a6834511b3
3
+ metadata.gz: d1acf3f4631f4bd284b96e00fda8ee5bbfb53091
4
+ data.tar.gz: 2e62cac2f16de51e7acbe8243f37d662eb9da2eb
5
5
  SHA512:
6
- metadata.gz: 307abce45d283988a003dfbeaa3eb1b53c2ef97388034b56e106349f318dad177e27a03c7b020b3deb7cc62b142eeb01b2e5c809b45603808364d312ea623740
7
- data.tar.gz: 191f4c25f1ce3c1006c3b75917e9224251f2d01b66c3d05c070b5312736f3632c04449557105f747f5dd3ed5b0a6be475b7a6fec9b3a1537a4f64e8cff6e20cb
6
+ metadata.gz: 1529f5883188523b328486decc6b09d732637b81a81db4f3c37c2ea32a2b6d8391da39f3c18fec488a7aa68ebf6a7b093b95f6d4fe4e8ca3b0a8a53b4f8127fc
7
+ data.tar.gz: 01d6d3b782426e46d44f52750a5322e88a5fabb868210e7949495a2e994e75b858920b52a9f8418ee9253c54e8f8a20f69faf1f28305f9a5c98dcd3e62870a22
@@ -15,9 +15,10 @@ module Mercure
15
15
  end
16
16
 
17
17
  desc "build JOB", "will build the job"
18
+ option :p, :type => :boolean
18
19
  option :pinailleur, :type => :boolean
19
20
  def build(plist)
20
- if options[:pinailleur]
21
+ if options[:pinailleur] or options[:p]
21
22
  buildDeploymentsByAsking plist
22
23
  else
23
24
  buildDeployments plist
@@ -25,9 +26,10 @@ module Mercure
25
26
  end
26
27
 
27
28
  desc "upload JOB", "will upload the job (must have been 'build' before)"
29
+ option :p, :type => :boolean
28
30
  option :pinailleur, :type => :boolean
29
31
  def upload(plist)
30
- if options[:pinailleur]
32
+ if options[:pinailleur] or options[:p]
31
33
  uploadDeploymentsByAsking plist
32
34
  else
33
35
  uploadDeployments plist
@@ -35,9 +37,10 @@ module Mercure
35
37
  end
36
38
 
37
39
  desc "deploy JOB", "will deploy the job (must have been 'build' and 'upload' before)"
40
+ option :p, :type => :boolean
38
41
  option :pinailleur, :type => :boolean
39
42
  def deploy(plist)
40
- if options[:pinailleur]
43
+ if options[:pinailleur] or options[:p]
41
44
  deployDeploymentsByAsking plist
42
45
  else
43
46
  deployDeployments plist
@@ -45,9 +48,10 @@ module Mercure
45
48
  end
46
49
 
47
50
  desc "pan JOB", "will build, upload and deploy the job"
51
+ option :p, :type => :boolean
48
52
  option :pinailleur, :type => :boolean
49
53
  def pan(plist)
50
- if options[:pinailleur]
54
+ if options[:pinailleur] or options[:p]
51
55
  panDeploymentsByAsking plist
52
56
  else
53
57
  panDeployments plist
@@ -1,3 +1,3 @@
1
1
  module Mercure
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Meuel