talon_one 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +7 -4
  3. data/docs/Application.md +1 -1
  4. data/docs/Campaign.md +2 -0
  5. data/docs/InlineResponse20025.md +2 -1
  6. data/docs/IntegrationState.md +1 -0
  7. data/docs/ManagementApi.md +11 -1
  8. data/docs/NewApplication.md +1 -1
  9. data/docs/NewSamlConnection.md +15 -0
  10. data/docs/SamlConnection.md +19 -0
  11. data/docs/UpdateApplication.md +14 -0
  12. data/docs/User.md +1 -0
  13. data/lib/talon_one.rb +3 -0
  14. data/lib/talon_one/api/management_api.rb +15 -0
  15. data/lib/talon_one/models/application.rb +53 -53
  16. data/lib/talon_one/models/campaign.rb +21 -1
  17. data/lib/talon_one/models/inline_response_200_25.rb +10 -6
  18. data/lib/talon_one/models/integration_state.rb +13 -4
  19. data/lib/talon_one/models/limit_config.rb +2 -2
  20. data/lib/talon_one/models/new_application.rb +48 -56
  21. data/lib/talon_one/models/new_saml_connection.rb +356 -0
  22. data/lib/talon_one/models/saml_connection.rb +420 -0
  23. data/lib/talon_one/models/update_application.rb +352 -0
  24. data/lib/talon_one/models/user.rb +14 -4
  25. data/lib/talon_one/version.rb +1 -1
  26. data/spec/api/management_api_spec.rb +5 -0
  27. data/spec/models/application_spec.rb +6 -6
  28. data/spec/models/campaign_spec.rb +12 -0
  29. data/spec/models/inline_response_200_25_spec.rb +6 -0
  30. data/spec/models/integration_state_spec.rb +6 -0
  31. data/spec/models/limit_config_spec.rb +1 -1
  32. data/spec/models/new_application_spec.rb +6 -6
  33. data/spec/models/new_saml_connection_spec.rb +83 -0
  34. data/spec/models/saml_connection_spec.rb +107 -0
  35. data/spec/models/update_application_spec.rb +81 -0
  36. data/spec/models/user_spec.rb +6 -0
  37. data/talon_one-1.2.0.gem +0 -0
  38. metadata +28 -16
@@ -114,4 +114,10 @@ describe 'User' do
114
114
  end
115
115
  end
116
116
 
117
+ describe 'test attribute "auth_method"' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
117
123
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talon_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Talon.One GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2019-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 2.1.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 2.1.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '3.6'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 3.6.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.6'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.6'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 3.6.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.6'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: vcr
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -338,6 +338,7 @@ files:
338
338
  - docs/NewReferral.md
339
339
  - docs/NewRole.md
340
340
  - docs/NewRuleset.md
341
+ - docs/NewSamlConnection.md
341
342
  - docs/NewTemplateDef.md
342
343
  - docs/NewUser.md
343
344
  - docs/NewWebhook.md
@@ -350,11 +351,13 @@ files:
350
351
  - docs/RoleMembership.md
351
352
  - docs/Rule.md
352
353
  - docs/Ruleset.md
354
+ - docs/SamlConnection.md
353
355
  - docs/Session.md
354
356
  - docs/SlotDef.md
355
357
  - docs/TemplateArgDef.md
356
358
  - docs/TemplateDef.md
357
359
  - docs/UpdateAccount.md
360
+ - docs/UpdateApplication.md
358
361
  - docs/UpdateCampaign.md
359
362
  - docs/UpdateCoupon.md
360
363
  - docs/UpdateCouponBatch.md
@@ -505,6 +508,7 @@ files:
505
508
  - lib/talon_one/models/new_referral.rb
506
509
  - lib/talon_one/models/new_role.rb
507
510
  - lib/talon_one/models/new_ruleset.rb
511
+ - lib/talon_one/models/new_saml_connection.rb
508
512
  - lib/talon_one/models/new_template_def.rb
509
513
  - lib/talon_one/models/new_user.rb
510
514
  - lib/talon_one/models/new_webhook.rb
