Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge new master branch to old fix-rubocop one #491

Open
wants to merge 191 commits into
base: fix-rubocop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
0a7d274
Use autoload with default gem path
gildub Apr 9, 2018
dc635a6
Update .rubocop.yml
gildub Apr 9, 2018
19fff35
Remove redundant slash
TommyLike Apr 12, 2018
5a42229
Merge pull request #390 from TommyLike/bug/fix_double_slash_error
gildub Apr 12, 2018
5e2f15b
Storage: Set cache-control header for a file
dmeremyanin Apr 24, 2018
606d3f0
Merge pull request #391 from dimko/patch-1
timuralp Apr 28, 2018
f8e2540
Add configuration for OpenLab
mrhillsman Apr 28, 2018
836a372
Merge pull request #392 from mrhillsman/addolconf
gildub May 31, 2018
0c371ec
Add playbooks directory with job definitions
mrhillsman Apr 28, 2018
f2c2e69
Merge pull request #393 from mrhillsman/addoljobdefs
gildub May 31, 2018
c11e002
Merge pull request #388 from gildub/autoload
gildub Jun 18, 2018
2cdedf6
No comments at end of blocks
gildub Jun 18, 2018
11c00bf
Replaces Openstack with OpenStack where needed
gildub Jun 18, 2018
2c05720
Docs: fix an anchor link
borellim Jun 18, 2018
abb6824
Merge pull request #399 from borellim/patch-1
gildub Jun 18, 2018
8798007
Merge pull request #398 from gildub/openstack-rename
plribeiro3000 Jun 21, 2018
6edf362
Merge pull request #397 from gildub/no-end-comment
plribeiro3000 Jun 21, 2018
a6a19dd
Bump ruby, fog-core
gildub Jun 18, 2018
8a4b229
Reverse to fog-core 1.45.0
gildub Jun 21, 2018
1308865
Merge pull request #396 from gildub/ruby-fog-core-bump
plribeiro3000 Jun 21, 2018
5922c91
Moved autoload to allow reopening
gildub Jun 21, 2018
6c751d6
Rake: reduce double definition; Default launch
gildub Jun 21, 2018
0f1f562
Merge pull request #402 from gildub/rake-reduce
plribeiro3000 Jun 21, 2018
bf08378
Tests: replace skip by conditional for fog-mocking
gildub Jun 21, 2018
a9c9c1d
Add additional key servers and keys
mrhillsman Jun 22, 2018
c8750ee
Merge pull request #404 from mrhillsman/addkeyservers
gildub Jun 22, 2018
65d171f
Merge pull request #403 from gildub/tests-no-skip-for-fog_mocking
plribeiro3000 Jun 22, 2018
236d566
Merge pull request #401 from gildub/autoload-reopening
plribeiro3000 Jun 22, 2018
73f1b00
v0.1.26
gildub Jun 22, 2018
fc1fe97
Compute: Add remote console
gildub Jul 4, 2018
1b0b62e
Assign user_id when create key_pair
andyvesel Jul 9, 2018
6fe9325
Assign user_id when delete key_pair
andyvesel Jul 9, 2018
a959127
Update save method with user_id argument
andyvesel Jul 9, 2018
4d570f1
Merge pull request #407 from gildub/compute_vnc_console
Ladas Jul 10, 2018
9bed484
Merge pull request #406 from andyvesel/assign_userid_to_keypairs
gildub Jul 10, 2018
c4ccd33
v0.1.27
gildub Jul 10, 2018
62727a0
Adds path for connections
gildub Jul 17, 2018
6685fa5
Don't try to automatically set IDs for new flavors
mansam Aug 7, 2018
714e630
Merge pull request #411 from mansam/dont-set-optional-flavor-id
gildub Aug 8, 2018
ddd327f
Support version in 'extract_version_from_body'
TommyLike Aug 13, 2018
df012e1
Allow to use identity v2 with an option instead of path
gildub Aug 13, 2018
a409e66
Merge pull request #383 from gildub/new-identity
gildub Aug 17, 2018
1d2e08f
Merge pull request #412 from TommyLike/bug/fix_get_version_issue
gildub Aug 17, 2018
8fff1d6
Merge pull request #408 from gildub/endpoint-with-path
aufi Aug 17, 2018
09babf0
Fix attributes to be created as Symbol not String
gildub Aug 20, 2018
267c9e4
gitignore test/lorem.txt
gildub Aug 21, 2018
fdae00f
Adds pry-byebug to development tools
gildub Aug 21, 2018
cd6857b
Merge pull request #416 from gildub/gitignore-lorem
gildub Aug 21, 2018
b0c729e
Merge pull request #417 from gildub/debug
gildub Aug 21, 2018
833a843
New authentication and catalog structure
gildub Aug 10, 2018
cfca6a7
Refactors bootstraping
gildub Aug 13, 2018
7afa481
Cleanup: identity_public_endpoint and compute/list_tenants
gildub Aug 14, 2018
6044f23
authentication is done by fog/openstack/auth
gildub Aug 14, 2018
67e5204
options consolidaton; default_service_type as method
gildub Aug 14, 2018
fdc7506
not default prefix for nova
gildub Aug 15, 2018
cd8c123
remove ssl_verify_mode not needed for Excon
gildub Aug 15, 2018
33afcc1
Swift: using new bootstrap too
gildub Aug 15, 2018
f379dab
Use super for shared_file_system and storage too
gildub Aug 15, 2018
a75e5cb
Fog::OpenStack::Core.authenticate: final cleanup
gildub Aug 15, 2018
f9884ad
Readjust some authenticate tests
gildub Aug 15, 2018
6e78243
tests: rename jobs and beautify
gildub Aug 15, 2018
b1d602d
fix rubocop including legacy
gildub Aug 16, 2018
fe0c04c
fix after rebase
gildub Aug 17, 2018
a7fc03c
typo
gildub Aug 17, 2018
ebfbd6c
identity: version from param not url
gildub Aug 21, 2018
d4ac99c
Merge pull request #413 from gildub/new-bootstraping
aufi Aug 28, 2018
d92fbe0
Allows openstack_auth_url to use version
gildub Aug 28, 2018
ab169e1
Add optional 'name' parameter to backup restore
mansam Aug 28, 2018
33b5393
Merge pull request #418 from gildub/legacy_auth_url_with_version
gildub Aug 29, 2018
3edec8a
Merge pull request #414 from gildub/model-image-attributes
gildub Aug 29, 2018
2eef2bb
Update restore_backup.rb
gildub Aug 29, 2018
c9e8264
Merge pull request #419 from mansam/improve-backup-restore
gildub Aug 29, 2018
13c681d
Update version.rb
gildub Aug 29, 2018
5a15082
Identity: No path prefix when endpoint is versioned
gildub Aug 29, 2018
8aaceff
Merge pull request #421 from gildub/path_prefix_for_versionned_identi…
aufi Aug 31, 2018
43fe946
Update version.rb
gildub Sep 2, 2018
0274250
Use @openstack_management_uri instead of scheme, host and port instan…
gildub Sep 10, 2018
f507a48
Image Rspec: Avoid using dynamic attribute
gildub Aug 21, 2018
aeded1d
Merge pull request #415 from gildub/core-2
aufi Sep 10, 2018
fb5bce2
Merge pull request #424 from gildub/openstack_mgt_uri
aufi Sep 10, 2018
bfb2737
Keystone is version less
gildub Sep 11, 2018
e9d5728
Merge pull request #425 from gildub/readme_identity_version_less
gildub Sep 11, 2018
dcd1c14
Image Rspec: Avoid using dynamic attribute
gildub Aug 21, 2018
28242fd
Update version.rb
gildub Sep 11, 2018
e9f63ae
Fix for OVH v2.0 auth.
Sep 11, 2018
1ae51f8
Merge pull request #426 from cyrylas/fix/ensure-tenant-string
gildub Sep 12, 2018
36cc1c3
openstack_identity_api_version missing
gildub Sep 12, 2018
be404e4
Merge pull request #427 from gildub/missing-openstack_identity_api_ve…
gildub Sep 12, 2018
8d60a02
Update version.rb
gildub Sep 12, 2018
a5e7923
Fix for servers.com v2.0 auth
kugaevsky Sep 12, 2018
2a655a3
Merge pull request #428 from kugaevsky/master
gildub Sep 12, 2018
49d68b2
Identity v2: unscope token fix
gildub Sep 12, 2018
2f47875
Merge pull request #429 from gildub/token_v2
gildub Sep 13, 2018
bce4615
Baremetal: no need for version path
gildub Sep 13, 2018
f043f8e
Merge pull request #430 from gildub/baremetal-new-bootstrapping-fix
gildub Sep 13, 2018
aa7a8be
Update version.rb
gildub Sep 13, 2018
8cae54f
network model: remove subnet attribute to support fog-core 2+
gildub Sep 7, 2018
214bb14
Merge pull request #422 from gildub/fog-core-2
gildub Sep 14, 2018
b8050b2
Update version.rb
gildub Sep 14, 2018
b312b3d
Renames Fog::<Service>::OpenStack to Fog::OpenStack::<Service>
gildub Sep 17, 2018
32965c7
Merge pull request #432 from gildub/namespace-fog_core-2+
aufi Sep 18, 2018
fc00905
Update version.rb
gildub Sep 18, 2018
aa7c56d
Fix hash bug in Image model
Miicky Sep 20, 2018
2ba52e9
Merge pull request #435 from Miicky/fix_hash_bug
gildub Sep 20, 2018
c7f41e9
Revert "Fix hash bug in Image model"
gildub Sep 21, 2018
68687a2
Revert "Renames Fog::<Service>::OpenStack to Fog::OpenStack::<Service>"
gildub Sep 21, 2018
8e78a10
v0.3.2: Revert Namespace to v0.3.0
gildub Sep 21, 2018
ed8ef3c
Merge pull request #436 from gildub/minor
gildub Sep 21, 2018
391cda2
Renames Fog::<Service>::OpenStack to Fog::OpenStack::<Service>
gildub Sep 17, 2018
74734d1
Fix hash bug in Image model
Miicky Sep 20, 2018
8f91607
V1.0.0: Enforce namespace change needed to fully support fog-core 2
gildub Sep 21, 2018
008637a
Merge pull request #437 from gildub/major
gildub Sep 21, 2018
701adbe
Filter unsupported params for volume update request
Sep 17, 2018
1e2bebf
Auth: Propagate connections options
gildub Sep 26, 2018
d76ca39
Image::V1: Service type is now imagev1
gildub Sep 26, 2018
ac553a5
Merge pull request #442 from gildub/auth_connection_options
aufi Sep 26, 2018
8cd229b
Merge pull request #443 from gildub/image_service_type_conflict
aufi Sep 26, 2018
0403299
Update version.rb
gildub Sep 27, 2018
118d11c
Identity: Fix versionned endpoint
gildub Sep 27, 2018
497181a
Merge pull request #447 from gildub/fix_versionned_identity_endpoint
gildub Sep 27, 2018
7e919eb
Auth: Allow a versionned auth_url path
gildub Sep 27, 2018
2a6a0e3
Update version.rb
gildub Sep 27, 2018
9fe2013
Merge pull request #446 from gildub/token_allow_versionned_auth_url
aufi Oct 1, 2018
9ea6a8c
Update version.rb
gildub Oct 2, 2018
1012318
Volume update: Filter fixtures and v1
gildub Oct 11, 2018
a2b2071
Merge pull request #433 from alexander-demichev/filter-params
gildub Oct 11, 2018
04bc479
Token: Use auth_url when catalog is empty
gildub Oct 18, 2018
83ca753
Merge pull request #455 from gildub/token_empty_catalog_fix
gildub Oct 19, 2018
210adde
Update version.rb
gildub Oct 19, 2018
f23f865
Swift: Allow 202 for large objects creation/update/copy
gildub Oct 23, 2018
b7301e7
Merge pull request #457 from gildub/swift-large-objects-202
gildub Oct 30, 2018
c349e3e
Update version.rb
gildub Oct 30, 2018
aaeab01
Nova: filter onSharedStorage for evacuate_server
gildub Nov 5, 2018
309249c
Merge pull request #463 from gildub/nova_evacuate_2.14
gildub Nov 6, 2018
798cb9f
Update version.rb
gildub Nov 6, 2018
c2a8d31
Fix get_project request path
aufi Jan 29, 2018
234a1ab
Options is hash; No changes to vcr files
gildub Nov 23, 2018
013341d
Merge pull request #358 from aufi/fix_get_project
gildub Nov 23, 2018
c4b969b
Remove binding.pry statement and related.
ShamoX Jan 4, 2019
84b30cc
install bundler before updating it.
ShamoX Jan 4, 2019
ccd0665
Fix bundler version for travis
ShamoX Jan 4, 2019
00ee7a0
Don't update if you need bundler v1.6 compatible version
ShamoX Jan 4, 2019
3a8f7aa
upgrade bundler gem to 2.0
ShamoX Jan 4, 2019
97b4333
remove outdate ruby version (2.2.10) and add new one (2.6.0), upgrade…
ShamoX Jan 4, 2019
1eebe47
update ruby versions checked.
ShamoX Jan 4, 2019
74a575e
correct bundler version everywhere needed.
ShamoX Jan 4, 2019
19904fa
Try fix zuul
ShamoX Jan 7, 2019
7869f36
Include travis fix to zuul
ShamoX Jan 7, 2019
84e8888
Fix typo
Jan 8, 2019
0caa911
Merge pull request #472 from ShamoX/fix_travis
aufi Jan 8, 2019
856f227
Merge branch 'master' into remove_binding.pry
ShamoX Jan 8, 2019
9650687
Merge pull request #473 from alexander-demichev/fix-typo
aufi Jan 8, 2019
8d76ab5
Release 1.0.7
Ladas Jan 9, 2019
5025d6a
Merge pull request #474 from Ladas/release_1_0_7
Ladas Jan 9, 2019
f87272e
Merge pull request #470 from ShamoX/remove_binding.pry
aufi Jan 11, 2019
5b4890d
Fix service path
Dec 26, 2018
a0f9bdc
Fix typo
Jan 15, 2019
00473dc
Merge pull request #479 from alexander-demichev/fix-typo2
aufi Jan 17, 2019
b0985e8
Add multiattach parameter to volume creation
mansam Jan 17, 2019
03e889d
Merge pull request #468 from felipebatista/fix-format-deprecation
gildub Jan 21, 2019
eec6373
Update version.rb
gildub Jan 22, 2019
153577d
Add debugger warning
Jan 23, 2019
cc15dcd
Merge pull request #484 from alexander-demichev/add-debug-to-rubocop
gildub Jan 23, 2019
634aca4
Fixed a couple of path to clear tests
gildub Jan 30, 2019
c17fa64
Merge pull request #485 from gildub/service_path_fix
gildub Jan 30, 2019
bb5bb5c
Created explicit mock and real files for volume v1 and v2
gildub Jan 30, 2019
11304e6
Merge pull request #482 from mansam/create_volume_multiattach_parameter
gildub Jan 30, 2019
37fe67d
Merge pull request #486 from gildub/volume-version-reorg
aufi Jan 31, 2019
8f5e4aa
Allow custom filename through Content-Disposition header
Feb 5, 2019
7935bc1
small refactor
Feb 7, 2019
37621bb
Merge pull request #489 from cyrylas/fix/handle-filename
gildub Feb 12, 2019
7b3d6b2
catch token expire
Feb 20, 2019
ae29a11
fix date in VCR cassette
Feb 21, 2019
2beca27
Merge pull request #490 from miliru/fix_expire_token_openstack
gildub Mar 7, 2019
4064cc4
Merge branch 'master' into fix-rubocop
ShamoX Mar 8, 2019
ca7549f
fix missed new openstack_auth_url usage
ShamoX Mar 8, 2019
caac49d
Fix bad unless block removing (trailing `end` keywords)
ShamoX Mar 8, 2019
cd8664b
Fix minitests complaning about must_equal nil tests.
ShamoX Mar 8, 2019
df564ba
rubocop:auto_correct run.
ShamoX Mar 8, 2019
966b065
Fix Lint/ShadowingOuterLocalVariable
ShamoX Mar 8, 2019
4050b99
Fix Naming/UncommunicativeMethodParamName
ShamoX Mar 8, 2019
8f92dd4
fix Lint/UnneededCopEnableDirective
ShamoX Mar 8, 2019
664e93d
fix Lint/UselessAssignment
ShamoX Mar 8, 2019
60f8333
Fix stack_tests
ShamoX Mar 11, 2019
4fab40b
Fix Yaml.safe_load usage on Introspection
ShamoX Mar 11, 2019
8eed2d7
Fix show details and update test on stack.
ShamoX Mar 11, 2019
a663a03
Fix Style/MissingRespondToMissing
ShamoX Mar 11, 2019
a181f7f
Fix Performance/Caller
ShamoX Mar 19, 2019
57cee6b
Fix Lint/UriEscapeUnescape
ShamoX Mar 19, 2019
334ca31
Ignore Naming/AccessorMethodName
ShamoX Mar 19, 2019
6080d5f
Fix miscaelous offenses
ShamoX Mar 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ gemfiles/Gemfile-1.9.lock
.DS_Store
.idea/
vendor/bundle
test/lorem.txt
test/lorem.txt
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
inherit_from: .rubocop_todo.yml

