osdn-client 0.0.20160304

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/lib/osdn-client.rb +45 -0
  3. data/lib/osdn-client/api/default_api.rb +148 -0
  4. data/lib/osdn-client/api/project_api.rb +1752 -0
  5. data/lib/osdn-client/api/project_frs_api.rb +1033 -0
  6. data/lib/osdn-client/api/project_news_api.rb +673 -0
  7. data/lib/osdn-client/api/user_api.rb +76 -0
  8. data/lib/osdn-client/api_client.rb +318 -0
  9. data/lib/osdn-client/api_error.rb +24 -0
  10. data/lib/osdn-client/configuration.rb +177 -0
  11. data/lib/osdn-client/models/group.rb +298 -0
  12. data/lib/osdn-client/models/group_tool_flags.rb +236 -0
  13. data/lib/osdn-client/models/news.rb +206 -0
  14. data/lib/osdn-client/models/package.rb +198 -0
  15. data/lib/osdn-client/models/pong.rb +176 -0
  16. data/lib/osdn-client/models/rel_file.rb +256 -0
  17. data/lib/osdn-client/models/release.rb +228 -0
  18. data/lib/osdn-client/models/simple_chamber.rb +176 -0
  19. data/lib/osdn-client/models/simple_group.rb +176 -0
  20. data/lib/osdn-client/models/simple_user.rb +166 -0
  21. data/lib/osdn-client/models/skill.rb +176 -0
  22. data/lib/osdn-client/models/token.rb +186 -0
  23. data/lib/osdn-client/models/user.rb +272 -0
  24. data/lib/osdn-client/version.rb +3 -0
  25. data/osdn-client.gemspec +32 -0
  26. data/spec/api/DefaultApi_spec.rb +58 -0
  27. data/spec/api/ProjectApi_spec.rb +472 -0
  28. data/spec/api/ProjectFrsApi_spec.rb +285 -0
  29. data/spec/api/ProjectNewsApi_spec.rb +194 -0
  30. data/spec/api/UserApi_spec.rb +39 -0
  31. data/spec/models/GroupToolFlags_spec.rb +124 -0
  32. data/spec/models/Group_spec.rb +184 -0
  33. data/spec/models/News_spec.rb +94 -0
  34. data/spec/models/Package_spec.rb +84 -0
  35. data/spec/models/Pong_spec.rb +64 -0
  36. data/spec/models/RelFile_spec.rb +144 -0
  37. data/spec/models/Release_spec.rb +114 -0
  38. data/spec/models/SimpleChamber_spec.rb +64 -0
  39. data/spec/models/SimpleGroup_spec.rb +64 -0
  40. data/spec/models/SimpleUser_spec.rb +54 -0
  41. data/spec/models/Skill_spec.rb +64 -0
  42. data/spec/models/Token_spec.rb +74 -0
  43. data/spec/models/User_spec.rb +154 -0
  44. metadata +284 -0
