osdn-client 0.0.20160304

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,39 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for OSDNClient::UserApi
5
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
6
+ # Please update as you see appropriate
7
+ describe 'UserApi' do
8
+ before do
9
+ # run before each test
10
+ @instance = OSDNClient::UserApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of UserApi' do
18
+ it 'should create an instact of UserApi' do
19
+ @instance.should be_a(OSDNClient::UserApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for get_user
24
+ #
25
+ # Get user profile.
26
+ # @param id_or_name numeric user id or user name
27
+ # @param [Hash] opts the optional parameters
28
+ # @return [User]
29
+ describe 'get_user test' do
30
+ it "should work" do
31
+ # assertion here
32
+ # should be_a()
33
+ # should be_nil
34
+ # should ==
35
+ # should_not ==
36
+ end
37
+ end
38
+
39
+ end
@@ -0,0 +1,124 @@
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 'GroupToolFlags' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::GroupToolFlags.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of GroupToolFlags' do
19
+ it 'should create an instact of GroupToolFlags' do
20
+ @instance.should be_a(OSDNClient::GroupToolFlags)
21
+ end
22
+ end
23
+ describe 'test attribute "cvs"' 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 "git"' 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 "svn"' 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 "bzr"' 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 "scm"' 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 "frs"' 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 "tikcet"' 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 "wiki"' 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 "forum"' 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 "ml"' 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
+ end
124
+
@@ -0,0 +1,184 @@
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 'Group' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::Group.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Group' do
19
+ it 'should create an instact of Group' do
20
+ @instance.should be_a(OSDNClient::Group)
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 "last_update"' 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 "description"' 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 "description_html"' 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 "start_date"' 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 "license"' 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 "license_other"' 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 "url"' 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 "homepage"' 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 "logo_image"' 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 "banner_image"' 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
+ describe 'test attribute "thumbnail_image"' do
154
+ it 'should work' do
155
+ # assertion here
156
+ # should be_a()
157
+ # should be_nil
158
+ # should ==
159
+ # should_not ==
160
+ end
161
+ end
162
+
163
+ describe 'test attribute "tools"' do
164
+ it 'should work' do
165
+ # assertion here
166
+ # should be_a()
167
+ # should be_nil
168
+ # should ==
169
+ # should_not ==
170
+ end
171
+ end
172
+
173
+ describe 'test attribute "members"' do
174
+ it 'should work' do
175
+ # assertion here
176
+ # should be_a()
177
+ # should be_nil
178
+ # should ==
179
+ # should_not ==
180
+ end
181
+ end
182
+
183
+ end
184
+
@@ -0,0 +1,94 @@
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 'News' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::News.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of News' do
19
+ it 'should create an instact of News' do
20
+ @instance.should be_a(OSDNClient::News)
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 "url"' 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 "title"' 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 "body"' 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 "body_html"' 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 "last_update"' 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 "submitter"' 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
+ end
94
+
@@ -0,0 +1,84 @@
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 'Package' do
9
+ before do
10
+ # run before each test
11
+ @instance = OSDNClient::Package.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Package' do
19
+ it 'should create an instact of Package' do
20
+ @instance.should be_a(OSDNClient::Package)
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 "url"' 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 "visibility"' 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 "group_id"' 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 "releases"' 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
+ end
84
+