cheetahmail 0.1.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.
data/Manifest ADDED
@@ -0,0 +1,7 @@
1
+ Manifest
2
+ README.rdoc
3
+ Rakefile
4
+ cheetahmail.gemspec
5
+ lib/cheetahmail.rb
6
+ lib/interfaces/cheetahmail_messenger.rb
7
+ lib/interfaces/cheetahmail_newsletter.rb
data/README.rdoc ADDED
File without changes
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('cheetahmail', '0.1.0') do |p|
6
+ p.description = "Simple hook to interact with Experian Cheetahmail."
7
+ p.url = "http://github.com/eshaam/cheetahmail"
8
+ p.author = "Eshaam Rabaney"
9
+ p.email = "eshaam@eshaamrabaney.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "cheetahmail"
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Eshaam Rabaney"]
9
+ s.date = "2012-09-10"
10
+ s.description = "Simple hook to interact with Experian Cheetahmail."
11
+ s.email = "eshaam@eshaamrabaney.com"
12
+ s.extra_rdoc_files = ["README.rdoc", "lib/cheetahmail.rb"]
13
+ s.files = ["README.rdoc", "Rakefile", "lib/cheetahmail.rb", "Manifest", "cheetahmail.gemspec"]
14
+ s.homepage = "http://github.com/eshaam/cheetahmail"
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Cheetahmail", "--main", "README.rdoc"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = "cheetahmail"
18
+ s.rubygems_version = "1.8.24"
19
+ s.summary = "Simple hook to interact with Experian Cheetahmail."
20
+
21
+ if s.respond_to? :specification_version then
22
+ s.specification_version = 3
23
+
24
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
+ else
26
+ end
27
+ else
28
+ end
29
+ end
@@ -0,0 +1,26 @@
1
+ require 'interfaces/cheetahmail_newsletter'
2
+
3
+ module Cheetahmail
4
+
5
+ def self.included(base)
6
+ base.extend ClassMethods
7
+ end
8
+
9
+ module ClassMethods
10
+
11
+ def add_to_list(aid, params = {})
12
+ response = CheetahmailNewsletter.subscribe(aid, params)
13
+ end
14
+
15
+ def remove_from_List(aid, params = {})
16
+
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+
24
+ class ActiveRecord::Base
25
+ include Cheetahmail
26
+ end
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cheetahmail
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Eshaam Rabaney
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-10 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Simple hook to interact with Experian Cheetahmail.
15
+ email: eshaam@eshaamrabaney.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.rdoc
20
+ - lib/cheetahmail.rb
21
+ files:
22
+ - README.rdoc
23
+ - Rakefile
24
+ - lib/cheetahmail.rb
25
+ - Manifest
26
+ - cheetahmail.gemspec
27
+ homepage: http://github.com/eshaam/cheetahmail
28
+ licenses: []
29
+ post_install_message:
30
+ rdoc_options:
31
+ - --line-numbers
32
+ - --inline-source
33
+ - --title
34
+ - Cheetahmail
35
+ - --main
36
+ - README.rdoc
37
+ require_paths:
38
+ - lib
39
+ required_ruby_version: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '1.2'
51
+ requirements: []
52
+ rubyforge_project: cheetahmail
53
+ rubygems_version: 1.8.24
54
+ signing_key:
55
+ specification_version: 3
56
+ summary: Simple hook to interact with Experian Cheetahmail.
57
+ test_files: []