survey-gizmo-ruby 6.3.2 → 6.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ecd6c626fe9f024fccfb0b0932c9ca892aa657f
4
- data.tar.gz: 0acf23f68c9e5e7b24b70507b4aae1fbe8271428
3
+ metadata.gz: 4b395c27665d90895eb083a47a8a2971bd815702
4
+ data.tar.gz: 94768f72f0b31f57f37d2b7265a7dad7a84114db
5
5
  SHA512:
6
- metadata.gz: 83cc2757aab34eed06e86f63f9c18153ad4aff4eaba37c91be8c2556ef491b0c7181bd6593a4b3073460727e7cbccb6a7566a33ea1861a800f9832ba1f1eaf79
7
- data.tar.gz: 1c911771e01d30380cf2feed99ed7df296f0316f1cf5b295cf003dc9519be0d2f3911bdc4efe17af94796ff6499002b01bbffc88c99b58b69419e98e4542c751
6
+ metadata.gz: 3c51b2b836721b64684c752cc421440474ddeea3953df5b68c57dbe521ee3155dcdf9189510ae2a4317b3a2f2bea7f2f8cd89dccb8a43388b87f47fa3df77d31
7
+ data.tar.gz: ef13bb25daf61daf167dfbfdb5782685ec0614cec3b763b432bf606d1fb0fc52d499de494ed8ae7063dfbd3759aae1bc26be2bd0ee0d9ea04d512c4e5ce0a97f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Versions
2
2
 
3
+ ## 6.4.0
4
+ * Allow passing of optional extra filters to `server_has_new_results_since?`
5
+
6
+ ## 6.3.2
7
+ * Allow `Retriable` 3.0
8
+
3
9
  ## 6.3.1
4
10
  * Deal with question_pipe quotes
5
11
 
@@ -59,8 +59,14 @@ module SurveyGizmo::API
59
59
  end
60
60
  end
61
61
 
62
- def server_has_new_results_since?(time)
63
- Response.all(children_params.merge(page: 1, resultsperpage: 1, filters: Response.submitted_since_filter(time))).to_a.size > 0
62
+ def server_has_new_results_since?(time, filters = [])
63
+ Response.all(
64
+ children_params.merge(
65
+ page: 1,
66
+ resultsperpage: 1,
67
+ filters: filters + [Response.submitted_since_filter(time)]
68
+ )
69
+ ).to_a.size > 0
64
70
  end
65
71
 
66
72
  # As of 2015-12-18, when you request data on multiple surveys from /survey, the team variable comes
@@ -1,3 +1,3 @@
1
1
  module SurveyGizmo
2
- VERSION = '6.3.2'
2
+ VERSION = '6.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: survey-gizmo-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.2
4
+ version: 6.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kabari Hendrick
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-01-08 00:00:00.000000000 Z
14
+ date: 2017-01-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport