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 +5 -5
- data/lib/git/semaphore/api.rb +3 -2
- data/lib/git/semaphore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 17e430cbe6fa05cae51f72ab97fe2dea23f8865a90ca47904dd8b13ef7efe0e1
|
4
|
+
data.tar.gz: 0361d6502579ada1244c8d3fa63a1f27c1fe850b51b2c3d1d86bf3739db2bb45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a99b7299ada668b3987f76f00eed738c69f607c7c0f149ff82f8dbcb92bc46f5f9097086efab8b4abba4b120c1356d070fdf9c641601f342d0326007c27b31
|
7
|
+
data.tar.gz: e235d27792aa581d63e326615d19fef8000561c31cec1f7a94fcdf691896655b934d9763e29015b6a2a01c81dc94a4173cf347b4127dd6ffed93fc97025b504b
|
data/lib/git/semaphore/api.rb
CHANGED
@@ -105,8 +105,9 @@ module Git
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def response.json_body
|
108
|
-
|
109
|
-
|
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
|
|
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.
|
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.
|
134
|
+
rubygems_version: 2.7.6
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: git integration with semaphoreci.com
|