wuparty 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/wuparty.rb +10 -1
  2. metadata +2 -2
data/lib/wuparty.rb CHANGED
@@ -74,7 +74,7 @@ class WuParty
74
74
  include HTTParty
75
75
  format :json
76
76
 
77
- VERSION = '1.0.2'
77
+ VERSION = '1.2.3'
78
78
 
79
79
  # Represents a general error connecting to the Wufoo service
80
80
  class ConnectionError < RuntimeError; end
@@ -303,6 +303,10 @@ class WuParty
303
303
  query[:pageStart] = 0
304
304
  end
305
305
 
306
+ if options[:system]
307
+ query[:system] = true
308
+ end
309
+
306
310
  if options[:sort]
307
311
  field, direction = options[:sort].split(' ')
308
312
  query[:sort] = field
@@ -328,6 +332,11 @@ class WuParty
328
332
  query["Filter#{ index + 1 }"] = filter.join(' ')
329
333
  end
330
334
  end
335
+
336
+ if options[:system]
337
+ query[:system] = true
338
+ end
339
+
331
340
  @party.get("forms/#{@id}/entries/count", :query => query)['EntryCount']
332
341
  end
333
342
 
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: wuparty
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.3
5
+ version: 1.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tim Morgan
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-18 00:00:00.000000000 Z
12
+ date: 2013-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime