ryespy 1.1.0 → 1.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +7 -0
- data/lib/ryespy/listener/goog_drv.rb +1 -1
- data/lib/ryespy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 152a29eba8214a75a435f7609218eea78abbd604
|
|
4
|
+
data.tar.gz: fc8a3d14156c7eb272c4157e571a9ac1d04035cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cba09acae18a35b63f7310abb4a7a65bbe1041209b3abee7647a0d0ed9a42a4f41032684d649950d0216a88fc31309ac7d307dae176e935b0884402ba53681dd
|
|
7
|
+
data.tar.gz: 271d805c74af0995447e7d5568b453d701fb06032bef024a202d5633ac6559cddcf6ff1b67fb6ff56b802bcbe37934682798ddb15024861e25bcb5ea7c3f352b
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
data/lib/ryespy/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2014-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis
|