createsend 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +11 -13
- data/HISTORY.md +4 -0
- data/README.md +5 -2
- data/Rakefile +0 -17
- data/createsend.gemspec +5 -6
- data/lib/createsend/version.rb +1 -1
- data/test/helper.rb +1 -1
- metadata +64 -32
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
createsend (2.5.
|
4
|
+
createsend (2.5.1)
|
5
5
|
hashie (~> 1.0)
|
6
|
-
httparty (~> 0.
|
6
|
+
httparty (~> 0.10)
|
7
7
|
json
|
8
8
|
|
9
9
|
GEM
|
@@ -12,21 +12,20 @@ GEM
|
|
12
12
|
activesupport (3.2.8)
|
13
13
|
i18n (~> 0.6)
|
14
14
|
multi_json (~> 1.0)
|
15
|
-
cane (2.0.0)
|
16
15
|
fakeweb (1.3.0)
|
17
16
|
hashie (1.2.0)
|
18
|
-
httparty (0.
|
17
|
+
httparty (0.10.2)
|
19
18
|
multi_json (~> 1.0)
|
20
|
-
multi_xml
|
19
|
+
multi_xml (>= 0.5.2)
|
21
20
|
i18n (0.6.1)
|
22
21
|
jnunemaker-matchy (0.4.0)
|
23
|
-
json (1.7.
|
22
|
+
json (1.7.6)
|
24
23
|
metaclass (0.0.1)
|
25
|
-
mocha (0.
|
24
|
+
mocha (0.13.2)
|
26
25
|
metaclass (~> 0.0.1)
|
27
26
|
multi_json (1.0.3)
|
28
|
-
multi_xml (0.5.
|
29
|
-
rake (0.
|
27
|
+
multi_xml (0.5.2)
|
28
|
+
rake (10.0.3)
|
30
29
|
shoulda (3.3.0)
|
31
30
|
shoulda-context (~> 1.0)
|
32
31
|
shoulda-matchers (~> 1.4)
|
@@ -38,10 +37,9 @@ PLATFORMS
|
|
38
37
|
ruby
|
39
38
|
|
40
39
|
DEPENDENCIES
|
41
|
-
cane
|
42
40
|
createsend!
|
43
41
|
fakeweb (~> 1.3)
|
44
42
|
jnunemaker-matchy (~> 0.4)
|
45
|
-
mocha (~> 0.
|
46
|
-
rake
|
47
|
-
shoulda (~> 3.3
|
43
|
+
mocha (~> 0.13)
|
44
|
+
rake (~> 10.0)
|
45
|
+
shoulda (~> 3.3)
|
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
# createsend
|
1
|
+
# createsend
|
2
|
+
[![Build Status](https://secure.travis-ci.org/campaignmonitor/createsend-ruby.png)][travis] [![Dependency Status](https://gemnasium.com/campaignmonitor/createsend-ruby.png)][gemnasium] [![Gem Version](https://badge.fury.io/rb/createsend.png)][gembadge]
|
3
|
+
|
2
4
|
A ruby library which implements the complete functionality of v3 of the [Campaign Monitor API](http://www.campaignmonitor.com/api/).
|
3
5
|
|
4
6
|
[travis]: http://travis-ci.org/campaignmonitor/createsend-ruby
|
5
7
|
[gemnasium]: https://gemnasium.com/campaignmonitor/createsend-ruby
|
8
|
+
[gembadge]: http://badge.fury.io/rb/createsend
|
6
9
|
|
7
10
|
## Installation
|
8
11
|
|
@@ -75,4 +78,4 @@ For example, if you wanted to find out how to call the CreateSend::Subscriber.ad
|
|
75
78
|
2. Make your changes, including tests for your changes.
|
76
79
|
3. Ensure that the build passes, by running `bundle exec rake` (CI runs on: `1.8.7`, `1.9.2`, `1.9.3`, and `ree`)
|
77
80
|
4. It should go without saying, but do not increment the version number in your commits.
|
78
|
-
5. Submit a pull request.
|
81
|
+
5. Submit a pull request.
|
data/Rakefile
CHANGED
@@ -3,23 +3,6 @@ require "bundler/version"
|
|
3
3
|
require "rake/testtask"
|
4
4
|
require "./lib/createsend"
|
5
5
|
|
6
|
-
begin
|
7
|
-
if RUBY_VERSION != "1.8.7" # cane not supported on < 1.8.7
|
8
|
-
require 'cane/rake_task'
|
9
|
-
|
10
|
-
desc "Run cane (checks quality metrics)"
|
11
|
-
Cane::RakeTask.new(:quality) do |cane|
|
12
|
-
cane.abc_glob = '{lib,test}/**/*.rb'
|
13
|
-
cane.abc_max = 10
|
14
|
-
puts "running cane."
|
15
|
-
end
|
16
|
-
|
17
|
-
task :default => :quality
|
18
|
-
end
|
19
|
-
rescue LoadError
|
20
|
-
warn "cane not available, quality task not provided."
|
21
|
-
end
|
22
|
-
|
23
6
|
desc "Run tests"
|
24
7
|
Rake::TestTask.new(:test) do |test|
|
25
8
|
test.ruby_opts = ["-rubygems"] if defined? Gem
|
data/createsend.gemspec
CHANGED
@@ -4,15 +4,14 @@ 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
|
+
s.add_development_dependency('rake', '~> 10.0')
|
8
8
|
s.add_development_dependency('fakeweb', '~> 1.3')
|
9
9
|
s.add_development_dependency('jnunemaker-matchy', '~> 0.4')
|
10
|
-
s.add_development_dependency('mocha', '~> 0.
|
11
|
-
s.add_development_dependency('shoulda', '~> 3.3
|
12
|
-
s.
|
13
|
-
s.add_runtime_dependency('json')
|
10
|
+
s.add_development_dependency('mocha', '~> 0.13')
|
11
|
+
s.add_development_dependency('shoulda', '~> 3.3')
|
12
|
+
s.add_runtime_dependency('json', '>= 0')
|
14
13
|
s.add_runtime_dependency('hashie', '~> 1.0')
|
15
|
-
s.add_runtime_dependency('httparty', '~> 0.
|
14
|
+
s.add_runtime_dependency('httparty', '~> 0.10')
|
16
15
|
s.name = "createsend"
|
17
16
|
s.author = "James Dennes"
|
18
17
|
s.description = %q{Implements the complete functionality of the Campaign Monitor API.}
|
data/lib/createsend/version.rb
CHANGED
data/test/helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: createsend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,27 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
21
|
+
version: '10.0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '10.0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: fakeweb
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '1.3'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.3'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: jnunemaker-matchy
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ~>
|
@@ -43,43 +53,47 @@ dependencies:
|
|
43
53
|
version: '0.4'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.4'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: mocha
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ~>
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
69
|
+
version: '0.13'
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.13'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: shoulda
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ~>
|
64
84
|
- !ruby/object:Gem::Version
|
65
|
-
version: 3.3
|
85
|
+
version: '3.3'
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: cane
|
71
|
-
requirement: &70131065601720 !ruby/object:Gem::Requirement
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
89
|
none: false
|
73
90
|
requirements:
|
74
|
-
- -
|
91
|
+
- - ~>
|
75
92
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: *70131065601720
|
93
|
+
version: '3.3'
|
80
94
|
- !ruby/object:Gem::Dependency
|
81
95
|
name: json
|
82
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
83
97
|
none: false
|
84
98
|
requirements:
|
85
99
|
- - ! '>='
|
@@ -87,10 +101,15 @@ dependencies:
|
|
87
101
|
version: '0'
|
88
102
|
type: :runtime
|
89
103
|
prerelease: false
|
90
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
91
110
|
- !ruby/object:Gem::Dependency
|
92
111
|
name: hashie
|
93
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
94
113
|
none: false
|
95
114
|
requirements:
|
96
115
|
- - ~>
|
@@ -98,18 +117,28 @@ dependencies:
|
|
98
117
|
version: '1.0'
|
99
118
|
type: :runtime
|
100
119
|
prerelease: false
|
101
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '1.0'
|
102
126
|
- !ruby/object:Gem::Dependency
|
103
127
|
name: httparty
|
104
|
-
requirement:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
105
129
|
none: false
|
106
130
|
requirements:
|
107
131
|
- - ~>
|
108
132
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
133
|
+
version: '0.10'
|
110
134
|
type: :runtime
|
111
135
|
prerelease: false
|
112
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0.10'
|
113
142
|
description: Implements the complete functionality of the Campaign Monitor API.
|
114
143
|
email:
|
115
144
|
- jdennes@gmail.com
|
@@ -219,6 +248,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
248
|
- - ! '>='
|
220
249
|
- !ruby/object:Gem::Version
|
221
250
|
version: '0'
|
251
|
+
segments:
|
252
|
+
- 0
|
253
|
+
hash: -2811559067945201914
|
222
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
255
|
none: false
|
224
256
|
requirements:
|
@@ -227,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
259
|
version: 1.3.6
|
228
260
|
requirements: []
|
229
261
|
rubyforge_project:
|
230
|
-
rubygems_version: 1.8.
|
262
|
+
rubygems_version: 1.8.24
|
231
263
|
signing_key:
|
232
264
|
specification_version: 3
|
233
265
|
summary: A library which implements the complete functionality of the Campaign Monitor
|