kintone_rb 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/.github/dependabot.yml +7 -0
  3. data/.github/workflows/rspec.yml +28 -0
  4. data/.gitignore +20 -0
  5. data/.rspec +1 -0
  6. data/.rubocop.yml +47 -0
  7. data/.ruby-version +1 -0
  8. data/CHANGELOG.md +4 -0
  9. data/Gemfile +4 -0
  10. data/LICENSE.txt +22 -0
  11. data/README.md +361 -0
  12. data/Rakefile +6 -0
  13. data/kintone.gemspec +30 -0
  14. data/lib/kintone/api/guest.rb +44 -0
  15. data/lib/kintone/api.rb +121 -0
  16. data/lib/kintone/command/accessor.rb +109 -0
  17. data/lib/kintone/command/apis.rb +22 -0
  18. data/lib/kintone/command/app.rb +11 -0
  19. data/lib/kintone/command/app_acl.rb +11 -0
  20. data/lib/kintone/command/apps.rb +12 -0
  21. data/lib/kintone/command/bulk_request.rb +12 -0
  22. data/lib/kintone/command/field_acl.rb +11 -0
  23. data/lib/kintone/command/file.rb +15 -0
  24. data/lib/kintone/command/form.rb +11 -0
  25. data/lib/kintone/command/guests.rb +17 -0
  26. data/lib/kintone/command/preview_form.rb +11 -0
  27. data/lib/kintone/command/record.rb +23 -0
  28. data/lib/kintone/command/record_acl.rb +11 -0
  29. data/lib/kintone/command/records.rb +29 -0
  30. data/lib/kintone/command/space.rb +15 -0
  31. data/lib/kintone/command/space_body.rb +11 -0
  32. data/lib/kintone/command/space_guests.rb +11 -0
  33. data/lib/kintone/command/space_members.rb +16 -0
  34. data/lib/kintone/command/space_thread.rb +14 -0
  35. data/lib/kintone/command/template_space.rb +12 -0
  36. data/lib/kintone/command.rb +12 -0
  37. data/lib/kintone/kintone_error.rb +12 -0
  38. data/lib/kintone/query/extension.rb +23 -0
  39. data/lib/kintone/query.rb +152 -0
  40. data/lib/kintone/type/extension/enumerable.rb +5 -0
  41. data/lib/kintone/type/extension/hash.rb +5 -0
  42. data/lib/kintone/type/extension/object.rb +5 -0
  43. data/lib/kintone/type/record.rb +11 -0
  44. data/lib/kintone/type.rb +6 -0
  45. data/lib/kintone/version.rb +3 -0
  46. data/lib/kintone_rb.rb +7 -0
  47. data/spec/kintone/api/guest_spec.rb +289 -0
  48. data/spec/kintone/api_spec.rb +566 -0
  49. data/spec/kintone/command/apis_spec.rb +179 -0
  50. data/spec/kintone/command/app_acl_spec.rb +43 -0
  51. data/spec/kintone/command/app_spec.rb +54 -0
  52. data/spec/kintone/command/apps_spec.rb +90 -0
  53. data/spec/kintone/command/bulk_request_spec.rb +92 -0
  54. data/spec/kintone/command/field_acl_spec.rb +47 -0
  55. data/spec/kintone/command/file_spec.rb +65 -0
  56. data/spec/kintone/command/form_spec.rb +47 -0
  57. data/spec/kintone/command/guests_spec.rb +107 -0
  58. data/spec/kintone/command/preview_form_spec.rb +30 -0
  59. data/spec/kintone/command/record_acl_spec.rb +48 -0
  60. data/spec/kintone/command/record_spec.rb +210 -0
  61. data/spec/kintone/command/records_spec.rb +463 -0
  62. data/spec/kintone/command/space_body_spec.rb +47 -0
  63. data/spec/kintone/command/space_guests_spec.rb +55 -0
  64. data/spec/kintone/command/space_members_spec.rb +117 -0
  65. data/spec/kintone/command/space_spec.rb +86 -0
  66. data/spec/kintone/command/space_thread_spec.rb +77 -0
  67. data/spec/kintone/command/template_space_spec.rb +59 -0
  68. data/spec/kintone/kintone_error_spec.rb +93 -0
  69. data/spec/kintone/query_spec.rb +506 -0
  70. data/spec/kintone/type/record_spec.rb +38 -0
  71. data/spec/spec_helper.rb +4 -0
  72. metadata +250 -0
