behance 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +15 -0
- data/README.md +143 -63
- data/lib/behance/client.rb +3 -1
- data/lib/behance/collections.rb +24 -16
- data/lib/behance/creatives_to_follow.rb +23 -0
- data/lib/behance/fields.rb +12 -1
- data/lib/behance/project.rb +36 -30
- data/lib/behance/user.rb +91 -35
- data/lib/behance/version.rb +1 -1
- data/lib/behance/wips.rb +19 -22
- data/spec/behance/client_spec.rb +1 -1
- data/spec/behance/collections_spec.rb +5 -5
- data/spec/behance/creatives_to_follow_spec.rb +44 -0
- data/spec/behance/fields_spec.rb +20 -1
- data/spec/behance/project_spec.rb +4 -4
- data/spec/behance/user_spec.rb +122 -28
- data/spec/behance/wips_spec.rb +28 -13
- data/spec/fixtures/collection.json +218 -34
- data/spec/fixtures/collection_projects.json +688 -88
- data/spec/fixtures/collections.json +2192 -104
- data/spec/fixtures/creatives_to_follow.json +302 -0
- data/spec/fixtures/fields.json +323 -26
- data/spec/fixtures/project.json +716 -10
- data/spec/fixtures/project_comments.json +13140 -271
- data/spec/fixtures/projects.json +786 -339
- data/spec/fixtures/user.json +165 -31
- data/spec/fixtures/user_appreciations.json +1155 -211
- data/spec/fixtures/user_collections.json +2153 -70
- data/spec/fixtures/user_followers.json +319 -0
- data/spec/fixtures/user_following.json +362 -0
- data/spec/fixtures/user_projects.json +2076 -172
- data/spec/fixtures/user_stats.json +14 -13
- data/spec/fixtures/user_wips.json +2095 -46
- data/spec/fixtures/user_work_experience.json +37 -29
- data/spec/fixtures/users.json +347 -97
- data/spec/fixtures/wip.json +72 -23
- data/spec/fixtures/wip_revision.json +28 -8
- data/spec/fixtures/wip_revision_comments.json +184 -108
- data/spec/fixtures/wips.json +1015 -158
- metadata +26 -17
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: behance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amed Rodriguez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday_middleware
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.8'
|
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
40
|
version: '0.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.8.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.8.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: webmock
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.8.10
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.8.10
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2.6'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.6'
|
83
83
|
description: A Ruby wrapper for the Behance API
|
@@ -87,7 +87,8 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- .gitignore
|
90
|
+
- ".gitignore"
|
91
|
+
- CHANGELOG.md
|
91
92
|
- Gemfile
|
92
93
|
- LICENSE.txt
|
93
94
|
- README.md
|
@@ -96,6 +97,7 @@ files:
|
|
96
97
|
- lib/behance.rb
|
97
98
|
- lib/behance/client.rb
|
98
99
|
- lib/behance/collections.rb
|
100
|
+
- lib/behance/creatives_to_follow.rb
|
99
101
|
- lib/behance/fields.rb
|
100
102
|
- lib/behance/project.rb
|
101
103
|
- lib/behance/user.rb
|
@@ -103,6 +105,7 @@ files:
|
|
103
105
|
- lib/behance/wips.rb
|
104
106
|
- spec/behance/client_spec.rb
|
105
107
|
- spec/behance/collections_spec.rb
|
108
|
+
- spec/behance/creatives_to_follow_spec.rb
|
106
109
|
- spec/behance/fields_spec.rb
|
107
110
|
- spec/behance/project_spec.rb
|
108
111
|
- spec/behance/user_spec.rb
|
@@ -110,6 +113,7 @@ files:
|
|
110
113
|
- spec/fixtures/collection.json
|
111
114
|
- spec/fixtures/collection_projects.json
|
112
115
|
- spec/fixtures/collections.json
|
116
|
+
- spec/fixtures/creatives_to_follow.json
|
113
117
|
- spec/fixtures/fields.json
|
114
118
|
- spec/fixtures/project.json
|
115
119
|
- spec/fixtures/project_comments.json
|
@@ -117,6 +121,8 @@ files:
|
|
117
121
|
- spec/fixtures/user.json
|
118
122
|
- spec/fixtures/user_appreciations.json
|
119
123
|
- spec/fixtures/user_collections.json
|
124
|
+
- spec/fixtures/user_followers.json
|
125
|
+
- spec/fixtures/user_following.json
|
120
126
|
- spec/fixtures/user_projects.json
|
121
127
|
- spec/fixtures/user_stats.json
|
122
128
|
- spec/fixtures/user_wips.json
|
@@ -136,23 +142,24 @@ require_paths:
|
|
136
142
|
- lib
|
137
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
138
144
|
requirements:
|
139
|
-
- -
|
145
|
+
- - ">="
|
140
146
|
- !ruby/object:Gem::Version
|
141
147
|
version: '0'
|
142
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
149
|
requirements:
|
144
|
-
- -
|
150
|
+
- - ">="
|
145
151
|
- !ruby/object:Gem::Version
|
146
152
|
version: '0'
|
147
153
|
requirements: []
|
148
154
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.4.5
|
150
156
|
signing_key:
|
151
157
|
specification_version: 4
|
152
158
|
summary: A Ruby wrapper for the Behance API
|
153
159
|
test_files:
|
154
160
|
- spec/behance/client_spec.rb
|
155
161
|
- spec/behance/collections_spec.rb
|
162
|
+
- spec/behance/creatives_to_follow_spec.rb
|
156
163
|
- spec/behance/fields_spec.rb
|
157
164
|
- spec/behance/project_spec.rb
|
158
165
|
- spec/behance/user_spec.rb
|
@@ -160,6 +167,7 @@ test_files:
|
|
160
167
|
- spec/fixtures/collection.json
|
161
168
|
- spec/fixtures/collection_projects.json
|
162
169
|
- spec/fixtures/collections.json
|
170
|
+
- spec/fixtures/creatives_to_follow.json
|
163
171
|
- spec/fixtures/fields.json
|
164
172
|
- spec/fixtures/project.json
|
165
173
|
- spec/fixtures/project_comments.json
|
@@ -167,6 +175,8 @@ test_files:
|
|
167
175
|
- spec/fixtures/user.json
|
168
176
|
- spec/fixtures/user_appreciations.json
|
169
177
|
- spec/fixtures/user_collections.json
|
178
|
+
- spec/fixtures/user_followers.json
|
179
|
+
- spec/fixtures/user_following.json
|
170
180
|
- spec/fixtures/user_projects.json
|
171
181
|
- spec/fixtures/user_stats.json
|
172
182
|
- spec/fixtures/user_wips.json
|
@@ -177,4 +187,3 @@ test_files:
|
|
177
187
|
- spec/fixtures/wip_revision_comments.json
|
178
188
|
- spec/fixtures/wips.json
|
179
189
|
- spec/spec_helper.rb
|
180
|
-
has_rdoc:
|