adn 0.0.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -5
- data/.travis.yml +7 -0
- data/Gemfile +6 -3
- data/Gemfile.lock +18 -0
- data/README.md +54 -17
- data/Rakefile +23 -1
- data/adn.gemspec +13 -13
- data/lib/adn/api/filter.rb +10 -0
- data/lib/adn/api/post.rb +47 -0
- data/lib/adn/api/response.rb +13 -0
- data/lib/adn/api/stream.rb +10 -0
- data/lib/adn/api/subscription.rb +11 -0
- data/lib/adn/api/token.rb +12 -0
- data/lib/adn/api/user.rb +23 -0
- data/lib/adn/api.rb +45 -0
- data/lib/adn/constants.rb +14 -0
- data/lib/adn/post.rb +62 -0
- data/lib/adn/user.rb +109 -0
- data/lib/adn/version.rb +8 -2
- data/lib/adn.rb +52 -3
- data/spec/adn/api/filter_spec.rb +9 -0
- data/spec/adn/api/post_spec.rb +103 -0
- data/spec/adn/api/response_spec.rb +13 -0
- data/spec/adn/api/stream_spec.rb +9 -0
- data/spec/adn/api/subscription_spec.rb +9 -0
- data/spec/adn/api/token_spec.rb +21 -0
- data/spec/adn/api/user_spec.rb +35 -0
- data/spec/adn/post_spec.rb +146 -0
- data/spec/adn/user_spec.rb +117 -0
- data/spec/adn_spec.rb +40 -0
- data/spec/fixtures/post.json +88 -0
- data/spec/fixtures/user.json +54 -0
- data/spec/spec_helper.rb +30 -0
- metadata +56 -11
- data/LICENSE +0 -22
metadata
CHANGED
@@ -1,32 +1,61 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Kishyr Ramdial
|
9
|
+
- Dave Goodchild
|
10
|
+
- Peter Hellberg
|
9
11
|
autorequire:
|
10
12
|
bindir: bin
|
11
13
|
cert_chain: []
|
12
|
-
date: 2012-
|
14
|
+
date: 2012-09-09 00:00:00.000000000 Z
|
13
15
|
dependencies: []
|
14
|
-
description: App.net
|
16
|
+
description: A simple and easy to use library to interact with App.net's API
|
15
17
|
email:
|
16
|
-
-
|
18
|
+
- kishyr@gmail.com
|
19
|
+
- buddhamagnet@gmail.com
|
20
|
+
- peter@c7.se
|
17
21
|
executables: []
|
18
22
|
extensions: []
|
19
23
|
extra_rdoc_files: []
|
20
24
|
files:
|
21
25
|
- .gitignore
|
26
|
+
- .travis.yml
|
22
27
|
- Gemfile
|
23
|
-
-
|
28
|
+
- Gemfile.lock
|
24
29
|
- README.md
|
25
30
|
- Rakefile
|
26
31
|
- adn.gemspec
|
27
32
|
- lib/adn.rb
|
33
|
+
- lib/adn/api.rb
|
34
|
+
- lib/adn/api/filter.rb
|
35
|
+
- lib/adn/api/post.rb
|
36
|
+
- lib/adn/api/response.rb
|
37
|
+
- lib/adn/api/stream.rb
|
38
|
+
- lib/adn/api/subscription.rb
|
39
|
+
- lib/adn/api/token.rb
|
40
|
+
- lib/adn/api/user.rb
|
41
|
+
- lib/adn/constants.rb
|
42
|
+
- lib/adn/post.rb
|
43
|
+
- lib/adn/user.rb
|
28
44
|
- lib/adn/version.rb
|
29
|
-
|
45
|
+
- spec/adn/api/filter_spec.rb
|
46
|
+
- spec/adn/api/post_spec.rb
|
47
|
+
- spec/adn/api/response_spec.rb
|
48
|
+
- spec/adn/api/stream_spec.rb
|
49
|
+
- spec/adn/api/subscription_spec.rb
|
50
|
+
- spec/adn/api/token_spec.rb
|
51
|
+
- spec/adn/api/user_spec.rb
|
52
|
+
- spec/adn/post_spec.rb
|
53
|
+
- spec/adn/user_spec.rb
|
54
|
+
- spec/adn_spec.rb
|
55
|
+
- spec/fixtures/post.json
|
56
|
+
- spec/fixtures/user.json
|
57
|
+
- spec/spec_helper.rb
|
58
|
+
homepage: https://github.com/kishyr/ADNRuby
|
30
59
|
licenses: []
|
31
60
|
post_install_message:
|
32
61
|
rdoc_options: []
|
@@ -37,17 +66,33 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
66
|
requirements:
|
38
67
|
- - ! '>='
|
39
68
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
69
|
+
version: 1.9.3
|
41
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
71
|
none: false
|
43
72
|
requirements:
|
44
73
|
- - ! '>='
|
45
74
|
- !ruby/object:Gem::Version
|
46
75
|
version: '0'
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
hash: -1331430351870460799
|
47
79
|
requirements: []
|
48
80
|
rubyforge_project:
|
49
|
-
rubygems_version: 1.8.
|
81
|
+
rubygems_version: 1.8.24
|
50
82
|
signing_key:
|
51
83
|
specification_version: 3
|
52
|
-
summary:
|
53
|
-
test_files:
|
84
|
+
summary: A Ruby library for App.net
|
85
|
+
test_files:
|
86
|
+
- spec/adn/api/filter_spec.rb
|
87
|
+
- spec/adn/api/post_spec.rb
|
88
|
+
- spec/adn/api/response_spec.rb
|
89
|
+
- spec/adn/api/stream_spec.rb
|
90
|
+
- spec/adn/api/subscription_spec.rb
|
91
|
+
- spec/adn/api/token_spec.rb
|
92
|
+
- spec/adn/api/user_spec.rb
|
93
|
+
- spec/adn/post_spec.rb
|
94
|
+
- spec/adn/user_spec.rb
|
95
|
+
- spec/adn_spec.rb
|
96
|
+
- spec/fixtures/post.json
|
97
|
+
- spec/fixtures/user.json
|
98
|
+
- spec/spec_helper.rb
|
data/LICENSE
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 Justin Balthrop
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|