ruby_ci 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_ci/version.rb +1 -1
- data/lib/ruby_ci.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a36f45010afe78e1120ea778e05be64be81a1b1bf481c8303f09c3bfd2da762
|
4
|
+
data.tar.gz: d931209ad951abf2afe8a23783f96b4762810d92f96bd7bef9fb692fc5995565
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302c63dca0fbeca524cbfcd99777a86426783ec2bf22008ee0835b54cd58d57ea95a8618f27eec85eddbc4b3a3571d32b443caa404371c93e7f3c23106f659c0
|
7
|
+
data.tar.gz: 673b0bfef308efec1d92a9d47cba1be6fe4f23ffd1812368a83d2e03249cf5ab2ae8a6ec717682a573c84de702a67da8d5ae63a586ee678ff08e794a0527a9ee
|
data/lib/ruby_ci/version.rb
CHANGED
data/lib/ruby_ci.rb
CHANGED
@@ -75,14 +75,14 @@ module RubyCI
|
|
75
75
|
reset_webmock = false
|
76
76
|
if defined?(WebMock)
|
77
77
|
reset_webmock = !WebMock.net_connect_allowed?
|
78
|
-
|
78
|
+
WebMock.allow_net_connect!
|
79
79
|
end
|
80
80
|
|
81
81
|
uri = URI("#{RubyCI.configuration.rubyci_main_url}/api/v1/gitlab_events")
|
82
82
|
res = Net::HTTP.post_form(uri, data)
|
83
83
|
|
84
84
|
if reset_webmock
|
85
|
-
|
85
|
+
WebMock.disable_net_connect!
|
86
86
|
end
|
87
87
|
end
|
88
88
|
end
|