beaneater 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 454588f4369a9102f949a43c73d7fe8d06de5191
4
- data.tar.gz: e7655c12db30696d1feb41b1f3c6de9c4100115c
3
+ metadata.gz: a211158cb51e20a41be4ef98ca2b4dc18bfe4a8e
4
+ data.tar.gz: 2a566e5850566082b6439fd13b63a559ecaa7720
5
5
  SHA512:
6
- metadata.gz: e523bcdfeb277ed363335be20de8d7114680fe7fa98a7b8a3f7e341547dd0b41290fba35fece3615bd6839ef9381ee8312aac003662e5b2afc4accfdbfa00fbd
7
- data.tar.gz: 0e0d48e4514d953d2acc4bce929a08201912c8f04dc14b0f70bd2ccaa7f7ca2dfbd91ac73156a8542c374fed1b963bd910abe65cfd561d7ff24b7323f1875ff6
6
+ metadata.gz: b8914a8f0f867f1be89e293b172b5d47ab16dedcffb2e60bcf5d852831e163817fa1d8ec2fc3a42b5964da96f2573704fe19808884f1765c354b9a2e5e2a057c
7
+ data.tar.gz: 74ea34bfd7adc36b94c3c0823407466a5d14597f1fe145fe26e8788427f3817c180e705fa10f0d5900a30b0ed2cd017c82f6b97969dd956e056bfe6bf549bd60
@@ -1,6 +1,10 @@
1
1
  # CHANGELOG for Beaneater
2
2
 
3
- ## 0.3.2 (Unreleased)
3
+ ## 0.3.3 (Unreleased)
4
+
5
+ ## 0.3.2 (Sept 15 2013)
6
+
7
+ * Fix #29 ExpectedCrlfError name and invocation (@tdg5)
4
8
 
5
9
  ## 0.3.1 (Jun 28 2013)
6
10
 
@@ -84,7 +84,7 @@ module Beaneater
84
84
  # Establish a connection based on beanstalk address.
85
85
  #
86
86
  # @return [Net::TCPSocket] connection for specified address.
87
- # @raise [Beanstalk::NotConnected] Could not connect to specified beanstalkd instance.
87
+ # @raise [Beaneater::NotConnected] Could not connect to specified beanstalkd instance.
88
88
  # @example
89
89
  # establish_connection('localhost:3005')
90
90
  #
@@ -120,7 +120,7 @@ module Beaneater
120
120
  raw_body = connection.read(bytes_size)
121
121
  body = status == 'OK' ? YAML.load(raw_body) : config.job_parser.call(raw_body)
122
122
  crlf = connection.read(2) # \r\n
123
- raise ExpectedCRLFError if crlf != "\r\n"
123
+ raise ExpectedCrlfError.new('EXPECTED_CRLF', cmd) if crlf != "\r\n"
124
124
  end
125
125
  id = body_values[1]
126
126
  response = { :status => status, :body => body }
@@ -1,4 +1,4 @@
1
1
  module Beaneater
2
2
  # Current version of gem.
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaneater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Taing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-28 00:00:00.000000000 Z
11
+ date: 2013-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.0.2
148
+ rubygems_version: 2.0.6
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Simple beanstalkd client for ruby.