sift 1.1.7.3 → 2.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.travis.yml +5 -0
- data/HISTORY +6 -2
- data/README.rdoc +36 -11
- data/lib/sift.rb +33 -8
- data/lib/sift/client.rb +347 -107
- data/lib/sift/version.rb +2 -2
- data/sift.gemspec +2 -2
- data/spec/unit/client_203_spec.rb +192 -0
- data/spec/unit/client_label_spec.rb +55 -11
- data/spec/unit/client_spec.rb +141 -49
- metadata +26 -17
metadata
CHANGED
@@ -1,84 +1,91 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Sadaghiani
|
8
8
|
- Yoav Schatzberg
|
9
|
+
- Jacob Burnim
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rspec
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
17
18
|
requirements:
|
18
|
-
- -
|
19
|
+
- - ">="
|
19
20
|
- !ruby/object:Gem::Version
|
20
21
|
version: 2.14.1
|
21
22
|
type: :development
|
22
23
|
prerelease: false
|
23
24
|
version_requirements: !ruby/object:Gem::Requirement
|
24
25
|
requirements:
|
25
|
-
- -
|
26
|
+
- - ">="
|
26
27
|
- !ruby/object:Gem::Version
|
27
28
|
version: 2.14.1
|
28
29
|
- !ruby/object:Gem::Dependency
|
29
30
|
name: webmock
|
30
31
|
requirement: !ruby/object:Gem::Requirement
|
31
32
|
requirements:
|
32
|
-
- -
|
33
|
+
- - ">="
|
33
34
|
- !ruby/object:Gem::Version
|
34
35
|
version: 1.16.0
|
36
|
+
- - "<"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '2'
|
35
39
|
type: :development
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
38
42
|
requirements:
|
39
|
-
- -
|
43
|
+
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
41
45
|
version: 1.16.0
|
46
|
+
- - "<"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '2'
|
42
49
|
- !ruby/object:Gem::Dependency
|
43
50
|
name: httparty
|
44
51
|
requirement: !ruby/object:Gem::Requirement
|
45
52
|
requirements:
|
46
|
-
- -
|
53
|
+
- - ">="
|
47
54
|
- !ruby/object:Gem::Version
|
48
55
|
version: 0.11.0
|
49
56
|
type: :runtime
|
50
57
|
prerelease: false
|
51
58
|
version_requirements: !ruby/object:Gem::Requirement
|
52
59
|
requirements:
|
53
|
-
- -
|
60
|
+
- - ">="
|
54
61
|
- !ruby/object:Gem::Version
|
55
62
|
version: 0.11.0
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: multi_json
|
58
65
|
requirement: !ruby/object:Gem::Requirement
|
59
66
|
requirements:
|
60
|
-
- -
|
67
|
+
- - ">="
|
61
68
|
- !ruby/object:Gem::Version
|
62
69
|
version: '1.0'
|
63
70
|
type: :runtime
|
64
71
|
prerelease: false
|
65
72
|
version_requirements: !ruby/object:Gem::Requirement
|
66
73
|
requirements:
|
67
|
-
- -
|
74
|
+
- - ">="
|
68
75
|
- !ruby/object:Gem::Version
|
69
76
|
version: '1.0'
|
70
77
|
- !ruby/object:Gem::Dependency
|
71
78
|
name: rake
|
72
79
|
requirement: !ruby/object:Gem::Requirement
|
73
80
|
requirements:
|
74
|
-
- -
|
81
|
+
- - ">="
|
75
82
|
- !ruby/object:Gem::Version
|
76
83
|
version: '0'
|
77
84
|
type: :development
|
78
85
|
prerelease: false
|
79
86
|
version_requirements: !ruby/object:Gem::Requirement
|
80
87
|
requirements:
|
81
|
-
- -
|
88
|
+
- - ">="
|
82
89
|
- !ruby/object:Gem::Version
|
83
90
|
version: '0'
|
84
91
|
description: Sift Science Ruby API. Please see http://siftscience.com for more details.
|
@@ -88,8 +95,8 @@ executables: []
|
|
88
95
|
extensions: []
|
89
96
|
extra_rdoc_files: []
|
90
97
|
files:
|
91
|
-
- .gitignore
|
92
|
-
- .travis.yml
|
98
|
+
- ".gitignore"
|
99
|
+
- ".travis.yml"
|
93
100
|
- Gemfile
|
94
101
|
- HISTORY
|
95
102
|
- LICENSE
|
@@ -102,6 +109,7 @@ files:
|
|
102
109
|
- sift.gemspec
|
103
110
|
- spec/integration/sift_spec.rb
|
104
111
|
- spec/spec_helper.rb
|
112
|
+
- spec/unit/client_203_spec.rb
|
105
113
|
- spec/unit/client_label_spec.rb
|
106
114
|
- spec/unit/client_spec.rb
|
107
115
|
- spec/unit/sift_spec.rb
|
@@ -114,23 +122,24 @@ require_paths:
|
|
114
122
|
- lib
|
115
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
116
124
|
requirements:
|
117
|
-
- -
|
125
|
+
- - ">="
|
118
126
|
- !ruby/object:Gem::Version
|
119
127
|
version: '0'
|
120
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
129
|
requirements:
|
122
|
-
- -
|
130
|
+
- - ">="
|
123
131
|
- !ruby/object:Gem::Version
|
124
132
|
version: '0'
|
125
133
|
requirements: []
|
126
134
|
rubyforge_project: sift
|
127
|
-
rubygems_version: 2.
|
135
|
+
rubygems_version: 2.4.6
|
128
136
|
signing_key:
|
129
137
|
specification_version: 4
|
130
138
|
summary: Sift Science Ruby API Gem
|
131
139
|
test_files:
|
132
140
|
- spec/integration/sift_spec.rb
|
133
141
|
- spec/spec_helper.rb
|
142
|
+
- spec/unit/client_203_spec.rb
|
134
143
|
- spec/unit/client_label_spec.rb
|
135
144
|
- spec/unit/client_spec.rb
|
136
145
|
- spec/unit/sift_spec.rb
|