mno-enterprise-api 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac990cf031d2475114a17d24207548face30f24c
4
- data.tar.gz: 99bc5e5acf3750aa28958a042859a055dc0f39cc
3
+ metadata.gz: daea0cd14c70b1ba2bbc525497d295fb550afbe5
4
+ data.tar.gz: 1ac8fb3d0f97b9f4a4919ebc89fb7a68ddb5b272
5
5
  SHA512:
6
- metadata.gz: a7540b2223e5a2f959f0b8470d98fb06deb5ce0e4e7e88480e87df45bb8785bd697afaef5dccb046b2125806bf251c71aa3386625ef0adaae41e982db2950e75
7
- data.tar.gz: fa8668ea286b9761edac0fb6934dbd1ee8fbd440df0e4e50a72b40a60bce5191d356c9e2bc7c787f70e76289671e903e6ecd5b5d396c44c6d124522daef01bc6
6
+ metadata.gz: 7a726373d6fda644393ce1f0ef0302fd0211447064a781eccbeab62ec362f1b8d1d083f835ddc6de70504518b971948dba7414018dbae954734e1b3163cf3834
7
+ data.tar.gz: b5ad0804e82e9cfcd8450f9dc7968321e8c2929e5074627141df053cd02980d7636d870ab42cb23033962ec9f2a8f8f3f04e2f57cd16d93be50e1e2bf7723163
@@ -24,6 +24,7 @@ json.cache! ['v1', @user.cache_key] do
24
24
  json.currency o.billing_currency
25
25
  json.current_user_role o.role
26
26
  json.has_myob_essentials_only o.has_myob_essentials_only?
27
+ json.financial_year_end_month o.financial_year_end_month
27
28
  end
28
29
  end
29
30
 
@@ -27,7 +27,8 @@ module MnoEnterprise
27
27
  'phone_country_code' => res.phone_country_code,
28
28
  'country_code' => res.geo_country_code || 'US',
29
29
  'website' => res.website,
30
- 'sso_session' => res.sso_session
30
+ 'sso_session' => res.sso_session,
31
+ 'admin_role' => res.admin_role
31
32
  }
32
33
 
33
34
  if res.id
@@ -39,7 +40,8 @@ module MnoEnterprise
39
40
  'name' => o.name,
40
41
  'currency' => 'AUD',
41
42
  'current_user_role' => o.role,
42
- 'has_myob_essentials_only' => o.has_myob_essentials_only?
43
+ 'has_myob_essentials_only' => o.has_myob_essentials_only?,
44
+ 'financial_year_end_month' => o.financial_year_end_month
43
45
  }
44
46
  end
45
47
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mno-enterprise-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-05 00:00:00.000000000 Z
12
+ date: 2016-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mno-enterprise-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 2.0.0
20
+ version: 2.0.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 2.0.0
27
+ version: 2.0.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: jbuilder
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -342,61 +342,61 @@ required_rubygems_version: !ruby/object:Gem::Requirement
342
342
  version: '0'
343
343
  requirements: []
344
344
  rubyforge_project:
345
- rubygems_version: 2.2.2
345
+ rubygems_version: 2.4.8
346
346
  signing_key:
347
347
  specification_version: 4
348
348
  summary: Maestrano Enterprise - API
349
349
  test_files:
