mxhero-api 0.1.37 → 0.1.38

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
- YmMwODk3Njc4MmQzMWI1MmIzZGY4ZThmMDFjMTZjOTAwNGJlOGExZg==
4
+ ZTU5NzY4NDRiMjRiYzVhM2VmOGMzMDg3OTgyZjY1ODFkODZhZmEzYw==
5
5
  data.tar.gz: !binary |-
6
- MGFmMWUwN2E1N2RlMWMxYjUxZDE3NjlmNTVkZWJlMzU1YjQzMzkzZQ==
6
+ OTQwNTgxOGFhNGQ3NDVlNzViMzIyNzhjODJjMTQwYzdhNDg3N2JhMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTcxMTlkMDc3MjNmZThjOTlmZjgwZmUyMTAyNGUzNjY3MDVkMjE0NmY1YmE3
10
- ZDRiY2JjMDIwNzAyYmE4OWM1OWEzOTk5OTI4YTllNWRkM2FmMGVmMTQzNjlh
11
- NDE2NmVlNDBmMThhZmJmMWQzY2Q1OGM5YWY4MDI2M2ZjN2RjNWU=
9
+ NjEyNjBkZDQ3NTkzMWYxNDUxMTcwNmZjZTFlOWJiMWIwNzcxODRiYTJiODdi
10
+ M2JmNmYwODM0YmFlY2JkZDlkZWVlNmQyOTk0ZWQ3YmNmOTdiOWNjOGQ5Nzdj
11
+ YzBlZWM3ZTQ4ZTVmODliNzU2M2Q0YTMwYWVkYzY1ZmRmMjMyN2Y=
12
12
  data.tar.gz: !binary |-
13
- YzM0NThmZmEwZmVmYWMxZWUxY2YzZWNlZDNkYTE1MzdkZTUwNmQwM2M1Mzkw
14
- ODdjNGZkMGNiYWRkNjk4NDE5NTMwZDhmMDRlNmY3YzFhZmFlYzRlNzgwZDNm
15
- NTExNjg0ODhkZmQ3ZTIzNWFlMGU2MTlmN2NkNTgxYTJhNGRlZDU=
13
+ ZWY0ZDI0YjcwMWJmYzhmNTU1YWUyZTlkMGEzNWJjN2Q0ZTNlODZhMDJhNTQ0
14
+ MjU4ODI0NmIxYWZkYjdiNWVmNTRhYzM2OTlkNWQwMGRlMDQ2N2JhM2I5Zjcz
15
+ ZjJlNjdlZDBjYTE2Mzg5NjI1ZTlmNmRiNmQyMWE0ZjQyYzE0OGU=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.37
1
+ 0.1.38
@@ -21,7 +21,7 @@ module MxHero::API
21
21
  class Domain < Resource
22
22
 
23
23
  attributes :domain, :server,
24
- :aliases, :features, :cos
24
+ :aliases, :features, :cos, :inbound, :outbound
25
25
 
26
26
  attribute :creation_date, map: 'creationDate', date: true
27
27
  attribute :update_date, map: 'updateDate', date: true
@@ -1,20 +1,20 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mxhero-api 0.1.37 ruby lib
2
+ # stub: mxhero-api 0.1.38 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mxhero-api"
6
- s.version = "0.1.37"
6
+ s.version = "0.1.38"
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-03-17"
10
+ s.date = "2015-04-15"
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/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"]
14
14
  s.homepage = "http://github.com/mxhero/mxhero-api"
15
15
  s.licenses = ["GPL-3"]
16
16
  s.require_paths = ["lib"]
17
- s.rubygems_version = "2.1.9"
17
+ s.rubygems_version = "2.1.2"
18
18
  s.summary = "A MxHero API client for ruby"
19
19
  s.test_files = ["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/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"]
20
20
 
@@ -6,7 +6,7 @@ module Fixtures
6
6
  domain: "mxhero.com",
7
7
  server: "aspmx.l.google.com",
8
8
  relayServer: nil,
9
- inbound: true, outbound: true,
9
+ inbound: true, outbound: false,
10
10
  creationDate: 1371737853000,
11
11
  updatedDate: 1371741047000,
12
12
  aliases: [ "hero.mx", "mxhero.com", "mxhero.net", "mxhero.org" ],
@@ -10,6 +10,8 @@ class DomainTest < MiniTest::Unit::TestCase
10
10
  assert domain.cos.is_a? MxHero::API::Cos
11
11
  assert_equal data[:cos][:cos], domain.cos.type
12
12
  assert_equal data[:source], domain.source
13
+ assert_equal data[:inbound], true
14
+ assert_equal data[:outbound], false
13
15
  end
14
16
 
15
17
  def test_empty_metadata
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.37
4
+ version: 0.1.38
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-03-17 00:00:00.000000000 Z
13
+ date: 2015-04-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vcr
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.1.9
161
+ rubygems_version: 2.1.2
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: A MxHero API client for ruby