diaspora-api 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/diaspora-api.rb +17 -0
- metadata +8 -3
data/lib/diaspora-api.rb
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
# encoding: utf-8
|
3
|
+
|
4
|
+
#
|
5
|
+
# Copyright 2014 cmrd Senya (senya@riseup.net)
|
6
|
+
#
|
7
|
+
# This program is free software: you can redistribute it and/or modify
|
8
|
+
# it under the terms of the GNU General Public License as published by
|
9
|
+
# the Free Software Foundation, either version 3 of the License, or
|
10
|
+
# (at your option) any later version.
|
11
|
+
#
|
12
|
+
# This program is distributed in the hope that it will be useful,
|
13
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
# GNU General Public License for more details.
|
16
|
+
#
|
17
|
+
# You should have received a copy of the GNU General Public License
|
18
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
|
3
20
|
require "net/http"
|
4
21
|
require "net/https"
|
5
22
|
require "uri"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diaspora-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,12 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2014-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
14
|
+
description: ! 'Ruby gem to work with Diaspora*
|
15
|
+
|
16
|
+
|
17
|
+
Note: this is not wrapping an official API, since there is no such thing. The gem
|
18
|
+
just makes HTTPS requests and parses answers, which are friendly for parsing due
|
19
|
+
to usage of JSON.'
|
15
20
|
email: senya@riseup.net
|
16
21
|
executables: []
|
17
22
|
extensions: []
|
@@ -42,5 +47,5 @@ rubyforge_project:
|
|
42
47
|
rubygems_version: 1.8.23
|
43
48
|
signing_key:
|
44
49
|
specification_version: 3
|
45
|
-
summary: Diaspora*
|
50
|
+
summary: Diaspora* client
|
46
51
|
test_files: []
|