metadata ADDED
@@ -0,0 +1,250 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kintone_rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - aki77
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-06-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday-multipart
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.44.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.44.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.3'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-parameterized
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.1.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.1.2
125
+ description: kintone API client for Ruby.
126
+ email:
127
+ - akira@sonicgarden.jp
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".github/dependabot.yml"
133
+ - ".github/workflows/rspec.yml"
134
+ - ".gitignore"
135
+ - ".rspec"
136
+ - ".rubocop.yml"
137
+ - ".ruby-version"
138
+ - CHANGELOG.md
139
+ - Gemfile
140
+ - LICENSE.txt
141
+ - README.md
142
+ - Rakefile
143
+ - kintone.gemspec
144
+ - lib/kintone/api.rb
145
+ - lib/kintone/api/guest.rb
146
+ - lib/kintone/command.rb
147
+ - lib/kintone/command/accessor.rb
148
+ - lib/kintone/command/apis.rb
149
+ - lib/kintone/command/app.rb
150
+ - lib/kintone/command/app_acl.rb
151
+ - lib/kintone/command/apps.rb
152
+ - lib/kintone/command/bulk_request.rb
153
+ - lib/kintone/command/field_acl.rb
154
+ - lib/kintone/command/file.rb
155
+ - lib/kintone/command/form.rb
156
+ - lib/kintone/command/guests.rb
157
+ - lib/kintone/command/preview_form.rb
158
+ - lib/kintone/command/record.rb
159
+ - lib/kintone/command/record_acl.rb
160
+ - lib/kintone/command/records.rb
161
+ - lib/kintone/command/space.rb
162
+ - lib/kintone/command/space_body.rb
163
+ - lib/kintone/command/space_guests.rb
164
+ - lib/kintone/command/space_members.rb
165
+ - lib/kintone/command/space_thread.rb
166
+ - lib/kintone/command/template_space.rb
167
+ - lib/kintone/kintone_error.rb
168
+ - lib/kintone/query.rb
169
+ - lib/kintone/query/extension.rb
170
+ - lib/kintone/type.rb
171
+ - lib/kintone/type/extension/enumerable.rb
172
+ - lib/kintone/type/extension/hash.rb
173
+ - lib/kintone/type/extension/object.rb
174
+ - lib/kintone/type/record.rb
175
+ - lib/kintone/version.rb
176
+ - lib/kintone_rb.rb
177
+ - spec/kintone/api/guest_spec.rb
178
+ - spec/kintone/api_spec.rb
179
+ - spec/kintone/command/apis_spec.rb
180
+ - spec/kintone/command/app_acl_spec.rb
181
+ - spec/kintone/command/app_spec.rb
182
+ - spec/kintone/command/apps_spec.rb
183
+ - spec/kintone/command/bulk_request_spec.rb
184
+ - spec/kintone/command/field_acl_spec.rb
185
+ - spec/kintone/command/file_spec.rb
186
+ - spec/kintone/command/form_spec.rb
187
+ - spec/kintone/command/guests_spec.rb
188
+ - spec/kintone/command/preview_form_spec.rb
189
+ - spec/kintone/command/record_acl_spec.rb
190
+ - spec/kintone/command/record_spec.rb
191
+ - spec/kintone/command/records_spec.rb
192
+ - spec/kintone/command/space_body_spec.rb
193
+ - spec/kintone/command/space_guests_spec.rb
194
+ - spec/kintone/command/space_members_spec.rb
195
+ - spec/kintone/command/space_spec.rb
196
+ - spec/kintone/command/space_thread_spec.rb
197
+ - spec/kintone/command/template_space_spec.rb
198
+ - spec/kintone/kintone_error_spec.rb
199
+ - spec/kintone/query_spec.rb
200
+ - spec/kintone/type/record_spec.rb
201
+ - spec/spec_helper.rb
202
+ homepage: https://github.com/SonicGarden/kintone_rb
203
+ licenses:
204
+ - MIT
205
+ metadata: {}
206
+ post_install_message:
207
+ rdoc_options: []
208
+ require_paths:
209
+ - lib
210
+ required_ruby_version: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ required_rubygems_version: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ requirements: []
221
+ rubygems_version: 3.3.7
222
+ signing_key:
223
+ specification_version: 4
224
+ summary: kintone API client for Ruby.
225
+ test_files:
226
+ - spec/kintone/api/guest_spec.rb
227
+ - spec/kintone/api_spec.rb
228
+ - spec/kintone/command/apis_spec.rb
229
+ - spec/kintone/command/app_acl_spec.rb
230
+ - spec/kintone/command/app_spec.rb
231
+ - spec/kintone/command/apps_spec.rb
232
+ - spec/kintone/command/bulk_request_spec.rb
233
+ - spec/kintone/command/field_acl_spec.rb
234
+ - spec/kintone/command/file_spec.rb
235
+ - spec/kintone/command/form_spec.rb
236
+ - spec/kintone/command/guests_spec.rb
237
+ - spec/kintone/command/preview_form_spec.rb
238
+ - spec/kintone/command/record_acl_spec.rb
239
+ - spec/kintone/command/record_spec.rb
240
+ - spec/kintone/command/records_spec.rb
241
+ - spec/kintone/command/space_body_spec.rb
242
+ - spec/kintone/command/space_guests_spec.rb
243
+ - spec/kintone/command/space_members_spec.rb
244
+ - spec/kintone/command/space_spec.rb
245
+ - spec/kintone/command/space_thread_spec.rb
246
+ - spec/kintone/command/template_space_spec.rb
247
+ - spec/kintone/kintone_error_spec.rb
248
+ - spec/kintone/query_spec.rb
249
+ - spec/kintone/type/record_spec.rb
250
+ - spec/spec_helper.rb