zferral 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -2
- data/Gemfile.lock +7 -5
- data/VERSION +1 -1
- data/lib/zferral.rb +1 -1
- data/zferral.gemspec +6 -17
- metadata +92 -159
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,13 +8,16 @@ GEM
|
|
8
8
|
hashie (0.4.0)
|
9
9
|
httparty (0.7.3)
|
10
10
|
crack (= 0.1.8)
|
11
|
-
jeweler (1.
|
12
|
-
bundler (~> 1.0
|
11
|
+
jeweler (1.8.3)
|
12
|
+
bundler (~> 1.0)
|
13
13
|
git (>= 1.2.5)
|
14
14
|
rake
|
15
|
+
rdoc
|
15
16
|
json (1.5.1)
|
16
|
-
rake (0.
|
17
|
+
rake (0.9.2.2)
|
17
18
|
rcov (0.9.9)
|
19
|
+
rdoc (3.12)
|
20
|
+
json (~> 1.4)
|
18
21
|
rspec (2.3.0)
|
19
22
|
rspec-core (~> 2.3.0)
|
20
23
|
rspec-expectations (~> 2.3.0)
|
@@ -33,10 +36,9 @@ PLATFORMS
|
|
33
36
|
ruby
|
34
37
|
|
35
38
|
DEPENDENCIES
|
36
|
-
bundler (~> 1.0.0)
|
37
39
|
hashie
|
38
40
|
httparty
|
39
|
-
jeweler (~> 1.
|
41
|
+
jeweler (~> 1.8.3)
|
40
42
|
json
|
41
43
|
rcov
|
42
44
|
rspec (~> 2.3.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/zferral.rb
CHANGED
@@ -3,7 +3,7 @@ require 'httparty'
|
|
3
3
|
require 'json'
|
4
4
|
require 'hashie'
|
5
5
|
|
6
|
-
Dir[File.join(File.dirname(__FILE__), 'zferral', '**', '*.rb')].each {|f| require f}
|
6
|
+
Dir[File.join(File.dirname(__FILE__), 'zferral', '**', '*.rb')].sort.each {|f| require f}
|
7
7
|
|
8
8
|
module Zferral #:nodoc:
|
9
9
|
# Creates a new API {Zferral::Client} with the passed arguments.
|
data/zferral.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{zferral}
|
8
|
-
s.version = "0.2.
|
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 = ["Michael Klett"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2012-02-09}
|
13
13
|
s.description = %q{A Ruby wrapper for the Zferral API, based on HTTParty.}
|
14
14
|
s.email = %q{michael@webadvocate.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -43,18 +43,10 @@ Gem::Specification.new do |s|
|
|
43
43
|
s.homepage = %q{http://github.com/grasshopperlabs/zferral}
|
44
44
|
s.licenses = ["MIT"]
|
45
45
|
s.require_paths = ["lib"]
|
46
|
-
s.rubygems_version = %q{1.
|
46
|
+
s.rubygems_version = %q{1.6.2}
|
47
47
|
s.summary = %q{A Ruby wrapper for the Zferral API}
|
48
|
-
s.test_files = [
|
49
|
-
"spec/campaign_spec.rb",
|
50
|
-
"spec/event_spec.rb",
|
51
|
-
"spec/spec_helper.rb",
|
52
|
-
"spec/support/matchers/be.rb",
|
53
|
-
"spec/zferral_spec.rb"
|
54
|
-
]
|
55
48
|
|
56
49
|
if s.respond_to? :specification_version then
|
57
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
58
50
|
s.specification_version = 3
|
59
51
|
|
60
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
@@ -63,8 +55,7 @@ Gem::Specification.new do |s|
|
|
63
55
|
s.add_runtime_dependency(%q<hashie>, [">= 0"])
|
64
56
|
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
65
57
|
s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
|
66
|
-
s.add_development_dependency(%q<
|
67
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
58
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
68
59
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
69
60
|
s.add_development_dependency(%q<vcr>, [">= 0"])
|
70
61
|
s.add_development_dependency(%q<webmock>, [">= 0"])
|
@@ -74,8 +65,7 @@ Gem::Specification.new do |s|
|
|
74
65
|
s.add_dependency(%q<hashie>, [">= 0"])
|
75
66
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
76
67
|
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
77
|
-
s.add_dependency(%q<
|
78
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
68
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
79
69
|
s.add_dependency(%q<rcov>, [">= 0"])
|
80
70
|
s.add_dependency(%q<vcr>, [">= 0"])
|
81
71
|
s.add_dependency(%q<webmock>, [">= 0"])
|
@@ -86,8 +76,7 @@ Gem::Specification.new do |s|
|
|
86
76
|
s.add_dependency(%q<hashie>, [">= 0"])
|
87
77
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
88
78
|
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
89
|
-
s.add_dependency(%q<
|
90
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
79
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
91
80
|
s.add_dependency(%q<rcov>, [">= 0"])
|
92
81
|
s.add_dependency(%q<vcr>, [">= 0"])
|
93
82
|
s.add_dependency(%q<webmock>, [">= 0"])
|
metadata
CHANGED
@@ -1,181 +1,124 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: zferral
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 0.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Michael Klett
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-01-27 00:00:00 -05:00
|
12
|
+
date: 2012-02-09 00:00:00.000000000 -05:00
|
19
13
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
|
-
type: :runtime
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
24
16
|
name: httparty
|
25
|
-
|
17
|
+
requirement: &70323924611900 !ruby/object:Gem::Requirement
|
26
18
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
version: "0"
|
34
|
-
requirement: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
prerelease: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
37
23
|
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70323924611900
|
26
|
+
- !ruby/object:Gem::Dependency
|
38
27
|
name: json
|
39
|
-
|
28
|
+
requirement: &70323924611100 !ruby/object:Gem::Requirement
|
40
29
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
version: "0"
|
48
|
-
requirement: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
prerelease: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
51
34
|
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *70323924611100
|
37
|
+
- !ruby/object:Gem::Dependency
|
52
38
|
name: hashie
|
53
|
-
|
39
|
+
requirement: &70323924610120 !ruby/object:Gem::Requirement
|
54
40
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
|
60
|
-
- 0
|
61
|
-
version: "0"
|
62
|
-
requirement: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :runtime
|
64
46
|
prerelease: false
|
65
|
-
|
47
|
+
version_requirements: *70323924610120
|
48
|
+
- !ruby/object:Gem::Dependency
|
66
49
|
name: rspec
|
67
|
-
|
50
|
+
requirement: &70323924609340 !ruby/object:Gem::Requirement
|
68
51
|
none: false
|
69
|
-
requirements:
|
52
|
+
requirements:
|
70
53
|
- - ~>
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 3
|
73
|
-
segments:
|
74
|
-
- 2
|
75
|
-
- 3
|
76
|
-
- 0
|
54
|
+
- !ruby/object:Gem::Version
|
77
55
|
version: 2.3.0
|
78
|
-
requirement: *id004
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
prerelease: false
|
81
56
|
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *70323924609340
|
59
|
+
- !ruby/object:Gem::Dependency
|
82
60
|
name: yard
|
83
|
-
|
61
|
+
requirement: &70323924608580 !ruby/object:Gem::Requirement
|
84
62
|
none: false
|
85
|
-
requirements:
|
63
|
+
requirements:
|
86
64
|
- - ~>
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
hash: 7
|
89
|
-
segments:
|
90
|
-
- 0
|
91
|
-
- 6
|
92
|
-
- 0
|
65
|
+
- !ruby/object:Gem::Version
|
93
66
|
version: 0.6.0
|
94
|
-
requirement: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
prerelease: false
|
97
67
|
type: :development
|
98
|
-
name: bundler
|
99
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
|
-
requirements:
|
102
|
-
- - ~>
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
hash: 23
|
105
|
-
segments:
|
106
|
-
- 1
|
107
|
-
- 0
|
108
|
-
- 0
|
109
|
-
version: 1.0.0
|
110
|
-
requirement: *id006
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
68
|
prerelease: false
|
113
|
-
|
69
|
+
version_requirements: *70323924608580
|
70
|
+
- !ruby/object:Gem::Dependency
|
114
71
|
name: jeweler
|
115
|
-
|
72
|
+
requirement: &70323924607740 !ruby/object:Gem::Requirement
|
116
73
|
none: false
|
117
|
-
requirements:
|
74
|
+
requirements:
|
118
75
|
- - ~>
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
121
|
-
segments:
|
122
|
-
- 1
|
123
|
-
- 5
|
124
|
-
- 2
|
125
|
-
version: 1.5.2
|
126
|
-
requirement: *id007
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
prerelease: false
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.8.3
|
129
78
|
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: *70323924607740
|
81
|
+
- !ruby/object:Gem::Dependency
|
130
82
|
name: rcov
|
131
|
-
|
83
|
+
requirement: &70323924606980 !ruby/object:Gem::Requirement
|
132
84
|
none: false
|
133
|
-
requirements:
|
134
|
-
- -
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
version: "0"
|
140
|
-
requirement: *id008
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
prerelease: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
143
89
|
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: *70323924606980
|
92
|
+
- !ruby/object:Gem::Dependency
|
144
93
|
name: vcr
|
145
|
-
|
94
|
+
requirement: &70323924606220 !ruby/object:Gem::Requirement
|
146
95
|
none: false
|
147
|
-
requirements:
|
148
|
-
- -
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
|
151
|
-
segments:
|
152
|
-
- 0
|
153
|
-
version: "0"
|
154
|
-
requirement: *id009
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
prerelease: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
157
100
|
type: :development
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: *70323924606220
|
103
|
+
- !ruby/object:Gem::Dependency
|
158
104
|
name: webmock
|
159
|
-
|
105
|
+
requirement: &70323924605440 !ruby/object:Gem::Requirement
|
160
106
|
none: false
|
161
|
-
requirements:
|
162
|
-
- -
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
requirement: *id010
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
type: :development
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: *70323924605440
|
169
114
|
description: A Ruby wrapper for the Zferral API, based on HTTParty.
|
170
115
|
email: michael@webadvocate.com
|
171
116
|
executables: []
|
172
|
-
|
173
117
|
extensions: []
|
174
|
-
|
175
|
-
extra_rdoc_files:
|
118
|
+
extra_rdoc_files:
|
176
119
|
- LICENSE.txt
|
177
120
|
- README.rdoc
|
178
|
-
files:
|
121
|
+
files:
|
179
122
|
- .document
|
180
123
|
- .rspec
|
181
124
|
- Gemfile
|
@@ -200,41 +143,31 @@ files:
|
|
200
143
|
- zferral.gemspec
|
201
144
|
has_rdoc: true
|
202
145
|
homepage: http://github.com/grasshopperlabs/zferral
|
203
|
-
licenses:
|
146
|
+
licenses:
|
204
147
|
- MIT
|
205
148
|
post_install_message:
|
206
149
|
rdoc_options: []
|
207
|
-
|
208
|
-
require_paths:
|
150
|
+
require_paths:
|
209
151
|
- lib
|
210
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
211
153
|
none: false
|
212
|
-
requirements:
|
213
|
-
- -
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
|
216
|
-
segments:
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
segments:
|
217
159
|
- 0
|
218
|
-
|
219
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
+
hash: 884627937747013779
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
162
|
none: false
|
221
|
-
requirements:
|
222
|
-
- -
|
223
|
-
- !ruby/object:Gem::Version
|
224
|
-
|
225
|
-
segments:
|
226
|
-
- 0
|
227
|
-
version: "0"
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
228
167
|
requirements: []
|
229
|
-
|
230
168
|
rubyforge_project:
|
231
|
-
rubygems_version: 1.
|
169
|
+
rubygems_version: 1.6.2
|
232
170
|
signing_key:
|
233
171
|
specification_version: 3
|
234
172
|
summary: A Ruby wrapper for the Zferral API
|
235
|
-
test_files:
|
236
|
-
- spec/campaign_spec.rb
|
237
|
-
- spec/event_spec.rb
|
238
|
-
- spec/spec_helper.rb
|
239
|
-
- spec/support/matchers/be.rb
|
240
|
-
- spec/zferral_spec.rb
|
173
|
+
test_files: []
|