attune 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/attune.gemspec +3 -3
- data/lib/attune.rb +14 -0
- data/lib/attune/api/anonymous.rb +131 -0
- data/lib/attune/api/entities.rb +195 -0
- data/lib/attune/call_dropping.rb +1 -0
- data/lib/attune/client.rb +20 -170
- data/lib/attune/configurable.rb +1 -0
- data/lib/attune/default.rb +1 -0
- data/lib/attune/json_logger.rb +1 -0
- data/lib/attune/models/anonymousresult.rb +41 -0
- data/lib/attune/models/batchrankingrequest.rb +44 -0
- data/lib/attune/models/batchrankingresult.rb +44 -0
- data/lib/attune/models/blacklist.rb +111 -0
- data/lib/attune/models/blacklistgetresponse.rb +44 -0
- data/lib/attune/models/blacklistparams.rb +87 -0
- data/lib/attune/models/blacklistsaveresponse.rb +41 -0
- data/lib/attune/models/customer.rb +41 -0
- data/lib/attune/models/rankedentities.rb +60 -0
- data/lib/attune/models/rankingparams.rb +103 -0
- data/lib/attune/models/scopeentry.rb +49 -0
- data/lib/attune/net_http_persistent.rb +1 -0
- data/lib/attune/param_flattener.rb +1 -0
- data/lib/attune/version.rb +2 -1
- data/spec/attune/client_spec.rb +51 -59
- data/spec/remote_spec.rb +27 -27
- metadata +40 -25
metadata
CHANGED
@@ -1,137 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Hawthorn
|
8
|
+
- Jason Gritman
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: faraday
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- - ~>
|
18
|
+
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: '0.8'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- - ~>
|
25
|
+
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: '0.8'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: net-http-persistent
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- -
|
32
|
+
- - ">="
|
32
33
|
- !ruby/object:Gem::Version
|
33
34
|
version: '0'
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- -
|
39
|
+
- - ">="
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '0'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: bundler
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- - ~>
|
46
|
+
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
48
|
version: '1.2'
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- - ~>
|
53
|
+
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
55
|
version: '1.2'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: rake
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- -
|
60
|
+
- - ">="
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
type: :development
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- -
|
67
|
+
- - ">="
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '0'
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: rspec
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
|
-
- -
|
74
|
+
- - ">="
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: '0'
|
76
77
|
type: :development
|
77
78
|
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
|
-
- -
|
81
|
+
- - ">="
|
81
82
|
- !ruby/object:Gem::Version
|
82
83
|
version: '0'
|
83
84
|
- !ruby/object:Gem::Dependency
|
84
85
|
name: yard
|
85
86
|
requirement: !ruby/object:Gem::Requirement
|
86
87
|
requirements:
|
87
|
-
- -
|
88
|
+
- - ">="
|
88
89
|
- !ruby/object:Gem::Version
|
89
90
|
version: '0'
|
90
91
|
type: :development
|
91
92
|
prerelease: false
|
92
93
|
version_requirements: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
|
-
- -
|
95
|
+
- - ">="
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '0'
|
97
98
|
- !ruby/object:Gem::Dependency
|
98
99
|
name: redcarpet
|
99
100
|
requirement: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
|
-
- -
|
102
|
+
- - ">="
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: 3.1.1
|
104
105
|
type: :development
|
105
106
|
prerelease: false
|
106
107
|
version_requirements: !ruby/object:Gem::Requirement
|
107
108
|
requirements:
|
108
|
-
- -
|
109
|
+
- - ">="
|
109
110
|
- !ruby/object:Gem::Version
|
110
111
|
version: 3.1.1
|
111
112
|
- !ruby/object:Gem::Dependency
|
112
113
|
name: simplecov
|
113
114
|
requirement: !ruby/object:Gem::Requirement
|
114
115
|
requirements:
|
115
|
-
- -
|
116
|
+
- - ">="
|
116
117
|
- !ruby/object:Gem::Version
|
117
118
|
version: '0'
|
118
119
|
type: :development
|
119
120
|
prerelease: false
|
120
121
|
version_requirements: !ruby/object:Gem::Requirement
|
121
122
|
requirements:
|
122
|
-
- -
|
123
|
+
- - ">="
|
123
124
|
- !ruby/object:Gem::Version
|
124
125
|
version: '0'
|
125
126
|
description: Client for the Attune product ranking API.
|
126
127
|
email:
|
127
128
|
- john@freerunningtechnologies.com
|
129
|
+
- jason@attune.co
|
128
130
|
executables: []
|
129
131
|
extensions: []
|
130
132
|
extra_rdoc_files: []
|
131
133
|
files:
|
132
|
-
- .gitignore
|
133
|
-
- .rspec
|
134
|
-
- .yardopts
|
134
|
+
- ".gitignore"
|
135
|
+
- ".rspec"
|
136
|
+
- ".yardopts"
|
135
137
|
- Gemfile
|
136
138
|
- Guardfile
|
137
139
|
- LICENSE.txt
|
@@ -139,11 +141,24 @@ files:
|
|
139
141
|
- Rakefile
|
140
142
|
- attune.gemspec
|
141
143
|
- lib/attune.rb
|
144
|
+
- lib/attune/api/anonymous.rb
|
145
|
+
- lib/attune/api/entities.rb
|
142
146
|
- lib/attune/call_dropping.rb
|
143
147
|
- lib/attune/client.rb
|
144
148
|
- lib/attune/configurable.rb
|
145
149
|
- lib/attune/default.rb
|
146
150
|
- lib/attune/json_logger.rb
|
151
|
+
- lib/attune/models/anonymousresult.rb
|
152
|
+
- lib/attune/models/batchrankingrequest.rb
|
153
|
+
- lib/attune/models/batchrankingresult.rb
|
154
|
+
- lib/attune/models/blacklist.rb
|
155
|
+
- lib/attune/models/blacklistgetresponse.rb
|
156
|
+
- lib/attune/models/blacklistparams.rb
|
157
|
+
- lib/attune/models/blacklistsaveresponse.rb
|
158
|
+
- lib/attune/models/customer.rb
|
159
|
+
- lib/attune/models/rankedentities.rb
|
160
|
+
- lib/attune/models/rankingparams.rb
|
161
|
+
- lib/attune/models/scopeentry.rb
|
147
162
|
- lib/attune/net_http_persistent.rb
|
148
163
|
- lib/attune/param_flattener.rb
|
149
164
|
- lib/attune/version.rb
|
@@ -153,7 +168,7 @@ files:
|
|
153
168
|
- spec/attune_spec.rb
|
154
169
|
- spec/remote_spec.rb
|
155
170
|
- spec/spec_helper.rb
|
156
|
-
homepage: https://github.com/
|
171
|
+
homepage: https://github.com/attune-api/attune-ruby
|
157
172
|
licenses:
|
158
173
|
- MIT
|
159
174
|
metadata: {}
|
@@ -163,17 +178,17 @@ require_paths:
|
|
163
178
|
- lib
|
164
179
|
required_ruby_version: !ruby/object:Gem::Requirement
|
165
180
|
requirements:
|
166
|
-
- -
|
181
|
+
- - ">="
|
167
182
|
- !ruby/object:Gem::Version
|
168
183
|
version: '0'
|
169
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
185
|
requirements:
|
171
|
-
- -
|
186
|
+
- - ">="
|
172
187
|
- !ruby/object:Gem::Version
|
173
188
|
version: '0'
|
174
189
|
requirements: []
|
175
190
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
191
|
+
rubygems_version: 2.2.2
|
177
192
|
signing_key:
|
178
193
|
specification_version: 4
|
179
194
|
summary: Client for the Attune product ranking API.
|