@@ -0,0 +1,54 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for OSDNClient::
6
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
7
+ # Please update as you see appropriate
8
+ describe 'SimpleUser' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::SimpleUser.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of SimpleUser' do
19
+ it 'should create an instact of SimpleUser' do
20
+ @instance.should be_a(OSDNClient::SimpleUser)
21
+ end
22
+ end
23
+ describe 'test attribute "id"' do
24
+ it 'should work' do
25
+ # assertion here
26
+ # should be_a()
27
+ # should be_nil
28
+ # should ==
29
+ # should_not ==
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "name"' do
34
+ it 'should work' do
35
+ # assertion here
36
+ # should be_a()
37
+ # should be_nil
38
+ # should ==
39
+ # should_not ==
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "display_name"' do
44
+ it 'should work' do
45
+ # assertion here
46
+ # should be_a()
47
+ # should be_nil
48
+ # should ==
49
+ # should_not ==
50
+ end
51
+ end
52
+
53
+ end
54
+
@@ -0,0 +1,64 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for OSDNClient::
6
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
7
+ # Please update as you see appropriate
8
+ describe 'Skill' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::Skill.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Skill' do
19
+ it 'should create an instact of Skill' do
20
+ @instance.should be_a(OSDNClient::Skill)
21
+ end
22
+ end
23
+ describe 'test attribute "name"' do
24
+ it 'should work' do
25
+ # assertion here
26
+ # should be_a()
27
+ # should be_nil
28
+ # should ==
29
+ # should_not ==
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "level"' do
34
+ it 'should work' do
35
+ # assertion here
36
+ # should be_a()
37
+ # should be_nil
38
+ # should ==
39
+ # should_not ==
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "experience"' do
44
+ it 'should work' do
45
+ # assertion here
46
+ # should be_a()
47
+ # should be_nil
48
+ # should ==
49
+ # should_not ==
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "hate_like"' do
54
+ it 'should work' do
55
+ # assertion here
56
+ # should be_a()
57
+ # should be_nil
58
+ # should ==
59
+ # should_not ==
60
+ end
61
+ end
62
+
63
+ end
64
+
@@ -0,0 +1,74 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for OSDNClient::
6
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
7
+ # Please update as you see appropriate
8
+ describe 'Token' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::Token.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Token' do
19
+ it 'should create an instact of Token' do
20
+ @instance.should be_a(OSDNClient::Token)
21
+ end
22
+ end
23
+ describe 'test attribute "access_token"' do
24
+ it 'should work' do
25
+ # assertion here
26
+ # should be_a()
27
+ # should be_nil
28
+ # should ==
29
+ # should_not ==
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "expires_in"' do
34
+ it 'should work' do
35
+ # assertion here
36
+ # should be_a()
37
+ # should be_nil
38
+ # should ==
39
+ # should_not ==
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "token_type"' do
44
+ it 'should work' do
45
+ # assertion here
46
+ # should be_a()
47
+ # should be_nil
48
+ # should ==
49
+ # should_not ==
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "scope"' do
54
+ it 'should work' do
55
+ # assertion here
56
+ # should be_a()
57
+ # should be_nil
58
+ # should ==
59
+ # should_not ==
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "refresh_token"' do
64
+ it 'should work' do
65
+ # assertion here
66
+ # should be_a()
67
+ # should be_nil
68
+ # should ==
69
+ # should_not ==
70
+ end
71
+ end
72
+
73
+ end
74
+
@@ -0,0 +1,154 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for OSDNClient::
6
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
7
+ # Please update as you see appropriate
8
+ describe 'User' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::User.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of User' do
19
+ it 'should create an instact of User' do
20
+ @instance.should be_a(OSDNClient::User)
21
+ end
22
+ end
23
+ describe 'test attribute "id"' do
24
+ it 'should work' do
25
+ # assertion here
26
+ # should be_a()
27
+ # should be_nil
28
+ # should ==
29
+ # should_not ==
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "name"' do
34
+ it 'should work' do
35
+ # assertion here
36
+ # should be_a()
37
+ # should be_nil
38
+ # should ==
39
+ # should_not ==
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "display_name"' do
44
+ it 'should work' do
45
+ # assertion here
46
+ # should be_a()
47
+ # should be_nil
48
+ # should ==
49
+ # should_not ==
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "unix_status"' do
54
+ it 'should work' do
55
+ # assertion here
56
+ # should be_a()
57
+ # should be_nil
58
+ # should ==
59
+ # should_not ==
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "unix_uid"' do
64
+ it 'should work' do
65
+ # assertion here
66
+ # should be_a()
67
+ # should be_nil
68
+ # should ==
69
+ # should_not ==
70
+ end
71
+ end
72
+
73
+ describe 'test attribute "authorized_keys"' do
74
+ it 'should work' do
75
+ # assertion here
76
+ # should be_a()
77
+ # should be_nil
78
+ # should ==
79
+ # should_not ==
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "timezone"' do
84
+ it 'should work' do
85
+ # assertion here
86
+ # should be_a()
87
+ # should be_nil
88
+ # should ==
89
+ # should_not ==
90
+ end
91
+ end
92
+
93
+ describe 'test attribute "last_update"' do
94
+ it 'should work' do
95
+ # assertion here
96
+ # should be_a()
97
+ # should be_nil
98
+ # should ==
99
+ # should_not ==
100
+ end
101
+ end
102
+
103
+ describe 'test attribute "add_date"' do
104
+ it 'should work' do
105
+ # assertion here
106
+ # should be_a()
107
+ # should be_nil
108
+ # should ==
109
+ # should_not ==
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "language"' do
114
+ it 'should work' do
115
+ # assertion here
116
+ # should be_a()
117
+ # should be_nil
118
+ # should ==
119
+ # should_not ==
120
+ end
121
+ end
122
+
123
+ describe 'test attribute "groups"' do
124
+ it 'should work' do
125
+ # assertion here
126
+ # should be_a()
127
+ # should be_nil
128
+ # should ==
129
+ # should_not ==
130
+ end
131
+ end
132
+
133
+ describe 'test attribute "chambers"' do
134
+ it 'should work' do
135
+ # assertion here
136
+ # should be_a()
137
+ # should be_nil
138
+ # should ==
139
+ # should_not ==
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "skills"' do
144
+ it 'should work' do
145
+ # assertion here
146
+ # should be_a()
147
+ # should be_nil
148
+ # should ==
149
+ # should_not ==
150
+ end
151
+ end
152
+
153
+ end
154
+
metadata ADDED
@@ -0,0 +1,284 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: osdn-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.20160304
5
+ platform: ruby
6
+ authors:
7
+ - OSDN Tech Team
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-03-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.2.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.2.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: json
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.4'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.4.6
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.4'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.4.6
53
+ - !ruby/object:Gem::Dependency
54
+ name: rspec
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.2'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.2.0
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.2'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.2.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: vcr
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '2.9'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 2.9.3
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.9'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 2.9.3
93
+ - !ruby/object:Gem::Dependency
94
+ name: webmock
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.6'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 1.6.2
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.6'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.6.2
113
+ - !ruby/object:Gem::Dependency
114
+ name: autotest
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '4.4'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 4.4.6
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '4.4'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 4.4.6
133
+ - !ruby/object:Gem::Dependency
134
+ name: autotest-rails-pure
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '4.1'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 4.1.2
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '4.1'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 4.1.2
153
+ - !ruby/object:Gem::Dependency
154
+ name: autotest-growl
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.2'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 0.2.16
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '0.2'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 0.2.16
173
+ - !ruby/object:Gem::Dependency
174
+ name: autotest-fsevent
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '0.2'
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: 0.2.11
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '0.2'
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: 0.2.11
193
+ description: ''
194
+ email:
195
+ - admin@osdn.jp
196
+ executables: []
197
+ extensions: []
198
+ extra_rdoc_files: []
199
+ files:
200
+ - lib/osdn-client.rb
201
+ - lib/osdn-client/api/default_api.rb
202
+ - lib/osdn-client/api/project_api.rb
203
+ - lib/osdn-client/api/project_frs_api.rb
204
+ - lib/osdn-client/api/project_news_api.rb
205
+ - lib/osdn-client/api/user_api.rb
206
+ - lib/osdn-client/api_client.rb
207
+ - lib/osdn-client/api_error.rb
208
+ - lib/osdn-client/configuration.rb
209
+ - lib/osdn-client/models/group.rb
210
+ - lib/osdn-client/models/group_tool_flags.rb
211
+ - lib/osdn-client/models/news.rb
212
+ - lib/osdn-client/models/package.rb
213
+ - lib/osdn-client/models/pong.rb
214
+ - lib/osdn-client/models/rel_file.rb
215
+ - lib/osdn-client/models/release.rb
216
+ - lib/osdn-client/models/simple_chamber.rb
217
+ - lib/osdn-client/models/simple_group.rb
218
+ - lib/osdn-client/models/simple_user.rb
219
+ - lib/osdn-client/models/skill.rb
220
+ - lib/osdn-client/models/token.rb
221
+ - lib/osdn-client/models/user.rb
222
+ - lib/osdn-client/version.rb
223
+ - osdn-client.gemspec
224
+ - spec/api/DefaultApi_spec.rb
225
+ - spec/api/ProjectApi_spec.rb
226
+ - spec/api/ProjectFrsApi_spec.rb
227
+ - spec/api/ProjectNewsApi_spec.rb
228
+ - spec/api/UserApi_spec.rb
229
+ - spec/models/GroupToolFlags_spec.rb
230
+ - spec/models/Group_spec.rb
231
+ - spec/models/News_spec.rb
232
+ - spec/models/Package_spec.rb
233
+ - spec/models/Pong_spec.rb
234
+ - spec/models/RelFile_spec.rb
235
+ - spec/models/Release_spec.rb
236
+ - spec/models/SimpleChamber_spec.rb
237
+ - spec/models/SimpleGroup_spec.rb
238
+ - spec/models/SimpleUser_spec.rb
239
+ - spec/models/Skill_spec.rb
240
+ - spec/models/Token_spec.rb
241
+ - spec/models/User_spec.rb
242
+ homepage: https://osdn.jp/
243
+ licenses:
244
+ - MIT
245
+ metadata: {}
246
+ post_install_message:
247
+ rdoc_options: []
248
+ require_paths:
249
+ - lib
250
+ required_ruby_version: !ruby/object:Gem::Requirement
251
+ requirements:
252
+ - - ">="
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ required_rubygems_version: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - ">="
258
+ - !ruby/object:Gem::Version
259
+ version: '0'
260
+ requirements: []
261
+ rubyforge_project:
262
+ rubygems_version: 2.5.1
263
+ signing_key:
264
+ specification_version: 4
265
+ summary: OSDN API basic client library for ruby
266
+ test_files:
267
+ - spec/api/DefaultApi_spec.rb
268
+ - spec/api/UserApi_spec.rb
269
+ - spec/api/ProjectFrsApi_spec.rb
270
+ - spec/api/ProjectApi_spec.rb
271
+ - spec/api/ProjectNewsApi_spec.rb
272
+ - spec/models/Pong_spec.rb
273
+ - spec/models/Skill_spec.rb
274
+ - spec/models/SimpleChamber_spec.rb
275
+ - spec/models/News_spec.rb
276
+ - spec/models/SimpleGroup_spec.rb
277
+ - spec/models/RelFile_spec.rb
278
+ - spec/models/User_spec.rb
279
+ - spec/models/Package_spec.rb
280
+ - spec/models/SimpleUser_spec.rb
281
+ - spec/models/Token_spec.rb
282
+ - spec/models/GroupToolFlags_spec.rb
283
+ - spec/models/Release_spec.rb
284
+ - spec/models/Group_spec.rb