fizzy-api 0.0.2.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fizzy_api.gemspec +2 -2
- data/lib/fizzy/api/sessions/basic_auth_session.rb +0 -9
- data/lib/fizzy/api/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9407e6067d53fdfa589ad5b7efdd76ffb3866f9
|
4
|
+
data.tar.gz: c807a1d8c84e7ae9c83bafaee30175d9d3f51131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a04c086771a0c16ab8c099150dd11f36cdf9cf91d90c18d78d559e7f52a79f0987761f108d31057ad95fe4cae2c58ec5f96c507f20b56541beca1f22c6847c
|
7
|
+
data.tar.gz: 65516de403cea9322851b47e7294ae20605ef790714bd2831f1aa9ed373f844031aa2fafa1429a39107c666e89584dc374537f13cba6143adf04fe11500b629a
|
data/fizzy_api.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/fizzy/api/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = 'fizzy-api'
|
6
6
|
gem.version = Fizzy::Api::VERSION
|
7
|
-
gem.summary =
|
8
|
-
gem.description =
|
7
|
+
gem.summary = %q{API wrapper gem around Fizzy's Graph API}
|
8
|
+
gem.description = %q{Provides authenticated access to fizzy utilities}
|
9
9
|
gem.license = 'MIT'
|
10
10
|
gem.authors = ['Frank Blaauw', 'Ando Emerencia']
|
11
11
|
gem.email = ['f.j.blaauw@umcg.nl', 'ando.emerencia@gmail.com']
|
@@ -31,15 +31,6 @@ module Fizzy
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
def patch(path, params = {})
|
35
|
-
perform_request_or_fail do
|
36
|
-
HTTParty.patch(full_url_for(path),
|
37
|
-
headers: { 'Content-Type' => 'application/json' },
|
38
|
-
body: params.to_json,
|
39
|
-
basic_auth: basic_auth)
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
34
|
def delete(path, params = {})
|
44
35
|
perform_request_or_fail do
|
45
36
|
HTTParty.delete(full_url_for(path),
|
data/lib/fizzy/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fizzy-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Blaauw
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '4.5'
|
112
|
-
description:
|
112
|
+
description: Provides authenticated access to fizzy utilities
|
113
113
|
email:
|
114
114
|
- f.j.blaauw@umcg.nl
|
115
115
|
- ando.emerencia@gmail.com
|
@@ -166,10 +166,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
168
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.
|
169
|
+
rubygems_version: 2.2.2
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
|
-
summary:
|
172
|
+
summary: API wrapper gem around Fizzy's Graph API
|
173
173
|
test_files:
|
174
174
|
- spec/factories/basic_auth_session.rb
|
175
175
|
- spec/fizzy/api/calculate_outcome_spec.rb
|