bananajour 2.6.6 → 2.6.7

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -58,23 +58,26 @@ Linux support
58
58
 
59
59
  To install the dnssd gem on Linux you'll need [avahi](http://avahi.org/). For Ubunutu peeps this means:
60
60
 
61
- sudo apt-get install libavahi-compat-libdnssd-dev libavahi-discover
61
+ sudo aptitude update
62
62
 
63
- You can debug whether or not Avahi can see Bananajour and git-daemon Bonjour statuses using the command 'avahi-browse'. This command can be found in the package 'avahi-utils'.
63
+ sudo aptitude install g++ ruby-dev \
64
+ libavahi-compat-libdnssd-dev avahi-discover avahi-utils
64
65
 
65
- The following command will show you all of the Bonjour services running on your local network:
66
+ and you'll need to set the domain-name:
66
67
 
67
- avahi-browse --all
68
+ sudo sed -i \
69
+ -e 's/#domain-name=local/domain-name=local/' \
70
+ /etc/avahi/avahi-daemon.conf
68
71
 
69
- If you kill bananajour with kill -9 it doesn't get a chance to unregister the Bonjour services, and when it is restarted it will die with DNSSD::AlreadyRegisteredError. Although not ideal, you can work around this my restarting avahi-daemon first.
72
+ sudo service avahi-daemon restart
70
73
 
71
- You will also need to uncomment the following line in your /etc/avahi/avahi-daemon.conf.
74
+ You can debug whether or not Avahi can see Bananajour and git-daemon Bonjour statuses using the command 'avahi-browse'. This command can be found in the package 'avahi-utils'.
72
75
 
73
- domain-name=local
76
+ The following command will show you all of the Bonjour services running on your local network:
74
77
 
75
- And then restart the Avahi service:
78
+ avahi-browse --all
76
79
 
77
- sudo service avahi-daemon restart
80
+ If you kill bananajour with kill -9 it doesn't get a chance to unregister the Bonjour services, and when it is restarted it will die with DNSSD::AlreadyRegisteredError. Although not ideal, you can work around this my restarting avahi-daemon first.
78
81
 
79
82
  Note: You might have to restart the avahi-daemon sometimes if you are having problems seeing other bananajours.
80
83
 
@@ -1,3 +1,3 @@
1
1
  module Bananajour
2
- VERSION = '2.6.6'
2
+ VERSION = '2.6.7'
3
3
  end
@@ -9,7 +9,7 @@ module DiffHelpers
9
9
  raw_diff = diff.diff.split(/\n/)
10
10
 
11
11
  if diff.a_blob.nil?
12
- filename = diff.b_blob.name
12
+ filename = parse_filename(raw_diff[0..1])
13
13
  line_num = 1
14
14
  lines = diff.b_blob.data.split(/\n/).map do |line|
15
15
  line_num += 1
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 6
8
- - 6
9
- version: 2.6.6
8
+ - 7
9
+ version: 2.6.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tim Lucas
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-30 00:00:00 +10:00
17
+ date: 2010-10-23 00:00:00 +11:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency