constantcontact 2.2.0 → 2.2.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9bdb8c678b4503bddf05f8aebb1ae8b0c36425d
4
- data.tar.gz: 74a762fd6f5a6eda1d050af11f41729eb18592f5
3
+ metadata.gz: 6d714e82090d7e350380f30f2a87509ac4fe7c70
4
+ data.tar.gz: 4bd41035480ac3bcdd4e071ef004a4bd5b871ef6
5
5
  SHA512:
6
- metadata.gz: c30748e1c437d42217acd0f109152cfbe66a655f41d71821690db3b82547a7a18b03c6a428af1ddfdf832a1a3da4481992bd61d7d8670e9fabc5cebb6b60ba4f
7
- data.tar.gz: 63c58d9f0520ea1d9f191e0aec12c52098d8d65779e8cee4cadc91e8ddad2a099d6f4b1c50a5b45f7ead77d081f478a11b28d61d022e1adca6e68943d419a421
6
+ metadata.gz: 09ca17d50a6168d25db59cca358d4834bc49e169481c6586c16cccbd2f05f2feea2b7b86d37700b84d10ca6d85d44904b561f2f23b5e45a5f4cf3700101b6514
7
+ data.tar.gz: 834c9c4cdba87a990954cf82a389116310619a835f62ade7b1139556d240581acaa4e5a245ab8885f45475bf7794b6720fff8a4323c4d8fa964a8670efc642a0
data/README.md CHANGED
@@ -72,7 +72,7 @@ Create a view for the above mentioned action with the following code:
72
72
  <% end %>
73
73
 
74
74
  <% if @contacts.present? %>
75
- <% @contacts.each do |contact| %>
75
+ <% @contacts.results.each do |contact| %>
76
76
  <p>Contact name: <%= "#{contact.first_name} #{contact.last_name}" %></p>
77
77
  <% end %>
78
78
  <% end %>
@@ -122,7 +122,7 @@ Create a my_view.erb with the following code:
122
122
 
123
123
  <% if @code %>
124
124
  <% if @contacts %>
125
- <% @contacts.each do |contact| %>
125
+ <% @contacts.results.each do |contact| %>
126
126
  <p>\Contact name: <%= "#{contact.first_name} #{contact.last_name}" %></p>
127
127
  <% end %>
128
128
  <% end %>
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "constantcontact"
8
- s.version = '2.2.0'
8
+ s.version = '2.2.1'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["ConstantContact"]
11
11
  s.homepage = "http://www.constantcontact.com"
@@ -11,7 +11,7 @@ module ConstantContact
11
11
  attr_accessor :id, :status, :first_name, :middle_name, :last_name, :confirmed, :email_addresses,
12
12
  :prefix_name, :job_title, :addresses, :company_name, :home_phone,
13
13
  :work_phone, :cell_phone, :fax, :custom_fields, :lists,
14
- :source_details, :notes, :source
14
+ :source_details, :notes, :source, :created_date, :modified_date
15
15
 
16
16
 
17
17
  # Factory method to create a Contact object from a json string
@@ -89,4 +89,4 @@ module ConstantContact
89
89
 
90
90
  end
91
91
  end
92
- end
92
+ end
metadata CHANGED
@@ -1,87 +1,87 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constantcontact
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ConstantContact
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-24 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.6.7
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.6'
30
- - - ">="
30
+ - - '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.6.7
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
39
  version: '1.8'
40
- - - ">="
40
+ - - '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: 1.8.1
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - ~>
48
48
  - !ruby/object:Gem::Version
49
49
  version: '1.8'
50
- - - ">="
50
+ - - '>='
51
51
  - !ruby/object:Gem::Version
52
52
  version: 1.8.1
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: mime-types
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
57
+ - - ~>
58
58
  - !ruby/object:Gem::Version
59
59
  version: '2.4'
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: 2.4.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '2.4'
70
- - - ">="
70
+ - - '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: 2.4.1
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - "~>"
77
+ - - ~>
78
78
  - !ruby/object:Gem::Version
79
79
  version: '2.14'
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - "~>"
84
+ - - ~>
85
85
  - !ruby/object:Gem::Version
86
86
  version: '2.14'
87
87
  description: Ruby library for interactions with Constant Contact v2 API
@@ -90,7 +90,7 @@ executables: []
90
90
  extensions: []
91
91
  extra_rdoc_files: []
92
92
  files:
93
- - ".rspec"
93
+ - .rspec
94
94
  - README.md
95
95
  - constantcontact.gemspec
96
96
  - lib/constantcontact.rb
@@ -205,17 +205,17 @@ require_paths:
205
205
  - lib
206
206
  required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
- - - ">="
208
+ - - '>='
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
213
+ - - '>='
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
217
  rubyforge_project:
218
- rubygems_version: 2.4.6
218
+ rubygems_version: 2.6.6
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: Constant Contact SDK for Ruby