createsend 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - ree
7
+ - ruby-head
data/Gemfile.lock CHANGED
@@ -21,7 +21,12 @@ GEM
21
21
  metaclass (~> 0.0.1)
22
22
  multi_json (1.0.3)
23
23
  multi_xml (0.4.1)
24
- shoulda (2.11.3)
24
+ rake (0.9.2.2)
25
+ shoulda (3.0.1)
26
+ shoulda-context (~> 1.0.0)
27
+ shoulda-matchers (~> 1.0.0)
28
+ shoulda-context (1.0.0)
29
+ shoulda-matchers (1.0.0)
25
30
 
26
31
  PLATFORMS
27
32
  ruby
@@ -31,4 +36,5 @@ DEPENDENCIES
31
36
  fakeweb (~> 1.3)
32
37
  jnunemaker-matchy (~> 0.4)
33
38
  mocha (~> 0.9)
34
- shoulda (~> 2.11)
39
+ rake
40
+ shoulda (~> 3.0.1)
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # createsend
1
+ # createsend [![Build Status](https://secure.travis-ci.org/campaignmonitor/createsend-ruby.png)][travis] [![Dependency Status](https://gemnasium.com/campaignmonitor/createsend-ruby.png)][gemnasium]
2
+ A ruby library which implements the complete functionality of v3 of the [Campaign Monitor API](http://www.campaignmonitor.com/api/).
2
3
 
3
- A ruby library which implements the complete functionality of v3 of the CreateSend API.
4
+ [travis]: http://travis-ci.org/campaignmonitor/createsend-ruby
5
+ [gemnasium]: https://gemnasium.com/campaignmonitor/createsend-ruby
4
6
 
5
7
  ## Installation
6
8
 
data/Rakefile CHANGED
@@ -1,6 +1,5 @@
1
1
  $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
2
2
  require "bundler/version"
3
- require "shoulda/tasks"
4
3
  require "rake/testtask"
5
4
  require "./lib/createsend"
6
5
 
data/createsend.gemspec CHANGED
@@ -4,10 +4,11 @@ require 'bundler/version'
4
4
  require File.expand_path('lib/createsend/version')
5
5
 
6
6
  Gem::Specification.new do |s|
7
+ s.add_development_dependency('rake')
7
8
  s.add_development_dependency('fakeweb', '~> 1.3')
8
9
  s.add_development_dependency('jnunemaker-matchy', '~> 0.4')
9
10
  s.add_development_dependency('mocha', '~> 0.9')
10
- s.add_development_dependency('shoulda', '~> 2.11')
11
+ s.add_development_dependency('shoulda', '~> 3.0.1')
11
12
  s.add_runtime_dependency('json')
12
13
  s.add_runtime_dependency('hashie', '~> 1.0')
13
14
  s.add_runtime_dependency('httparty', '~> 0.8')
data/lib/createsend.rb CHANGED
@@ -2,7 +2,6 @@ require 'cgi'
2
2
  require 'uri'
3
3
  require 'httparty'
4
4
  require 'hashie'
5
- Hash.send :include, Hashie::HashExtensions
6
5
 
7
6
  libdir = File.dirname(__FILE__)
8
7
  $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
@@ -1,3 +1,3 @@
1
1
  module CreateSend
2
- VERSION = "1.0.3" unless defined?(CreateSend::VERSION)
2
+ VERSION = "1.0.4" unless defined?(CreateSend::VERSION)
3
3
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: createsend
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
4
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 3
10
- version: 1.0.3
5
+ version: 1.0.4
11
6
  platform: ruby
12
7
  authors:
13
8
  - James Dennes
@@ -15,113 +10,96 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-12-03 00:00:00 +07:00
19
- default_executable:
13
+ date: 2012-05-04 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
+ name: rake
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: fakeweb
28
+ requirement: &id002 !ruby/object:Gem::Requirement
23
29
  none: false
24
30
  requirements:
25
31
  - - ~>
26
32
  - !ruby/object:Gem::Version
27
- hash: 9
28
- segments:
29
- - 1
30
- - 3
31
33
  version: "1.3"
32
34
  type: :development
33
- requirement: *id001
34
35
  prerelease: false
35
- name: fakeweb
36
+ version_requirements: *id002
36
37
  - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
38
+ name: jnunemaker-matchy
39
+ requirement: &id003 !ruby/object:Gem::Requirement
38
40
  none: false
39
41
  requirements:
40
42
  - - ~>
41
43
  - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- - 4
46
44
  version: "0.4"
47
45
  type: :development
48
- requirement: *id002
49
46
  prerelease: false
50
- name: jnunemaker-matchy
47
+ version_requirements: *id003
51
48
  - !ruby/object:Gem::Dependency
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
49
+ name: mocha
50
+ requirement: &id004 !ruby/object:Gem::Requirement
53
51
  none: false
54
52
  requirements:
55
53
  - - ~>
56
54
  - !ruby/object:Gem::Version
57
- hash: 25
58
- segments:
59
- - 0
60
- - 9
61
55
  version: "0.9"
62
56
  type: :development
63
- requirement: *id003
64
57
  prerelease: false
65
- name: mocha
58
+ version_requirements: *id004
66
59
  - !ruby/object:Gem::Dependency
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
60
+ name: shoulda
61
+ requirement: &id005 !ruby/object:Gem::Requirement
68
62
  none: false
69
63
  requirements:
70
64
  - - ~>
71
65
  - !ruby/object:Gem::Version
72
- hash: 21
73
- segments:
74
- - 2
75
- - 11
76
- version: "2.11"
66
+ version: 3.0.1
77
67
  type: :development
78
- requirement: *id004
79
68
  prerelease: false
80
- name: shoulda
69
+ version_requirements: *id005
81
70
  - !ruby/object:Gem::Dependency
82
- version_requirements: &id005 !ruby/object:Gem::Requirement
71
+ name: json
72
+ requirement: &id006 !ruby/object:Gem::Requirement
83
73
  none: false
84
74
  requirements:
85
75
  - - ">="
86
76
  - !ruby/object:Gem::Version
87
- hash: 3
88
- segments:
89
- - 0
90
77
  version: "0"
91
78
  type: :runtime
92
- requirement: *id005
93
79
  prerelease: false
94
- name: json
80
+ version_requirements: *id006
95
81
  - !ruby/object:Gem::Dependency
96
- version_requirements: &id006 !ruby/object:Gem::Requirement
82
+ name: hashie
83
+ requirement: &id007 !ruby/object:Gem::Requirement
97
84
  none: false
98
85
  requirements:
99
86
  - - ~>
100
87
  - !ruby/object:Gem::Version
101
- hash: 15
102
- segments:
103
- - 1
104
- - 0
105
88
  version: "1.0"
106
89
  type: :runtime
107
- requirement: *id006
108
90
  prerelease: false
109
- name: hashie
91
+ version_requirements: *id007
110
92
  - !ruby/object:Gem::Dependency
111
- version_requirements: &id007 !ruby/object:Gem::Requirement
93
+ name: httparty
94
+ requirement: &id008 !ruby/object:Gem::Requirement
112
95
  none: false
113
96
  requirements:
114
97
  - - ~>
115
98
  - !ruby/object:Gem::Version
116
- hash: 27
117
- segments:
118
- - 0
119
- - 8
120
99
  version: "0.8"
121
100
  type: :runtime
122
- requirement: *id007
123
101
  prerelease: false
124
- name: httparty
102
+ version_requirements: *id008
125
103
  description: Implements the complete functionality of the createsend API.
126
104
  email:
127
105
  - jdennes@gmail.com
@@ -133,6 +111,7 @@ extra_rdoc_files: []
133
111
 
134
112
  files:
135
113
  - .gitignore
114
+ - .travis.yml
136
115
  - Gemfile
137
116
  - Gemfile.lock
138
117
  - LICENSE
@@ -199,7 +178,6 @@ files:
199
178
  - test/segment_test.rb
200
179
  - test/subscriber_test.rb
201
180
  - test/template_test.rb
202
- has_rdoc: true
203
181
  homepage: http://github.com/campaignmonitor/createsend-ruby/
204
182
  licenses: []
205
183
 
@@ -213,25 +191,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
191
  requirements:
214
192
  - - ">="
215
193
  - !ruby/object:Gem::Version
216
- hash: 3
217
- segments:
218
- - 0
219
194
  version: "0"
220
195
  required_rubygems_version: !ruby/object:Gem::Requirement
221
196
  none: false
222
197
  requirements:
223
198
  - - ">="
224
199
  - !ruby/object:Gem::Version
225
- hash: 23
226
- segments:
227
- - 1
228
- - 3
229
- - 6
230
200
  version: 1.3.6
231
201
  requirements: []
232
202
 
233
203
  rubyforge_project:
234
- rubygems_version: 1.6.2
204
+ rubygems_version: 1.8.17
235
205
  signing_key:
236
206
  specification_version: 3
237
207
  summary: A library which implements the complete functionality of v3 of the createsend API.