social_net 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +23 -0
- data/CHANGELOG.md +5 -1
- data/MIT-LICENSE +1 -1
- data/README.md +20 -3
- data/lib/social_net/instagram/models/user.rb +15 -1
- data/lib/social_net/instagram/models/video.rb +17 -0
- data/lib/social_net/instagram/models.rb +1 -0
- data/lib/social_net/version.rb +1 -1
- data/spec/social_net/instagram/models/user_spec.rb +13 -0
- data/spec/support/cassettes/Posts/_posts/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml +48 -0
- data/spec/support/cassettes/Posts/_posts/given_an_unknown_username/.yml +48 -0
- data/spec/support/cassettes/SocialNet_Instagram_Models_User/_posts/given_an_existing_user/returns_an_array_of_posts_from_the_user.yml +883 -0
- metadata +9 -31
- data/Gemfile.lock +0 -94
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -847
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.9.0/application.css +0 -799
- data/coverage/assets/0.9.0/application.js +0 -1707
- data/coverage/assets/0.9.0/colorbox/border.png +0 -0
- data/coverage/assets/0.9.0/colorbox/controls.png +0 -0
- data/coverage/assets/0.9.0/colorbox/loading.gif +0 -0
- data/coverage/assets/0.9.0/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.9.0/favicon_green.png +0 -0
- data/coverage/assets/0.9.0/favicon_red.png +0 -0
- data/coverage/assets/0.9.0/favicon_yellow.png +0 -0
- data/coverage/assets/0.9.0/loading.gif +0 -0
- data/coverage/assets/0.9.0/magnify.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.9.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +0 -5624
- data/social_net-0.1.0.gem +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_net
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Cohen Hoffing
|
@@ -129,40 +129,12 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
+
- ".gitignore"
|
132
133
|
- CHANGELOG.md
|
133
134
|
- Gemfile
|
134
|
-
- Gemfile.lock
|
135
135
|
- MIT-LICENSE
|
136
136
|
- README.md
|
137
137
|
- Rakefile
|
138
|
-
- coverage/.last_run.json
|
139
|
-
- coverage/.resultset.json
|
140
|
-
- coverage/.resultset.json.lock
|
141
|
-
- coverage/assets/0.9.0/application.css
|
142
|
-
- coverage/assets/0.9.0/application.js
|
143
|
-
- coverage/assets/0.9.0/colorbox/border.png
|
144
|
-
- coverage/assets/0.9.0/colorbox/controls.png
|
145
|
-
- coverage/assets/0.9.0/colorbox/loading.gif
|
146
|
-
- coverage/assets/0.9.0/colorbox/loading_background.png
|
147
|
-
- coverage/assets/0.9.0/favicon_green.png
|
148
|
-
- coverage/assets/0.9.0/favicon_red.png
|
149
|
-
- coverage/assets/0.9.0/favicon_yellow.png
|
150
|
-
- coverage/assets/0.9.0/loading.gif
|
151
|
-
- coverage/assets/0.9.0/magnify.png
|
152
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
153
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
154
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
155
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
156
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
157
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
158
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
159
|
-
- coverage/assets/0.9.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
160
|
-
- coverage/assets/0.9.0/smoothness/images/ui-icons_222222_256x240.png
|
161
|
-
- coverage/assets/0.9.0/smoothness/images/ui-icons_2e83ff_256x240.png
|
162
|
-
- coverage/assets/0.9.0/smoothness/images/ui-icons_454545_256x240.png
|
163
|
-
- coverage/assets/0.9.0/smoothness/images/ui-icons_888888_256x240.png
|
164
|
-
- coverage/assets/0.9.0/smoothness/images/ui-icons_cd0a0a_256x240.png
|
165
|
-
- coverage/index.html
|
166
138
|
- lib/social_net.rb
|
167
139
|
- lib/social_net/facebook.rb
|
168
140
|
- lib/social_net/facebook/api/configuration.rb
|
@@ -183,6 +155,7 @@ files:
|
|
183
155
|
- lib/social_net/instagram/errors/unknown_user.rb
|
184
156
|
- lib/social_net/instagram/models.rb
|
185
157
|
- lib/social_net/instagram/models/user.rb
|
158
|
+
- lib/social_net/instagram/models/video.rb
|
186
159
|
- lib/social_net/twitter.rb
|
187
160
|
- lib/social_net/twitter/api/configuration.rb
|
188
161
|
- lib/social_net/twitter/api/request.rb
|
@@ -195,17 +168,19 @@ files:
|
|
195
168
|
- lib/social_net/twitter/models.rb
|
196
169
|
- lib/social_net/twitter/models/user.rb
|
197
170
|
- lib/social_net/version.rb
|
198
|
-
- social_net-0.1.0.gem
|
199
171
|
- social_net.gemspec
|
200
172
|
- spec/social_net/facebook/models/pages_spec.rb
|
201
173
|
- spec/social_net/facebook/models/users_spec.rb
|
202
174
|
- spec/social_net/instagram/models/user_spec.rb
|
203
175
|
- spec/social_net/twitter/models/user_spec.rb
|
204
176
|
- spec/spec_helper.rb
|
177
|
+
- spec/support/cassettes/Posts/_posts/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
178
|
+
- spec/support/cassettes/Posts/_posts/given_an_unknown_username/.yml
|
205
179
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
206
180
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by/given_an_unknown_username/.yml
|
207
181
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
208
182
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_unknown_username/.yml
|
183
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_User/_posts/given_an_existing_user/returns_an_array_of_posts_from_the_user.yml
|
209
184
|
- spec/support/vcr.rb
|
210
185
|
homepage: https://github.com/CollabCreators/social_net
|
211
186
|
licenses:
|
@@ -237,9 +212,12 @@ test_files:
|
|
237
212
|
- spec/social_net/instagram/models/user_spec.rb
|
238
213
|
- spec/social_net/twitter/models/user_spec.rb
|
239
214
|
- spec/spec_helper.rb
|
215
|
+
- spec/support/cassettes/Posts/_posts/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
216
|
+
- spec/support/cassettes/Posts/_posts/given_an_unknown_username/.yml
|
240
217
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
241
218
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by/given_an_unknown_username/.yml
|
242
219
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml
|
243
220
|
- spec/support/cassettes/SocialNet_Instagram_Models_User/_find_by_/given_an_unknown_username/.yml
|
221
|
+
- spec/support/cassettes/SocialNet_Instagram_Models_User/_posts/given_an_existing_user/returns_an_array_of_posts_from_the_user.yml
|
244
222
|
- spec/support/vcr.rb
|
245
223
|
has_rdoc:
|
data/Gemfile.lock
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
social_net (0.1.0)
|
5
|
-
activesupport
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activesupport (5.0.2)
|
11
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
12
|
-
i18n (~> 0.7)
|
13
|
-
minitest (~> 5.1)
|
14
|
-
tzinfo (~> 1.1)
|
15
|
-
addressable (2.5.0)
|
16
|
-
public_suffix (~> 2.0, >= 2.0.2)
|
17
|
-
concurrent-ruby (1.0.5)
|
18
|
-
coveralls (0.7.12)
|
19
|
-
multi_json (~> 1.10)
|
20
|
-
rest-client (>= 1.6.8, < 2)
|
21
|
-
simplecov (~> 0.9.1)
|
22
|
-
term-ansicolor (~> 1.3)
|
23
|
-
thor (~> 0.19.1)
|
24
|
-
crack (0.4.3)
|
25
|
-
safe_yaml (~> 1.0.0)
|
26
|
-
diff-lcs (1.3)
|
27
|
-
docile (1.1.5)
|
28
|
-
domain_name (0.5.20170223)
|
29
|
-
unf (>= 0.0.5, < 1.0.0)
|
30
|
-
hashdiff (0.3.2)
|
31
|
-
http-cookie (1.0.3)
|
32
|
-
domain_name (~> 0.5)
|
33
|
-
i18n (0.8.1)
|
34
|
-
mime-types (2.99.3)
|
35
|
-
minitest (5.10.1)
|
36
|
-
multi_json (1.12.1)
|
37
|
-
netrc (0.11.0)
|
38
|
-
public_suffix (2.0.5)
|
39
|
-
rake (10.5.0)
|
40
|
-
rest-client (1.8.0)
|
41
|
-
http-cookie (>= 1.0.2, < 2.0)
|
42
|
-
mime-types (>= 1.16, < 3.0)
|
43
|
-
netrc (~> 0.7)
|
44
|
-
rspec (3.5.0)
|
45
|
-
rspec-core (~> 3.5.0)
|
46
|
-
rspec-expectations (~> 3.5.0)
|
47
|
-
rspec-mocks (~> 3.5.0)
|
48
|
-
rspec-core (3.5.4)
|
49
|
-
rspec-support (~> 3.5.0)
|
50
|
-
rspec-expectations (3.5.0)
|
51
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.5.0)
|
53
|
-
rspec-mocks (3.5.0)
|
54
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.5.0)
|
56
|
-
rspec-support (3.5.0)
|
57
|
-
safe_yaml (1.0.4)
|
58
|
-
simplecov (0.9.2)
|
59
|
-
docile (~> 1.1.0)
|
60
|
-
multi_json (~> 1.0)
|
61
|
-
simplecov-html (~> 0.9.0)
|
62
|
-
simplecov-html (0.9.0)
|
63
|
-
term-ansicolor (1.4.0)
|
64
|
-
tins (~> 1.0)
|
65
|
-
thor (0.19.4)
|
66
|
-
thread_safe (0.3.6)
|
67
|
-
tins (1.13.2)
|
68
|
-
tzinfo (1.2.2)
|
69
|
-
thread_safe (~> 0.1)
|
70
|
-
unf (0.1.4)
|
71
|
-
unf_ext
|
72
|
-
unf_ext (0.0.7.2)
|
73
|
-
vcr (2.9.3)
|
74
|
-
webmock (1.24.6)
|
75
|
-
addressable (>= 2.3.6)
|
76
|
-
crack (>= 0.3.2)
|
77
|
-
hashdiff
|
78
|
-
yard (0.8.7.6)
|
79
|
-
|
80
|
-
PLATFORMS
|
81
|
-
ruby
|
82
|
-
|
83
|
-
DEPENDENCIES
|
84
|
-
bundler (~> 1.6)
|
85
|
-
coveralls (~> 0.7.1)
|
86
|
-
rake (~> 10.3)
|
87
|
-
rspec (~> 3.1)
|
88
|
-
social_net!
|
89
|
-
vcr (~> 2.9)
|
90
|
-
webmock (~> 1.19)
|
91
|
-
yard (~> 0.8.7)
|
92
|
-
|
93
|
-
BUNDLED WITH
|
94
|
-
1.10.6
|