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 +4 -4
- data/README.md +3 -3
- data/docs/JobLocale.md +3 -1
- data/lib/phrase/models/job_locale.rb +13 -4
- data/lib/phrase/version.rb +1 -1
- data/spec/models/job_locale_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34d17e134d85444a1c4c57c16e0b44d58a54ab1d5d9a1f4c53a62ab3f478e0b9
|
4
|
+
data.tar.gz: ef367eab838d233b6f1f8b1b34aec6de7efe75342ba5dff49e799c15b2606e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
59
|
+
gem install ./phrase-1.0.10.gem
|
60
60
|
```
|
61
61
|
|
62
|
-
(for development, run `gem install --dev ./phrase-1.0.
|
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
|
|
data/docs/JobLocale.md
CHANGED
@@ -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
|
data/lib/phrase/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|