diaspora-vines 0.1.28 → 0.2.0.develop.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/vines/storage/sql.rb +1 -1
- data/lib/vines/store.rb +7 -6
- data/lib/vines/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88cf67763034b876e4f785420865353f591d024b
|
4
|
+
data.tar.gz: 8cedc5af388d25421b5cd27e39bcec488a38540f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc9de8c8af0fd125d07ac25fcf58294e9ac13937d92f65e7568febe6805a9d9ac8ca242a3990c5630c5e0a019bb452d280c21b4c9353e69765f8110d38cfc87a
|
7
|
+
data.tar.gz: 8916cb3039f195cb9edacb50ed1269e67304228a7b9597f9cead3ba0e487b545ce79e264a9c1a2c450d92fd3afcb561c1c292318a5142434668e56b8d7d93fba
|
data/lib/vines/storage/sql.rb
CHANGED
@@ -110,7 +110,7 @@ module Vines
|
|
110
110
|
xuser.authentication_token
|
111
111
|
|
112
112
|
# add diaspora contacts
|
113
|
-
xuser.contacts.chat_enabled.each do |contact|
|
113
|
+
xuser.contacts.chat_enabled.group(:person_id).each do |contact|
|
114
114
|
handle = contact.person.diaspora_handle
|
115
115
|
profile = contact.person.profile
|
116
116
|
name = "#{profile.first_name} #{profile.last_name}"
|
data/lib/vines/store.rb
CHANGED
@@ -5,6 +5,7 @@ module Vines
|
|
5
5
|
# This uses the conf/certs/*.crt files as the list of trusted root
|
6
6
|
# CA certificates.
|
7
7
|
class Store
|
8
|
+
include Vines::Log
|
8
9
|
@@sources = nil
|
9
10
|
|
10
11
|
# Create a certificate store to read certificate files from the given
|
@@ -68,9 +69,9 @@ module Vines
|
|
68
69
|
[name, certs]
|
69
70
|
end
|
70
71
|
rescue ArgumentError => e
|
71
|
-
|
72
|
-
|
73
|
-
|
72
|
+
log.error("Skipping '#{name}' cause of '#{e.message.to_s}'! "+
|
73
|
+
"Checkout https://wiki.diasporafoundation.org/Vines#FAQ "+
|
74
|
+
"for further instructions.")
|
74
75
|
end
|
75
76
|
end
|
76
77
|
Hash[pairs.compact]
|
@@ -128,9 +129,9 @@ module Vines
|
|
128
129
|
end
|
129
130
|
end
|
130
131
|
end
|
131
|
-
|
132
|
-
|
133
|
-
|
132
|
+
log.error("Your're using vines without a certificate! "+
|
133
|
+
"Checkout https://wiki.diasporafoundation.org/Vines#Certificates "+
|
134
|
+
"for further instructions.")
|
134
135
|
nil
|
135
136
|
end
|
136
137
|
|
data/lib/vines/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diaspora-vines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.0.develop.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Graham
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bcrypt
|
@@ -360,9 +360,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
360
360
|
version: 1.9.3
|
361
361
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
362
362
|
requirements:
|
363
|
-
- - "
|
363
|
+
- - ">"
|
364
364
|
- !ruby/object:Gem::Version
|
365
|
-
version:
|
365
|
+
version: 1.3.1
|
366
366
|
requirements: []
|
367
367
|
rubyforge_project:
|
368
368
|
rubygems_version: 2.4.8
|