git-semaphore 2.3.0 → 2.3.1

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
- SHA1:
3
- metadata.gz: 66e9679496d1895ac17f237e08799fa1e26eb776
4
- data.tar.gz: e6d767f4b935889fdbcaa4618a1c33ffa2a98e99
2
+ SHA256:
3
+ metadata.gz: 17e430cbe6fa05cae51f72ab97fe2dea23f8865a90ca47904dd8b13ef7efe0e1
4
+ data.tar.gz: 0361d6502579ada1244c8d3fa63a1f27c1fe850b51b2c3d1d86bf3739db2bb45
5
5
  SHA512:
6
- metadata.gz: 218920412aff1e0ce6de298f5a6963beebd458c8441b96c9c8cbaf47fba4116789a6cfa95ae20b505f9be05d2fcd2efe52db7c60f18229e2c37f4df630b8c23e
7
- data.tar.gz: 4160af4e0fc718ebe965983e5f41c9e61734e352b8363eded67550073abf2beb18319d8cf41f4a5c7ba61612eda31804572f80bb13fd7b27abc36e8d8a91da77
6
+ metadata.gz: 81a99b7299ada668b3987f76f00eed738c69f607c7c0f149ff82f8dbcb92bc46f5f9097086efab8b4abba4b120c1356d070fdf9c641601f342d0326007c27b31
7
+ data.tar.gz: e235d27792aa581d63e326615d19fef8000561c31cec1f7a94fcdf691896655b934d9763e29015b6a2a01c81dc94a4173cf347b4127dd6ffed93fc97025b504b
@@ -105,8 +105,9 @@ module Git
105
105
  end
106
106
 
107
107
  def response.json_body
108
- raise 'JSON response expected' \
109
- unless self['content-type'].match?(%r{application/json})
108
+ # "application/json; charset=utf-8"
109
+ raise 'JSON body expected' \
110
+ unless self['content-type'] =~ %r{\Aapplication/json}
110
111
  JSON.parse(body)
111
112
  end
112
113
 
@@ -3,7 +3,7 @@ require 'rugged'
3
3
  module Git
4
4
  module Semaphore
5
5
  NAME = 'git-semaphore'.freeze
6
- VERSION = '2.3.0'.freeze
6
+ VERSION = '2.3.1'.freeze
7
7
 
8
8
  DEPENDENCY_VERSIONS = [
9
9
  "rugged v#{Rugged::VERSION}",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-semaphore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenberk
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.5.2.3
134
+ rubygems_version: 2.7.6
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: git integration with semaphoreci.com