contacts_client 0.0.29 → 0.0.30

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjM4YmI4ZGZjMTAyNWFjMGVhN2Q1ZjEyM2Y3NzFmNzc0Y2FmZmM1Mg==
4
+ MjU5Y2M5MTk4Zjk2NGI1ZGY4ZmVjM2Q3MjRmNDJkMWY0M2Y2ODBmOQ==
5
5
  data.tar.gz: !binary |-
6
- NDk5MGQ5MGZmYWQ3NTFjMzZiYzdlMzViMDAzOGE4ZjU3NjlhMDU5MA==
6
+ YWJiNTNjZTVlN2I3MDliNGYwZGIxYjI5YmVhNmFhMjRhYjRmZjE3NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWM5ZjlmZmM4NGU1ZmNlYmVlODA4NTk3MTZkZWQxMGRmMTQ1ZTdiYjhlZjY5
10
- MWNmOGQ1MWRiMGU3NTlhNGEzYjA4ODBjNzVhZTNlZjY4ZWQzOGNmMmMyNDY4
11
- MTRmODBiN2EyNWRkYzQ0NjA2YmFiNmVkOGJiYzA5ZmNhNDJiMWY=
9
+ MDgwZTYwOGM1NGZkN2I2N2FkMjQzYjFlMTZhMDdkMTAzODU1ZTliMTY1ZjY5
10
+ YTFhNzRkYjI1OTFlZmU3YjE2NjQzYzVkNTc4MjFlYmRhN2QwZTEyZGE4YTJi
11
+ MjY4ODJmMDczMzk0MzI5M2UzNjMxYmZmZDc1ZDg0YmI0OGYxNTc=
12
12
  data.tar.gz: !binary |-
13
- OTM2YWI5YTQ5MzA2ZTc0ZTJhNGQzNzAwNjMyMjMzZjQzZDVkY2VjNjQwZjQz
14
- MThkZDNkN2ZhY2ZhMTI5MTg5NzZlNGZjOTQ2NDNiOWIyNWRiMzY1YWM3NWY2
15
- MzJkMDhkMjlmY2M5MDY0YzY2ZDliNjRiMmQxYmQ4MDA3ZWFkYmI=
13
+ M2IzZTY0MGNlYmQ3ZTI3N2IzNmRjYzMyNzkwMzk4N2I3ZjFlZGU2ZmMwMzZm
14
+ NDJiMzk5YWVlZDg2ZmFiOTI4MmExNzQzNjQzOWQ4N2Y0MjMzZjAwOGVhNDFh
15
+ NTJkYWQ3MTlkMzhiMTU4ZWMxMjNmMTliNmYwZjBhNzFjOWY4ZmI=
@@ -7,8 +7,6 @@ class Attachment < LogicalModel
7
7
  self.api_key = Contacts::API_KEY
8
8
  self.host = Contacts::HOST
9
9
 
10
- self.expires_in = 1.hour
11
-
12
10
  attr_accessor :name, :description, :file, :public, :primary
13
11
 
14
12
  def new_record?
@@ -7,6 +7,4 @@ class Avatar < LogicalModel
7
7
  self.api_key_name = "app_key"
8
8
  self.api_key = Contacts::API_KEY
9
9
  self.host = Contacts::HOST
10
-
11
- self.expires_in = 1.hour
12
10
  end
@@ -15,8 +15,6 @@ class ContactAttribute < LogicalModel
15
15
  attribute :account_name
16
16
 
17
17
  belongs_to :contact, class: 'PadmaContact'
18
-
19
- self.expires_in = 10.minutes
20
18
 
21
19
  use_hydra Contacts::HYDRA
22
20
  set_resource_url Contacts::HOST, "/v0/contact_attributes"
@@ -39,8 +39,6 @@ class PadmaContact < LogicalModel
39
39
 
40
40
  self.enable_delete_multiple = true
41
41
 
42
- self.expires_in = 10.minutes
43
-
44
42
  validates_presence_of :first_name
45
43
  validates_inclusion_of :gender, in: %W(male female), allow_blank: true
46
44
  validates_numericality_of :estimated_age, allow_blank: true
@@ -12,8 +12,6 @@ class Tag < LogicalModel
12
12
 
13
13
  self.hydra = Contacts::HYDRA
14
14
 
15
- self.expires_in = 10.minutes
16
-
17
15
  validates :name, :presence => true
18
16
 
19
17
  def json_root
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contacts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.0
33
+ version: 0.6.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.6.0
40
+ version: 0.6.1
41
41
  description: This is client library for padma-Contacts-ws
42
42
  email:
43
43
  - dwaynemac@gmail.com