samanage 2.1.19 → 2.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +224 -0
- data/Gemfile +12 -7
- data/Gemfile.lock +43 -24
- data/Guardfile +5 -3
- data/changelog.md +92 -19
- data/lib/samanage.rb +33 -30
- data/lib/samanage/api.rb +67 -74
- data/lib/samanage/api/attachments.rb +12 -12
- data/lib/samanage/api/category.rb +9 -7
- data/lib/samanage/api/changes.rb +17 -16
- data/lib/samanage/api/comments.rb +6 -7
- data/lib/samanage/api/contracts.rb +17 -17
- data/lib/samanage/api/custom_fields.rb +6 -6
- data/lib/samanage/api/custom_forms.rb +13 -10
- data/lib/samanage/api/departments.rb +9 -9
- data/lib/samanage/api/groups.rb +21 -20
- data/lib/samanage/api/hardwares.rb +14 -14
- data/lib/samanage/api/incidents.rb +7 -8
- data/lib/samanage/api/mobiles.rb +14 -15
- data/lib/samanage/api/other_assets.rb +14 -14
- data/lib/samanage/api/problems.rb +17 -17
- data/lib/samanage/api/purchase_orders.rb +17 -17
- data/lib/samanage/api/releases.rb +14 -14
- data/lib/samanage/api/requester.rb +4 -2
- data/lib/samanage/api/sites.rb +10 -9
- data/lib/samanage/api/solutions.rb +15 -14
- data/lib/samanage/api/tasks.rb +39 -0
- data/lib/samanage/api/time_tracks.rb +8 -6
- data/lib/samanage/api/users.rb +32 -30
- data/lib/samanage/api/utils.rb +11 -9
- data/lib/samanage/api/vendors.rb +14 -13
- data/lib/samanage/error.rb +5 -4
- data/lib/samanage/language.rb +48 -46
- data/lib/samanage/url_builder.rb +27 -25
- data/lib/samanage/utils.rb +10 -8
- data/lib/samanage/version.rb +1 -1
- data/samanage.gemspec +11 -9
- data/spec/api/samanage_attachment_spec.rb +20 -19
- data/spec/api/samanage_category_spec.rb +12 -10
- data/spec/api/samanage_change_spec.rb +47 -44
- data/spec/api/samanage_comments_spec.rb +12 -10
- data/spec/api/samanage_contract_spec.rb +41 -35
- data/spec/api/samanage_custom_field_spec.rb +7 -5
- data/spec/api/samanage_custom_form_spec.rb +11 -9
- data/spec/api/samanage_department_spec.rb +20 -15
- data/spec/api/samanage_group_spec.rb +30 -28
- data/spec/api/samanage_hardware_spec.rb +44 -38
- data/spec/api/samanage_incident_spec.rb +79 -61
- data/spec/api/samanage_mobile_spec.rb +39 -34
- data/spec/api/samanage_other_asset_spec.rb +50 -44
- data/spec/api/samanage_problem_spec.rb +53 -46
- data/spec/api/samanage_purchase_order_spec.rb +43 -40
- data/spec/api/samanage_release_spec.rb +44 -40
- data/spec/api/samanage_site_spec.rb +18 -16
- data/spec/api/samanage_solution_spec.rb +16 -14
- data/spec/api/samanage_task_spec.rb +68 -0
- data/spec/api/samanage_time_tracks_spec.rb +41 -27
- data/spec/api/samanage_user_spec.rb +51 -46
- data/spec/api/samanage_util_spec.rb +13 -11
- data/spec/api/samanage_vendors_spec.rb +18 -16
- data/spec/samanage_api_spec.rb +27 -23
- data/spec/samanage_category_spec.rb +10 -8
- data/spec/samanage_language_spec.rb +12 -10
- data/spec/samanage_url_builder_spec.rb +11 -9
- data/spec/spec_helper.rb +6 -4
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2123d5a06d5316e8f8c68eeddc675da008aaaaad062208796f8f89bc142ce51e
|
4
|
+
data.tar.gz: d8e19971dbadfdfe6b102fb40931786a30506f70090db7a56e2ada9babe539d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8444a5784699c2b93ee52ac126c4221d4c6cc55bdc5053c2c930a91c6b0474a046b04b28e2dd68bf419ad1453d5a42c838724ff5a0406cc08e2ce88d75214b6e
|
7
|
+
data.tar.gz: f3e85b2df019e7776b286a58c0dff2631d125c1b0dca583ddae4e95f3736044d8069defa862642f9fa600422854da560deceafc075c880a984dc3fb5238e96a2
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,224 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
AllCops:
|
4
|
+
TargetRubyVersion: 2.5
|
5
|
+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
6
|
+
# to ignore them, so only the ones explicitly set in this file are enabled.
|
7
|
+
DisabledByDefault: true
|
8
|
+
|
9
|
+
Metrics/LineLength:
|
10
|
+
Max: 120 # Try to reduce this over time
|
11
|
+
|
12
|
+
# Prefer &&/|| over and/or.
|
13
|
+
Style/AndOr:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
# Do not use braces for hash literals when they are the last argument of a
|
17
|
+
# method call.
|
18
|
+
Style/BracesAroundHashParameters:
|
19
|
+
Enabled: true
|
20
|
+
EnforcedStyle: context_dependent
|
21
|
+
|
22
|
+
# Align `when` with `case`.
|
23
|
+
Layout/CaseIndentation:
|
24
|
+
Enabled: true
|
25
|
+
|
26
|
+
# Align comments with method definitions.
|
27
|
+
Layout/CommentIndentation:
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
Layout/ElseAlignment:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
# Align `end` with the matching keyword or starting expression except for
|
34
|
+
# assignments, where it should be aligned with the LHS.
|
35
|
+
Layout/EndAlignment:
|
36
|
+
Enabled: true
|
37
|
+
EnforcedStyleAlignWith: variable
|
38
|
+
AutoCorrect: true
|
39
|
+
|
40
|
+
Layout/EmptyLineAfterMagicComment:
|
41
|
+
Enabled: true
|
42
|
+
|
43
|
+
Layout/EmptyLinesAroundAccessModifier:
|
44
|
+
Enabled: true
|
45
|
+
EnforcedStyle: only_before
|
46
|
+
|
47
|
+
Layout/EmptyLinesAroundBlockBody:
|
48
|
+
Enabled: true
|
49
|
+
|
50
|
+
# In a regular class definition, no empty lines around the body.
|
51
|
+
Layout/EmptyLinesAroundClassBody:
|
52
|
+
Enabled: true
|
53
|
+
|
54
|
+
# In a regular method definition, no empty lines around the body.
|
55
|
+
Layout/EmptyLinesAroundMethodBody:
|
56
|
+
Enabled: true
|
57
|
+
|
58
|
+
# In a regular module definition, no empty lines around the body.
|
59
|
+
Layout/EmptyLinesAroundModuleBody:
|
60
|
+
Enabled: true
|
61
|
+
|
62
|
+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
63
|
+
Style/HashSyntax:
|
64
|
+
Enabled: true
|
65
|
+
|
66
|
+
Layout/IndentFirstArgument:
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
# Method definitions after `private` or `protected` isolated calls need one
|
70
|
+
# extra level of indentation.
|
71
|
+
Layout/IndentationConsistency:
|
72
|
+
Enabled: true
|
73
|
+
EnforcedStyle: indented_internal_methods
|
74
|
+
|
75
|
+
# Two spaces, no tabs (for indentation).
|
76
|
+
Layout/IndentationWidth:
|
77
|
+
Enabled: true
|
78
|
+
|
79
|
+
Layout/LeadingCommentSpace:
|
80
|
+
Enabled: true
|
81
|
+
|
82
|
+
Layout/SpaceAfterColon:
|
83
|
+
Enabled: true
|
84
|
+
|
85
|
+
Layout/SpaceAfterComma:
|
86
|
+
Enabled: true
|
87
|
+
|
88
|
+
Layout/SpaceAfterSemicolon:
|
89
|
+
Enabled: true
|
90
|
+
|
91
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
92
|
+
Enabled: true
|
93
|
+
|
94
|
+
Layout/SpaceAroundKeyword:
|
95
|
+
Enabled: true
|
96
|
+
|
97
|
+
Layout/SpaceAroundOperators:
|
98
|
+
Enabled: true
|
99
|
+
|
100
|
+
Layout/SpaceBeforeComma:
|
101
|
+
Enabled: true
|
102
|
+
|
103
|
+
Layout/SpaceBeforeComment:
|
104
|
+
Enabled: true
|
105
|
+
|
106
|
+
Layout/SpaceBeforeFirstArg:
|
107
|
+
Enabled: true
|
108
|
+
|
109
|
+
Style/DefWithParentheses:
|
110
|
+
Enabled: true
|
111
|
+
|
112
|
+
# Defining a method with parameters needs parentheses.
|
113
|
+
Style/MethodDefParentheses:
|
114
|
+
Enabled: true
|
115
|
+
|
116
|
+
Style/FrozenStringLiteralComment:
|
117
|
+
Enabled: true
|
118
|
+
EnforcedStyle: always
|
119
|
+
|
120
|
+
Style/RedundantFreeze:
|
121
|
+
Enabled: true
|
122
|
+
|
123
|
+
# Use `foo {}` not `foo{}`.
|
124
|
+
Layout/SpaceBeforeBlockBraces:
|
125
|
+
Enabled: true
|
126
|
+
|
127
|
+
# Use `foo { bar }` not `foo {bar}`.
|
128
|
+
Layout/SpaceInsideBlockBraces:
|
129
|
+
Enabled: true
|
130
|
+
EnforcedStyleForEmptyBraces: space
|
131
|
+
|
132
|
+
# Use `{ a: 1 }` not `{a:1}`.
|
133
|
+
Layout/SpaceInsideHashLiteralBraces:
|
134
|
+
Enabled: true
|
135
|
+
|
136
|
+
Layout/SpaceInsideParens:
|
137
|
+
Enabled: true
|
138
|
+
|
139
|
+
# Check quotes usage according to lint rule below.
|
140
|
+
Style/StringLiterals:
|
141
|
+
Enabled: true
|
142
|
+
EnforcedStyle: double_quotes
|
143
|
+
|
144
|
+
# Detect hard tabs, no hard tabs.
|
145
|
+
Layout/Tab:
|
146
|
+
Enabled: true
|
147
|
+
|
148
|
+
# Blank lines should not have any spaces.
|
149
|
+
Layout/TrailingBlankLines:
|
150
|
+
Enabled: true
|
151
|
+
|
152
|
+
# No trailing whitespace.
|
153
|
+
Layout/TrailingWhitespace:
|
154
|
+
Enabled: true
|
155
|
+
|
156
|
+
# Use quotes for string literals when they are enough.
|
157
|
+
Style/UnneededPercentQ:
|
158
|
+
Enabled: true
|
159
|
+
|
160
|
+
Lint/AmbiguousOperator:
|
161
|
+
Enabled: true
|
162
|
+
|
163
|
+
Lint/AmbiguousRegexpLiteral:
|
164
|
+
Enabled: true
|
165
|
+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
166
|
+
Lint/RequireParentheses:
|
167
|
+
Enabled: true
|
168
|
+
|
169
|
+
Lint/ShadowingOuterLocalVariable:
|
170
|
+
Enabled: true
|
171
|
+
|
172
|
+
Lint/StringConversionInInterpolation:
|
173
|
+
Enabled: true
|
174
|
+
|
175
|
+
Lint/UriEscapeUnescape:
|
176
|
+
Enabled: true
|
177
|
+
|
178
|
+
Lint/UselessAssignment:
|
179
|
+
Enabled: true
|
180
|
+
|
181
|
+
Lint/DeprecatedClassMethods:
|
182
|
+
Enabled: true
|
183
|
+
|
184
|
+
Style/ParenthesesAroundCondition:
|
185
|
+
Enabled: true
|
186
|
+
|
187
|
+
Style/RedundantBegin:
|
188
|
+
Enabled: true
|
189
|
+
|
190
|
+
Style/RedundantReturn:
|
191
|
+
Enabled: true
|
192
|
+
AllowMultipleReturnValues: true
|
193
|
+
|
194
|
+
Style/Semicolon:
|
195
|
+
Enabled: true
|
196
|
+
AllowAsExpressionSeparator: true
|
197
|
+
|
198
|
+
# Prefer Foo.method over Foo::method
|
199
|
+
Style/ColonMethodCall:
|
200
|
+
Enabled: true
|
201
|
+
|
202
|
+
Style/TrivialAccessors:
|
203
|
+
Enabled: true
|
204
|
+
|
205
|
+
Performance/FlatMap:
|
206
|
+
Enabled: true
|
207
|
+
|
208
|
+
Performance/RedundantMerge:
|
209
|
+
Enabled: true
|
210
|
+
|
211
|
+
Performance/StartWith:
|
212
|
+
Enabled: true
|
213
|
+
|
214
|
+
Performance/EndWith:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
Performance/RegexpMatch:
|
218
|
+
Enabled: true
|
219
|
+
|
220
|
+
Performance/ReverseEach:
|
221
|
+
Enabled: true
|
222
|
+
|
223
|
+
Performance/UnfreezeString:
|
224
|
+
Enabled: true
|
data/Gemfile
CHANGED
@@ -1,14 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source "https://rubygems.org"
|
2
4
|
|
3
|
-
gem
|
5
|
+
gem "rspec"
|
6
|
+
gem "httparty", "0.16.4"
|
7
|
+
gem "ffi", "1.9.24"
|
4
8
|
|
5
|
-
gem 'httparty', '0.16.4'
|
6
|
-
gem 'ffi', '1.9.24'
|
7
9
|
group :development do
|
8
|
-
gem
|
10
|
+
gem "guard-rspec", require: false
|
11
|
+
gem "rubocop", require: false
|
12
|
+
gem "rubocop-performance"
|
9
13
|
end
|
10
14
|
|
15
|
+
|
11
16
|
group :test do
|
12
|
-
gem
|
13
|
-
gem
|
14
|
-
end
|
17
|
+
gem "guard-rspec", require: false
|
18
|
+
gem "faker"
|
19
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
+
ast (2.4.0)
|
4
5
|
coderay (1.1.2)
|
5
|
-
concurrent-ruby (1.
|
6
|
+
concurrent-ruby (1.1.5)
|
6
7
|
diff-lcs (1.3)
|
7
|
-
faker (1.
|
8
|
-
i18n (>= 0.
|
8
|
+
faker (2.1.2)
|
9
|
+
i18n (>= 0.8)
|
9
10
|
ffi (1.9.24)
|
10
11
|
formatador (0.2.5)
|
11
|
-
guard (2.
|
12
|
+
guard (2.15.0)
|
12
13
|
formatador (>= 0.2.4)
|
13
14
|
listen (>= 2.7, < 4.0)
|
14
15
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -25,44 +26,60 @@ GEM
|
|
25
26
|
httparty (0.16.4)
|
26
27
|
mime-types (~> 3.0)
|
27
28
|
multi_xml (>= 0.5.2)
|
28
|
-
i18n (1.
|
29
|
+
i18n (1.6.0)
|
29
30
|
concurrent-ruby (~> 1.0)
|
31
|
+
jaro_winkler (1.5.3)
|
30
32
|
listen (3.1.5)
|
31
33
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
32
34
|
rb-inotify (~> 0.9, >= 0.9.7)
|
33
35
|
ruby_dep (~> 1.2)
|
34
36
|
lumberjack (1.0.13)
|
35
|
-
method_source (0.9.
|
37
|
+
method_source (0.9.2)
|
36
38
|
mime-types (3.2.2)
|
37
39
|
mime-types-data (~> 3.2015)
|
38
|
-
mime-types-data (3.
|
40
|
+
mime-types-data (3.2019.0331)
|
39
41
|
multi_xml (0.6.0)
|
40
42
|
nenv (0.3.0)
|
41
|
-
notiffany (0.1.
|
43
|
+
notiffany (0.1.3)
|
42
44
|
nenv (~> 0.1)
|
43
45
|
shellany (~> 0.0)
|
44
|
-
|
46
|
+
parallel (1.17.0)
|
47
|
+
parser (2.6.3.0)
|
48
|
+
ast (~> 2.4.0)
|
49
|
+
pry (0.12.2)
|
45
50
|
coderay (~> 1.1.0)
|
46
51
|
method_source (~> 0.9.0)
|
52
|
+
rainbow (3.0.0)
|
47
53
|
rb-fsevent (0.10.3)
|
48
|
-
rb-inotify (0.
|
49
|
-
ffi (
|
50
|
-
rspec (3.
|
51
|
-
rspec-core (~> 3.
|
52
|
-
rspec-expectations (~> 3.
|
53
|
-
rspec-mocks (~> 3.
|
54
|
-
rspec-core (3.
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-expectations (3.
|
54
|
+
rb-inotify (0.10.0)
|
55
|
+
ffi (~> 1.0)
|
56
|
+
rspec (3.8.0)
|
57
|
+
rspec-core (~> 3.8.0)
|
58
|
+
rspec-expectations (~> 3.8.0)
|
59
|
+
rspec-mocks (~> 3.8.0)
|
60
|
+
rspec-core (3.8.2)
|
61
|
+
rspec-support (~> 3.8.0)
|
62
|
+
rspec-expectations (3.8.4)
|
57
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.
|
59
|
-
rspec-mocks (3.
|
64
|
+
rspec-support (~> 3.8.0)
|
65
|
+
rspec-mocks (3.8.1)
|
60
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
61
|
-
rspec-support (~> 3.
|
62
|
-
rspec-support (3.
|
67
|
+
rspec-support (~> 3.8.0)
|
68
|
+
rspec-support (3.8.2)
|
69
|
+
rubocop (0.74.0)
|
70
|
+
jaro_winkler (~> 1.5.1)
|
71
|
+
parallel (~> 1.10)
|
72
|
+
parser (>= 2.6)
|
73
|
+
rainbow (>= 2.2.2, < 4.0)
|
74
|
+
ruby-progressbar (~> 1.7)
|
75
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
76
|
+
rubocop-performance (1.4.1)
|
77
|
+
rubocop (>= 0.71.0)
|
78
|
+
ruby-progressbar (1.10.1)
|
63
79
|
ruby_dep (1.5.0)
|
64
80
|
shellany (0.0.1)
|
65
|
-
thor (0.20.
|
81
|
+
thor (0.20.3)
|
82
|
+
unicode-display_width (1.6.0)
|
66
83
|
|
67
84
|
PLATFORMS
|
68
85
|
ruby
|
@@ -73,6 +90,8 @@ DEPENDENCIES
|
|
73
90
|
guard-rspec
|
74
91
|
httparty (= 0.16.4)
|
75
92
|
rspec
|
93
|
+
rubocop
|
94
|
+
rubocop-performance
|
76
95
|
|
77
96
|
BUNDLED WITH
|
78
|
-
|
97
|
+
2.0.2
|
data/Guardfile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# A sample Guardfile
|
2
4
|
# More info at https://github.com/guard/guard#readme
|
3
5
|
|
@@ -15,10 +17,10 @@
|
|
15
17
|
#
|
16
18
|
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
17
19
|
|
18
|
-
guard :rspec, cmd:
|
20
|
+
guard :rspec, cmd: "bundle exec rspec", all_on_start: true do
|
19
21
|
watch(%r{^spec/.+_spec\.rb$})
|
20
22
|
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/samanage_#{m[1]}_spec.rb" }
|
21
23
|
watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/lib/api/samanage_#{m[1]}_spec.rb" }
|
22
24
|
watch(%r{^lib/(.+)\.rb$})
|
23
|
-
watch(
|
24
|
-
end
|
25
|
+
watch("spec/spec_helper.rb") { "spec" }
|
26
|
+
end
|
data/changelog.md
CHANGED
@@ -1,40 +1,59 @@
|
|
1
|
+
### 2.1.20
|
2
|
+
|
3
|
+
- Added tasks
|
4
|
+
- Updated bundle & gems
|
5
|
+
|
6
|
+
### 2.1.19
|
7
|
+
|
8
|
+
- +Linting
|
9
|
+
|
1
10
|
### 2.1.18
|
11
|
+
|
2
12
|
- Force multipart for attachments
|
3
13
|
- Custom sleep time
|
4
14
|
- Added catching all errors
|
5
15
|
- Normalizing stout
|
6
16
|
|
7
17
|
### 2.1.17
|
18
|
+
|
8
19
|
- Retry all errors
|
9
20
|
- Ability to configure retry count & wait time.
|
10
21
|
- Normalize messages
|
11
22
|
|
12
23
|
### 2.1.16
|
24
|
+
|
13
25
|
- Use options where callbacks could be sent
|
14
26
|
|
15
27
|
### 2.1.15
|
28
|
+
|
16
29
|
- Use options in find methods
|
17
30
|
|
18
31
|
### 2.1.14
|
32
|
+
|
19
33
|
- Swap header merging
|
20
34
|
|
21
35
|
### 2.1.13
|
36
|
+
|
22
37
|
- Pass Query params separate from Body
|
23
38
|
- Add coverage for `{add_calbacks: true}` option
|
24
39
|
- Add Release support
|
25
40
|
|
26
41
|
### 2.1.12
|
42
|
+
|
27
43
|
- Add vendor support
|
28
44
|
- Close opened files
|
29
45
|
|
30
46
|
### 2.1.11
|
47
|
+
|
31
48
|
- Update runtime
|
32
49
|
|
33
50
|
### 2.1.10
|
51
|
+
|
34
52
|
- Attachments for Windows
|
35
53
|
- Handle Socket Errors
|
36
54
|
|
37
55
|
### 2.1.09
|
56
|
+
|
38
57
|
- Updated HTTParty to 0.16.4
|
39
58
|
- Optimize heavy audit+layout incident collection
|
40
59
|
- Adding purchase order support
|
@@ -44,97 +63,151 @@
|
|
44
63
|
- Handle HTTPTooManyRequests
|
45
64
|
|
46
65
|
### 2.1.08
|
66
|
+
|
47
67
|
- Correct Message
|
48
68
|
|
49
69
|
### 2.1.07
|
70
|
+
|
50
71
|
- Added problems
|
51
72
|
|
52
|
-
### 2.1.06
|
73
|
+
### 2.1.06
|
74
|
+
|
53
75
|
- Added time track support
|
76
|
+
|
54
77
|
### 2.1.05
|
78
|
+
|
55
79
|
- Adding new error checks
|
56
80
|
- Using Faker for tests
|
81
|
+
|
57
82
|
### 2.1.04
|
83
|
+
|
58
84
|
- params bug fix
|
85
|
+
|
59
86
|
### 2.1.03
|
87
|
+
|
60
88
|
- Use paths
|
89
|
+
|
61
90
|
### 2.1.02
|
91
|
+
|
62
92
|
- Use parmas in all collections
|
93
|
+
|
63
94
|
### 2.1.01
|
95
|
+
|
64
96
|
- Added solutions
|
97
|
+
|
65
98
|
### 2.1.0
|
99
|
+
|
66
100
|
- Use `URI###encode_www_form`
|
101
|
+
|
67
102
|
### 2.0.04
|
103
|
+
|
68
104
|
- Fix case sensitivity relationships
|
69
|
-
|
105
|
+
|
70
106
|
### 2.0.03
|
107
|
+
|
71
108
|
- Bugfix for custom fields (fix httparty version)
|
109
|
+
|
72
110
|
### 2.0.0
|
111
|
+
|
73
112
|
- Support for responding to blocks in all paginated collection methods
|
74
113
|
- Added Changes (itsm)
|
114
|
+
|
75
115
|
### 1.9.35
|
116
|
+
|
76
117
|
- Solve warnings
|
118
|
+
|
77
119
|
### 1.9.34
|
120
|
+
|
78
121
|
- Solve warnings
|
122
|
+
|
79
123
|
### 1.9.33
|
124
|
+
|
80
125
|
- Using new cert
|
126
|
+
|
81
127
|
### 1.9.32
|
128
|
+
|
82
129
|
- Adding layout long for single incident
|
83
130
|
- Adding attachment downloads
|
131
|
+
|
84
132
|
### 1.9.31
|
133
|
+
|
85
134
|
- Alias original comment method
|
86
135
|
- Remove (keyword: nil)
|
87
136
|
- Collapse error retry output
|
137
|
+
|
88
138
|
### 1.9.3
|
139
|
+
|
89
140
|
- Handle HTTP Read Timeout
|
90
|
-
|
141
|
+
|
142
|
+
### 1.9.2
|
143
|
+
|
91
144
|
- Adding delete functionality for modules Contracts, Departments, Groups, Hardwares, Incidents, Mobiles, Other_assets, Sites, Users
|
92
|
-
|
145
|
+
|
146
|
+
### 1.9.1
|
147
|
+
|
93
148
|
- Adding items to contracts & faster tests
|
149
|
+
|
94
150
|
### 1.9.0
|
95
|
-
|
96
|
-
|
151
|
+
|
152
|
+
- Adding contracts
|
153
|
+
|
154
|
+
### 1.8.91
|
155
|
+
|
97
156
|
- Group case sensitivity fix
|
157
|
+
|
98
158
|
### 1.8.9
|
159
|
+
|
99
160
|
- Adding output verbosity for collection methods
|
161
|
+
|
100
162
|
### 1.8.8
|
163
|
+
|
101
164
|
- Base level .execute delete functionality
|
102
165
|
- Error message for invalid http methods
|
103
166
|
- Added audit_archive to incident options
|
167
|
+
|
104
168
|
### 1.8.7
|
169
|
+
|
105
170
|
- Fixing retry bug
|
171
|
+
|
106
172
|
### 1.8.6
|
173
|
+
|
107
174
|
- Removing layout=long verbosity
|
175
|
+
|
108
176
|
### 1.8.5
|
177
|
+
|
109
178
|
- Adding option for incidents layout=long
|
110
|
-
|
179
|
+
|
180
|
+
### 1.8.3
|
181
|
+
|
111
182
|
- Additional Request Timeout retry support
|
112
183
|
- Support for non-parsed responseq
|
113
184
|
- Moving non object specific methods to samanage/api/utils
|
114
185
|
- Added activation emails
|
186
|
+
|
115
187
|
### 1.8.2
|
188
|
+
|
116
189
|
- Adding Category support
|
117
|
-
###1.8.1
|
190
|
+
###1.8.1
|
118
191
|
- More flexible membership adding
|
119
192
|
- Collection method aliasing for simpler api (old methods will be removed in v2.0)
|
120
|
-
###1.8.0
|
193
|
+
###1.8.0
|
121
194
|
- Adding coverage for invalid api requests
|
122
|
-
###1.7.9
|
195
|
+
###1.7.9
|
123
196
|
- Solving eu datacenter support against base_url
|
124
|
-
###1.7.8
|
197
|
+
###1.7.8
|
125
198
|
- Fixing nil condition in user_id methods
|
126
|
-
###1.7.6
|
199
|
+
###1.7.6
|
127
200
|
- Adding group_id find methods for group name and user email
|
128
|
-
###1.7.5
|
201
|
+
###1.7.5
|
129
202
|
- Adding site, department, group creation
|
130
|
-
###1.7.4
|
203
|
+
###1.7.4
|
131
204
|
- Solving admin listing issue
|
132
|
-
###1.7.2
|
205
|
+
###1.7.2
|
133
206
|
- Catching refused connections as Samanage::Error
|
134
|
-
###1.7.1
|
207
|
+
###1.7.1
|
135
208
|
- Client Side SSL certificate Forced
|
136
|
-
###1.7.0
|
209
|
+
###1.7.0
|
137
210
|
- Switched to HTTParty
|
138
211
|
- Payload now responds to `Hash`. `Strings` will be parsed using `JSON.parse(payload)`
|
139
|
-
###1.6.9
|
140
|
-
- Added support for Mobile Devices
|
212
|
+
###1.6.9
|
213
|
+
- Added support for Mobile Devices
|