phrase 1.0.7 → 1.0.8

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
  SHA256:
3
- metadata.gz: 363818b3fafb57ee99cac2370eaad0ab61a2e1e287092aec2536b48037a7b724
4
- data.tar.gz: b856a73bc10eae5eb9f37aaff1cf4edb96d12d599e2230d3dc2a015e84259c94
3
+ metadata.gz: 786cd863ec921dca3b5e1cb94b076fd60d161c941b851dcda43e81be41d00c29
4
+ data.tar.gz: 7b190b38c23011e0587d7fe0096ebffc546e8760bf87977c4e69f65361fbbfad
5
5
  SHA512:
6
- metadata.gz: ee376ffad0648c64a9f4eec806331afbaf9a65eaaf1577a9fc5192b93abdfcf85fff077a299c942902b983b84b70b2f46102fb27dd1fd499009dc8585dcec1b9
7
- data.tar.gz: e9fd4bc297f45da44232563a52bc812771e58ee9fafcb0893f79ca80a9d7df0544025b4914e7b27e6413035612d2fa16a8f79eb3c2417ae2881968388129a0fd
6
+ metadata.gz: 842413258da9682e4c40f6d98cb5dc2de6c1f046bf00d27f9923686ad8a9316eb694f84d96e29764c995cbbbc19e10d868759c4372956fab35d5f8050a5872cc
7
+ data.tar.gz: 5190235afcfa191f12002945acb66646a9bbbb16b7965ebed8bc0e4201a8a3b17f80b041e56b2ee6b241594eb397d715e2d0e3b760ab1f7708305d175058f34b
data/README.md CHANGED
@@ -7,7 +7,7 @@ Phrase is a translation management platform for software projects. You can colla
7
7
  ## This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 1.0.7
10
+ - Package version: 1.0.8
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/)
13
13
 
@@ -56,10 +56,10 @@ gem build phrase.gemspec
56
56
  Then install the gem locally:
57
57
 
58
58
  ```shell
59
- gem install ./phrase-1.0.7.gem
59
+ gem install ./phrase-1.0.8.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./phrase-1.0.7.gem` to install the development dependencies)
62
+ (for development, run `gem install --dev ./phrase-1.0.8.gem` to install the development dependencies)
63
63
 
64
64
  ## Getting Started
65
65
 
@@ -131,6 +131,8 @@ module Phrase
131
131
  when ::File, ::Tempfile, ::Array, nil
132
132
  # let typhoeus handle File, Tempfile, Array and nil parameters
133
133
  data[key] = value
134
+ when ::Hash
135
+ data[key] = build_request_body(header_params, value, body)
134
136
  else
135
137
  data[key] = value.to_s
136
138
  end
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '1.0.7'
2
+ VERSION = '1.0.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phrase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2020-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -705,196 +705,196 @@ summary: You can collaborate on language file translation with your team or orde
705
705
  locale files, tag keys or interact in other ways with the localization data stored
706
706
  in Phrase for your account.
707
707
  test_files:
708
- - spec/api/teams_api_spec.rb
708
+ - spec/api/uploads_api_spec.rb
709
+ - spec/api/glossary_terms_api_spec.rb
710
+ - spec/api/accounts_api_spec.rb
711
+ - spec/api/tags_api_spec.rb
712
+ - spec/api/screenshot_markers_api_spec.rb
709
713
  - spec/api/glossary_term_translations_api_spec.rb
710
- - spec/api/members_api_spec.rb
711
- - spec/api/authorizations_api_spec.rb
712
- - spec/api/comments_api_spec.rb
713
714
  - spec/api/releases_api_spec.rb
714
- - spec/api/translations_api_spec.rb
715
+ - spec/api/orders_api_spec.rb
716
+ - spec/api/members_api_spec.rb
717
+ - spec/api/formats_api_spec.rb
718
+ - spec/api/spaces_api_spec.rb
715
719
  - spec/api/git_lab_sync_api_spec.rb
