mxhero-api 0.1.40 → 0.1.41

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
- MTJkYmI1N2U3MDA3NmY3YmM4ZjQ2ZmNkZjAyM2Y0NGU5ZWZhODRjMw==
4
+ ZDI0NDczOTEwZDYzNTlhNzc5MDAyOGJkODE4ODg0NDc1MGQ4NjhjYw==
5
5
  data.tar.gz: !binary |-
6
- ZGUxMmRkMmIwNWI4MGY4NjE3MjJiZjY2ZWI4ZWZhNDNjZTY0ZmQyMA==
6
+ MjAyMDI1NDc1YjI1ZmVmN2Y5MjU3OGU0NjIxN2EzNTY5YTZlOTI4MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzU3YWJiNTZiZGI2MjIzMGI0NzJkYjg2YjE5OGMxMzViMTY5ZGEwOTc0NDI2
10
- NDRiMGQ1MDUzZWRhYTc4M2VhMmRlN2Y4ZWIxYjYxMTU1YWIwZTE2NDY3ZDY5
11
- ZjA1MGMwNjY3ZDE5OTkzMWYxYjI5NzY3ZWJkOTU2Nzc5YzQwMzY=
9
+ ZWI4Y2JhZTZlZDFjYTdhOGEwMDkwYzhiYjk0NGQzYzY3YjFkZjI1M2NhZDEx
10
+ MjFiMzE1NTBhZGY3OGFlMGQxNjYzMTQ3Y2MxZjQwZmRlNjBlOTc0ODk4NmY0
11
+ NTZmZjA3MzNiNDM0NWZmNGE1Y2I2MjBkOTFlMDk3ZmI4NTI1YmQ=
12
12
  data.tar.gz: !binary |-
13
- M2I4MWY1ZTA4NWM0YjA4YjBlMTFlNDgyMzhjZTk4MDRhMGRiZWYxYTE5MzY4
14
- OWM4NTcxMWMwMDAyNzVkMzNlYmM5YzFjMjk4YjE3ZTVmNjUyZmM2NDA0ZjA0
15
- YTAzYzc4MTZhNmI0OTg2MjIxNGQ3ZDFjMDhiZDFlNjY0NDE3ZjA=
13
+ MTI3MTFlMmZkYjM2OTA1MDAyYjZmZjRhMWFmZWMzYjdhYmJjM2I3ZmVjNzE1
14
+ OWRmNWNlNjJjMzY5NGU3MzUzNDMwM2ZjMjQ3NzI4NzVkZjgwMjFkNGRhZGJh
15
+ M2MwZWJkNjU2NTg0YWJmNjQzYjY0ZTI4ZTE3OWU2Yjg2Y2UwMGY=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.40
1
+ 0.1.41
data/lib/mxhero-api.rb CHANGED
@@ -253,6 +253,7 @@ module MxHero::API
253
253
  def accounts_by_domain(domain, refinement = {}) #filter_account = nil, pagination = {})
254
254
  params = refinement.dup
255
255
  filter_account = params.delete(:account)
256
+ filter_account = CGI::escape(filter_account) if filter_account
256
257
  without_group = params.delete(:without_group) || false
257
258
  limit, offset = params.values_at(:limit, :offset)
258
259
 
data/mxhero-api.gemspec CHANGED
@@ -1,13 +1,13 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mxhero-api 0.1.40 ruby lib
2
+ # stub: mxhero-api 0.1.41 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mxhero-api"
6
- s.version = "0.1.40"
6
+ s.version = "0.1.41"
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"]
10
- s.date = "2015-07-20"
10
+ s.date = "2015-10-30"
11
11
  s.description = "A gem to provide easy access to the API of MxHero platform (http://www.mxhero.com/)"
12
12
  s.email = ["maxidr@mxhero.com", "juanpablo.royo@gmail.com", "mxhero@mxhero.com"]
13
13
  s.files = [".gitignore", ".ruby-gemset", ".ruby-version", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "VERSION", "lib/communication.rb", "lib/directories.rb", "lib/dto.rb", "lib/groups.rb", "lib/mxhero-api.rb", "lib/resource.rb", "lib/resources/account.rb", "lib/resources/domain.rb", "lib/resources/group.rb", "lib/urls.rb", "mxhero-api.gemspec", "test/fixtures/api/account_properties.yml", "test/fixtures/api/account_properties_not_found.yml", "test/fixtures/api/accounts.yml", "test/fixtures/api/accounts_filtered.yml", "test/fixtures/api/accounts_from_domain.yml", "test/fixtures/api/accounts_from_domain_paginated.yml", "test/fixtures/api/accounts_without_group.yml", "test/fixtures/api/add_an_inexistent_account_to_group.yml", "test/fixtures/api/add_and_remove_account.yml", "test/fixtures/api/add_feature.yml", "test/fixtures/api/all_groups.yml", "test/fixtures/api/associate_user_domain.yml", "test/fixtures/api/create_directory.yml", "test/fixtures/api/create_domain.yml", "test/fixtures/api/create_rule_for_domain.yml", "test/fixtures/api/create_user.yml", "test/fixtures/api/delete_directory.yml", "test/fixtures/api/delete_group.yml", "test/fixtures/api/delete_rule.yml", "test/fixtures/api/domain_by_id.yml", "test/fixtures/api/domain_by_id_not_found.yml", "test/fixtures/api/domain_rule.yml", "test/fixtures/api/domains.yml", "test/fixtures/api/fetch_directory.yml", "test/fixtures/api/fetch_user.yml", "test/fixtures/api/ldap_info.yml", "test/fixtures/api/move_to_trial.yml", "test/fixtures/api/refresh_directory.yml", "test/fixtures/api/remove_account_from_group_twice.yml", "test/fixtures/api/remove_inexistente_account_from_group.yml", "test/fixtures/api/rule_status.yml", "test/fixtures/api/rules_for_domain.yml", "test/fixtures/api/rules_for_domain_by_component.yml", "test/fixtures/api/save_group.yml", "test/fixtures/api/system_properties.yml", "test/fixtures/api/system_properties_create.yml", "test/fixtures/api/system_properties_element.yml", "test/fixtures/api/test_domain.yml", "test/fixtures/api/update_account_properties.yml", "test/fixtures/api/update_accounts_group_scope.yml", "test/fixtures/api/update_accounts_properties_scope.yml", "test/fixtures/api/update_directory.yml", "test/fixtures/api/update_rule.yml", "test/fixtures/api/update_user.yml", "test/fixtures/api/user_domains.yml", "test/fixtures/api/users_for_domain.yml", "test/fixtures/api/validate_user_credential.yml", "test/fixtures/domain.rb", "test/helper.rb", "test/test_directories.rb", "test/test_domain.rb", "test/test_dto.rb", "test/test_feature.rb", "test/test_groups.rb", "test/test_mxhero_api.rb", "test/test_mxhero_api_response.rb", "test/test_resource.rb"]
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.40
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximiliano Dello Russo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-07-20 00:00:00.000000000 Z
13
+ date: 2015-10-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vcr