diaspora_federation-test 0.0.10 → 0.0.11
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/diaspora_federation/test/factories.rb +5 -5
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a35d70d267a500d9b746bdd5e0d5e7d65c8c7489
|
|
4
|
+
data.tar.gz: 8ee16f18db858ba2d4b9df08e0c3f4ab63f223e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf1c1a4177565ef01808bbff61bf348c830c3bf51fe8dabd5fc3747f37ad02b5fb9928f153d7e7aac807df3f76d6ababb7fc713c581dd53ef58d6cb0e946cf59
|
|
7
|
+
data.tar.gz: 38dcf7ba32908b8cda3fb4d6c6719ca9800e72977e41721c58064560b22cf3387087f8da9b48d3d78621350a9c73f40faaec5d7e75f2abbe91fbdcbb1cdc9a3f
|
|
@@ -74,7 +74,7 @@ module DiasporaFederation
|
|
|
74
74
|
guid
|
|
75
75
|
diaspora_id
|
|
76
76
|
public(true)
|
|
77
|
-
created_at { Time.
|
|
77
|
+
created_at { Time.now.utc }
|
|
78
78
|
remote_photo_path "https://diaspora.example.tld/uploads/images/"
|
|
79
79
|
remote_photo_name "f2a41e9d2db4d9a199c8.jpg"
|
|
80
80
|
text "what you see here..."
|
|
@@ -99,7 +99,7 @@ module DiasporaFederation
|
|
|
99
99
|
guid
|
|
100
100
|
diaspora_id
|
|
101
101
|
public(true)
|
|
102
|
-
created_at { Time.
|
|
102
|
+
created_at { Time.now.utc }
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
factory :request_entity, class: DiasporaFederation::Entities::Request do
|
|
@@ -127,7 +127,7 @@ module DiasporaFederation
|
|
|
127
127
|
factory :conversation_entity, class: DiasporaFederation::Entities::Conversation do
|
|
128
128
|
guid
|
|
129
129
|
subject "this is a very informative subject"
|
|
130
|
-
created_at {
|
|
130
|
+
created_at { Time.now.utc }
|
|
131
131
|
messages []
|
|
132
132
|
diaspora_id
|
|
133
133
|
participant_ids { 3.times.map { generate(:diaspora_id) }.join(";") }
|
|
@@ -136,7 +136,7 @@ module DiasporaFederation
|
|
|
136
136
|
factory :message_entity, class: DiasporaFederation::Entities::Message, parent: :relayable_entity do
|
|
137
137
|
guid
|
|
138
138
|
text "this is a very informative text"
|
|
139
|
-
created_at {
|
|
139
|
+
created_at { Time.now.utc }
|
|
140
140
|
diaspora_id
|
|
141
141
|
conversation_guid { generate(:guid) }
|
|
142
142
|
end
|
|
@@ -153,7 +153,7 @@ module DiasporaFederation
|
|
|
153
153
|
guid
|
|
154
154
|
diaspora_id
|
|
155
155
|
public(true)
|
|
156
|
-
created_at {
|
|
156
|
+
created_at { Time.now.utc }
|
|
157
157
|
provider_display_name { "the testsuite" }
|
|
158
158
|
end
|
|
159
159
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: diaspora_federation-test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Benjamin Neff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: diaspora_federation
|
|
@@ -16,19 +16,22 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.0.
|
|
19
|
+
version: 0.0.11
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.0.
|
|
26
|
+
version: 0.0.11
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: factory_girl
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '4.5'
|
|
34
|
+
- - ">="
|
|
32
35
|
- !ruby/object:Gem::Version
|
|
33
36
|
version: 4.5.0
|
|
34
37
|
type: :runtime
|
|
@@ -36,6 +39,9 @@ dependencies:
|
|
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
40
|
requirements:
|
|
38
41
|
- - "~>"
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '4.5'
|
|
44
|
+
- - ">="
|
|
39
45
|
- !ruby/object:Gem::Version
|
|
40
46
|
version: 4.5.0
|
|
41
47
|
description: This gem provides some supplimentary code (factory definitions), thathelps
|