deviantart 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.jrubyrc +1 -0
- data/.travis.yml +6 -1
- data/README.md +3 -2
- data/appveyor.yml +15 -0
- data/deviantart.gemspec +6 -4
- data/lib/deviantart.rb +0 -5
- data/lib/deviantart/authorization_code.rb +0 -1
- data/lib/deviantart/base.rb +12 -2
- data/lib/deviantart/client.rb +9 -4
- data/lib/deviantart/client/collections.rb +29 -1
- data/lib/deviantart/client/feed.rb +10 -2
- data/lib/deviantart/client/gallery.rb +13 -1
- data/lib/deviantart/client/user.rb +34 -1
- data/lib/deviantart/client_credentials/access_token.rb +0 -1
- data/lib/deviantart/collections/fave.rb +7 -0
- data/lib/deviantart/collections/folders/create.rb +7 -0
- data/lib/deviantart/collections/folders/remove.rb +7 -0
- data/lib/deviantart/collections/unfave.rb +7 -0
- data/lib/deviantart/deviation.rb +8 -0
- data/lib/deviantart/feed/profile.rb +14 -0
- data/lib/deviantart/gallery/folders/create.rb +7 -0
- data/lib/deviantart/gallery/folders/remove.rb +7 -0
- data/lib/deviantart/status.rb +8 -0
- data/lib/deviantart/user.rb +8 -0
- data/lib/deviantart/user/damn_token.rb +7 -0
- data/lib/deviantart/user/friends/unwatch.rb +7 -0
- data/lib/deviantart/user/friends/watch.rb +7 -0
- data/lib/deviantart/user/friends/watching.rb +7 -0
- data/lib/deviantart/version.rb +1 -1
- metadata +30 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b417c7a84e1d6a06c309dafed01a763304870eb
|
4
|
+
data.tar.gz: e56e1c571d2436e9ab43243f1c3151f61db65276
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5bd80817e80c7711edf5d78f2de4a2e7703483deb49c904f893fef74f488d3a45f84bccc450e930d3e811b099ee5c6eb37409d947ed197dc07f65ba45ddb38b
|
7
|
+
data.tar.gz: 47b28e9db28828f374d3de0eaffd2b1eab30a09f892a4718c74a42da9e15a9701321433a47389a96c4062e4969c53a459f2a16a3f69da4c07db5f1e1ffacba34
|
data/.gitignore
CHANGED
data/.jrubyrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
compat.version=2.0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
da = DeviantArt::Client.new do |config|
|
11
11
|
config.client_id = 9999
|
12
12
|
config.client_secret = 'LMNOPQRSTUVWXYZZZZZZZZ9999999999'
|
13
|
-
# auto refresh access_token with Client Credentials Grant when expired
|
14
13
|
config.grant_type = :client_credentials
|
14
|
+
# auto refresh access_token with Client Credentials Grant when expired
|
15
15
|
config.access_token_auto_refresh = true
|
16
16
|
end
|
17
17
|
|
@@ -90,4 +90,5 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
90
90
|
|
91
91
|
## Badges
|
92
92
|
|
93
|
-
[![Build Status](https://travis-ci.org/aycabta/deviantart.svg)](https://travis-ci.org/aycabta/deviantart)
|
93
|
+
- [![Build Status](https://travis-ci.org/aycabta/deviantart.svg)](https://travis-ci.org/aycabta/deviantart)
|
94
|
+
- [![Build Status](https://ci.appveyor.com/api/projects/status/github/aycabta/deviantart?branch=master&svg=true)](https://ci.appveyor.com/project/aycabta/deviantart)
|
data/appveyor.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
install:
|
3
|
+
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
4
|
+
- gem install bundler --no-document
|
5
|
+
- bundle install
|
6
|
+
build: off
|
7
|
+
test_script:
|
8
|
+
- bundle exec rake test
|
9
|
+
deploy: off
|
10
|
+
environment:
|
11
|
+
matrix:
|
12
|
+
- ruby_version: "22"
|
13
|
+
- ruby_version: "22-x64"
|
14
|
+
- ruby_version: "23"
|
15
|
+
- ruby_version: "23-x64"
|
data/deviantart.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["aycabta@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{deviantART API library}
|
13
|
-
spec.description = %
|
13
|
+
spec.description = %Q{deviantART API library\n}
|
14
14
|
spec.homepage = "https://github.com/aycabta/deviantart"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
@@ -19,7 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.
|
23
|
-
|
24
|
-
spec.add_development_dependency "
|
22
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.2.6')
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler"
|
25
|
+
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "minitest", "~> 5.10"
|
25
27
|
end
|
data/lib/deviantart.rb
CHANGED
data/lib/deviantart/base.rb
CHANGED
@@ -21,7 +21,13 @@ module DeviantArt
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
|
24
|
+
def inspect
|
25
|
+
self.class.name
|
26
|
+
end
|
27
|
+
|
28
|
+
def to_s
|
29
|
+
inspect
|
30
|
+
end
|
25
31
|
|
26
32
|
def define_hash_attrs(receiver, attrs, point)
|
27
33
|
attrs.each_pair do |key, value|
|
@@ -30,6 +36,7 @@ module DeviantArt
|
|
30
36
|
end
|
31
37
|
receiver
|
32
38
|
end
|
39
|
+
private :define_hash_attrs
|
33
40
|
|
34
41
|
def attr_accessor_with_receiver(receiver, name)
|
35
42
|
receiver.instance_eval do
|
@@ -40,10 +47,11 @@ module DeviantArt
|
|
40
47
|
define_singleton_method(reader_name, proc { |dummy=nil| instance_variable_get(variable_name) })
|
41
48
|
end
|
42
49
|
if !receiver.respond_to?(writer_name)
|
43
|
-
define_singleton_method(writer_name, method(:instance_variable_set).curry.(variable_name))
|
50
|
+
define_singleton_method(writer_name, method(:instance_variable_set).to_proc.curry.(variable_name))
|
44
51
|
end
|
45
52
|
end
|
46
53
|
end
|
54
|
+
private :attr_accessor_with_receiver
|
47
55
|
|
48
56
|
def define_array_attrs(array, attrs, point)
|
49
57
|
attrs.each do |value|
|
@@ -51,6 +59,7 @@ module DeviantArt
|
|
51
59
|
end
|
52
60
|
array
|
53
61
|
end
|
62
|
+
private :define_array_attrs
|
54
63
|
|
55
64
|
def nested_value(value, point)
|
56
65
|
if self.class.points_class_mapping.include?(point)
|
@@ -66,6 +75,7 @@ module DeviantArt
|
|
66
75
|
end
|
67
76
|
end
|
68
77
|
end
|
78
|
+
private :nested_value
|
69
79
|
end
|
70
80
|
|
71
81
|
class Deviation < Base; end
|
data/lib/deviantart/client.rb
CHANGED
@@ -140,14 +140,16 @@ module DeviantArt
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
private
|
144
|
-
|
145
143
|
def request(method, path, params = {})
|
146
144
|
uri = URI.parse("https://#{@host}#{path}")
|
147
145
|
if params.any?{ |key, value| value.is_a?(Enumerable) }
|
148
146
|
converted_params = []
|
149
147
|
params.each do |key, value|
|
150
|
-
if value.is_a?(
|
148
|
+
if value.is_a?(Hash)
|
149
|
+
value.each_pair do |k, v|
|
150
|
+
converted_params << ["#{key}[#{k}]", v]
|
151
|
+
end
|
152
|
+
elsif value.is_a?(Enumerable)
|
151
153
|
value.each_index do |i|
|
152
154
|
converted_params << ["#{key}[#{i}]", value[i]]
|
153
155
|
end
|
@@ -175,13 +177,14 @@ module DeviantArt
|
|
175
177
|
end
|
176
178
|
response = @http.request(request)
|
177
179
|
if response.code == '403'
|
178
|
-
#
|
180
|
+
# need to send User-Agent and use HTTP compression in request
|
179
181
|
response.json = JSON.parse('{}')
|
180
182
|
else
|
181
183
|
response.json = JSON.parse(response.body)
|
182
184
|
end
|
183
185
|
response
|
184
186
|
end
|
187
|
+
private :request
|
185
188
|
|
186
189
|
def refresh_client_credentials
|
187
190
|
response = request(
|
@@ -202,6 +205,7 @@ module DeviantArt
|
|
202
205
|
DeviantArt::Error.new(response.json, status_code)
|
203
206
|
end
|
204
207
|
end
|
208
|
+
private :refresh_client_credentials
|
205
209
|
|
206
210
|
def refresh_authorization_code
|
207
211
|
response = request(
|
@@ -227,5 +231,6 @@ module DeviantArt
|
|
227
231
|
DeviantArt::Error.new(response.json, status_code)
|
228
232
|
end
|
229
233
|
end
|
234
|
+
private :refresh_authorization_code
|
230
235
|
end
|
231
236
|
end
|
@@ -1,5 +1,9 @@
|
|
1
1
|
require 'deviantart/collections'
|
2
2
|
require 'deviantart/collections/folders'
|
3
|
+
require 'deviantart/collections/fave'
|
4
|
+
require 'deviantart/collections/unfave'
|
5
|
+
require 'deviantart/collections/folders/create'
|
6
|
+
require 'deviantart/collections/folders/remove'
|
3
7
|
|
4
8
|
module DeviantArt
|
5
9
|
class Client
|
@@ -24,7 +28,31 @@ module DeviantArt
|
|
24
28
|
perform(DeviantArt::Collections, :get, "/api/v1/oauth2/collections/#{folderid}", params)
|
25
29
|
end
|
26
30
|
|
27
|
-
#
|
31
|
+
# Add deviation to favourites
|
32
|
+
def fave(deviationid, folderid: nil)
|
33
|
+
params = { deviationid: deviationid }
|
34
|
+
params['folderid'] = folderid unless folderid.nil?
|
35
|
+
perform(DeviantArt::Collections::Fave, :post, '/api/v1/oauth2/collections/fave', params)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Remove deviation from favourites
|
39
|
+
def unfave(deviationid, folderid: nil)
|
40
|
+
params = { deviationid: deviationid }
|
41
|
+
params['folderid'] = folderid unless folderid.nil?
|
42
|
+
perform(DeviantArt::Collections::Unfave, :post, '/api/v1/oauth2/collections/unfave', params)
|
43
|
+
end
|
44
|
+
|
45
|
+
# Create new collection folder
|
46
|
+
def create_collection_folder(name)
|
47
|
+
params = {}
|
48
|
+
params['folder'] = name unless name.nil?
|
49
|
+
perform(DeviantArt::Collections::Folders::Create, :post, '/api/v1/oauth2/collections/folders/create', params)
|
50
|
+
end
|
51
|
+
|
52
|
+
# Delete collection folder
|
53
|
+
def remove_collection_folder(folderid)
|
54
|
+
perform(DeviantArt::Collections::Folders::Remove, :get, "/api/v1/oauth2/collections/folders/remove/#{folderid}")
|
55
|
+
end
|
28
56
|
end
|
29
57
|
end
|
30
58
|
end
|
@@ -1,18 +1,26 @@
|
|
1
1
|
require 'deviantart/feed'
|
2
2
|
require 'deviantart/feed/home'
|
3
|
+
require 'deviantart/feed/profile'
|
3
4
|
|
4
5
|
module DeviantArt
|
5
6
|
class Client
|
6
7
|
module Feed
|
7
8
|
# Fetch Watch Feed
|
8
|
-
def
|
9
|
+
def feed_home(mature_content: false, cursor: nil)
|
9
10
|
params = {}
|
10
11
|
params['cursor'] = cursor unless cursor.nil?
|
11
12
|
params['mature_content'] = mature_content
|
12
13
|
perform(DeviantArt::Feed::Home, :get, '/api/v1/oauth2/feed/home', params)
|
13
14
|
end
|
14
15
|
|
15
|
-
#
|
16
|
+
# Fetch Profile Feed
|
17
|
+
def feed_profile(cursor: nil)
|
18
|
+
params = {}
|
19
|
+
params['cursor'] = cursor unless cursor.nil?
|
20
|
+
perform(DeviantArt::Feed::Profile, :get, '/api/v1/oauth2/feed/profile', params)
|
21
|
+
end
|
22
|
+
|
23
|
+
# TODO: home/{bucketid}, notifications, settings, settings/update
|
16
24
|
end
|
17
25
|
end
|
18
26
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'deviantart/gallery'
|
2
2
|
require 'deviantart/gallery/all'
|
3
3
|
require 'deviantart/gallery/folders'
|
4
|
+
require 'deviantart/gallery/folders/create'
|
5
|
+
require 'deviantart/gallery/folders/remove'
|
4
6
|
|
5
7
|
module DeviantArt
|
6
8
|
class Client
|
@@ -40,7 +42,17 @@ module DeviantArt
|
|
40
42
|
perform(DeviantArt::Gallery, :get, path, params)
|
41
43
|
end
|
42
44
|
|
43
|
-
#
|
45
|
+
# Create new gallery folders.
|
46
|
+
def create_gallery_folder(foldername)
|
47
|
+
params = {}
|
48
|
+
params['folder'] = foldername unless foldername.nil?
|
49
|
+
perform(DeviantArt::Gallery::Folders::Create, :post, '/api/v1/oauth2/gallery/folders/create', params)
|
50
|
+
end
|
51
|
+
|
52
|
+
# Delete gallery folder
|
53
|
+
def remove_gallery_folder(folderid)
|
54
|
+
perform(DeviantArt::Gallery::Folders::Remove, :get, "/api/v1/oauth2/gallery/folders/remove/#{folderid}")
|
55
|
+
end
|
44
56
|
end
|
45
57
|
end
|
46
58
|
end
|
@@ -5,6 +5,10 @@ require 'deviantart/user/friends/search'
|
|
5
5
|
require 'deviantart/user/whois'
|
6
6
|
require 'deviantart/user/statuses'
|
7
7
|
require 'deviantart/user/watchers'
|
8
|
+
require 'deviantart/user/friends/watching'
|
9
|
+
require 'deviantart/user/friends/watch'
|
10
|
+
require 'deviantart/user/friends/unwatch'
|
11
|
+
require 'deviantart/user/damn_token'
|
8
12
|
|
9
13
|
module DeviantArt
|
10
14
|
class Client
|
@@ -69,7 +73,36 @@ module DeviantArt
|
|
69
73
|
perform(DeviantArt::User::Watchers, :get, "/api/v1/oauth2/user/watchers/#{username.nil? ? '' : username}", params)
|
70
74
|
end
|
71
75
|
|
72
|
-
#
|
76
|
+
# Check if user is being watched by the given user
|
77
|
+
def watch_status(username)
|
78
|
+
perform(DeviantArt::User::Friends::Watching, :get, "/api/v1/oauth2/user/friends/watching/#{username.nil? ? '' : username}")
|
79
|
+
end
|
80
|
+
|
81
|
+
# Watch a user
|
82
|
+
def watch(username, watch = {})
|
83
|
+
watch_params = {}
|
84
|
+
%w(friend deviations journals forum_threads critiques scraps activity collections).each do |p|
|
85
|
+
if watch[p]
|
86
|
+
watch_params[p] = true
|
87
|
+
else
|
88
|
+
watch_params[p] = false
|
89
|
+
end
|
90
|
+
end
|
91
|
+
params = { watch: watch_params }
|
92
|
+
perform(DeviantArt::User::Friends::Watch, :post, "/api/v1/oauth2/user/friends/watch/#{username.nil? ? '' : username}", params)
|
93
|
+
end
|
94
|
+
|
95
|
+
# Unwatch a user
|
96
|
+
def unwatch(username)
|
97
|
+
perform(DeviantArt::User::Friends::Unwatch, :get, "/api/v1/oauth2/user/friends/unwatch/#{username.nil? ? '' : username}")
|
98
|
+
end
|
99
|
+
|
100
|
+
# Retrieve the dAmn auth token required to connect to the dAmn servers
|
101
|
+
def damntoken
|
102
|
+
perform(DeviantArt::User::DamnToken, :get, '/api/v1/oauth2/user/damntoken?')
|
103
|
+
end
|
104
|
+
|
105
|
+
# TODO: profile/update, statuses/post
|
73
106
|
end
|
74
107
|
end
|
75
108
|
end
|
data/lib/deviantart/deviation.rb
CHANGED
@@ -8,5 +8,13 @@ module DeviantArt
|
|
8
8
|
point_to_class [:author], DeviantArt::User
|
9
9
|
point_to_class [:daily_deviation, :giver], DeviantArt::User
|
10
10
|
point_to_class [:daily_deviation, :suggester], DeviantArt::User
|
11
|
+
|
12
|
+
def inspect
|
13
|
+
"#{self.class.name}: #{@title} by #{@author.username} #{@deviationid}"
|
14
|
+
end
|
15
|
+
|
16
|
+
def to_s
|
17
|
+
inspect
|
18
|
+
end
|
11
19
|
end
|
12
20
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'deviantart/base'
|
2
|
+
|
3
|
+
module DeviantArt
|
4
|
+
class Feed::Profile < Base
|
5
|
+
attr_accessor :cursor, :has_more, :items
|
6
|
+
point_to_class [:items, :[], :by_user], DeviantArt::User
|
7
|
+
point_to_class [:items, :[], :status], DeviantArt::Status
|
8
|
+
point_to_class [:items, :[], :deviations, :[]], DeviantArt::Deviation
|
9
|
+
#point_to_class [:items, :[], :comment], DeviantArt::Comment
|
10
|
+
#point_to_class [:items, :[], :comment_parent], DeviantArt::Comment
|
11
|
+
point_to_class [:items, :[], :comment_deviation], DeviantArt::Deviation
|
12
|
+
point_to_class [:items, :[], :comment_profile], DeviantArt::User
|
13
|
+
end
|
14
|
+
end
|
data/lib/deviantart/status.rb
CHANGED
@@ -6,5 +6,13 @@ module DeviantArt
|
|
6
6
|
point_to_class [:author], DeviantArt::User
|
7
7
|
point_to_class [:items, :[], :status], DeviantArt::Status
|
8
8
|
point_to_class [:items, :[], :deviation], DeviantArt::Deviation
|
9
|
+
|
10
|
+
def inspect
|
11
|
+
"#{self.class.name}: #{@body} by #{@author.username} #{@statusid}"
|
12
|
+
end
|
13
|
+
|
14
|
+
def to_s
|
15
|
+
inspect
|
16
|
+
end
|
9
17
|
end
|
10
18
|
end
|
data/lib/deviantart/user.rb
CHANGED
@@ -4,5 +4,13 @@ module DeviantArt
|
|
4
4
|
class User < Base
|
5
5
|
attr_accessor :userid, :username, :usericon, :type, :is_watching, :details, :geo, :profile, :stats
|
6
6
|
point_to_class [:profile, :profile_pic], DeviantArt::Deviation
|
7
|
+
|
8
|
+
def inspect
|
9
|
+
"#{self.class.name}: #{@username} #{@userid}"
|
10
|
+
end
|
11
|
+
|
12
|
+
def to_s
|
13
|
+
inspect
|
14
|
+
end
|
7
15
|
end
|
8
16
|
end
|
data/lib/deviantart/version.rb
CHANGED
metadata
CHANGED
@@ -1,58 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deviantart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Ass
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
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: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
47
|
+
version: '5.10'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
55
|
-
description: deviantART API library
|
54
|
+
version: '5.10'
|
55
|
+
description: 'deviantART API library
|
56
|
+
|
57
|
+
'
|
56
58
|
email:
|
57
59
|
- aycabta@gmail.com
|
58
60
|
executables: []
|
@@ -60,11 +62,13 @@ extensions: []
|
|
60
62
|
extra_rdoc_files: []
|
61
63
|
files:
|
62
64
|
- ".gitignore"
|
65
|
+
- ".jrubyrc"
|
63
66
|
- ".travis.yml"
|
64
67
|
- Gemfile
|
65
68
|
- LICENSE.txt
|
66
69
|
- README.md
|
67
70
|
- Rakefile
|
71
|
+
- appveyor.yml
|
68
72
|
- bin/console
|
69
73
|
- bin/setup
|
70
74
|
- deviantart.gemspec
|
@@ -83,7 +87,11 @@ files:
|
|
83
87
|
- lib/deviantart/client_credentials.rb
|
84
88
|
- lib/deviantart/client_credentials/access_token.rb
|
85
89
|
- lib/deviantart/collections.rb
|
90
|
+
- lib/deviantart/collections/fave.rb
|
86
91
|
- lib/deviantart/collections/folders.rb
|
92
|
+
- lib/deviantart/collections/folders/create.rb
|
93
|
+
- lib/deviantart/collections/folders/remove.rb
|
94
|
+
- lib/deviantart/collections/unfave.rb
|
87
95
|
- lib/deviantart/data.rb
|
88
96
|
- lib/deviantart/data/countries.rb
|
89
97
|
- lib/deviantart/data/privacy.rb
|
@@ -98,13 +106,20 @@ files:
|
|
98
106
|
- lib/deviantart/error.rb
|
99
107
|
- lib/deviantart/feed.rb
|
100
108
|
- lib/deviantart/feed/home.rb
|
109
|
+
- lib/deviantart/feed/profile.rb
|
101
110
|
- lib/deviantart/gallery.rb
|
102
111
|
- lib/deviantart/gallery/all.rb
|
103
112
|
- lib/deviantart/gallery/folders.rb
|
113
|
+
- lib/deviantart/gallery/folders/create.rb
|
114
|
+
- lib/deviantart/gallery/folders/remove.rb
|
104
115
|
- lib/deviantart/status.rb
|
105
116
|
- lib/deviantart/user.rb
|
117
|
+
- lib/deviantart/user/damn_token.rb
|
106
118
|
- lib/deviantart/user/friends.rb
|
107
119
|
- lib/deviantart/user/friends/search.rb
|
120
|
+
- lib/deviantart/user/friends/unwatch.rb
|
121
|
+
- lib/deviantart/user/friends/watch.rb
|
122
|
+
- lib/deviantart/user/friends/watching.rb
|
108
123
|
- lib/deviantart/user/profile.rb
|
109
124
|
- lib/deviantart/user/statuses.rb
|
110
125
|
- lib/deviantart/user/watchers.rb
|
@@ -122,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
137
|
requirements:
|
123
138
|
- - ">="
|
124
139
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
140
|
+
version: 2.2.6
|
126
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
142
|
requirements:
|
128
143
|
- - ">="
|
@@ -130,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
145
|
version: '0'
|
131
146
|
requirements: []
|
132
147
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.6.8
|
134
149
|
signing_key:
|
135
150
|
specification_version: 4
|
136
151
|
summary: deviantART API library
|