716
- - spec/api/screenshots_api_spec.rb
717
- - spec/api/style_guides_api_spec.rb
720
+ - spec/api/users_api_spec.rb
721
+ - spec/api/documents_api_spec.rb
718
722
  - spec/api/blacklisted_keys_api_spec.rb
719
- - spec/api/bitbucket_sync_api_spec.rb
723
+ - spec/api/webhooks_api_spec.rb
720
724
  - spec/api/glossaries_api_spec.rb
721
- - spec/api/glossary_terms_api_spec.rb
722
- - spec/api/jobs_api_spec.rb
723
- - spec/api/versions_history_api_spec.rb
724
- - spec/api/uploads_api_spec.rb
725
- - spec/api/distributions_api_spec.rb
726
725
  - spec/api/projects_api_spec.rb
727
- - spec/api/job_locales_api_spec.rb
728
- - spec/api/orders_api_spec.rb
729
- - spec/api/accounts_api_spec.rb
730
- - spec/api/webhooks_api_spec.rb
731
- - spec/api/invitations_api_spec.rb
732
- - spec/api/users_api_spec.rb
733
- - spec/api/branches_api_spec.rb
734
- - spec/api/locales_api_spec.rb
735
- - spec/api/documents_api_spec.rb
726
+ - spec/api/teams_api_spec.rb
727
+ - spec/api/screenshots_api_spec.rb
728
+ - spec/api/versions_history_api_spec.rb
729
+ - spec/api/jobs_api_spec.rb
736
730
  - spec/api/keys_api_spec.rb
737
- - spec/api/spaces_api_spec.rb
738
- - spec/api/screenshot_markers_api_spec.rb
731
+ - spec/api/authorizations_api_spec.rb
732
+ - spec/api/translations_api_spec.rb
733
+ - spec/api/bitbucket_sync_api_spec.rb
734
+ - spec/api/locales_api_spec.rb
735
+ - spec/api/comments_api_spec.rb
739
736
  - spec/api/git_hub_sync_api_spec.rb
740
- - spec/api/tags_api_spec.rb
741
- - spec/api/formats_api_spec.rb
737
+ - spec/api/invitations_api_spec.rb
738
+ - spec/api/job_locales_api_spec.rb
739
+ - spec/api/style_guides_api_spec.rb
740
+ - spec/api/distributions_api_spec.rb
741
+ - spec/api/branches_api_spec.rb
742
742
  - spec/api_client_spec.rb
743
743
  - spec/configuration_spec.rb
744
- - spec/models/job_keys_create_parameters_spec.rb
745
- - spec/models/styleguide_update_parameters_spec.rb
746
- - spec/models/translation_details_spec.rb
747
- - spec/models/locale_preview_spec.rb
748
- - spec/models/translations_exclude_parameters_spec.rb
749
- - spec/models/screenshot_marker_create_parameters_spec.rb
750
- - spec/models/job_locale_reopen_parameters_spec.rb
751
- - spec/models/translation_spec.rb
752
- - spec/models/gitlab_sync_export_spec.rb
753
- - spec/models/upload_spec.rb
754
- - spec/models/spaces_projects_create_parameters_spec.rb
755
- - spec/models/tag_with_stats_spec.rb
756
- - spec/models/release_spec.rb
757
- - spec/models/authorization_with_token1_spec.rb
758
- - spec/models/styleguide_details1_spec.rb
759
- - spec/models/styleguide_spec.rb
760
- - spec/models/bitbucket_sync_export_response_spec.rb
761
- - spec/models/webhook_update_parameters_spec.rb
762
- - spec/models/project_short_spec.rb
763
- - spec/models/job_locale_spec.rb
764
- - spec/models/order_create_parameters_spec.rb
765
- - spec/models/translation_details1_spec.rb
766
- - spec/models/job_start_parameters_spec.rb
767
- - spec/models/team_create_parameters_spec.rb
768
- - spec/models/authorization_update_parameters_spec.rb
769
- - spec/models/translation_verify_parameters_spec.rb
770
- - spec/models/tag_with_stats1_statistics_spec.rb
771
- - spec/models/translation_key_details_spec.rb
772
- - spec/models/team_spec.rb
773
- - spec/models/bitbucket_sync_import_parameters_spec.rb
774
744
  - spec/models/authorization_spec.rb
