phrase 1.0.9 → 1.0.10

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: 45f843197c2f2f61eef52c3671197f5130a8959a012ac56b5378ee33967ba867
4
- data.tar.gz: 7ae163d2f7a2c509354c36b0b38172850e95cda6c36b679196e3cf27a150111e
3
+ metadata.gz: 34d17e134d85444a1c4c57c16e0b44d58a54ab1d5d9a1f4c53a62ab3f478e0b9
4
+ data.tar.gz: ef367eab838d233b6f1f8b1b34aec6de7efe75342ba5dff49e799c15b2606e76
5
5
  SHA512:
6
- metadata.gz: 0d8b5c3e052cdcce736e4388bfe6f06a773e5bb1b61d414ab2ede45ed7f148e39afda8d3efc924b9014ef05186a9f3a3d5d87f9cf4200c73c2ae81df921d164e
7
- data.tar.gz: b7239c6357c00f56335cf89b34c33e31e895d64eeada546df237371306a74a6dc86d9a122a37ce86323b13db40b7172327ee4f677dbb6507fc645b07a9e20840
6
+ metadata.gz: fc51d8227c5437d79aa15aedd2c14fcfcab5ef0ab139c02c71a34b7fca71bfa0b1ff9ba4be468cbb84ea9c0694ae90d4647cf88d38d89a12aabaedb341cef4b5
7
+ data.tar.gz: e9d3cc8c4acf1153641e7f7e8ee0e381d1f02772506f606b81bf04be50247fba4f9f7256c1cf6574d3e6f6adda547c14f006dee10e3f7192dfcc483a8ff3c30a
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.9
10
+ - Package version: 1.0.10
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.9.gem
59
+ gem install ./phrase-1.0.10.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./phrase-1.0.9.gem` to install the development dependencies)
62
+ (for development, run `gem install --dev ./phrase-1.0.10.gem` to install the development dependencies)
63
63
 
64
64
  ## Getting Started
65
65
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **job** | [**JobPreview**](JobPreview.md) | | [optional]
9
9
  **locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
10
10
  **users** | [**Array<UserPreview>**](UserPreview.md) | | [optional]
11
+ **completed** | **Boolean** | | [optional]
11
12
 
12
13
  ## Code Sample
13
14
 
@@ -17,7 +18,8 @@ require 'Phrase'
17
18
  instance = Phrase::JobLocale.new(id: null,
18
19
  job: null,
19
20
  locale: null,
20
- users: null)
21
+ users: null,
22
+ completed: null)
21
23
  ```
22
24
 
23
25
 
@@ -10,13 +10,16 @@ module Phrase
10
10
 
11
11
  attr_accessor :users
12
12
 
13
+ attr_accessor :completed
14
+
13
15
  # Attribute mapping from ruby-style variable name to JSON key.
14
16
  def self.attribute_map
15
17
  {
16
18
  :'id' => :'id',
17
19
  :'job' => :'job',
18
20
  :'locale' => :'locale',
19
- :'users' => :'users'
21
+ :'users' => :'users',
22
+ :'completed' => :'completed'
20
23
  }
21
24
  end
22
25
 
@@ -26,7 +29,8 @@ module Phrase
26
29
  :'id' => :'String',
27
30
  :'job' => :'JobPreview',
28
31
  :'locale' => :'LocalePreview',
29
- :'users' => :'Array<UserPreview>'
32
+ :'users' => :'Array<UserPreview>',
33
+ :'completed' => :'Boolean'
30
34
  }
31
35
  end
32
36
 
@@ -68,6 +72,10 @@ module Phrase
68
72
  self.users = value
69
73
  end
70
74
  end
75
+
76
+ if attributes.key?(:'completed')
77
+ self.completed = attributes[:'completed']
78
+ end
71
79
  end
72
80
 
73
81
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -91,7 +99,8 @@ module Phrase
91
99
  id == o.id &&
92
100
  job == o.job &&
93
101
  locale == o.locale &&
94
- users == o.users
102
+ users == o.users &&
103
+ completed == o.completed
95
104
  end
96
105
 
97
106
  # @see the `==` method
@@ -103,7 +112,7 @@ module Phrase
103
112
  # Calculates hash code according to all attributes.
104
113
  # @return [Integer] Hash code
105
114
  def hash
106
- [id, job, locale, users].hash
115
+ [id, job, locale, users, completed].hash
107
116
  end
108
117
 
109
118
  # Builds the object from hash
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '1.0.9'
2
+ VERSION = '1.0.10'
3
3
  end
@@ -44,4 +44,10 @@ describe 'JobLocale' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "completed"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phrase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-03 00:00:00.000000000 Z
11
+ date: 2020-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus