ns_connector 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ns_connector/restlet.rb +1 -0
- data/spec/restlet_spec.rb +2 -1
- data/spec/support/mock_data.rb +1 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.17
|
data/lib/ns_connector/restlet.rb
CHANGED
@@ -44,6 +44,7 @@ module NSConnector::Restlet
|
|
44
44
|
|
45
45
|
request['Content-Type'] = 'application/json'
|
46
46
|
request['Authorization'] = NSConnector::Restlet.auth_header
|
47
|
+
request['User-Agent'] = NSConnector::Config[:user_agent] if NSConnector::Config[:user_agent]
|
47
48
|
|
48
49
|
begin
|
49
50
|
options[:code] = restlet_code
|
data/spec/restlet_spec.rb
CHANGED
data/spec/support/mock_data.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ns_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
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: 2014-
|
12
|
+
date: 2014-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -232,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
232
232
|
version: '0'
|
233
233
|
segments:
|
234
234
|
- 0
|
235
|
-
hash:
|
235
|
+
hash: 2583574235940207
|
236
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
237
237
|
none: false
|
238
238
|
requirements:
|