350
- - spec/controllers/mno_enterprise/auth/confirmation_controller_spec.rb
350
+ - spec/routing/mno_enterprise/deletion_requests_controller_routing_spec.rb
351
+ - spec/routing/mno_enterprise/provision_controller_routing_spec.rb
352
+ - spec/routing/mno_enterprise/status_controller_routing_spec.rb
353
+ - spec/routing/mno_enterprise/impersonate_controller_routing.spec.rb
354
+ - spec/routing/mno_enterprise/webhook/o_auth_controller_routing_spec.rb
355
+ - spec/routing/mno_enterprise/pages_controller_routing_spec.rb
356
+ - spec/routing/mno_enterprise/org_invites_controller_routing_spec.rb
357
+ - spec/routing/mno_enterprise/jpi/v1/admin/organizations_controller_routing_spec.rb
358
+ - spec/routing/mno_enterprise/jpi/v1/admin/tenant_invoices_controller_routing_spec.rb
359
+ - spec/routing/mno_enterprise/jpi/v1/admin/audit_events_controller_routing_spec.rb
360
+ - spec/routing/mno_enterprise/jpi/v1/admin/invoices_controller_routing_spec.rb
361
+ - spec/routing/mno_enterprise/jpi/v1/admin/users_controller_routing_spec.rb
362
+ - spec/routing/mno_enterprise/jpi/v1/admin/cloud_apps_controller_routing_spec.rb
363
+ - spec/routing/mno_enterprise/jpi/v1/current_users_controller_routing_spec.rb
364
+ - spec/routing/mno_enterprise/jpi/v1/deletion_requests_controller_routing_spec.rb
365
+ - spec/routing/mno_enterprise/jpi/v1/organizations_controller_routing_spec.rb
366
+ - spec/routing/mno_enterprise/jpi/v1/app_instances_sync_controller_routing_spec.rb
367
+ - spec/routing/mno_enterprise/jpi/v1/app_instances_controller_routing_spec.rb
368
+ - spec/routing/mno_enterprise/jpi/v1/impac/kpis_controller_routing_spec.rb
369
+ - spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
370
+ - spec/routing/mno_enterprise/jpi/v1/teams_controller_routing_spec.rb
371
+ - spec/routing/devise/confirmation_routing_spec.rb
372
+ - spec/routing/devise/registrations_routing_spec.rb
373
+ - spec/routing/devise/sessions_routing_spec.rb
374
+ - spec/routing/devise/passwords_routing_spec.rb
375
+ - spec/spec_helper.rb
376
+ - spec/requests/devise/authentication_spec.rb
377
+ - spec/requests/devise/registration_spec.rb
378
+ - spec/mailer/mno_enterprise/system_notification_mailer_spec.rb
379
+ - spec/lib/mno_enterprise/event_logger_spec.rb
380
+ - spec/rails_helper.rb
381
+ - spec/controllers/mno_enterprise/pages_controller_spec.rb
351
382
  - spec/controllers/mno_enterprise/deletion_requests_controller_spec.rb
352
383
  - spec/controllers/mno_enterprise/impersonate_controller_spec.rb
384
+ - spec/controllers/mno_enterprise/provision_controller_spec.rb
385
+ - spec/controllers/mno_enterprise/org_invites_controller_spec.rb
386
+ - spec/controllers/mno_enterprise/webhook/o_auth_controller_spec.rb
387
+ - spec/controllers/mno_enterprise/auth/confirmation_controller_spec.rb
353
388
  - spec/controllers/mno_enterprise/jpi/v1/admin/audit_events_controller_spec.rb
354
389
  - spec/controllers/mno_enterprise/jpi/v1/admin/cloud_apps_controller_spec.rb
355
- - spec/controllers/mno_enterprise/jpi/v1/admin/invoices_controller_spec.rb
356
390
  - spec/controllers/mno_enterprise/jpi/v1/admin/organizations_controller_spec.rb
391
+ - spec/controllers/mno_enterprise/jpi/v1/admin/invoices_controller_spec.rb
357
392
  - spec/controllers/mno_enterprise/jpi/v1/admin/tenant_invoices_controller_spec.rb
358
393
  - spec/controllers/mno_enterprise/jpi/v1/admin/users_controller_spec.rb
359
- - spec/controllers/mno_enterprise/jpi/v1/app_instances_controller_spec.rb
360
- - spec/controllers/mno_enterprise/jpi/v1/app_instances_sync_controller_spec.rb
361
394
  - spec/controllers/mno_enterprise/jpi/v1/current_users_controller_spec.rb
362
395
  - spec/controllers/mno_enterprise/jpi/v1/deletion_requests_controller_spec.rb
