infopark_cloud_connector 6.8.0.322.c003f11 → 6.8.0.328.4a753fc
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,9 @@ class ContentService
|
|
2
2
|
def self.query(path, payload)
|
3
3
|
MultiJson.load(RestClient::Request.execute(
|
4
4
|
:method => :post,
|
5
|
-
:
|
5
|
+
:user => config['login'],
|
6
|
+
:password => config['api_key'],
|
7
|
+
:url => "#{config['url']}/#{path}",
|
6
8
|
:headers => {
|
7
9
|
:content_type => :json,
|
8
10
|
:accept => :json,
|
@@ -14,11 +16,8 @@ class ContentService
|
|
14
16
|
|
15
17
|
private
|
16
18
|
|
17
|
-
def self.
|
18
|
-
|
19
|
-
config = RailsConnector::Configuration.content_service
|
20
|
-
"#{config['login']}:#{config['api_key']}@#{config['url']}"
|
21
|
-
end
|
19
|
+
def self.config
|
20
|
+
RailsConnector::Configuration.content_service
|
22
21
|
end
|
23
22
|
|
24
23
|
def self.user_agent
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_cloud_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 383871886
|
5
|
+
prerelease: 11
|
6
6
|
segments:
|
7
7
|
- 6
|
8
8
|
- 8
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
-
|
14
|
-
-
|
15
|
-
version: 6.8.0.
|
10
|
+
- 328
|
11
|
+
- 4
|
12
|
+
- a
|
13
|
+
- 753
|
14
|
+
- fc
|
15
|
+
version: 6.8.0.328.4a753fc
|
16
16
|
platform: ruby
|
17
17
|
authors:
|
18
18
|
- Infopark AG
|
@@ -20,7 +20,7 @@ autorequire:
|
|
20
20
|
bindir: bin
|
21
21
|
cert_chain: []
|
22
22
|
|
23
|
-
date: 2012-11-
|
23
|
+
date: 2012-11-16 00:00:00 +01:00
|
24
24
|
default_executable:
|
25
25
|
dependencies:
|
26
26
|
- !ruby/object:Gem::Dependency
|
@@ -60,17 +60,17 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - "="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
hash:
|
63
|
+
hash: 383871886
|
64
64
|
segments:
|
65
65
|
- 6
|
66
66
|
- 8
|
67
67
|
- 0
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
version: 6.8.0.
|
68
|
+
- 328
|
69
|
+
- 4
|
70
|
+
- a
|
71
|
+
- 753
|
72
|
+
- fc
|
73
|
+
version: 6.8.0.328.4a753fc
|
74
74
|
version_requirements: *id003
|
75
75
|
name: kvom
|
76
76
|
prerelease: false
|