manageiq-api-client 0.3.5 → 0.3.7

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: e24de1a6b57571347de5d2b0afce1c3917f8c84709d163a1aae95d0ebe30df61
4
- data.tar.gz: 928e9a1d0197ee1908d0cdacbcb3385426826019c92d1bbe4b211c74392bb9c2
3
+ metadata.gz: 8dec9fe356657ce4cfd68117c3782600682ad3866f666fd10aabbc88a0c47f3f
4
+ data.tar.gz: f6b2c0d1515a13b033f23ba73aeb58e691810ebfcef3b1e26640180912f283e7
5
5
  SHA512:
6
- metadata.gz: 037b11e2b92396bf1990a8d6e55644f8554a4d380e4a8f510011eee3655267d94bb29fb0156896c8a48bd9ced6023c03acf943734d063c577b9c6ccf0e1a0b59
7
- data.tar.gz: 1d9bc4d428a7142faaebd1680f2ad2bba07be882ae13394c411cb75edabe6108efc65696e1b1184d75d0b37b5d1982e6c6a325263c1d1a2e87048b226998a4f6
6
+ metadata.gz: da5baaedb66406e134675e01036f085b92e1fbf091c938f932ab9c81d5f3ca99e2ace57e12a66cbdead50d8794f095d0359511f1d061c3ebd0ea9cce3d8b86fc
7
+ data.tar.gz: ff1c57b8ae147f36eed38b0535aa789776b2ed3e8088e37bd729b218e5e50afd6c97099e57fbb7244351fc5991f3595ad6fce8463fda72ec2aa2b4a29c098d0e
data/.codeclimate.yml ADDED
@@ -0,0 +1,16 @@
1
+ prepare:
2
+ fetch:
3
+ - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
4
+ path: ".rubocop_base.yml"
5
+ - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
6
+ path: ".rubocop_cc_base.yml"
7
+ - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml
8
+ path: styles/base.yml
9
+ - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml
10
+ path: styles/cc_base.yml
11
+ plugins:
12
+ rubocop:
13
+ enabled: true
14
+ config: ".rubocop_cc.yml"
15
+ channel: rubocop-0-82
16
+ version: '2'
@@ -0,0 +1,37 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+ schedule:
7
+ - cron: '0 0 * * 0'
8
+
9
+ jobs:
10
+ ci:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version:
15
+ - '2.6'
16
+ - '2.7'
17
+ - '3.0'
18
+ rails-version:
19
+ - '6.0'
20
+ - '6.1'
21
+ env:
22
+ TEST_RAILS_VERSION: ${{ matrix.rails-version }}
23
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.ruby-version }}
30
+ bundler-cache: true
31
+ timeout-minutes: 30
32
+ - name: Run tests
33
+ run: bundle exec rake
34
+ - name: Report code coverage
35
+ if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
36
+ continue-on-error: true
37
+ uses: paambaati/codeclimate-action@v3.0.0
data/.rspec CHANGED
@@ -1,3 +1,3 @@
1
1
  --require spec_helper
2
- --format documentation
3
2
  --color