363
- - spec/controllers/mno_enterprise/jpi/v1/impac/kpis_controller_spec.rb
364
- - spec/controllers/mno_enterprise/jpi/v1/marketplace_controller_spec.rb
365
396
  - spec/controllers/mno_enterprise/jpi/v1/organizations_controller_spec.rb
397
+ - spec/controllers/mno_enterprise/jpi/v1/app_instances_controller_spec.rb
398
+ - spec/controllers/mno_enterprise/jpi/v1/impac/kpis_controller_spec.rb
366
399
  - spec/controllers/mno_enterprise/jpi/v1/team_controller_spec.rb
367
- - spec/controllers/mno_enterprise/org_invites_controller_spec.rb
368
- - spec/controllers/mno_enterprise/pages_controller_spec.rb
369
- - spec/controllers/mno_enterprise/provision_controller_spec.rb
400
+ - spec/controllers/mno_enterprise/jpi/v1/app_instances_sync_controller_spec.rb
401
+ - spec/controllers/mno_enterprise/jpi/v1/marketplace_controller_spec.rb
370
402
  - spec/controllers/mno_enterprise/status_controller_spec.rb
371
- - spec/controllers/mno_enterprise/webhook/o_auth_controller_spec.rb
372
- - spec/lib/mno_enterprise/event_logger_spec.rb
373
- - spec/mailer/mno_enterprise/system_notification_mailer_spec.rb
374
- - spec/rails_helper.rb
375
- - spec/requests/devise/authentication_spec.rb
376
- - spec/requests/devise/registration_spec.rb
377
- - spec/routing/devise/confirmation_routing_spec.rb
378
- - spec/routing/devise/passwords_routing_spec.rb
379
- - spec/routing/devise/registrations_routing_spec.rb
380
- - spec/routing/devise/sessions_routing_spec.rb
381
- - spec/routing/mno_enterprise/deletion_requests_controller_routing_spec.rb
382
- - spec/routing/mno_enterprise/impersonate_controller_routing.spec.rb
383
- - spec/routing/mno_enterprise/jpi/v1/admin/audit_events_controller_routing_spec.rb
384
- - spec/routing/mno_enterprise/jpi/v1/admin/cloud_apps_controller_routing_spec.rb
385
- - spec/routing/mno_enterprise/jpi/v1/admin/invoices_controller_routing_spec.rb
386
- - spec/routing/mno_enterprise/jpi/v1/admin/organizations_controller_routing_spec.rb
387
- - spec/routing/mno_enterprise/jpi/v1/admin/tenant_invoices_controller_routing_spec.rb
388
- - spec/routing/mno_enterprise/jpi/v1/admin/users_controller_routing_spec.rb
389
- - spec/routing/mno_enterprise/jpi/v1/app_instances_controller_routing_spec.rb
390
- - spec/routing/mno_enterprise/jpi/v1/app_instances_sync_controller_routing_spec.rb
391
- - spec/routing/mno_enterprise/jpi/v1/current_users_controller_routing_spec.rb
392
- - spec/routing/mno_enterprise/jpi/v1/deletion_requests_controller_routing_spec.rb
393
- - spec/routing/mno_enterprise/jpi/v1/impac/kpis_controller_routing_spec.rb
394
- - spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
395
- - spec/routing/mno_enterprise/jpi/v1/organizations_controller_routing_spec.rb
396
- - spec/routing/mno_enterprise/jpi/v1/teams_controller_routing_spec.rb
397
- - spec/routing/mno_enterprise/org_invites_controller_routing_spec.rb
398
- - spec/routing/mno_enterprise/pages_controller_routing_spec.rb
399
- - spec/routing/mno_enterprise/provision_controller_routing_spec.rb
400
- - spec/routing/mno_enterprise/status_controller_routing_spec.rb
401
- - spec/routing/mno_enterprise/webhook/o_auth_controller_routing_spec.rb
402
- - spec/spec_helper.rb