constant_contact 1.1.1 → 1.1.3

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.
@@ -3,6 +3,7 @@ directory = File.expand_path(File.dirname(__FILE__))
3
3
  require 'active_resource'
4
4
  require 'action_pack'
5
5
  require 'builder'
6
+ require 'cgi' unless defined?(CGI) && defined?(CGI::escape)
6
7
  require File.join(directory, 'constant_contact', 'formats')
7
8
  require File.join(directory, 'constant_contact', 'base')
8
9
  require File.join(directory, 'constant_contact', 'list');
@@ -80,7 +80,6 @@ module ConstantContact
80
80
  raise ArgumentError, "Expected an array of emails, got a(n) #{emails.class.name}" unless emails.is_a? Array
81
81
  return [] if email_addresses.empty?
82
82
 
83
- require 'cgi' unless defined?(CGI) && defined?(CGI::escape)
84
83
  query_string = emails.map{|e| "email=#{CGI.escape(e.to_s.downcase)}"}.join('&')
85
84
 
86
85
  path = "/ws/customers/#{self.user}/#{collection_name}?#{query_string}"
@@ -1,3 +1,3 @@
1
1
  module ConstantContact
2
- Version = '1.1.1'.freeze
2
+ Version = '1.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constant_contact
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 1
10
- version: 1.1.1
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Case
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-09-17 00:00:00 -04:00
21
+ date: 2010-09-19 00:00:00 -04:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency