ryespy 1.1.0 → 1.1.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: a22c1520fc9edcc6b58d6f6225f2ea5d260f84bd
4
- data.tar.gz: dba9c58d80ac2f2b6b1550e48fbf7b12b51cb20e
3
+ metadata.gz: 152a29eba8214a75a435f7609218eea78abbd604
4
+ data.tar.gz: fc8a3d14156c7eb272c4157e571a9ac1d04035cc
5
5
  SHA512:
6
- metadata.gz: 6b95c386e358f1647086668a23bb53c9af760440f8d2f2da36d931e3de6ac6a1cd0a31e8355dfcef3b38ae43559211114fcb76b0d7aa31d46006a8f8a3c34967
7
- data.tar.gz: e6be1a6bcf162dd9896191c57509c4c329344232538ab047fe7d2fe185180f3742679ae5f83d4425cf28fc2cf761e3a6a66b8a01f03c682ba05bf75410384193
6
+ metadata.gz: cba09acae18a35b63f7310abb4a7a65bbe1041209b3abee7647a0d0ed9a42a4f41032684d649950d0216a88fc31309ac7d307dae176e935b0884402ba53681dd
7
+ data.tar.gz: 271d805c74af0995447e7d5568b453d701fb06032bef024a202d5633ac6559cddcf6ff1b67fb6ff56b802bcbe37934682798ddb15024861e25bcb5ea7c3f352b
@@ -4,6 +4,11 @@ This changelog documents the main changes between released versions.
4
4
  For a full list of changes, consult the commit history.
5
5
 
6
6
 
7
+ ## 1.1.1
8
+
9
+ - [#2] Google Drive listener fix changing max files from 100 to 1000; outstanding [#3] to remove limit entirely (thank you, @Lewis-Clayton)
10
+
11
+
7
12
  ## 1.1.0
8
13
 
9
14
  - start of support for Ruby 2.1.1
data/README.md CHANGED
@@ -149,6 +149,13 @@ use `--goog-cs-prefixes virtual-dir1/,virtual-dir`.
149
149
 
150
150
  ### Google Drive Listener
151
151
 
152
+ *Note that the Google Drive listener currently has a pre-filter maximum of 1000
153
+ files. That means that having more files than this in an account is not (yet)
154
+ supported; such files might be ignored entirely, or strange behaviour might be
155
+ encountered depending on the order in which the files are returned.*
156
+ *<https://github.com/tiredpixel/ryespy/pull/2>*
157
+ *<https://github.com/tiredpixel/ryespy/issues/3>*
158
+
152
159
  Check Google Drive, queue new file resource ids, and quit:
153
160
 
154
161
  ryespy --listener goog-drv --goog-drv-username vegetable-box@gmail.com --goog-drv-password helpimgarlic --goog-drv-filters vegetable-box --notifier-sidekiq
@@ -55,7 +55,7 @@ module Ryespy
55
55
  def get_unseen_files(filter, seen_files)
56
56
  files = {}
57
57
 
58
- @google_drive.files.each do |file|
58
+ @google_drive.files('max-results' => 1000).each do |file|
59
59
  next unless file.title =~ /#{filter}/ && file.resource_id && file.resource_type != 'folder'
60
60
 
61
61
  # updated should be present for all resource_type , but there is often
@@ -1,5 +1,5 @@
1
1
  module Ryespy
2
2
 
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.1.1'.freeze
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ryespy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tiredpixel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis