vertigo 0.0.1.a

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,24 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+ Thumbs.db
4
+
5
+ ## TEXTMATE
6
+ *.tmproj
7
+ tmtags
8
+
9
+ ## EMACS
10
+ *~
11
+ \#*
12
+ .\#*
13
+
14
+ ## VIM
15
+ *.sw[nop]
16
+
17
+ ## RUBYMINE
18
+ .idea/**/*
19
+ .idea/
20
+
21
+ ## PROJECT::SPECIFIC
22
+ *.gem
23
+ .bundle
24
+ pkg/*
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm 1.8.7@vertigo --create
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in vertigo.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,16 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ vertigo (0.0.1.a)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ rake (0.8.7)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ rake (~> 0.8.7)
16
+ vertigo!
data/README.md ADDED
@@ -0,0 +1,42 @@
1
+ Vertigo
2
+ =======
3
+
4
+ A simple Ruby wrapper around the VerticalResponse API ("VRAPI").
5
+
6
+ Vertigo makes working with the VerticalResponse SOAP API much more Ruby-like. It manages your session_id, as well as letting you write methods as launch_email_campaign rather than launchEmailCampaign, and use symbols as keys rather than strings.
7
+
8
+ Author: Benjamin Oakes <hello@benjaminoakes.com>, @benjaminoakes
9
+
10
+ Installation
11
+ ------------
12
+
13
+ Simply add Vertigo to your Gemfile:
14
+
15
+ gem 'vertigo'
16
+
17
+ If you are unlucky enough not to be using Bundler:
18
+
19
+ gem install vertigo
20
+
21
+ Usage
22
+ -----
23
+
24
+ Basic usage example:
25
+
26
+ require 'vertigo'
27
+
28
+ session_duration_minutes = 4
29
+ client = Vertigo::Client.new('username', 'password', session_duration_minutes)
30
+
31
+ # Launch a campaign whose ID you already know:
32
+ client.launch_email_campaign(:campaign_id => campaign_id)
33
+
34
+ Contributing
35
+ ------------
36
+
37
+ To set up your development environment, run `bash dev-setup.sh`.
38
+
39
+ Thanks
40
+ ------
41
+
42
+ * Forrest Chang (@fkchang2000) for the name
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
data/dev-setup.sh ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bash
2
+ # Development environment setup script for Vertigo.
3
+ #
4
+ # Author: Benjamin Oakes <hello@benjaminoakes.com>
5
+ set -o errexit
6
+
7
+ if [ "Darwin" != `uname` ]; then
8
+ echo "This script assumes you're running Mac OS X 10.6, but you seem to be running something else."
9
+ echo "Please install git, git-flow <https://github.com/nvie/gitflow>, rvm, and rubygems"
10
+ exit -1
11
+ else
12
+ if [ `which brew` == '' ]; then
13
+ echo "Please install homebrew <http://mxcl.github.com/homebrew/>"
14
+ exit -1
15
+ else
16
+ brew install git-flow
17
+ fi
18
+ fi
19
+
20
+ # Use git flow, please (https://github.com/nvie/gitflow, http://codesherpas.com/screencasts/on_the_path_gitflow.mov)
21
+ yes "" | git flow init # use the defaults
22
+ gem install bundler --version "~> 1.0"
23
+ bundle install
data/lib/vertigo.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "vertigo/version"
2
+
3
+ module Vertigo
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Vertigo
2
+ VERSION = '0.0.1.a'
3
+ end
data/vertigo.gemspec ADDED
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "vertigo/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "vertigo"
7
+ s.version = Vertigo::VERSION
8
+ s.authors = ["Benjamin Oakes"]
9
+ s.email = ["boakes@hedgeye.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{A simple Ruby wrapper around the VerticalResponse API ("VRAPI").}
12
+ s.description = %q{Vertigo makes working with VerticalResponse's SOAP API much more Ruby-like. It manages your session_id, as well as letting you write methods as launch_email_campaign rather than launchEmailCampaign, and use symbols as keys rather than strings.}
13
+
14
+ s.rubyforge_project = "vertigo"
15
+
16
+ s.add_development_dependency('rake', '~> 0.8.7')
17
+
18
+ s.files = `git ls-files`.split("\n")
19
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
+ s.require_paths = ["lib"]
22
+ end
metadata ADDED
@@ -0,0 +1,95 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vertigo
3
+ version: !ruby/object:Gem::Version
4
+ hash: 46
5
+ prerelease: 6
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ - a
11
+ version: 0.0.1.a
12
+ platform: ruby
13
+ authors:
14
+ - Benjamin Oakes
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-08-15 00:00:00 -04:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: rake
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ hash: 49
31
+ segments:
32
+ - 0
33
+ - 8
34
+ - 7
35
+ version: 0.8.7
36
+ type: :development
37
+ version_requirements: *id001
38
+ description: Vertigo makes working with VerticalResponse's SOAP API much more Ruby-like. It manages your session_id, as well as letting you write methods as launch_email_campaign rather than launchEmailCampaign, and use symbols as keys rather than strings.
39
+ email:
40
+ - boakes@hedgeye.com
41
+ executables: []
42
+
43
+ extensions: []
44
+
45
+ extra_rdoc_files: []
46
+
47
+ files:
48
+ - .gitignore
49
+ - .rvmrc
50
+ - Gemfile
51
+ - Gemfile.lock
52
+ - README.md
53
+ - Rakefile
54
+ - dev-setup.sh
55
+ - lib/vertigo.rb
56
+ - lib/vertigo/version.rb
57
+ - vertigo.gemspec
58
+ has_rdoc: true
59
+ homepage: ""
60
+ licenses: []
61
+
62
+ post_install_message:
63
+ rdoc_options: []
64
+
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ">"
80
+ - !ruby/object:Gem::Version
81
+ hash: 25
82
+ segments:
83
+ - 1
84
+ - 3
85
+ - 1
86
+ version: 1.3.1
87
+ requirements: []
88
+
89
+ rubyforge_project: vertigo
90
+ rubygems_version: 1.6.2
91
+ signing_key:
92
+ specification_version: 3
93
+ summary: A simple Ruby wrapper around the VerticalResponse API ("VRAPI").
94
+ test_files: []
95
+