43 changes: 26 additions & 17 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,31 @@ Metrics/PerceivedComplexity:
# Offense count: 25
Naming/AccessorMethodName:
Exclude:
- 'lib/fog/baremetal/openstack/models/node.rb'
- 'lib/fog/compute/openstack/models/addresses.rb'
- 'lib/fog/compute/openstack/requests/set_tenant.rb'
- 'lib/fog/identity/openstack/v2/requests/set_tenant.rb'
- 'lib/fog/image/openstack/v1/requests/set_tenant.rb'
- 'lib/fog/image/openstack/v2/requests/set_tenant.rb'
- 'lib/fog/network/openstack/requests/get_quotas.rb'
- 'lib/fog/network/openstack/requests/set_tenant.rb'
- 'lib/fog/shared_file_system/openstack/requests/get_limits.rb'
- 'lib/fog/volume/openstack/requests/set_tenant.rb'
- 'test/requests/compute/helper.rb'
- 'test/requests/compute/helper.rb'
- 'test/requests/compute/helper.rb'
- 'test/requests/compute/helper.rb'
- 'test/requests/compute/helper.rb'
- 'lib/fog/openstack/identity/v2/requests/set_tenant.rb'
- 'lib/fog/openstack/identity/v2/requests/set_tenant.rb'
- 'lib/fog/openstack/network/requests/set_tenant.rb'
- 'lib/fog/openstack/network/requests/set_tenant.rb'
- 'lib/fog/openstack/network/requests/get_quotas.rb'
- 'lib/fog/openstack/network/requests/get_quotas.rb'
- 'lib/fog/openstack/baremetal/models/node.rb'
- 'lib/fog/openstack/baremetal/models/node.rb'
- 'lib/fog/openstack/baremetal/models/node.rb'
- 'lib/fog/openstack/image/v1/requests/set_tenant.rb'
- 'lib/fog/openstack/image/v1/requests/set_tenant.rb'
- 'lib/fog/openstack/image/v2/requests/set_tenant.rb'
- 'lib/fog/openstack/image/v2/requests/set_tenant.rb'
- 'lib/fog/openstack/shared_file_system/requests/get_limits.rb'
- 'lib/fog/openstack/shared_file_system/requests/get_limits.rb'
- 'lib/fog/openstack/compute/models/addresses.rb'
- 'lib/fog/openstack/compute/requests/set_tenant.rb'
- 'lib/fog/openstack/compute/requests/set_tenant.rb'
- 'lib/fog/openstack/volume/requests/set_tenant.rb'
- 'lib/fog/openstack/volume/requests/set_tenant.rb'