775
- - spec/models/github_sync_export_parameters_spec.rb
776
- - spec/models/affected_count_spec.rb
777
- - spec/models/key_create_parameters_spec.rb
778
- - spec/models/branch_create_parameters_spec.rb
779
- - spec/models/bitbucket_sync_spec.rb
780
- - spec/models/team_update_parameters_spec.rb
745
+ - spec/models/bitbucket_sync_import_parameters_spec.rb
746
+ - spec/models/project_locales1_spec.rb
781
747
  - spec/models/styleguide_create_parameters_spec.rb
782
- - spec/models/styleguide_preview_spec.rb
783
- - spec/models/member_update_parameters_spec.rb
784
- - spec/models/user_spec.rb
785
- - spec/models/translation_order_spec.rb
786
- - spec/models/authorization_create_parameters_spec.rb
787
- - spec/models/job_preview_spec.rb
788
- - spec/models/gitlab_sync_export_parameters_spec.rb
789
- - spec/models/gitlab_sync_spec.rb
790
- - spec/models/job_update_parameters_spec.rb
791
- - spec/models/teams_spaces_create_parameters_spec.rb
792
- - spec/models/locale_update_parameters_spec.rb
793
- - spec/models/comment_create_parameters_spec.rb
794
- - spec/models/job_spec.rb
795
- - spec/models/translations_search_parameters_spec.rb
796
- - spec/models/translation_key_details1_spec.rb
797
- - spec/models/teams_projects_create_parameters_spec.rb
798
- - spec/models/branch_update_parameters_spec.rb
799
- - spec/models/screenshot_create_parameters_spec.rb
800
- - spec/models/order_confirm_parameters_spec.rb
801
- - spec/models/job_locale_complete_parameters_spec.rb
748
+ - spec/models/translation_version_with_user1_spec.rb
749
+ - spec/models/glossary_term_translation_update_parameters_spec.rb
750
+ - spec/models/translation_review_parameters_spec.rb
751
+ - spec/models/branch_spec.rb
752
+ - spec/models/distribution_update_parameters_spec.rb
753
+ - spec/models/distribution_create_parameters_spec.rb
754
+ - spec/models/member_spec.rb
802
755
  - spec/models/gitlab_sync_history_spec.rb
803
- - spec/models/screenshot_marker_spec.rb
804
- - spec/models/locale_statistics_spec.rb
805
- - spec/models/styleguide_details_spec.rb
806
- - spec/models/release_create_parameters_spec.rb
807
- - spec/models/job_locale_update_parameters_spec.rb
808
- - spec/models/blacklisted_key_update_parameters_spec.rb
809
- - spec/models/distribution_spec.rb
810
- - spec/models/comment_update_parameters_spec.rb
811
756
  - spec/models/translation_version_spec.rb
812
- - spec/models/project_update_parameters_spec.rb
813
- - spec/models/screenshot_marker_update_parameters_spec.rb
814
- - spec/models/key_preview_spec.rb
815
- - spec/models/glossary_term_translation_create_parameters_spec.rb
816
- - spec/models/job_reopen_parameters_spec.rb
757
+ - spec/models/tag_spec.rb
758
+ - spec/models/team_update_parameters_spec.rb
759
+ - spec/models/release_create_parameters_spec.rb
760
+ - spec/models/gitlab_sync_spec.rb
761
+ - spec/models/github_sync_export_parameters_spec.rb
817
762
  - spec/models/user_preview_spec.rb
818
- - spec/models/translation_create_parameters_spec.rb
819
- - spec/models/authorization_with_token_spec.rb
820
- - spec/models/comment_spec.rb
763
+ - spec/models/job_locale_spec.rb
764
+ - spec/models/locale_create_parameters_spec.rb
821
765
  - spec/models/glossary_term_translation_spec.rb
