samanage 1.7.8 → 1.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +2 -0
- data/lib/samanage/api.rb +2 -2
- data/samanage.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c33712f14d8e3954583638e677767e18d8994685
|
4
|
+
data.tar.gz: 2eb7879f1973dd1700aaa60ea7650550d8fd4e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8895ef4b07eaf76bdd3df1b91ec9b2d94daaa3b75683e0b9c1a48321aec85dd6000d7f79b7ebf8e3a892cc84c6f16350432d1036e31f8b9e0b6cbf1ebb1c55df
|
7
|
+
data.tar.gz: 7c085ca06d726b5e6c36afcd8da1565a30f9af3cc79f7368fad9fa36a7930c93a33fc66b425c214afbb86103474681685169142e6858e08f610561bcce6f4c4e
|
data/changelog.md
CHANGED
data/lib/samanage/api.rb
CHANGED
@@ -25,8 +25,8 @@ module Samanage
|
|
25
25
|
if !datacenter.nil? && datacenter.to_s.downcase != 'eu'
|
26
26
|
self.datacenter = nil
|
27
27
|
end
|
28
|
-
self.
|
29
|
-
self.
|
28
|
+
self.datacenter ||= datacenter
|
29
|
+
self.base_url = "https://api#{self.datacenter.to_s.downcase}.samanage.com/"
|
30
30
|
self.content_type = 'json'
|
31
31
|
self.admins = []
|
32
32
|
if development_mode
|
data/samanage.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
$:.push File.expand_path("../lib", __FILE__)
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'samanage'
|
4
|
-
s.version = '1.7.
|
4
|
+
s.version = '1.7.9'
|
5
5
|
s.date = Date.today.strftime("%Y-%m-%d")
|
6
6
|
s.summary = "Samanage Ruby Gem"
|
7
7
|
s.description = "Connect to Samanage using Ruby!"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: samanage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Walls
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|