discharger 0.1.0 → 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
  SHA256:
3
- metadata.gz: 48d8ec34c0e97892c1dd06c2a23e5d5f61028949d04638d848e62258c1c9f89c
4
- data.tar.gz: d7a1d3338e2fe6bbbad2088e29017c1cefd6c5dac70b4dc45fc3f9429417f581
3
+ metadata.gz: 0fffef572ce0376b8146f3291e63f9afc8c7f43cd71a0cb6a8bd4030ede12670
4
+ data.tar.gz: 3916de07bdf8c86b9e00a5d63d4c9686a06618e434b62298796bfab88721574a
5
5
  SHA512:
6
- metadata.gz: ab11db3d3ebfbaf567bafa691bf390a5c7b663f4d7b3d935e0996d057fe68472dc24e06b9b1c53fe1a41ec5de4007a78307c6243fff9f8eb9d71f22c86faf9f5
7
- data.tar.gz: dc349824f12833069806e1b1a6fdad4fd1b17e53f349f155724a1c42a220500c6670cbcce43c90b64a331c6cd26cc804f1c84eeac5dd18bb04b656e6413cbaab
6
+ metadata.gz: 72d7a4c5d239d3d43c8b1ce95e99f6161d877e2410b451b4cfa3c2bb69683211592f0f325e7bc64427f03ffe01e3ca8d96970a0ca968d828d6bf5ccea8cb8724
7
+ data.tar.gz: 69dfe1b7c337a4d94ee8eb943ea7805925f094589987b00c1c50408227cf38f6045f1d515176658ef1ec3fe7e7ad8d73564d417389bcbe3a9e738d6ea099dff7
@@ -1,4 +1,7 @@
1
1
  require "rake/tasklib"
2
+ require "reissue/rake"
3
+ require "rainbow/refinement"
4
+ using Rainbow
2
5
 
3
6
  module Discharger
4
7
  class Task < Rake::TaskLib
@@ -131,7 +134,7 @@ module Discharger
131
134
  "git tag -a v#{current_version} -m 'Release #{current_version}'",
132
135
  "git push origin #{production_branch}; git push origin v#{current_version}"
133
136
  ) do
134
- Rake::Task["slack"].invoke("Released #{Qualify.name} #{current_version} to production.", release_message_channel, ":chipmunk:")
137
+ Rake::Task["#{name}:slack"].invoke("Released #{Qualify.name} #{current_version} to production.", release_message_channel, ":chipmunk:")
135
138
  syscall "git checkout #{working_branch}"
136
139
  end
137
140
 
@@ -178,7 +181,7 @@ module Discharger
178
181
  "git checkout -b #{staging_branch}",
179
182
  "git push origin #{staging_branch} --force"
180
183
  ) do
181
- Rake::Task["slack"].invoke("Building #{app_name} #{commit_identifier.call} on #{staging_branch}.", release_message_channel)
184
+ Rake::Task["#{name}:slack"].invoke("Building #{app_name} #{commit_identifier.call} on #{staging_branch}.", release_message_channel)
182
185
  syscall "git checkout #{working_branch}"
183
186
  end
184
187
  end
@@ -1,3 +1,3 @@
1
1
  module Discharger
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discharger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Gay