diaspora_federation-rails 0.0.13 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b5523d45733972aad2844c368aabc4f4928cc37
|
4
|
+
data.tar.gz: 8c38906f37289b09eeddb1a4bcc2d003f4de7194
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0450dbf184f84f39751f4e102e44cb31da707b751065ce68e574f7f4df3bbbb50d40f9c41f6e996824221a956a8b8de00a6a7f436dfc5324122e6bac94f7ec6e
|
7
|
+
data.tar.gz: 30dd9d32ee1f9abcd5296afd21999ae917c1c0f32ec4268b7bc0642200e25f8b68f728fad898f8ee2a0dc708f4ff33c0aeb7d063a415d0d7213be0e35e1362f6
|
data/README.md
CHANGED
@@ -1,29 +1,24 @@
|
|
1
1
|
# diaspora* federation library
|
2
|
+
### A library that provides functionalities needed for the diaspora\* federation protocol
|
2
3
|
|
3
|
-
**
|
4
|
+
**master:** [](https://travis-ci.org/diaspora/diaspora_federation) |
|
5
|
+
**develop:** [](https://travis-ci.org/diaspora/diaspora_federation)
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
[](https://codeclimate.com/github/SuperTux88/diaspora_federation/coverage)
|
10
|
-
[](https://gemnasium.com/SuperTux88/diaspora_federation)
|
11
|
-
[](https://inch-ci.org/github/SuperTux88/diaspora_federation)
|
7
|
+
[](https://codeclimate.com/github/diaspora/diaspora_federation)
|
8
|
+
[](https://codeclimate.com/github/diaspora/diaspora_federation/coverage)
|
9
|
+
[](https://gemnasium.com/diaspora/diaspora_federation)
|
10
|
+
[](https://inch-ci.org/github/diaspora/diaspora_federation)
|
12
11
|
[](https://badge.fury.io/rb/diaspora_federation)
|
13
12
|
|
14
13
|
[Documentation](http://www.rubydoc.info/gems/diaspora_federation/) |
|
15
|
-
[Bugtracker](https://github.com/
|
16
|
-
|
17
|
-
## Library
|
14
|
+
[Bugtracker](https://github.com/diaspora/diaspora_federation/issues)
|
18
15
|
|
19
|
-
|
20
|
-
in the protocols used for communication among the various installations of Diaspora*
|
16
|
+
This repository contains two gems:
|
21
17
|
|
22
|
-
|
18
|
+
* `diaspora_federation` provides the functionality for de-/serialization and de-/encryption of Entities in the protocols used for communication among the various installations of diaspora\*.
|
19
|
+
* `diaspora_federation-rails` is a rails engine that adds the diaspora\* federation protocol to a rails app.
|
23
20
|
|
24
|
-
|
25
|
-
|
26
|
-
### Usage
|
21
|
+
## Usage
|
27
22
|
|
28
23
|
Add the gem to your ```Gemfile```:
|
29
24
|
|
@@ -61,22 +56,10 @@ DiasporaFederation.configure do |config|
|
|
61
56
|
end
|
62
57
|
```
|
63
58
|
|
64
|
-
##
|
65
|
-
|
66
|
-
**!!! This gem is currently under heavy development, so every release can contain breaking changes !!!**
|
67
|
-
|
68
|
-
If you want to help, please contact me, help is welcome.
|
69
|
-
|
70
|
-
After the first stable release, this repo will be moved to the [diaspora organization](https://github.com/diaspora/).
|
71
|
-
|
72
|
-
## Diaspora
|
73
|
-
|
74
|
-
A privacy-aware, distributed, open source social network
|
59
|
+
## Contributing
|
75
60
|
|
76
|
-
|
77
|
-
[Project site](https://diasporafoundation.org) |
|
78
|
-
[Wiki](https://wiki.diasporafoundation.org)
|
61
|
+
See [our contribution guide](/CONTRIBUTING.md) for more information on how to contribute to the diaspora\* federation library.
|
79
62
|
|
80
63
|
## License
|
81
64
|
|
82
|
-
|
65
|
+
[GNU Affero General Public License](/LICENSE).
|
@@ -29,7 +29,7 @@ module DiasporaFederation
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def create_magic_envelope(entity)
|
32
|
-
privkey = DiasporaFederation.callbacks.trigger(:
|
32
|
+
privkey = DiasporaFederation.callbacks.trigger(:fetch_private_key, entity.author)
|
33
33
|
Salmon::MagicEnvelope.new(entity, entity.author).envelop(privkey) if privkey
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diaspora_federation-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Neff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0
|
33
|
+
version: 0.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0
|
40
|
+
version: 0.1.0
|
41
41
|
description: A rails engine that adds the diaspora* federation protocol to a rails
|
42
42
|
app
|
43
43
|
email:
|
@@ -53,10 +53,11 @@ files:
|
|
53
53
|
- app/controllers/diaspora_federation/h_card_controller.rb
|
54
54
|
- app/controllers/diaspora_federation/receive_controller.rb
|
55
55
|
- app/controllers/diaspora_federation/webfinger_controller.rb
|
56
|
+
- config/initializers/filter_parameter_logging.rb
|
56
57
|
- config/routes.rb
|
57
58
|
- lib/diaspora_federation/engine.rb
|
58
59
|
- lib/diaspora_federation/rails.rb
|
59
|
-
homepage: https://github.com/
|
60
|
+
homepage: https://github.com/diaspora/diaspora_federation
|
60
61
|
licenses:
|
61
62
|
- AGPL 3.0 - http://www.gnu.org/licenses/agpl-3.0.html
|
62
63
|
metadata: {}
|
@@ -68,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
69
|
requirements:
|
69
70
|
- - "~>"
|
70
71
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
72
|
+
version: '2.1'
|
72
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
74
|
requirements:
|
74
75
|
- - ">="
|
@@ -76,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
77
|
version: '0'
|
77
78
|
requirements: []
|
78
79
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.4.
|
80
|
+
rubygems_version: 2.4.8
|
80
81
|
signing_key:
|
81
82
|
specification_version: 4
|
82
83
|
summary: diaspora* federation rails engine
|