samanage 2.1.19 → 2.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +224 -0
  3. data/Gemfile +12 -7
  4. data/Gemfile.lock +43 -24
  5. data/Guardfile +5 -3
  6. data/changelog.md +92 -19
  7. data/lib/samanage.rb +33 -30
  8. data/lib/samanage/api.rb +67 -74
  9. data/lib/samanage/api/attachments.rb +12 -12
  10. data/lib/samanage/api/category.rb +9 -7
  11. data/lib/samanage/api/changes.rb +17 -16
  12. data/lib/samanage/api/comments.rb +6 -7
  13. data/lib/samanage/api/contracts.rb +17 -17
  14. data/lib/samanage/api/custom_fields.rb +6 -6
  15. data/lib/samanage/api/custom_forms.rb +13 -10
  16. data/lib/samanage/api/departments.rb +9 -9
  17. data/lib/samanage/api/groups.rb +21 -20
  18. data/lib/samanage/api/hardwares.rb +14 -14
  19. data/lib/samanage/api/incidents.rb +7 -8
  20. data/lib/samanage/api/mobiles.rb +14 -15
  21. data/lib/samanage/api/other_assets.rb +14 -14
  22. data/lib/samanage/api/problems.rb +17 -17
  23. data/lib/samanage/api/purchase_orders.rb +17 -17
  24. data/lib/samanage/api/releases.rb +14 -14
  25. data/lib/samanage/api/requester.rb +4 -2
  26. data/lib/samanage/api/sites.rb +10 -9
  27. data/lib/samanage/api/solutions.rb +15 -14
  28. data/lib/samanage/api/tasks.rb +39 -0
  29. data/lib/samanage/api/time_tracks.rb +8 -6
  30. data/lib/samanage/api/users.rb +32 -30
  31. data/lib/samanage/api/utils.rb +11 -9
  32. data/lib/samanage/api/vendors.rb +14 -13
  33. data/lib/samanage/error.rb +5 -4
  34. data/lib/samanage/language.rb +48 -46
  35. data/lib/samanage/url_builder.rb +27 -25
  36. data/lib/samanage/utils.rb +10 -8
  37. data/lib/samanage/version.rb +1 -1
  38. data/samanage.gemspec +11 -9
  39. data/spec/api/samanage_attachment_spec.rb +20 -19
  40. data/spec/api/samanage_category_spec.rb +12 -10
  41. data/spec/api/samanage_change_spec.rb +47 -44
  42. data/spec/api/samanage_comments_spec.rb +12 -10
  43. data/spec/api/samanage_contract_spec.rb +41 -35
  44. data/spec/api/samanage_custom_field_spec.rb +7 -5
  45. data/spec/api/samanage_custom_form_spec.rb +11 -9
  46. data/spec/api/samanage_department_spec.rb +20 -15
  47. data/spec/api/samanage_group_spec.rb +30 -28
  48. data/spec/api/samanage_hardware_spec.rb +44 -38
  49. data/spec/api/samanage_incident_spec.rb +79 -61
  50. data/spec/api/samanage_mobile_spec.rb +39 -34
  51. data/spec/api/samanage_other_asset_spec.rb +50 -44
  52. data/spec/api/samanage_problem_spec.rb +53 -46
  53. data/spec/api/samanage_purchase_order_spec.rb +43 -40
  54. data/spec/api/samanage_release_spec.rb +44 -40
  55. data/spec/api/samanage_site_spec.rb +18 -16
  56. data/spec/api/samanage_solution_spec.rb +16 -14
  57. data/spec/api/samanage_task_spec.rb +68 -0
  58. data/spec/api/samanage_time_tracks_spec.rb +41 -27
  59. data/spec/api/samanage_user_spec.rb +51 -46
  60. data/spec/api/samanage_util_spec.rb +13 -11
  61. data/spec/api/samanage_vendors_spec.rb +18 -16
  62. data/spec/samanage_api_spec.rb +27 -23
  63. data/spec/samanage_category_spec.rb +10 -8
  64. data/spec/samanage_language_spec.rb +12 -10
  65. data/spec/samanage_url_builder_spec.rb +11 -9
  66. data/spec/spec_helper.rb +6 -4
  67. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a13aff3441a2b195624d0ddd7f890f218cecd85949110dc1dd493e67c04b2c90