3
+ --order random
data/.rubocop.yml ADDED
@@ -0,0 +1,4 @@
1
+ inherit_gem:
2
+ manageiq-style: ".rubocop_base.yml"
3
+ inherit_from:
4
+ - ".rubocop_local.yml"
data/.rubocop_cc.yml ADDED
@@ -0,0 +1,4 @@
1
+ inherit_from:
2
+ - ".rubocop_base.yml"
3
+ - ".rubocop_cc_base.yml"
4
+ - ".rubocop_local.yml"
File without changes
data/.whitesource ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "settingsInheritedFrom": "ManageIQ/whitesource-config@master"
3
+ }
data/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.7] - 2023-05-19
10
+ ### Changed
11
+ - Loosen faraday to 1.x. [[#108]](https://github.com/ManageIQ/manageiq-api-client/pull/108)
12
+
13
+ ## [0.3.6] - 2022-05-30
14
+ ### Changed
15
+ - Added support to ActiveSupport 6.1 [[#100]](https://github.com/ManageIQ/manageiq-api-client/pull/100)
16
+ - Changed faraday to v1.0. [[#90]](https://github.com/ManageIQ/manageiq-api-client/pull/90)
17
+
9
18
  ## [0.3.5] - 2020-05-07
10
19
  ### Changed
11
20
  - Loosen dependency and update the json gem to v2.3 [[#92](https://github.com/ManageIQ/manageiq-api-client/pull/92)]
@@ -52,7 +61,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
52
61
  - Add CHANGELOG.md
53
62
  - Update README with simple instructions reflecting the query interface.
54
63
 
55
- [Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.5...HEAD
64
+ [Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.7...HEAD
65
+ [0.3.7]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.6...v0.3.7
66
+ [0.3.6]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.5...v0.3.6
56
67
  [0.3.5]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.4...v0.3.5
57
68
  [0.3.4]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.3...v0.3.4
58
69
  [0.3.3]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.2...v0.3.3
data/Gemfile CHANGED
@@ -3,12 +3,13 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in manageiq-api-client.gemspec
4
4
  gemspec
5
5
 
6
- group :test do
7
- gem "webmock"
8
- gem "simplecov", :require => false
9
- gem "codeclimate-test-reporter", "~> 1.0.0", :require => false
10
- end
11
-
12
6
  # Load developer specific Gemfile
13
7
  dev_gemfile = File.expand_path("Gemfile.dev.rb", __dir__)
14
8
  eval_gemfile(dev_gemfile) if File.exist?(dev_gemfile)
9
+
10
+ case ENV['TEST_RAILS_VERSION']
11
+ when "6.0"
12
+ gem "activesupport", "~>6.0.4"
13
+ when "6.1"
14
+ gem "activesupport", "~>6.1.4"
15
+ end
data/README.md CHANGED
@@ -1,11 +1,9 @@
1
1
  # ManageIQ API Client
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/manageiq-api-client.svg)](http://badge.fury.io/rb/manageiq-api-client)
4
- [![Build Status](https://travis-ci.org/ManageIQ/manageiq-api-client.svg)](https://travis-ci.org/ManageIQ/manageiq-api-client)
4
+ [![CI](https://github.com/ManageIQ/manageiq-api-client/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-api-client/actions/workflows/ci.yaml)
5
5
  [![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-api-client.svg)](https://codeclimate.com/github/ManageIQ/manageiq-api-client)
6
6
  [![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-api-client/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-api-client/coverage)
7
- [![Dependency Status](https://gemnasium.com/ManageIQ/manageiq-api-client.svg)](https://gemnasium.com/ManageIQ/manageiq-api-client)
8
- [![Security](https://hakiri.io/github/ManageIQ/manageiq-api-client/master.svg)](https://hakiri.io/github/ManageIQ/manageiq-api-client/master)
9
7
 
10
8
  This gem provides Ruby access to the ManageIQ API by exposing the ManageIQ
11
9
  collections, resources and related actions as Ruby objects and equivalent methods.
@@ -1,7 +1,7 @@
1
1
  module ManageIQ
2
2
  module API
3
3
  class Client
4
- VERSION = "0.3.5".freeze
4
+ VERSION = "0.3.7".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -23,14 +23,17 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_development_dependency "bundler"
27
- spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "rspec", "~> 3.0"
29
-
30
- spec.add_dependency "activesupport", ">= 5.0", "< 6.1"
31
- spec.add_dependency "faraday", "~> 0.9"
32
- spec.add_dependency "faraday_middleware", "~> 0.10.0"
26
+ spec.add_dependency "activesupport", ">= 5.0", "< 7.0"
27
+ spec.add_dependency "faraday", "~> 1.0"
28
+ spec.add_dependency "faraday_middleware", "~> 1.0"
33
29
  spec.add_dependency "json", "~> 2.3"
34
30
  spec.add_dependency "more_core_extensions"
35
31
  spec.add_dependency "query_relation"
32
+
33
+ spec.add_development_dependency "bundler"
34
+ spec.add_development_dependency "manageiq-style"
35
+ spec.add_development_dependency "rake", ">= 12.3.3"
36
+ spec.add_development_dependency "rspec", "~> 3.0"
37
+ spec.add_development_dependency "simplecov", ">= 0.21.2"
38
+ spec.add_development_dependency "webmock"
36
39
  end
metadata CHANGED
@@ -1,142 +1,184 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alberto Bellotti
8
8
  - Jason Frey
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-05-07 00:00:00.000000000 Z
12
+ date: 2023-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: bundler
15
+ name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :development
20
+ version: '5.0'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '7.0'
24
+ type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
28
  - - ">="
26
29
  - !ruby/object:Gem::Version
27
- version: '0'
30
+ version: '5.0'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '7.0'
28
34
  - !ruby/object:Gem::Dependency
29
- name: rake
35
+ name: faraday
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
38
  - - "~>"
33
39
  - !ruby/object:Gem::Version
34
- version: '10.0'
35
- type: :development
40
+ version: '1.0'
41
+ type: :runtime
36
42
  prerelease: false
37
43
  version_requirements: !ruby/object:Gem::Requirement
38
44
  requirements:
39
45
  - - "~>"
40
46
  - !ruby/object:Gem::Version
41
- version: '10.0'
47
+ version: '1.0'
42
48
  - !ruby/object:Gem::Dependency
43
- name: rspec
49
+ name: faraday_middleware
44
50
  requirement: !ruby/object:Gem::Requirement
45
51
  requirements:
46
52
  - - "~>"
47
53
  - !ruby/object:Gem::Version
48
- version: '3.0'
49
- type: :development
54
+ version: '1.0'
55
+ type: :runtime
50
56
  prerelease: false
51
57
  version_requirements: !ruby/object:Gem::Requirement
52
58
  requirements:
53
59
  - - "~>"
54
60
  - !ruby/object:Gem::Version
55
- version: '3.0'
61
+ version: '1.0'
56
62
  - !ruby/object:Gem::Dependency
57
- name: activesupport
63
+ name: json
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.3'
69
+ type: :runtime
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.3'
76
+ - !ruby/object:Gem::Dependency
77
+ name: more_core_extensions
58
78
  requirement: !ruby/object:Gem::Requirement
59
79
  requirements:
60
80
  - - ">="
61
81
  - !ruby/object:Gem::Version
62
- version: '5.0'
63
- - - "<"
82
+ version: '0'
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
64
88
  - !ruby/object:Gem::Version
65
- version: '6.1'
89
+ version: '0'
90
+ - !ruby/object:Gem::Dependency
91
+ name: query_relation
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
66
97
  type: :runtime
67
98
  prerelease: false
68
99
  version_requirements: !ruby/object:Gem::Requirement
69
100
  requirements:
70
101
  - - ">="
71
102
  - !ruby/object:Gem::Version
72
- version: '5.0'
73
- - - "<"
103
+ version: '0'
104
+ - !ruby/object:Gem::Dependency
105
+ name: bundler
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
74
116
  - !ruby/object:Gem::Version
75
- version: '6.1'
117
+ version: '0'
76
118
  - !ruby/object:Gem::Dependency
77
- name: faraday
119
+ name: manageiq-style
78
120
  requirement: !ruby/object:Gem::Requirement
79
121
  requirements:
80
- - - "~>"
122
+ - - ">="
81
123
  - !ruby/object:Gem::Version
82
- version: '0.9'
83
- type: :runtime
124
+ version: '0'
125
+ type: :development
84
126
  prerelease: false
85
127
  version_requirements: !ruby/object:Gem::Requirement
86
128
  requirements:
87
- - - "~>"
129
+ - - ">="
88
130
  - !ruby/object:Gem::Version
89
- version: '0.9'
131
+ version: '0'
90
132
  - !ruby/object:Gem::Dependency
91
- name: faraday_middleware
133
+ name: rake
92
134
  requirement: !ruby/object:Gem::Requirement
93
135
  requirements:
94
- - - "~>"
136
+ - - ">="
95
137
  - !ruby/object:Gem::Version
96
- version: 0.10.0
97
- type: :runtime
138
+ version: 12.3.3
139
+ type: :development
98
140
  prerelease: false
99
141
  version_requirements: !ruby/object:Gem::Requirement
100
142
  requirements:
101
- - - "~>"
143
+ - - ">="
102
144
  - !ruby/object:Gem::Version
103
- version: 0.10.0
145
+ version: 12.3.3
104
146
  - !ruby/object:Gem::Dependency
105
- name: json
147
+ name: rspec
106
148
  requirement: !ruby/object:Gem::Requirement
107
149
  requirements:
108
150
  - - "~>"
109
151
  - !ruby/object:Gem::Version
110
- version: '2.3'
111
- type: :runtime
152
+ version: '3.0'
153
+ type: :development
112
154
  prerelease: false
113
155
  version_requirements: !ruby/object:Gem::Requirement
114
156
  requirements:
115
157
  - - "~>"
116
158
  - !ruby/object:Gem::Version
117
- version: '2.3'
159
+ version: '3.0'
118
160
  - !ruby/object:Gem::Dependency
119
- name: more_core_extensions
161
+ name: simplecov
120
162
  requirement: !ruby/object:Gem::Requirement
121
163
  requirements:
122
164
  - - ">="
123
165
  - !ruby/object:Gem::Version
124
- version: '0'
125
- type: :runtime
166
+ version: 0.21.2
167
+ type: :development
126
168
  prerelease: false
127
169
  version_requirements: !ruby/object:Gem::Requirement
128
170
  requirements:
129
171
  - - ">="
130
172
  - !ruby/object:Gem::Version
131
- version: '0'
173
+ version: 0.21.2
132
174
  - !ruby/object:Gem::Dependency
133
- name: query_relation
175
+ name: webmock
134
176
  requirement: !ruby/object:Gem::Requirement
135
177
  requirements:
136
178
  - - ">="
137
179
  - !ruby/object:Gem::Version
138
180
  version: '0'
139
- type: :runtime
181
+ type: :development
140
182
  prerelease: false
141
183
  version_requirements: !ruby/object:Gem::Requirement
142
184
  requirements:
@@ -153,9 +195,14 @@ executables: []
153
195
  extensions: []
154
196
  extra_rdoc_files: []
155
197
  files:
198
+ - ".codeclimate.yml"
199
+ - ".github/workflows/ci.yaml"
156
200
  - ".gitignore"
157
201
  - ".rspec"
158
- - ".travis.yml"
202
+ - ".rubocop.yml"
203
+ - ".rubocop_cc.yml"
204
+ - ".rubocop_local.yml"
205
+ - ".whitesource"
159
206
  - CHANGELOG.md
160
207
  - Gemfile
161
208
  - LICENSE.txt
@@ -190,7 +237,7 @@ homepage: http://github.com/ManageIQ/manageiq-api-client
190
237
  licenses:
191
238
  - MIT
192
239
  metadata: {}
193
- post_install_message:
240
+ post_install_message:
194
241
  rdoc_options: []
195
242
  require_paths:
196
243
  - lib
@@ -205,8 +252,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
252
  - !ruby/object:Gem::Version
206
253
  version: '0'
207
254
  requirements: []
208
- rubygems_version: 3.0.6
209
- signing_key:
255
+ rubygems_version: 3.2.33
256
+ signing_key:
210
257
  specification_version: 4
211
258
  summary: ManageIQ API Client
212
259
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.4.5
4
- - 2.5.3
5
- sudo: false
6
- cache: bundler
7
- after_script: bundle exec codeclimate-test-reporter