766
+ - spec/models/glossary_term_update_parameters_spec.rb
767
+ - spec/models/user_spec.rb
768
+ - spec/models/comment_mark_read_parameters_spec.rb
769
+ - spec/models/bitbucket_sync_export_parameters_spec.rb
770
+ - spec/models/job_create_parameters_spec.rb
771
+ - spec/models/keys_search_parameters_spec.rb
772
+ - spec/models/authorization_create_parameters_spec.rb
773
+ - spec/models/translation_key_details_spec.rb
774
+ - spec/models/translations_verify_parameters_spec.rb
775
+ - spec/models/blacklisted_key_create_parameters_spec.rb
776
+ - spec/models/release_update_parameters_spec.rb
777
+ - spec/models/key_preview_spec.rb
778
+ - spec/models/distribution_preview_spec.rb
779
+ - spec/models/job_reopen_parameters_spec.rb
780
+ - spec/models/authorization_update_parameters_spec.rb
781
+ - spec/models/screenshot_marker_spec.rb
782
+ - spec/models/job_locale_update_parameters_spec.rb
822
783
  - spec/models/branch_merge_parameters_spec.rb
823
- - spec/models/blacklisted_key_spec.rb
784
+ - spec/models/styleguide_update_parameters_spec.rb
824
785
  - spec/models/screenshot_update_parameters_spec.rb
825
- - spec/models/distribution_create_parameters_spec.rb
826
- - spec/models/account_details_spec.rb
827
- - spec/models/release_preview_spec.rb
828
- - spec/models/format_spec.rb
829
- - spec/models/translations_unverify_parameters_spec.rb
830
- - spec/models/team_detail_spec.rb
831
- - spec/models/translation_review_parameters_spec.rb
832
- - spec/models/translations_verify_parameters_spec.rb
833
- - spec/models/project_spec.rb
786
+ - spec/models/translation_exclude_parameters_spec.rb
834
787
  - spec/models/translations_review_parameters_spec.rb
835
- - spec/models/member_spec.rb
836
- - spec/models/inline_response422_spec.rb
788
+ - spec/models/comment_spec.rb
789
+ - spec/models/keys_tag_parameters_spec.rb
790
+ - spec/models/screenshot_create_parameters_spec.rb
791
+ - spec/models/job_locales_create_parameters_spec.rb
837
792
  - spec/models/github_sync_import_parameters_spec.rb
838
- - spec/models/keys_untag_parameters_spec.rb
839
- - spec/models/project_locales_spec.rb
840
- - spec/models/upload_summary_spec.rb
841
- - spec/models/locale_spec.rb
842
- - spec/models/project_locales1_spec.rb
793
+ - spec/models/job_locale_complete_parameters_spec.rb
794
+ - spec/models/release_spec.rb
795
+ - spec/models/screenshot_spec.rb
796
+ - spec/models/translation_key_details1_spec.rb
797
+ - spec/models/account_details_spec.rb
798
+ - spec/models/invitation_update_parameters_spec.rb
799
+ - spec/models/glossary_create_parameters_spec.rb
800
+ - spec/models/styleguide_details1_spec.rb
801
+ - spec/models/document_spec.rb
802
+ - spec/models/glossary_update_parameters_spec.rb
803
+ - spec/models/glossary_spec.rb
804
+ - spec/models/translations_search_parameters_spec.rb
805
+ - spec/models/translation_details1_spec.rb
843
806
  - spec/models/project_details1_spec.rb
844
- - spec/models/blacklisted_key_create_parameters_spec.rb
807
+ - spec/models/bitbucket_sync_spec.rb
808
+ - spec/models/order_create_parameters_spec.rb
809
+ - spec/models/locale_details_spec.rb
810
+ - spec/models/styleguide_preview_spec.rb
811
+ - spec/models/tag_with_stats1_spec.rb
812
+ - spec/models/project_short_spec.rb
813
+ - spec/models/styleguide_details_spec.rb
814
+ - spec/models/upload_summary_spec.rb
815
+ - spec/models/locale_update_parameters_spec.rb
816
+ - spec/models/authorization_with_token1_spec.rb
817
+ - spec/models/bitbucket_sync_export_response_spec.rb
845
818
  - spec/models/translation_include_parameters_spec.rb
