ruboty-qiita-github 0.3.0 → 0.3.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: caf076de8647564c4cf76b70a6e79068e26a1cf64a9d317c0ff2954db458aca6
4
- data.tar.gz: 13e155d2450644cd6277502e9b8024e4a0521573cc21655a22ad289b60575071
3
+ metadata.gz: 9ff6f082efd3d94c6e28dbbf39ae0285cd0f6729415c7ad6e7c3527da26cb978
4
+ data.tar.gz: 3d0f484fa14f6634f6db23dc85fef11467d3d03de29d963cb8ccd81097e12e97
5
5
  SHA512:
6
- metadata.gz: dacf9494aa6a174e25a6ce677016d8d38462a23b92b7636f92aa8b5a6763fb6cd9729de624e7234a0c1b7969534d6c0e49c5c04b5bbda8c821658b4e6e5014a5
7
- data.tar.gz: 74ea9024b5403dbba94ab085145b50dfadf4a439800884c6539cfc33e2f7d7afadf84c8d5787316917f2d9ff72d59c600dc568b52101858bb1d15cbfe77438ba
6
+ metadata.gz: b69769ed73851c28ff5af05a7adcf8d97c6fcd5b54ded6e95e931125abde5a28d029069cfdd5cfecd865f8ea2fbeb4984ca24c13c109b93cf2a899df2e4992be
7
+ data.tar.gz: 194f8a7d7c3c556fe664c5279d7054378ed127a13312fa0196706ec137551371fcfb3a59ab41fb9b9a8780218a6eb9a6f1ec5a9fa8fe324930ed446a8533ae18
data/.rubocop.yml CHANGED
@@ -7,3 +7,6 @@ require:
7
7
 
8
8
  AllCops:
9
9
  NewCops: enable
10
+
11
+ Gemspec/DevelopmentDependencies:
12
+ EnforcedStyle: gemspec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.3.2
4
+ - Allow space in merge command
5
+ - Send message when all exceptions
6
+
7
+ ## 0.3.1
8
+ - Enable to change migration warning message
9
+
3
10
  ## 0.3.0
4
11
  - Fix a bug that deploy pr messages trigger other actions also
5
12
  - Warn when deployment pull request includes database migration
@@ -17,8 +17,8 @@ module Ruboty
17
17
  rescue Octokit::NotFound
18
18
  message.reply('Could not find that issue')
19
19
  rescue StandardError => e
20
- raise e
21
20
  message.reply("Failed by #{e.class}")
21
+ raise e
22
22
  end
23
23
 
24
24
  private
@@ -9,7 +9,10 @@ module Ruboty
9
9
  def create
10
10
  super
11
11
 
12
- message.reply('@here :warning: This deployment includes some database migrations') if database_schema_changed?
12
+ return unless database_schema_changed?
13
+
14
+ message.reply(ENV.fetch('MIGRATION_WARNING_MESSAGE',
15
+ '@here :warning: This deployment includes some database migrations'))
13
16
  end
14
17
 
15
18
  # e.g. master
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruboty
4
4
  module Github
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.2'
6
6
  end
7
7
  end
@@ -44,7 +44,7 @@ module Ruboty
44
44
  )
45
45
 
46
46
  on(
47
- /merge #{ISSUE_PATTERN}\z/o,
47
+ /merge\s+#{ISSUE_PATTERN}\z/o,
48
48
  name: 'merge_pull_request',
49
49
  description: 'Merge pull request'
50
50
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-qiita-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-10-14 00:00:00.000000000 Z
12
+ date: 2023-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubygems_version: 3.1.4
235
+ rubygems_version: 3.1.6
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Manage GitHub via Ruboty.