snap_ci_manual_trigger 1.0.1 → 1.0.2

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: 3d91ecc798a86858e7a2d20c40a66e1652f606e9
4
- data.tar.gz: 6ad50172526ee1251cfa72b8146aaf63a23ff767
3
+ metadata.gz: 74a1e4f04078cc9f31a4c400cf17511c8528e725
4
+ data.tar.gz: fbea861b40d1ba3c6465f065f25a85148df47c20
5
5
  SHA512:
6
- metadata.gz: 1e5c018cbe69c1c8f0e1c1b6dd67808c981361291e7dc7d1859f5c5defe1b27415f82e60a663bba8eb59141928bc880f27ffc6db1df611b166fe5437b69e89aa
7
- data.tar.gz: c6a6e443e41cf5e7666993baa29d0c93ef4fce1c807a315fa686d80191d2bd20afbf586211b480f75c4d21185ce736fd9321df5f4e5cddc3d712d46d795926c5
6
+ metadata.gz: b3978b768c9b08d79f56a9161a381b004feaf54ae12fe0b5718bf9ab334e441b249c483f5a3902b28c9d359b52978d9bc796d8879deda97a5cd33a084b5f4cf7
7
+ data.tar.gz: 22c7f5c0c64cde96cd97d68e41c6e93126161a4db3e96a3177c0204f9652b50a6119a8dfd2471860d5d956e4c7841f292d40ad328b50db3708d689652c24802e
data/README.md CHANGED
@@ -88,6 +88,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/artiri
88
88
 
89
89
  ## CHANGES
90
90
 
91
+ ### v.1.0.2
92
+
93
+ - specify requirement of SNAP_CI_USER and SNAP_CI_API_KEY env vars in generated rake task.
94
+ - remove `:environment` req. in generated rake task.
95
+
91
96
  ### v.1.0.1
92
97
 
93
98
  - indentation in generated rake tasks
@@ -1,6 +1,6 @@
1
1
  namespace :snap_ci do
2
2
  desc <<-DESC.strip_heredoc
3
- executes #manual_stage_on_new_pipeline using <%= owner.inspect %> as owner and <%= repository.inspect %> as repository
3
+ executes #manual_stage_on_new_pipeline using <%= owner.inspect %> as owner and <%= repository.inspect %> as repository (requires ENV vars SNAP_CI_USER and SNAP_CI_API_KEY for credentials).
4
4
 
5
5
  example:
6
6
  rake <%= owner %>_<%= repository %>:manual_stage_on_new_pipeline[Deploy]
@@ -12,7 +12,7 @@ namespace :snap_ci do
12
12
 
13
13
  DESC
14
14
 
15
- task :'<%= owner %>_<%= repository %>', [:stage, :branch_name] => [:environment] do |t, args|
15
+ task :'<%= owner %>_<%= repository %>', [:stage, :branch_name] do |_t, args|
16
16
  args.with_defaults branch_name: 'master'
17
17
 
18
18
  owner = '<%= owner %>'
@@ -1,3 +1,3 @@
1
1
  module SnapCiManualTrigger
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snap_ci_manual_trigger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Turiño