mxhero-api 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGRmM2JmNjliZTQyOWQ1ZTE5OTU4ZWQzOTEzNTY4ZDc5Yzg0ODJlZQ==
4
+ NzJkOGM0ZmU1MGY4Y2RlMmEyYzg3ZmIwMzAxZDk0NTVmZWU0NTQ0Nw==
5
5
  data.tar.gz: !binary |-
6
- ZGQ0YzY5YzZjNDUxZGYxYWQwMGZiYmM4OTZkOTU5Y2QyMTE5NWJmMQ==
6
+ OTQ3OTY4ODNhNmRjMGUyYjdmYzA2YTg5MjI1MzkyM2ZhMDY3NDI2NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2ZhYWM4ZTExNDlkMmUyMzJlZjMxMmJmNzk1MjRjOGVkYzNkYmJiODMzNjVk
10
- ODY1YWY3YmZlODI0MWI0Mzg0Y2ZiYmIyNjZmZWY1YmU3ZDdmMjc5YWQ4ZTZl
11
- OTAyOTIzMTA4MzJkMGUyMWNjZWZjZjYzM2NjZWZhZDdiOTBmZTE=
9
+ NDQ5YjAyOGFhYWQ0MDZhNTUzZGExNjg4NTViMTExMTJlMTNhZGEzOWM2Mzcw
10
+ NTc2MmEwMGU0ZmY3NTFlZTY3NTZmZjhjM2EwOTI0MjZlNmFjNTU5ZDk1MmUw
11
+ YWI1NTUzZThhZDFmYmQ4NWNiNjBiMGE2NGQ5MjY2ODZjOTRkYmQ=
12
12
  data.tar.gz: !binary |-
13
- NTc4YmIwOWIwYmU1ZDRjYmU5ODNkMTFhMmYwY2Q3ODIzMGI3ZDUxN2U1ZGQ1
14
- OGE4YzBlZTUyMjVlMjc4MzRkNDRjYWZjMWYxYzE3MzE5NjEwYWIyMzVhMTI2
15
- NGE4Y2RjNWQ5MGRjMDU0ODRlMTkwZTQ5MTA5YTY1YTU4YWU4NmM=
13
+ MzMyYmIxYjA2MzdhYTRkMjM2YjA2NzliNTEyZGQ4ODc3NjhlMDFjMjE0ZTJm
14
+ MjJhZGU4NzVhZTk0ZDRlMTYzMzU0Y2RiMmEzZGMzZTFjYTVmMjMxYmM4MjIy
15
+ ZjRmYjM1Mjk1NjRjYTc0MjhiMzUyZmJlZjQ0ZWVjNGU4ZDAyNzE=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.19
1
+ 0.1.20
data/lib/directories.rb CHANGED
@@ -55,7 +55,7 @@ module MxHero::API
55
55
  private
56
56
 
57
57
  def parse_update_dates(property, date)
58
- if date.is_a? Fixnum or date.is_a? String
58
+ if date.is_a? Integer or date.is_a? String
59
59
  instance_variable_set "@#{property}", DateTime.strptime(date.to_s, '%Q')
60
60
  else
61
61
  instance_variable_set "@#{property}", date
@@ -141,7 +141,7 @@ module MxHero::API
141
141
  end
142
142
 
143
143
  def directories_url
144
- "http://test.mxhero.com/webapi/api/v1/domains/#{domain}/adldap"
144
+ domain_by_id_url(domain) + 'adldap'
145
145
  end
146
146
  end
147
147
 
data/mxhero-api.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mxhero-api 0.1.19 ruby lib
2
+ # stub: mxhero-api 0.1.20 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mxhero-api"
6
- s.version = "0.1.19"
6
+ s.version = "0.1.20"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Maximiliano Dello Russo", "Juan Pablo Royo", "mxHero"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mxhero-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximiliano Dello Russo