the-city-admin 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/examples/city_keys.rb +2 -2
- data/lib/api/address.rb +1 -0
- data/lib/api/user.rb +1 -3
- data/thecity_admin_api.gemspec +1 -1
- metadata +5 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6d147ed640f51572cb74a790fd699ba743ad40d0
|
4
|
+
data.tar.gz: 08b7ddb497057590bb606dd0183701c5fc9a17c0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 57a74ac69aa8676286d744f4ac16f5d097eb7242b9ff839db4a228eb781a1d060418c8b9a11965eef5fec40f63f931af34e6202fc2f589d6d4a303a1fe6fb5bc
|
7
|
+
data.tar.gz: d6b612e463248773b7ede579a2a2147f2f0aed82c8e7ed537eb8e6694038e9ac3e5b1b2454e3dd0836ab8b45f8e8680d8a2f3131a483ff58c420a88262427bde
|
data/examples/city_keys.rb
CHANGED
data/lib/api/address.rb
CHANGED
data/lib/api/user.rb
CHANGED
@@ -73,9 +73,7 @@ module TheCity
|
|
73
73
|
@writer_object = UserWriter
|
74
74
|
initialize_from_json_object(json_data) unless json_data.nil?
|
75
75
|
|
76
|
-
|
77
|
-
@addresses = @addresses.collect { |addr| UserAddress.new(addr.merge({:user_id => self.id})) }
|
78
|
-
end
|
76
|
+
@addresses = @addresses.nil? ? [] : @addresses.collect { |addr| UserAddress.new(addr.merge({:user_id => self.id})) }
|
79
77
|
|
80
78
|
@family_list = nil
|
81
79
|
@note_list = nil
|
data/thecity_admin_api.gemspec
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the-city-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
5
|
-
prerelease:
|
4
|
+
version: 0.6.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Wes Hays
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-07-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: typhoeus
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -325,27 +322,26 @@ files:
|
|
325
322
|
- thecity_admin_api.gemspec
|
326
323
|
homepage: https://github.com/thecity/thecity-admin-ruby
|
327
324
|
licenses: []
|
325
|
+
metadata: {}
|
328
326
|
post_install_message:
|
329
327
|
rdoc_options: []
|
330
328
|
require_paths:
|
331
329
|
- lib
|
332
330
|
required_ruby_version: !ruby/object:Gem::Requirement
|
333
|
-
none: false
|
334
331
|
requirements:
|
335
332
|
- - ! '>='
|
336
333
|
- !ruby/object:Gem::Version
|
337
334
|
version: '0'
|
338
335
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
339
|
-
none: false
|
340
336
|
requirements:
|
341
337
|
- - ! '>='
|
342
338
|
- !ruby/object:Gem::Version
|
343
339
|
version: '0'
|
344
340
|
requirements: []
|
345
341
|
rubyforge_project: Project on www.github.com
|
346
|
-
rubygems_version:
|
342
|
+
rubygems_version: 2.0.3
|
347
343
|
signing_key:
|
348
|
-
specification_version:
|
344
|
+
specification_version: 4
|
349
345
|
summary: Ruby gem/plugin to interact with The City Admin API (https://api.OnTheCity.org).
|
350
346
|
test_files:
|
351
347
|
- spec/api/address_list_spec.rb
|