4
- data.tar.gz: 279f7937d734914300265dd92d4144135eea997ac9282a721a6c696aaaf5b476
3
+ metadata.gz: 2123d5a06d5316e8f8c68eeddc675da008aaaaad062208796f8f89bc142ce51e
4
+ data.tar.gz: d8e19971dbadfdfe6b102fb40931786a30506f70090db7a56e2ada9babe539d2
5
5
  SHA512:
6
- metadata.gz: e91607ebc97987f438434c4c99391bd68ef9c6e96eb7f31b63d9abb66516399ccc872be9d074ce863ba4ad59fe9b1a90773c39252daef27585c1f43a850d9cfd
7
- data.tar.gz: d2b2f7890fb41e851a24caeb4101945f7bed0c3d933e397d1471eb22b19cbb69cd39309bd0b8b0038a7229f2fd284239a3ad86f74f7ee1cc1e3413832dfcb697
6
+ metadata.gz: 8444a5784699c2b93ee52ac126c4221d4c6cc55bdc5053c2c930a91c6b0474a046b04b28e2dd68bf419ad1453d5a42c838724ff5a0406cc08e2ce88d75214b6e
7
+ data.tar.gz: f3e85b2df019e7776b286a58c0dff2631d125c1b0dca583ddae4e95f3736044d8069defa862642f9fa600422854da560deceafc075c880a984dc3fb5238e96a2
@@ -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 'rspec'
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 'guard-rspec', require: false
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 'guard-rspec', require: false
13
- gem 'faker'
14
- end
17
+ gem "guard-rspec", require: false
18
+ gem "faker"
19
+ end
@@ -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.0.5)
6
+ concurrent-ruby (1.1.5)
6
7
  diff-lcs (1.3)
7
- faker (1.9.1)
8
- i18n (>= 0.7)
8
+ faker (2.1.2)
9
+ i18n (>= 0.8)
9
10
  ffi (1.9.24)
10
11
  formatador (0.2.5)
11
- guard (2.14.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.1.0)
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.0)
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.2018.0812)
40
+ mime-types-data (3.2019.0331)
39
41
  multi_xml (0.6.0)
40
42
  nenv (0.3.0)
41
- notiffany (0.1.1)
43
+ notiffany (0.1.3)
42
44
  nenv (~> 0.1)
43
45
  shellany (~> 0.0)
44
- pry (0.11.3)
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.9.10)
49
- ffi (>= 0.5.0, < 2)
50
- rspec (3.7.0)
51
- rspec-core (~> 3.7.0)
52
- rspec-expectations (~> 3.7.0)
53
- rspec-mocks (~> 3.7.0)
54
- rspec-core (3.7.1)
55
- rspec-support (~> 3.7.0)
56
- rspec-expectations (3.7.0)
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.7.0)
59
- rspec-mocks (3.7.0)
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.7.0)
62
- rspec-support (3.7.1)
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.0)
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
- 1.16.1
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: 'bundle exec rspec', all_on_start: true do
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('spec/spec_helper.rb') { "spec" }
24
- end
25
+ watch("spec/spec_helper.rb") { "spec" }
26
+ end
@@ -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
- ### 1.9.2
141
+
142
+ ### 1.9.2
143
+
91
144
  - Adding delete functionality for modules Contracts, Departments, Groups, Hardwares, Incidents, Mobiles, Other_assets, Sites, Users
92
- ### 1.9.1
145
+
146
+ ### 1.9.1
147
+
93
148
  - Adding items to contracts & faster tests
149
+
94
150
  ### 1.9.0
95
- - Adding contracts
96
- ### 1.8.91
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
- ### 1.8.3
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