the-city-admin 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/city_keys.rb +2 -2
- data/lib/readers/address_list_reader.rb +1 -1
- data/lib/readers/checkin_list_reader.rb +1 -1
- data/lib/readers/donation_export_list_reader.rb +1 -1
- data/lib/readers/donation_list_reader.rb +1 -1
- data/lib/readers/fund_list_reader.rb +1 -1
- data/lib/readers/group_address_list_reader.rb +1 -1
- data/lib/readers/group_checkin_list_reader.rb +1 -1
- data/lib/readers/group_event_attendance_list_reader.rb +1 -1
- data/lib/readers/group_export_list_reader.rb +1 -1
- data/lib/readers/group_invitation_list_reader.rb +1 -1
- data/lib/readers/group_list_reader.rb +1 -1
- data/lib/readers/group_role_list_reader.rb +1 -1
- data/lib/readers/group_tag_list_reader.rb +1 -1
- data/lib/readers/invitation_list_reader.rb +1 -1
- data/lib/readers/metric_list_reader.rb +1 -1
- data/lib/readers/metric_measurement_list_reader.rb +1 -1
- data/lib/readers/pledge_list_reader.rb +1 -1
- data/lib/readers/role_list_reader.rb +1 -1
- data/lib/readers/skill_list_reader.rb +1 -1
- data/lib/readers/skilled_user_id_list_reader.rb +1 -1
- data/lib/readers/skilled_user_list_reader.rb +1 -1
- data/lib/readers/tag_group_list_reader.rb +1 -1
- data/lib/readers/tag_list_reader.rb +1 -1
- data/lib/readers/terminology_list_reader.rb +1 -1
- data/lib/readers/user_address_list_reader.rb +1 -1
- data/lib/readers/user_admin_privilege_list_reader.rb +1 -1
- data/lib/readers/user_family_list_reader.rb +1 -1
- data/lib/readers/user_invitation_list_reader.rb +1 -1
- data/lib/readers/user_list_reader.rb +1 -1
- data/lib/readers/user_note_list_reader.rb +1 -1
- data/lib/readers/user_process_answer_list_reader.rb +1 -1
- data/lib/readers/user_process_list_reader.rb +1 -1
- data/lib/readers/user_role_list_reader.rb +1 -1
- data/lib/readers/user_skill_list_reader.rb +1 -1
- data/lib/readers/web_hook_list_reader.rb +1 -1
- data/thecity_admin_api.gemspec +1 -1
- metadata +9 -5
- checksums.yaml +0 -7
data/examples/city_keys.rb
CHANGED
@@ -18,7 +18,7 @@ module TheCity
|
|
18
18
|
@cacher = cacher unless cacher.nil?
|
19
19
|
end
|
20
20
|
|
21
|
-
def white_list_options
|
21
|
+
def white_list_options(options)
|
22
22
|
white_list = [:page, :fund_id, :state, :group_id, :user_id, :start_date, :end_date, :paginate, :page, :per_page]
|
23
23
|
options.clone.delete_if { |key, value| !white_list.include?(key) }
|
24
24
|
end
|
@@ -17,7 +17,7 @@ module TheCity
|
|
17
17
|
@cacher = cacher unless cacher.nil?
|
18
18
|
end
|
19
19
|
|
20
|
-
def white_list_options
|
20
|
+
def white_list_options(options)
|
21
21
|
white_list = [:page, :search, :under_group_id, :group_types, :include_inactive, :include_addresses, :include_composition, :include_user_ids]
|
22
22
|
options.clone.delete_if { |key, value| !white_list.include?(key) }
|
23
23
|
end
|
@@ -18,7 +18,7 @@ module TheCity
|
|
18
18
|
@cacher = cacher unless cacher.nil?
|
19
19
|
end
|
20
20
|
|
21
|
-
def white_list_options
|
21
|
+
def white_list_options(options)
|
22
22
|
white_list = [:page, :campus_id, :include_participation]
|
23
23
|
options.clone.delete_if { |key, value| !white_list.include?(key) }
|
24
24
|
end
|
@@ -16,7 +16,7 @@ module TheCity
|
|
16
16
|
@cacher = cacher unless cacher.nil?
|
17
17
|
end
|
18
18
|
|
19
|
-
def white_list_options
|
19
|
+
def white_list_options(options)
|
20
20
|
white_list = [:page, :under_group_id, :group_types, :titles]
|
21
21
|
options.clone.delete_if { |key, value| !white_list.include?(key) }
|
22
22
|
end
|
@@ -17,7 +17,7 @@ module TheCity
|
|
17
17
|
@cacher = cacher unless cacher.nil?
|
18
18
|
end
|
19
19
|
|
20
|
-
def white_list_options
|
20
|
+
def white_list_options(options)
|
21
21
|
white_list = [:page, :filter, :include_participation, :include_custom_fields, :include_barcodes, :include_addresses, :include_family]
|
22
22
|
options.clone.delete_if { |key, value| !white_list.include?(key) }
|
23
23
|
end
|
data/thecity_admin_api.gemspec
CHANGED
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the-city-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Wes Hays
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: typhoeus
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -322,26 +325,27 @@ files:
|
|
322
325
|
- thecity_admin_api.gemspec
|
323
326
|
homepage: https://github.com/thecity/thecity-admin-ruby
|
324
327
|
licenses: []
|
325
|
-
metadata: {}
|
326
328
|
post_install_message:
|
327
329
|
rdoc_options: []
|
328
330
|
require_paths:
|
329
331
|
- lib
|
330
332
|
required_ruby_version: !ruby/object:Gem::Requirement
|
333
|
+
none: false
|
331
334
|
requirements:
|
332
335
|
- - ! '>='
|
333
336
|
- !ruby/object:Gem::Version
|
334
337
|
version: '0'
|
335
338
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
339
|
+
none: false
|
336
340
|
requirements:
|
337
341
|
- - ! '>='
|
338
342
|
- !ruby/object:Gem::Version
|
339
343
|
version: '0'
|
340
344
|
requirements: []
|
341
345
|
rubyforge_project: Project on www.github.com
|
342
|
-
rubygems_version:
|
346
|
+
rubygems_version: 1.8.25
|
343
347
|
signing_key:
|
344
|
-
specification_version:
|
348
|
+
specification_version: 3
|
345
349
|
summary: Ruby gem/plugin to interact with The City Admin API (https://api.OnTheCity.org).
|
346
350
|
test_files:
|
347
351
|
- spec/api/address_list_spec.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 9aedbac713fcae49330b49c38fecdf4aaa92b354
|
4
|
-
data.tar.gz: f444b6444d42e4aae42bbbf7e6969f0357faa9e3
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 676155448c9e815bb08fc898124024dbb703b9692133418e63b8b3c48190a589bc60335f1fffa552cfb8c32876deaff6578da1c0f45846cf046e88ef01d49ac3
|
7
|
-
data.tar.gz: c92561c0a923239e26f1586ebd82054ce5573c0065a35bee269b1413d5c52ae534c0ce614312b9d2822d52a36be34d3878b2e2aa5eda451b7f688aa600f5df2b
|