ostatus2 1.0.2 → 1.1.0

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: d26eccb4629b92d819c936178da70bc11afe09db
4
- data.tar.gz: b3920f6bb53f50760e6405e836792eac079e3a14
3
+ metadata.gz: 18dc56ea9ff324180e2e9affcf6bf11f11683ea7
4
+ data.tar.gz: afb7271a4ef3e3f2e055cdbe40b5c66dfedb9c92
5
5
  SHA512:
6
- metadata.gz: 47bf93c810f1d84d9b67bb3c59de4c3c3483e2f8bbaf87ae35396bd1b95c43d4d3f621fbc41c95d369aa46f13da611e6c69d7ee08d4cc5b5fd8ebb01b83631a6
7
- data.tar.gz: dbab12a9cd9f1bf2c165bfa5fa787baa7453d65e5e853bc7174b8bcfbe4871df2169cb794460febbe0a3abede83de8d896144c977b5f7a1a8b0dd4697f825217
6
+ metadata.gz: 82c9d569c44779bbae951dcc29a7984aec733fec1444972bb9344128517993c80fc6a1d8711d34c3ba3617d4e364353dc52529236db5af127d70e53e32e49607
7
+ data.tar.gz: 4cdc243b0d69f63c49287e8cbd47262958d6ebd91157d9324fe97fe9f55a84b8601d8f020ecd822fe65e1e0704b3915fb4306ade50c6ce9e20128443a632b384
data/README.md CHANGED
@@ -2,12 +2,12 @@ OStatus2
2
2
  ==========
3
3
 
4
4
  [![Gem Version](http://img.shields.io/gem/v/ostatus2.svg)][gem]
5
- [![Build Status](http://img.shields.io/travis/Gargron/ostatus2.svg)][travis]
6
- [![Dependency Status](http://img.shields.io/gemnasium/Gargron/ostatus2.svg)][gemnasium]
5
+ [![Build Status](http://img.shields.io/travis/tootsuite/ostatus2.svg)][travis]
6
+ [![Dependency Status](http://img.shields.io/gemnasium/tootsuite/ostatus2.svg)][gemnasium]
7
7
 
8
8
  [gem]: https://rubygems.org/gems/ostatus2
9
- [travis]: https://travis-ci.org/Gargron/ostatus2
10
- [gemnasium]: https://gemnasium.com/Gargron/ostatus2
9
+ [travis]: https://travis-ci.org/tootsuite/ostatus2
10
+ [gemnasium]: https://gemnasium.com/tootsuite/ostatus2
11
11
 
12
12
  A Ruby toolset for interacting with the OStatus suite of protocols:
13
13
 
@@ -4,10 +4,8 @@ module OStatus2
4
4
  _, modulus, exponent = magic_key.split('.')
5
5
  modulus, exponent = [modulus, exponent].map { |n| decode_base64(n).bytes.inject(0) { |a, e| (a << 8) | e } }
6
6
 
7
- key = OpenSSL::PKey::RSA.new
8
- key.n = modulus
9
- key.e = exponent
10
-
7
+ key = OpenSSL::PKey::RSA.new
8
+ key.set_key(modulus, exponent, nil)
11
9
  key.to_pem
12
10
  end
13
11
 
@@ -1,3 +1,3 @@
1
1
  module OStatus2
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ostatus2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Rochko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-16 00:00:00.000000000 Z
11
+ date: 2017-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: openssl
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: http
15
29
  requirement: !ruby/object:Gem::Requirement