tkellem 0.9.0 → 0.9.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.
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ - "2.0.0"
5
+ - rbx-19mode
6
+ # uncomment this line if your project needs to run something other than `rake`:
7
+ # script: bundle exec rspec spec
8
+
data/Gemfile CHANGED
@@ -1,4 +1,9 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in tkellem.gemspec
4
4
  gemspec
5
+
6
+ group :test do
7
+ gem 'rspec', '~> 2.5'
8
+ gem 'simplecov'
9
+ end
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # tkellem
2
2
 
3
+ [![Build
4
+ Status](https://travis-ci.org/codekitchen/tkellem.png)](https://travis-ci.org/codekitchen/tkellem)
5
+
3
6
  tkellem is an IRC bouncer, a proxy that keeps you permanently logged on to an
4
7
  IRC server and stores all messages so that when your client next connects, you
5
8
  can see the backlog of what happened while you were gone.
@@ -10,7 +13,7 @@ process.
10
13
 
11
14
  ## IMPORTANT
12
15
 
13
- This is still a pretty early alpha. Expect bugs and missing
16
+ Tkellem is beta quality software. Expect bugs and missing
14
17
  functionality.
15
18
 
16
19
  ## Getting Started
@@ -60,4 +63,5 @@ Upgrading is as simple as:
60
63
  $ gem install tkellem
61
64
  $ tkellem restart
62
65
 
63
- All active clients will be forced to re-connect.
66
+ All active clients will be forced to re-connect. Their positions in the backlog will not
67
+ be lost, so restarting is relatively painless.
@@ -97,7 +97,7 @@ class Backlog
97
97
  mode = for_reading ? 'rb' : 'ab'
98
98
  ctx = ctx.gsub(%r{[\./\\]}, '')
99
99
  path = stream_path(ctx)
100
- return unless path.file?
100
+ return nil if !path.file? && for_reading
101
101
  path.open(mode) do |stream|
102
102
  if !for_reading
103
103
  stream.seek(0, IO::SEEK_END)
@@ -1,3 +1,3 @@
1
1
  module Tkellem
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -21,7 +21,4 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "activerecord", "~> 4.0.0.rc2"
22
22
  s.add_dependency "sqlite3", "~> 1.3.3"
23
23
  s.add_dependency "rails-observers", "~> 0.1.1"
24
-
25
- s.add_development_dependency "rspec", "~> 2.5"
26
- s.add_development_dependency "simplecov"
27
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkellem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-24 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
@@ -75,38 +75,6 @@ dependencies:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: 0.1.1
78
- - !ruby/object:Gem::Dependency
79
- name: rspec
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: '2.5'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: '2.5'
94
- - !ruby/object:Gem::Dependency
95
- name: simplecov
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
78
  description:
111
79
  email:
112
80
  - brian@codekitchen.net
@@ -116,6 +84,7 @@ extensions: []
116
84
  extra_rdoc_files: []
117
85
  files:
118
86
  - .gitignore
87
+ - .travis.yml
119
88
  - Gemfile
120
89
  - LICENSE
121
90
  - README.md
@@ -179,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
148
  version: '0'
180
149
  segments:
181
150
  - 0
182
- hash: 267049175566363735
151
+ hash: 4403450271075957014
183
152
  required_rubygems_version: !ruby/object:Gem::Requirement
184
153
  none: false
185
154
  requirements:
@@ -188,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
157
  version: '0'
189
158
  segments:
190
159
  - 0
191
- hash: 267049175566363735
160
+ hash: 4403450271075957014
192
161
  requirements: []
193
162
  rubyforge_project:
194
163
  rubygems_version: 1.8.23