846
- - spec/models/translation_version_with_user_spec.rb
847
- - spec/models/translation_key_spec.rb
848
- - spec/models/affected_resources_spec.rb
849
- - spec/models/project_details_spec.rb
850
- - spec/models/bitbucket_sync_export_parameters_spec.rb
851
- - spec/models/account_spec.rb
852
- - spec/models/invitation_spec.rb
819
+ - spec/models/upload_create_parameters_spec.rb
820
+ - spec/models/gitlab_sync_export_parameters_spec.rb
821
+ - spec/models/webhook_create_parameters_spec.rb
822
+ - spec/models/blacklisted_key_update_parameters_spec.rb
853
823
  - spec/models/translations_include_parameters_spec.rb
854
- - spec/models/locale_create_parameters_spec.rb
855
- - spec/models/glossary_term_update_parameters_spec.rb
856
- - spec/models/locale_details_spec.rb
824
+ - spec/models/comment_update_parameters_spec.rb
825
+ - spec/models/translations_unverify_parameters_spec.rb
826
+ - spec/models/locale_statistics_spec.rb
827
+ - spec/models/invitation_create_parameters_spec.rb
828
+ - spec/models/account_spec.rb
829
+ - spec/models/key_update_parameters_spec.rb
830
+ - spec/models/keys_untag_parameters_spec.rb
831
+ - spec/models/job_details1_spec.rb
857
832
  - spec/models/tag_with_stats1_statistics1_spec.rb
858
- - spec/models/space_update_parameters_spec.rb
859
- - spec/models/glossary_create_parameters_spec.rb
860
- - spec/models/tag_spec.rb
861
833
  - spec/models/account_details1_spec.rb
862
- - spec/models/glossary_spec.rb
863
- - spec/models/job_details_spec.rb
834
+ - spec/models/inline_response422_errors_spec.rb
835
+ - spec/models/team_create_parameters_spec.rb
836
+ - spec/models/authorization_with_token_spec.rb
837
+ - spec/models/styleguide_spec.rb
838
+ - spec/models/blacklisted_key_spec.rb
839
+ - spec/models/locale_spec.rb
840
+ - spec/models/glossary_term_translation_create_parameters_spec.rb
841
+ - spec/models/job_locale_reopen_parameters_spec.rb
842
+ - spec/models/team_detail_spec.rb
843
+ - spec/models/webhook_update_parameters_spec.rb
844
+ - spec/models/branch_create_parameters_spec.rb
845
+ - spec/models/upload_spec.rb
846
+ - spec/models/format_spec.rb
847
+ - spec/models/project_locales_spec.rb
848
+ - spec/models/translation_order_spec.rb
849
+ - spec/models/screenshot_marker_create_parameters_spec.rb
850
+ - spec/models/translations_exclude_parameters_spec.rb
851
+ - spec/models/teams_users_create_parameters_spec.rb
852
+ - spec/models/translation_create_parameters_spec.rb
853
+ - spec/models/translation_version_with_user_spec.rb
854
+ - spec/models/distribution_spec.rb
855
+ - spec/models/locale_preview_spec.rb
856
+ - spec/models/job_start_parameters_spec.rb
864
857
  - spec/models/gitlab_sync_import_parameters_spec.rb
865
- - spec/models/job_details1_spec.rb
866
- - spec/models/space_create_parameters_spec.rb
867
- - spec/models/document_spec.rb
868
- - spec/models/glossary_term_translation_update_parameters_spec.rb
869
- - spec/models/distribution_update_parameters_spec.rb
870
- - spec/models/tag_create_parameters_spec.rb
858
+ - spec/models/translation_key_spec.rb
859
+ - spec/models/affected_count_spec.rb
860
+ - spec/models/teams_spaces_create_parameters_spec.rb
861
+ - spec/models/space_update_parameters_spec.rb
871
862
  - spec/models/translation_unverify_parameters_spec.rb
