tb-bjb 1.6.1 → 1.6.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
  SHA1:
3
- metadata.gz: 8893eb6afc3012497d950285a07cb8e7dffce5e3
4
- data.tar.gz: 663a8e484335e1e600f5da91b827a6318b852692
3
+ metadata.gz: 66dccc9d59b44a918a3e12ced842a8b160dc84c4
4
+ data.tar.gz: 13491a36d3f49cc863ca6b93f54a465c7fe9e1df
5
5
  SHA512:
6
- metadata.gz: b99f1502c357d16b968e4ee0503313672373bb1cd9e7065da8ed3777c8f275ce73d707819daf7a22eb498fe2e39eb9f604d61a7b1c9bf746ca06e8744e3382fe
7
- data.tar.gz: 45ef0e45c108a2aa7ac0c4a7cfdec57ff806d9ee12dc211ff2872dbc88afc597fee37f628af40344610254daffa701a51d1cfe315e965b0d6692be6f8854f616
6
+ metadata.gz: 8bb973fd9ce90776fc9e026d0cb4f493b450ad9b30207cda7c2ab9a8525e81cabf72be559874a9be1c8bd3cc71f01dcf89a847a3630fc98cf3548f09ee2e986d
7
+ data.tar.gz: cc9aaa02dbf66d0a0075f59652a5b9d9fd6a8f8b5fac6c010eab78f3c4d844f916f2fc0dd1e0eb2ae4b89780cf4f12c6f00fd1eaac4a5ff1dfe92ead91d8e6a4
@@ -63,8 +63,8 @@ module Tinybucket
63
63
  # @return
64
64
  def update(attrs = {})
65
65
  update_attrs = [ :title, :description, :reviewers ]
66
- self.attributes.merge(attrs.slice(update_attrs))
67
- pull_request_api.update(id, self.attributes.slice(update_attrs))
66
+ self.attributes.merge!(attrs.slice(*update_attrs))
67
+ pull_request_api.update(id, self.attributes.slice(*update_attrs))
68
68
  end
69
69
 
70
70
  # Decline or reject this pull request.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tinybucket
4
- VERSION = '1.6.1'.freeze
4
+ VERSION = '1.6.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb-bjb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hirakiuc