tentd 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/.gitignore +18 -0
  2. data/.rspec +1 -0
  3. data/.travis.yml +8 -0
  4. data/Gemfile +9 -0
  5. data/Guardfile +6 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +49 -0
  8. data/Rakefile +8 -0
  9. data/bin/tent-server +3 -0
  10. data/lib/tentd.rb +31 -0
  11. data/lib/tentd/api.rb +58 -0
  12. data/lib/tentd/api/apps.rb +196 -0
  13. data/lib/tentd/api/authentication_finalize.rb +12 -0
  14. data/lib/tentd/api/authentication_lookup.rb +27 -0
  15. data/lib/tentd/api/authentication_verification.rb +50 -0
  16. data/lib/tentd/api/authorizable.rb +21 -0
  17. data/lib/tentd/api/authorization.rb +14 -0
  18. data/lib/tentd/api/core_profile_data.rb +45 -0
  19. data/lib/tentd/api/followers.rb +218 -0
  20. data/lib/tentd/api/followings.rb +241 -0
  21. data/lib/tentd/api/groups.rb +161 -0
  22. data/lib/tentd/api/middleware.rb +32 -0
  23. data/lib/tentd/api/posts.rb +373 -0
  24. data/lib/tentd/api/profile.rb +78 -0
  25. data/lib/tentd/api/router.rb +123 -0
  26. data/lib/tentd/api/router/caching_headers.rb +49 -0
  27. data/lib/tentd/api/router/extract_params.rb +88 -0
  28. data/lib/tentd/api/router/serialize_response.rb +38 -0
  29. data/lib/tentd/api/user_lookup.rb +10 -0
  30. data/lib/tentd/core_ext/hash/slice.rb +29 -0
  31. data/lib/tentd/datamapper/array_property.rb +23 -0
  32. data/lib/tentd/datamapper/query.rb +19 -0
  33. data/lib/tentd/json_patch.rb +181 -0
  34. data/lib/tentd/model.rb +30 -0
  35. data/lib/tentd/model/app.rb +68 -0
  36. data/lib/tentd/model/app_authorization.rb +113 -0
  37. data/lib/tentd/model/follower.rb +105 -0
  38. data/lib/tentd/model/following.rb +100 -0
  39. data/lib/tentd/model/group.rb +24 -0
  40. data/lib/tentd/model/mention.rb +19 -0
  41. data/lib/tentd/model/notification_subscription.rb +56 -0
  42. data/lib/tentd/model/permissible.rb +227 -0
  43. data/lib/tentd/model/permission.rb +28 -0
  44. data/lib/tentd/model/post.rb +178 -0
  45. data/lib/tentd/model/post_attachment.rb +27 -0
  46. data/lib/tentd/model/post_version.rb +64 -0
  47. data/lib/tentd/model/profile_info.rb +80 -0
  48. data/lib/tentd/model/random_public_id.rb +46 -0
  49. data/lib/tentd/model/serializable.rb +58 -0
  50. data/lib/tentd/model/type_properties.rb +36 -0
  51. data/lib/tentd/model/user.rb +39 -0
  52. data/lib/tentd/model/user_scoped.rb +14 -0
  53. data/lib/tentd/notifications.rb +13 -0
  54. data/lib/tentd/notifications/girl_friday.rb +30 -0
  55. data/lib/tentd/notifications/sidekiq.rb +50 -0
  56. data/lib/tentd/tent_type.rb +20 -0
  57. data/lib/tentd/tent_version.rb +41 -0
  58. data/lib/tentd/version.rb +3 -0
  59. data/spec/fabricators/app_authorizations_fabricator.rb +5 -0
  60. data/spec/fabricators/apps_fabricator.rb +11 -0
  61. data/spec/fabricators/followers_fabricator.rb +14 -0
  62. data/spec/fabricators/followings_fabricator.rb +17 -0
  63. data/spec/fabricators/groups_fabricator.rb +3 -0
  64. data/spec/fabricators/mentions_fabricator.rb +3 -0
  65. data/spec/fabricators/notification_subscriptions_fabricator.rb +4 -0
  66. data/spec/fabricators/permissions_fabricator.rb +1 -0
  67. data/spec/fabricators/post_attachments_fabricator.rb +8 -0
  68. data/spec/fabricators/post_versions_fabricator.rb +12 -0
  69. data/spec/fabricators/posts_fabricator.rb +12 -0
  70. data/spec/fabricators/profile_infos_fabricator.rb +30 -0
  71. data/spec/integration/api/apps_spec.rb +466 -0
  72. data/spec/integration/api/followers_spec.rb +535 -0
  73. data/spec/integration/api/followings_spec.rb +688 -0
  74. data/spec/integration/api/groups_spec.rb +207 -0
  75. data/spec/integration/api/posts_spec.rb +874 -0
  76. data/spec/integration/api/profile_spec.rb +285 -0
  77. data/spec/integration/api/router_spec.rb +102 -0
  78. data/spec/integration/model/app_authorization_spec.rb +59 -0
  79. data/spec/integration/model/app_spec.rb +63 -0
  80. data/spec/integration/model/follower_spec.rb +344 -0
  81. data/spec/integration/model/following_spec.rb +97 -0
  82. data/spec/integration/model/group_spec.rb +39 -0
  83. data/spec/integration/model/notification_subscription_spec.rb +145 -0
  84. data/spec/integration/model/post_spec.rb +658 -0
  85. data/spec/spec_helper.rb +37 -0
  86. data/spec/support/expect_server.rb +3 -0
  87. data/spec/support/json_request.rb +54 -0
  88. data/spec/support/with_constant.rb +23 -0
  89. data/spec/support/with_warnings.rb +6 -0
  90. data/spec/unit/api/authentication_finalize_spec.rb +45 -0
  91. data/spec/unit/api/authentication_lookup_spec.rb +65 -0
  92. data/spec/unit/api/authentication_verification_spec.rb +50 -0
  93. data/spec/unit/api/authorizable_spec.rb +50 -0
  94. data/spec/unit/api/authorization_spec.rb +44 -0
  95. data/spec/unit/api/caching_headers_spec.rb +121 -0
  96. data/spec/unit/core_profile_data_spec.rb +64 -0
  97. data/spec/unit/json_patch_spec.rb +407 -0
  98. data/spec/unit/tent_type_spec.rb +28 -0
  99. data/spec/unit/tent_version_spec.rb +68 -0
  100. data/tentd.gemspec +36 -0
  101. metadata +435 -0