872
- - spec/models/job_complete_parameters_spec.rb
873
- - spec/models/translation_exclude_parameters_spec.rb
874
- - spec/models/invitation_update_parameters_spec.rb
863
+ - spec/models/team_spec.rb
864
+ - spec/models/branch_update_parameters_spec.rb
865
+ - spec/models/teams_projects_create_parameters_spec.rb
875
866
  - spec/models/space_spec.rb
867
+ - spec/models/job_preview_spec.rb
868
+ - spec/models/translation_verify_parameters_spec.rb
876
869
  - spec/models/glossary_term_spec.rb
877
- - spec/models/screenshot_spec.rb
878
- - spec/models/locale_details1_spec.rb
879
- - spec/models/distribution_preview_spec.rb
880
- - spec/models/job_create_parameters_spec.rb
881
- - spec/models/release_update_parameters_spec.rb
882
- - spec/models/keys_tag_parameters_spec.rb
883
- - spec/models/keys_search_parameters_spec.rb
884
- - spec/models/project_create_parameters_spec.rb
885
- - spec/models/webhook_spec.rb
886
- - spec/models/branch_spec.rb
887
- - spec/models/comment_mark_read_parameters_spec.rb
888
- - spec/models/glossary_update_parameters_spec.rb
889
- - spec/models/invitation_create_parameters_spec.rb
890
- - spec/models/upload_create_parameters_spec.rb
891
- - spec/models/key_update_parameters_spec.rb
892
- - spec/models/teams_users_create_parameters_spec.rb
893
- - spec/models/webhook_create_parameters_spec.rb
894
870
  - spec/models/glossary_term_create_parameters_spec.rb
895
- - spec/models/inline_response422_errors_spec.rb
896
- - spec/models/tag_with_stats1_spec.rb
897
- - spec/models/translation_version_with_user1_spec.rb
871
+ - spec/models/project_details_spec.rb
872
+ - spec/models/affected_resources_spec.rb
873
+ - spec/models/release_preview_spec.rb
874
+ - spec/models/job_keys_create_parameters_spec.rb
875
+ - spec/models/job_spec.rb
876
+ - spec/models/translation_spec.rb
877
+ - spec/models/project_create_parameters_spec.rb
878
+ - spec/models/tag_with_stats1_statistics_spec.rb
879
+ - spec/models/project_spec.rb
880
+ - spec/models/order_confirm_parameters_spec.rb
881
+ - spec/models/inline_response422_spec.rb
882
+ - spec/models/job_update_parameters_spec.rb
883
+ - spec/models/gitlab_sync_export_spec.rb
884
+ - spec/models/space_create_parameters_spec.rb
885
+ - spec/models/locale_details1_spec.rb
886
+ - spec/models/job_details_spec.rb
887
+ - spec/models/job_complete_parameters_spec.rb
898
888
  - spec/models/translation_update_parameters_spec.rb
899
- - spec/models/job_locales_create_parameters_spec.rb
889
+ - spec/models/spaces_projects_create_parameters_spec.rb
890
+ - spec/models/project_update_parameters_spec.rb
891
+ - spec/models/member_update_parameters_spec.rb
892
+ - spec/models/translation_details_spec.rb
893
+ - spec/models/comment_create_parameters_spec.rb
894
+ - spec/models/tag_with_stats_spec.rb
895
+ - spec/models/key_create_parameters_spec.rb
896
+ - spec/models/invitation_spec.rb
897
+ - spec/models/tag_create_parameters_spec.rb
898
+ - spec/models/webhook_spec.rb
899
+ - spec/models/screenshot_marker_update_parameters_spec.rb
900
900
  - spec/spec_helper.rb