sift 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sift/version.rb +1 -1
- data/sift.gemspec +2 -2
- data/spec/unit/client_spec.rb +1 -1
- metadata +8 -8
data/lib/sift/version.rb
CHANGED
data/sift.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency "fakeweb", "~> 1.3.0"
|
25
25
|
|
26
26
|
# Gems that must be intalled for sift to work
|
27
|
-
s.add_dependency "httparty", ">= 0.
|
28
|
-
s.add_dependency "multi_json", "
|
27
|
+
s.add_dependency "httparty", ">= 0.11.0"
|
28
|
+
s.add_dependency "multi_json", "~> 1.0"
|
29
29
|
|
30
30
|
s.add_development_dependency("rspec", ">= 2.0")
|
31
31
|
s.add_development_dependency("rake")
|
data/spec/unit/client_spec.rb
CHANGED
@@ -104,7 +104,7 @@ describe Sift::Client do
|
|
104
104
|
:error_message => "OK"
|
105
105
|
}
|
106
106
|
|
107
|
-
FakeWeb.register_uri(:get, Sift::Client::API_ENDPOINT + '/v203/score/'+user_id,
|
107
|
+
FakeWeb.register_uri(:get, Sift::Client::API_ENDPOINT + '/v203/score/'+user_id+'/?api_key=foobar',
|
108
108
|
:body => MultiJson.dump(response_json),
|
109
109
|
:status => [Net::HTTPOK, "OK"],
|
110
110
|
:content_type => "text/json")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.11.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,23 +58,23 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.11.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: multi_json
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
69
|
+
version: '1.0'
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
77
|
+
version: '1.0'
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: rspec
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|