rubydora 1.6.0 → 1.6.1

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: 20f394c93019a3c503e281351a32155a0d072db2
4
- data.tar.gz: 8b15c7e959de69614abf7b997b1b8e6612bc46f0
3
+ metadata.gz: 7e7244b839f54ecfee40b9d2c689c54b92aefeae
4
+ data.tar.gz: 67ecac240d565b673d7c342a1aa0a1a47b1fb3c1
5
5
  SHA512:
6
- metadata.gz: e9ad02488fcf5132bf7b514d3fd4272f3d3af719ad33dd3db7d1d070f67dcd0432dc2b9c47a17bbec22a321b972b0c1d53783aae2477e6af951a10f8d593da72
7
- data.tar.gz: 7e79232528768b9407f396b3d6af606083fe813a1f00a5ada92f8fcb64d06ed77e0b9067b9bcf81e6a0e54e33d9b620713b6a359075e8874b298b7bbca300bf8
6
+ metadata.gz: 129b77a40cb1c0c0da8e6ae445b65647d33e510a90907bd0ef36639f63de880a297e3c52eebaaf37380586adf24b6b6183c8828836426722ff9835e9810c79b6
7
+ data.tar.gz: 1e2f11112a46df3239cb08ea27f2b7d35acc1807fd7bd2c31504edf142d2f7979f59d69294b3a8a26893ff49fbf327d33cba8552f003abaa0a31d4ea26b4b542
data/History.textile CHANGED
@@ -1,3 +1,6 @@
1
+ h3. 1.6.1
2
+ * Removed break which caused Enumerator to never terminate
3
+
1
4
  h3. 1.6.0
2
5
  * Added support for accessing the audit log
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.6.1
@@ -234,9 +234,8 @@ module Rubydora
234
234
  if (counter > from) # greater than the range minimum
235
235
  if counter > from + length
236
236
  # At the end of what we need. Write the beginning of what was read.
237
- offset = (length + from) - counter
237
+ offset = (length + from) - counter - 1
238
238
  blk << chunk[0..offset]
239
- break
240
239
  elsif from >= last_counter
241
240
  # At the end of what we beginning of what we need. Write the end of what was read.
242
241
  offset = from - last_counter
@@ -245,10 +244,6 @@ module Rubydora
245
244
  # In the middle. We need all of this
246
245
  blk << chunk
247
246
  end
248
- if (counter == from + length)
249
- # Iteration was exactly the right length, no more reads needed.
250
- break
251
- end
252
247
  end
253
248
  end
254
249
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydora
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-26 00:00:00.000000000 Z
11
+ date: 2013-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastercsv