ostatus2 0.2 → 0.2.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
2
  SHA1:
3
- metadata.gz: a0f2bf068c141d0b56b19918f2e63c7cdb09d1f7
4
- data.tar.gz: 1dac4281a76c4271da2f983d2fc681d3aef40fbc
3
+ metadata.gz: 713a7f513d5197cb40f7f59e40af9e0b71aa43ea
4
+ data.tar.gz: 277f7a6f8d07f5d9706e6d7216e3a48c7f8f0973
5
5
  SHA512:
6
- metadata.gz: 2bdf235fd69bf66163458baf423e362627a9e20f08cf971756b03f8e38037b22b3c98d826b6b23a106b6fbc09a9ae35faf5075e0ab2d6f80390501a7f284101a
7
- data.tar.gz: 522c7df5fd213a553e911fedb6266fe3e21807ee108c34b2a3591dfb83806801077e04dec039c856319def7fcb3f4566bdcd31f6c919b09e52c3dae6f3eb3c7e
6
+ metadata.gz: 1ad3a7fc6c32e9d2b66e8a24813f58cbae795e4b9651736c7eaacacce43e5cfb1d47069ac82a6624cfee825b35d2a5c7edd4f5689165f76bfddd9328c25e3a64
7
+ data.tar.gz: 8f367c64f166fd53a5632bcfdb17e90bbd0fed1e0aaff6044e4bb34f297da139ce22b10c0e99905b80a4e22e9dad776183c026cbf6fdb19b47f5dcf4a53b425d
@@ -17,7 +17,7 @@ module OStatus2
17
17
  private
18
18
 
19
19
  def http_client
20
- HTTP
20
+ HTTP.timeout(:per_operation, write: 60, connect: 20, read: 60)
21
21
  end
22
22
  end
23
23
  end
@@ -54,7 +54,7 @@ module OStatus2
54
54
  private
55
55
 
56
56
  def http_client
57
- HTTP
57
+ HTTP.timeout(:per_operation, write: 60, connect: 20, read: 60)
58
58
  end
59
59
 
60
60
  def digest
@@ -56,7 +56,7 @@ module OStatus2
56
56
  end
57
57
 
58
58
  def http_client
59
- HTTP
59
+ HTTP.timeout(:per_operation, write: 60, connect: 20, read: 60)
60
60
  end
61
61
  end
62
62
  end
@@ -16,7 +16,7 @@ module OStatus2
16
16
  # Was the hub operation not successful?
17
17
  # @return [Boolean]
18
18
  def failed?
19
- !success?
19
+ !successful?
20
20
  end
21
21
 
22
22
  # Returns error message if the operation was not successful
@@ -1,3 +1,3 @@
1
1
  module OStatus2
2
- VERSION = "0.2"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ostatus2
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Rochko