constant-contact-ruby 0.2.1 → 0.2.2

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.
data/.gitignore CHANGED
@@ -21,3 +21,4 @@ pkg
21
21
  ## PROJECT::SPECIFIC
22
22
  doc
23
23
  .yardoc
24
+ constant-contact-ruby.rb
@@ -8,8 +8,11 @@ HTTParty gem - http://rubygems.org/gems/httparty
8
8
 
9
9
  == Usage
10
10
 
11
- require 'constant-contact-ruby'
11
+ require 'constant_contact'
12
12
  include ConstantContact
13
+
14
+ ### Setup Credentials ###
15
+ ConstantContact.setup( 'my_username', 'my_password' )
13
16
 
14
17
  ### Contacts ###
15
18
 
@@ -2,4 +2,4 @@
2
2
  :major: 0
3
3
  :minor: 2
4
4
  :build:
5
- :patch: 1
5
+ :patch: 2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{constant-contact-ruby}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Craig P Jolicoeur"]
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
26
26
  "TODO",
27
27
  "VERSION.yml",
28
28
  "constant-contact-ruby.gemspec",
29
- "constant-contact-ruby.rb",
30
29
  "lib/constant_contact.rb",
31
30
  "lib/constant_contact/activity.rb",
32
31
  "lib/constant_contact/base_resource.rb",
@@ -1,3 +1,12 @@
1
+ require 'rubygems'
2
+ require 'httparty'
3
+
4
+ require 'constant_contact'
5
+ require 'constant_contact/base_resource'
6
+ require 'constant_contact/contact'
7
+ require 'constant_contact/contact_list'
8
+ require 'constant_contact/activity'
9
+
1
10
  module ConstantContact
2
11
 
3
12
  include HTTParty
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constant-contact-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig P Jolicoeur
@@ -32,7 +32,6 @@ files:
32
32
  - TODO
33
33
  - VERSION.yml
34
34
  - constant-contact-ruby.gemspec
35
- - constant-contact-ruby.rb
36
35
  - lib/constant_contact.rb
37
36
  - lib/constant_contact/activity.rb
38
37
  - lib/constant_contact/base_resource.rb
@@ -1,8 +0,0 @@
1
- require 'rubygems'
2
- require 'httparty'
3
-
4
- require 'lib/constant_contact'
5
- require 'lib/constant_contact/base_resource'
6
- require 'lib/constant_contact/contact'
7
- require 'lib/constant_contact/contact_list'
8
- require 'lib/constant_contact/activity'