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 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
@@ -1,6 +1,6 @@
1
1
  module CityKeys
2
2
 
3
- KEY = '8d326a8d354fcdeb97cb2a7b83561ac654d4ad53'
4
- TOKEN = '5a2aeeddac031b0a'
3
+ KEY = '**** YOUR CITY API KEY ****'
4
+ TOKEN = '**** YOUR CITY API TOKEN ****'
5
5
 
6
6
  end
data/lib/api/address.rb CHANGED
@@ -11,6 +11,7 @@ module TheCity
11
11
  :privacy,
12
12
  :state,
13
13
  :street,
14
+ :street2,
14
15
  :updated_at,
15
16
  :group_id,
16
17
  :zipcode
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
- unless options[:include_addresses].nil?
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  PROJECT_GEM = 'the-city-admin'
3
- PROJECT_GEM_VERSION = '0.6.1'
3
+ PROJECT_GEM_VERSION = '0.6.2'
4
4
 
5
5
  s.name = PROJECT_GEM
6
6
  s.version = PROJECT_GEM_VERSION
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.1
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-06-25 00:00:00.000000000 Z
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: 1.8.25
342
+ rubygems_version: 2.0.3
347
343
  signing_key:
348
- specification_version: 3
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