@@ -0,0 +1,28 @@
1
+ require 'spec_helper'
2
+
3
+ describe TentD::TentType do
4
+ let(:instance) { described_class.new("https://tent.io/types/post/status/v0.1.0#meta") }
5
+
6
+ it 'should parse version' do
7
+ expect(instance.version).to eq('0.1.0')
8
+ end
9
+
10
+ it 'should parse view' do
11
+ expect(instance.view).to eq('meta')
12
+ end
13
+
14
+ it 'should parse base' do
15
+ expect(instance.base).to eq('https://tent.io/types/post/status')
16
+ end
17
+
18
+ it 'should reassemble URI' do
19
+ instance.version = '0.2.0'
20
+ expect(instance.uri.to_s).to eq("https://tent.io/types/post/status/v0.2.0#meta")
21
+ end
22
+
23
+ it 'should reassemble URI without version or view' do
24
+ instance.version = nil
25
+ instance.view = nil
26
+ expect(instance.uri.to_s).to eq("https://tent.io/types/post/status")
27
+ end
28
+ end
@@ -0,0 +1,68 @@
1
+ require 'spec_helper'
2
+
3
+ describe TentD::TentVersion do
4
+ describe '.from_uri' do
5
+ it 'should parse version from URI' do
6
+ uri = "https://tent.io/type/posts/photo/v0.x.x#meta"
7
+ expect(described_class.from_uri(uri)).to eq(described_class.new("0.x.x"))
8
+ end
9
+ end
10
+
11
+ describe '#to_s' do
12
+ it 'should return version string' do
13
+ expect(described_class.new("0.1.x").to_s).to eq("0.1.x")
14
+ end
15
+ end
16
+
17
+ it 'should equal another TentVersion' do
18
+ expect(described_class.new("0.1.0") == described_class.new("0.1.0")).to be_true
19
+ end
20
+
21
+ it 'should equal a version String' do
22
+ expect(described_class.new("0.1.0") == "0.1.0").to be_true
23
+ end
24
+
25
+ it 'should not equal an incompatible TentVersion' do
26
+ expect(described_class.new("0.2.0") == described_class.new("0.1.x")).to be_false
27
+ end
28
+
29
+ it 'should equal fuzzy versions' do
30
+ expect(described_class.new("0.x.x") == described_class.new("0.2.0")).to be_true
31
+ expect(described_class.new("0.2.1") == described_class.new("0.2.x")).to be_true
32
+ expect(described_class.new("x.x.x") == described_class.new("1.2.9")).to be_true
33
+ expect(described_class.new("0.1.x") == described_class.new("0.1.0")).to be_true
34
+ expect(described_class.new("0.1.x") == described_class.new("0.1.9")).to be_true
35
+ expect(described_class.new("0.2.x") == described_class.new("0.1.9")).to be_false
36
+ end
37
+
38
+ describe '#parts' do
39
+ it 'should return array of version parts' do
40
+ expect(described_class.new('0.1.0').parts).to eq([0, 1, 0])
41
+ expect(described_class.new('0.1.x').parts).to eq([0, 1, 'x'])
42
+ end
43
+ end
44
+
45
+ describe '#parts=' do
46
+ it 'should set version from parts array' do
47
+ version = described_class.new('0.1.x')
48
+
49
+ version.parts = [0, 1, 0]
50
+ expect(version.parts).to eq([0, 1, 0])
51
+
52
+ version.parts = [0, 2, 'x']
53
+ expect(version.parts).to eq([0, 2, 'x'])
54
+ end
55
+ end
56
+
57
+ describe '#>(other_instance)' do
58
+ it 'should return true if greater than other instance' do
59
+ expect(described_class.new("0.2.x") > described_class.new("0.1.9")).to be_true
60
+ end
61
+ end
62
+
63
+ describe '#<(other_instance)' do
64
+ it 'should return true if less than other instance' do
65
+ expect(described_class.new("0.1.x") < described_class.new("0.2.9")).to be_true
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,36 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'tentd/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "tentd"
8
+ gem.version = TentD::VERSION
9
+ gem.authors = ["Jonathan Rudenberg", "Jesse Stuart"]
10
+ gem.email = ["jonathan@titanous.com", "jessestuart@gmail.com"]
11
+ gem.description = %q{Tent Protocol server reference implementation}
12
+ gem.summary = %q{Tent Protocol server reference implementation}
13
+ gem.homepage = "http://tent.io"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_runtime_dependency 'rack-mount', '~> 0.8.3'
21
+ gem.add_runtime_dependency 'hashie'
22
+ gem.add_runtime_dependency 'data_mapper', '~> 1.2.0'
23
+ gem.add_runtime_dependency 'dm-ar-finders', '~> 1.2.0'
24
+ gem.add_runtime_dependency 'dm-constraints', '~> 1.2.0'
25
+ gem.add_runtime_dependency 'dm-postgres-adapter', '~> 1.2.0'
26
+ gem.add_runtime_dependency 'tent-client'
27
+ gem.add_runtime_dependency 'json'
28
+
29
+ gem.add_development_dependency 'rack-test', '~> 0.6.1'
30
+ gem.add_development_dependency 'rspec', '~> 2.11'
31
+ gem.add_development_dependency 'bundler'
32
+ gem.add_development_dependency 'rake'
33
+ gem.add_development_dependency 'guard-rspec'
34
+ gem.add_development_dependency 'mocha'
35
+ gem.add_development_dependency 'fabrication'
36
+ end
metadata ADDED
@@ -0,0 +1,435 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tentd
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jonathan Rudenberg
9
+ - Jesse Stuart
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-09-20 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rack-mount
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 0.8.3
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: 0.8.3
31
+ - !ruby/object:Gem::Dependency
32
+ name: hashie
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: data_mapper
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.0
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 1.2.0
63
+ - !ruby/object:Gem::Dependency
64
+ name: dm-ar-finders
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ~>
69
+ - !ruby/object:Gem::Version
70
+ version: 1.2.0
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: 1.2.0
79
+ - !ruby/object:Gem::Dependency
80
+ name: dm-constraints
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 1.2.0
87
+ type: :runtime
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 1.2.0
95
+ - !ruby/object:Gem::Dependency
96
+ name: dm-postgres-adapter
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: 1.2.0
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 1.2.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: tent-client
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: json
129
+ requirement: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ type: :runtime
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ - !ruby/object:Gem::Dependency
144
+ name: rack-test
145
+ requirement: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ~>
149
+ - !ruby/object:Gem::Version
150
+ version: 0.6.1
151
+ type: :development
152
+ prerelease: false
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ~>
157
+ - !ruby/object:Gem::Version
158
+ version: 0.6.1
159
+ - !ruby/object:Gem::Dependency
160
+ name: rspec
161
+ requirement: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ version: '2.11'
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - ~>
173
+ - !ruby/object:Gem::Version
174
+ version: '2.11'
175
+ - !ruby/object:Gem::Dependency
176
+ name: bundler
177
+ requirement: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ! '>='
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ - !ruby/object:Gem::Dependency
192
+ name: rake
193
+ requirement: !ruby/object:Gem::Requirement
194
+ none: false
195
+ requirements:
196
+ - - ! '>='
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ type: :development
200
+ prerelease: false
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ! '>='
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ - !ruby/object:Gem::Dependency
208
+ name: guard-rspec
209
+ requirement: !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - ! '>='
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ type: :development
216
+ prerelease: false
217
+ version_requirements: !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: mocha
225
+ requirement: !ruby/object:Gem::Requirement
226
+ none: false
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :development
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ! '>='
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ - !ruby/object:Gem::Dependency
240
+ name: fabrication
241
+ requirement: !ruby/object:Gem::Requirement
242
+ none: false
243
+ requirements:
244
+ - - ! '>='
245
+ - !ruby/object:Gem::Version
246
+ version: '0'
247
+ type: :development
248
+ prerelease: false
249
+ version_requirements: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ description: Tent Protocol server reference implementation
256
+ email:
257
+ - jonathan@titanous.com
258
+ - jessestuart@gmail.com
259
+ executables:
260
+ - tent-server
261
+ extensions: []
262
+ extra_rdoc_files: []
263
+ files:
264
+ - .gitignore
265
+ - .rspec
266
+ - .travis.yml
267
+ - Gemfile
268
+ - Guardfile
269
+ - LICENSE.txt
270
+ - README.md
271
+ - Rakefile
272
+ - bin/tent-server
273
+ - lib/tentd.rb
274
+ - lib/tentd/api.rb
275
+ - lib/tentd/api/apps.rb
276
+ - lib/tentd/api/authentication_finalize.rb
277
+ - lib/tentd/api/authentication_lookup.rb
278
+ - lib/tentd/api/authentication_verification.rb
279
+ - lib/tentd/api/authorizable.rb
280
+ - lib/tentd/api/authorization.rb
281
+ - lib/tentd/api/core_profile_data.rb
282
+ - lib/tentd/api/followers.rb
283
+ - lib/tentd/api/followings.rb
284
+ - lib/tentd/api/groups.rb
285
+ - lib/tentd/api/middleware.rb
286
+ - lib/tentd/api/posts.rb
287
+ - lib/tentd/api/profile.rb
288
+ - lib/tentd/api/router.rb
289
+ - lib/tentd/api/router/caching_headers.rb
290
+ - lib/tentd/api/router/extract_params.rb
291
+ - lib/tentd/api/router/serialize_response.rb
292
+ - lib/tentd/api/user_lookup.rb
293
+ - lib/tentd/core_ext/hash/slice.rb
294
+ - lib/tentd/datamapper/array_property.rb
295
+ - lib/tentd/datamapper/query.rb
296
+ - lib/tentd/json_patch.rb
297
+ - lib/tentd/model.rb
298
+ - lib/tentd/model/app.rb
299
+ - lib/tentd/model/app_authorization.rb
300
+ - lib/tentd/model/follower.rb
301
+ - lib/tentd/model/following.rb
302
+ - lib/tentd/model/group.rb
303
+ - lib/tentd/model/mention.rb
304
+ - lib/tentd/model/notification_subscription.rb
305
+ - lib/tentd/model/permissible.rb
306
+ - lib/tentd/model/permission.rb
307
+ - lib/tentd/model/post.rb
308
+ - lib/tentd/model/post_attachment.rb
309
+ - lib/tentd/model/post_version.rb
310
+ - lib/tentd/model/profile_info.rb
311
+ - lib/tentd/model/random_public_id.rb
312
+ - lib/tentd/model/serializable.rb
313
+ - lib/tentd/model/type_properties.rb
314
+ - lib/tentd/model/user.rb
315
+ - lib/tentd/model/user_scoped.rb
316
+ - lib/tentd/notifications.rb
317
+ - lib/tentd/notifications/girl_friday.rb
318
+ - lib/tentd/notifications/sidekiq.rb
319
+ - lib/tentd/tent_type.rb
320
+ - lib/tentd/tent_version.rb
321
+ - lib/tentd/version.rb
322
+ - spec/fabricators/app_authorizations_fabricator.rb
323
+ - spec/fabricators/apps_fabricator.rb
324
+ - spec/fabricators/followers_fabricator.rb
325
+ - spec/fabricators/followings_fabricator.rb
326
+ - spec/fabricators/groups_fabricator.rb
327
+ - spec/fabricators/mentions_fabricator.rb
328
+ - spec/fabricators/notification_subscriptions_fabricator.rb
329
+ - spec/fabricators/permissions_fabricator.rb
330
+ - spec/fabricators/post_attachments_fabricator.rb
331
+ - spec/fabricators/post_versions_fabricator.rb
332
+ - spec/fabricators/posts_fabricator.rb
333
+ - spec/fabricators/profile_infos_fabricator.rb
334
+ - spec/integration/api/apps_spec.rb
335
+ - spec/integration/api/followers_spec.rb
336
+ - spec/integration/api/followings_spec.rb
337
+ - spec/integration/api/groups_spec.rb
338
+ - spec/integration/api/posts_spec.rb
339
+ - spec/integration/api/profile_spec.rb
340
+ - spec/integration/api/router_spec.rb
341
+ - spec/integration/model/app_authorization_spec.rb
342
+ - spec/integration/model/app_spec.rb
343
+ - spec/integration/model/follower_spec.rb
344
+ - spec/integration/model/following_spec.rb
345
+ - spec/integration/model/group_spec.rb
346
+ - spec/integration/model/notification_subscription_spec.rb
347
+ - spec/integration/model/post_spec.rb
348
+ - spec/spec_helper.rb
349
+ - spec/support/expect_server.rb
350
+ - spec/support/json_request.rb
351
+ - spec/support/with_constant.rb
352
+ - spec/support/with_warnings.rb
353
+ - spec/unit/api/authentication_finalize_spec.rb
354
+ - spec/unit/api/authentication_lookup_spec.rb
355
+ - spec/unit/api/authentication_verification_spec.rb
356
+ - spec/unit/api/authorizable_spec.rb
357
+ - spec/unit/api/authorization_spec.rb
358
+ - spec/unit/api/caching_headers_spec.rb
359
+ - spec/unit/core_profile_data_spec.rb
360
+ - spec/unit/json_patch_spec.rb
361
+ - spec/unit/tent_type_spec.rb
362
+ - spec/unit/tent_version_spec.rb
363
+ - tentd.gemspec
364
+ homepage: http://tent.io
365
+ licenses: []
366
+ post_install_message:
367
+ rdoc_options: []
368
+ require_paths:
369
+ - lib
370
+ required_ruby_version: !ruby/object:Gem::Requirement
371
+ none: false
372
+ requirements:
373
+ - - ! '>='
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ segments:
377
+ - 0
378
+ hash: -1556355627690673886
379
+ required_rubygems_version: !ruby/object:Gem::Requirement
380
+ none: false
381
+ requirements:
382
+ - - ! '>='
383
+ - !ruby/object:Gem::Version
384
+ version: '0'
385
+ segments:
386
+ - 0
387
+ hash: -1556355627690673886
388
+ requirements: []
389
+ rubyforge_project:
390
+ rubygems_version: 1.8.23
391
+ signing_key:
392
+ specification_version: 3
393
+ summary: Tent Protocol server reference implementation
394
+ test_files:
395
+ - spec/fabricators/app_authorizations_fabricator.rb
396
+ - spec/fabricators/apps_fabricator.rb
397
+ - spec/fabricators/followers_fabricator.rb
398
+ - spec/fabricators/followings_fabricator.rb
399
+ - spec/fabricators/groups_fabricator.rb
400
+ - spec/fabricators/mentions_fabricator.rb
401
+ - spec/fabricators/notification_subscriptions_fabricator.rb
402
+ - spec/fabricators/permissions_fabricator.rb
403
+ - spec/fabricators/post_attachments_fabricator.rb
404
+ - spec/fabricators/post_versions_fabricator.rb
405
+ - spec/fabricators/posts_fabricator.rb
406
+ - spec/fabricators/profile_infos_fabricator.rb
407
+ - spec/integration/api/apps_spec.rb
408
+ - spec/integration/api/followers_spec.rb
409
+ - spec/integration/api/followings_spec.rb
410
+ - spec/integration/api/groups_spec.rb
411
+ - spec/integration/api/posts_spec.rb
412
+ - spec/integration/api/profile_spec.rb
413
+ - spec/integration/api/router_spec.rb
414
+ - spec/integration/model/app_authorization_spec.rb
415
+ - spec/integration/model/app_spec.rb
416
+ - spec/integration/model/follower_spec.rb
417
+ - spec/integration/model/following_spec.rb
418
+ - spec/integration/model/group_spec.rb
419
+ - spec/integration/model/notification_subscription_spec.rb
420
+ - spec/integration/model/post_spec.rb
421
+ - spec/spec_helper.rb
422
+ - spec/support/expect_server.rb
423
+ - spec/support/json_request.rb
424
+ - spec/support/with_constant.rb
425
+ - spec/support/with_warnings.rb
426
+ - spec/unit/api/authentication_finalize_spec.rb
427
+ - spec/unit/api/authentication_lookup_spec.rb
428
+ - spec/unit/api/authentication_verification_spec.rb
429
+ - spec/unit/api/authorizable_spec.rb
430
+ - spec/unit/api/authorization_spec.rb
431
+ - spec/unit/api/caching_headers_spec.rb
432
+ - spec/unit/core_profile_data_spec.rb
433
+ - spec/unit/json_patch_spec.rb
434
+ - spec/unit/tent_type_spec.rb
435
+ - spec/unit/tent_version_spec.rb