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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91735ca9844a9e2ae693c71d37e6394a4e658bfe
4
- data.tar.gz: 942a2546e5dfee69ac9c8ca7eb186125e363e0b1
3
+ metadata.gz: 88cf67763034b876e4f785420865353f591d024b
4
+ data.tar.gz: 8cedc5af388d25421b5cd27e39bcec488a38540f
5
5
  SHA512:
6
- metadata.gz: c263a68d998e4fe7c3855d613a49d405a63c25a63fa306cedbe99d8e92178fc9c4c0e89200d5500be334f4e3dec33da815d9f342106e0ab4132774713412b4fc
7
- data.tar.gz: 3c5b14198a6c2f20065b70133e8b0455b18bb3e11da9f1579414daacae694c4fc4d4965b451f4fcd7c52a99ef3f8b76b097f3d91c2a030711554e812fb6ee9e0
6
+ metadata.gz: dc9de8c8af0fd125d07ac25fcf58294e9ac13937d92f65e7568febe6805a9d9ac8ca242a3990c5630c5e0a019bb452d280c21b4c9353e69765f8110d38cfc87a
7
+ data.tar.gz: 8916cb3039f195cb9edacb50ed1269e67304228a7b9597f9cead3ba0e487b545ce79e264a9c1a2c450d92fd3afcb561c1c292318a5142434668e56b8d7d93fba
@@ -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
- puts "Skipping '#{name}' cause of '#{e.message.to_s}'! "+
72
- "Checkout https://wiki.diasporafoundation.org/Vines#FAQ "+
73
- "for further instructions."
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
- puts "Your're using vines without a certificate! "+
132
- "Checkout https://wiki.diasporafoundation.org/Vines#Certificates "+
133
- "for further instructions."
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Vines
4
4
  # vines forked version 0.4.10
5
- VERSION = '0.1.28'
5
+ VERSION = '0.2.0.develop.1'
6
6
  end
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.28
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-19 00:00:00.000000000 Z
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: '0'
365
+ version: 1.3.1
366
366
  requirements: []
367
367
  rubyforge_project:
368
368
  rubygems_version: 2.4.8