@@ -517,11 +521,13 @@ files:
517
521
  - lib/talon_one/models/role_membership.rb
518
522
  - lib/talon_one/models/rule.rb
519
523
  - lib/talon_one/models/ruleset.rb
524
+ - lib/talon_one/models/saml_connection.rb
520
525
  - lib/talon_one/models/session.rb
521
526
  - lib/talon_one/models/slot_def.rb
522
527
  - lib/talon_one/models/template_arg_def.rb
523
528
  - lib/talon_one/models/template_def.rb
524
529
  - lib/talon_one/models/update_account.rb
530
+ - lib/talon_one/models/update_application.rb
525
531
  - lib/talon_one/models/update_campaign.rb
526
532
  - lib/talon_one/models/update_coupon.rb
527
533
  - lib/talon_one/models/update_coupon_batch.rb
@@ -670,6 +676,7 @@ files:
670
676
  - spec/models/new_referral_spec.rb
671
677
  - spec/models/new_role_spec.rb
672
678
  - spec/models/new_ruleset_spec.rb
679
+ - spec/models/new_saml_connection_spec.rb
673
680
  - spec/models/new_template_def_spec.rb
674
681
  - spec/models/new_user_spec.rb
675
682
  - spec/models/new_webhook_spec.rb
@@ -682,11 +689,13 @@ files:
682
689
  - spec/models/role_spec.rb
683
690
  - spec/models/rule_spec.rb
684
691
  - spec/models/ruleset_spec.rb
692
+ - spec/models/saml_connection_spec.rb
685
693
  - spec/models/session_spec.rb
686
694
  - spec/models/slot_def_spec.rb
687
695
  - spec/models/template_arg_def_spec.rb
688
696
  - spec/models/template_def_spec.rb
689
697
  - spec/models/update_account_spec.rb
698
+ - spec/models/update_application_spec.rb
690
699
  - spec/models/update_campaign_spec.rb
691
700
  - spec/models/update_coupon_batch_spec.rb
692
701
  - spec/models/update_coupon_spec.rb
@@ -703,6 +712,7 @@ files:
703
712
  - talon_one-1.1.0.gem
704
713
  - talon_one-1.1.1.gem
705
714
  - talon_one-1.1.2.gem
715
+ - talon_one-1.2.0.gem
706
716
  - talon_one.gemspec
707
717
  homepage: https://github.com/talon-one/talon_one.rb/
708
718
  licenses:
@@ -723,8 +733,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
723
733
  - !ruby/object:Gem::Version
724
734
  version: '0'
725
735
  requirements: []
726
- rubyforge_project:
727
- rubygems_version: 2.5.2.3
736
+ rubygems_version: 3.0.3
728
737
  signing_key:
729
738
  specification_version: 4
730
739
  summary: Talon.One API Ruby Gem
@@ -733,6 +742,7 @@ test_files:
733
742
  - spec/api/management_api_spec.rb
734
743
  - spec/api_client_spec.rb
735
744
  - spec/configuration_spec.rb
745
+ - spec/models/saml_connection_spec.rb
736
746
  - spec/models/notification_spec.rb
737
747
  - spec/models/new_customer_profile_spec.rb
738
748
  - spec/models/inline_response_200_27_spec.rb
@@ -829,6 +839,7 @@ test_files:
829
839
  - spec/models/inline_response_200_16_spec.rb
830
840
  - spec/models/limit_config_spec.rb
831
841
  - spec/models/import_coupons_spec.rb
842
+ - spec/models/update_application_spec.rb
832
843
  - spec/models/slot_def_spec.rb
833
844
  - spec/models/new_ruleset_spec.rb
834
845
  - spec/models/coupon_spec.rb
@@ -868,6 +879,7 @@ test_files:
868
879
  - spec/models/new_customer_session_spec.rb
869
880
  - spec/models/update_user_spec.rb
870
881
  - spec/models/inline_response_200_23_spec.rb
882
+ - spec/models/new_saml_connection_spec.rb
871
883
  - spec/models/inline_response_200_15_spec.rb
872
884
  - spec/models/error_source_spec.rb
873
885
  - spec/models/role_membership_spec.rb