# Offense count: 3
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
Expand Down Expand Up @@ -344,15 +358,10 @@ Style/MethodDefParentheses:
Exclude:
- 'lib/fog/openstack.rb'

# Offense count: 7
Style/MethodMissing:
# Offense count: 2
Style/MissingRespondToMissing:
Exclude:
- 'lib/fog/baremetal/openstack/models/chassis_collection.rb'
- 'lib/fog/baremetal/openstack/models/nodes.rb'
- 'lib/fog/baremetal/openstack/models/ports.rb'
- 'lib/fog/image/openstack/v1/models/images.rb'
- 'lib/fog/image/openstack/v2/models/image.rb'
- 'lib/fog/image/openstack/v2/models/images.rb'
- 'lib/fog/planning/openstack/models/plans.rb'

# Offense count: 2
Expand Down
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby
sudo: false
before_install:
- gem update bundler
- gem install bundler --version '~> 1'
script:
- bundle exec rake test TESTOPTS="--verbose"
- bundle exec rake spec
Expand All @@ -10,13 +10,13 @@ env:
matrix:
fast_finish: true
include:
- rvm: 2.2.0
- rvm: 2.3.8
gemfile: Gemfile
- rvm: 2.3.0
- rvm: 2.4.5
gemfile: Gemfile
- rvm: 2.3.1
- rvm: 2.5.3
gemfile: Gemfile
- rvm: 2.4.2
- rvm: 2.6.0
gemfile: Gemfile
- rvm: jruby-head
gemfile: Gemfile
Expand Down
35 changes: 35 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- project:
check:
jobs:
- fog-openstack-unittest-test
- fog-openstack-unittest-spec

- job:
name: fog-openstack-unittest-test
parent: init-test
description: |
fog-openstack unittest test tests
run: playbooks/fog-openstack-unittest-test/run.yaml
vars:
rvm:
2.3.8
2.4.5
2.5.3
2.6.0
jruby-head
nodeset: ubuntu-xenial

- job:
name: fog-openstack-unittest-spec
parent: init-test
description: |
fog-openstack unittest spec tests
run: playbooks/fog-openstack-unittest-spec/run.yaml
vars:
rvm:
2.3.8
2.4.5
2.5.3
2.6.0
jruby-head
nodeset: ubuntu-xenial
Loading