social_web-activity_streams 0.1 → 0.1.1
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.
- checksums.yaml +4 -4
- data/lib/activity_streams/factory.rb +1 -1
- data/spec/activity_streams_spec.rb +4 -4
- metadata +23 -10
- data/lib/activity_streams/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2addf4eb894f07e634d61204ecd15a17e82810c10eded2c8299822a6a92ba0c6
|
4
|
+
data.tar.gz: 944d40bbd9a0687018790645624e3c6440f557992a1f04438b01b042876fcaee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f477c6d89344b8c99b6c71d639d363a889b1612d79704ad25c548f52a1308f69b18bbfbfa0676f896da4cc9a88fcf80970cb28dc79f88b0dd4a124a0bcdd103
|
7
|
+
data.tar.gz: a8c13d27a1190548f41f343681067572de39fe490df702e5db82e3af0b42056b353bd1ac89b5aa1773cbe014c68b5591ad7c501a20f106f07ea969638d94841d
|
@@ -53,7 +53,7 @@ module ActivityStreams
|
|
53
53
|
|
54
54
|
def unsupported_properties(klass, attrs)
|
55
55
|
attrs.each.with_object({}) do |(k, _v), unsupported_props|
|
56
|
-
if !klass.
|
56
|
+
if !klass.attribute_types.keys.include?(k)
|
57
57
|
unsupported_props[k] = attrs.delete(k)
|
58
58
|
end
|
59
59
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
it "has a version number" do
|
3
|
-
expect(ActivityStreams::VERSION).not_to be nil
|
4
|
-
end
|
1
|
+
# frozen_string_literal: true
|
5
2
|
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ActivityStreams do
|
6
6
|
describe '#from_json' do
|
7
7
|
it 'delegates to factory' do
|
8
8
|
json = '{}'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_web-activity_streams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Cavanaugh
|
@@ -10,20 +10,34 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activemodel
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.2.3
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.2.3
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: roda
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- - "
|
31
|
+
- - ">="
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
33
|
+
version: 3.22.0
|
20
34
|
type: :runtime
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
|
-
- - "
|
38
|
+
- - ">="
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
40
|
+
version: 3.22.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,20 +122,19 @@ files:
|
|
108
122
|
- lib/activity_streams/model/object/image.rb
|
109
123
|
- lib/activity_streams/model/object/note.rb
|
110
124
|
- lib/activity_streams/validators/context_validator.rb
|
111
|
-
- lib/activity_streams/version.rb
|
112
125
|
- spec/activity_streams/concerns/serialization_spec.rb
|
113
126
|
- spec/activity_streams/factory_spec.rb
|
114
127
|
- spec/activity_streams/model_spec.rb
|
115
128
|
- spec/activity_streams_spec.rb
|
116
129
|
- spec/fixtures/extended_activity.json
|
117
130
|
- spec/spec_helper.rb
|
118
|
-
homepage: https://github.com/
|
131
|
+
homepage: https://github.com/social-web/activity_streams
|
119
132
|
licenses:
|
120
133
|
- MIT
|
121
134
|
metadata:
|
122
|
-
homepage_uri: https://github.com/
|
123
|
-
source_code_uri: https://github.com/
|
124
|
-
changelog_uri: https://github.com/
|
135
|
+
homepage_uri: https://github.com/social-web/activity_streams
|
136
|
+
source_code_uri: https://github.com/social-web/activity_streams
|
137
|
+
changelog_uri: https://github.com/social-web/activity_streams/tree/master/CHANGELOG.md
|
125
138
|
post_install_message:
|
126
139
|
rdoc_options: []
|
127
140
|
require_paths:
|