Skip to content

JRuby fixes + disk tests/docs#435

Merged
Temikus merged 12 commits intofog:masterfrom
Temikus:non_boot_disk
Jan 23, 2019
Merged

JRuby fixes + disk tests/docs#435
Temikus merged 12 commits intofog:masterfrom
Temikus:non_boot_disk

Conversation

@Temikus
Copy link
Member

@Temikus Temikus commented Dec 10, 2018

Will close #425 in favor of this for JRuby fixes.

Otherwise - mainly docs + tests for attached disks behaviour, to avoid confusion like in #434.

@codecov
Copy link

codecov bot commented Dec 10, 2018

Codecov Report

Merging #435 into master will increase coverage by 0.39%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #435      +/-   ##
==========================================
+ Coverage   84.94%   85.34%   +0.39%     
==========================================
  Files         339      339              
  Lines        5825     5826       +1     
==========================================
+ Hits         4948     4972      +24     
+ Misses        877      854      -23
Impacted Files Coverage Δ
lib/fog/compute/google/models/disks.rb 100% <ø> (ø) ⬆️
lib/fog/compute/google/models/snapshot.rb 95.23% <100%> (+20.23%) ⬆️
lib/fog/compute/google/models/disk.rb 93.84% <100%> (+10.76%) ⬆️
lib/fog/storage/google_json/requests/get_object.rb 90.47% <0%> (-0.44%) ⬇️
...og/compute/google/requests/create_disk_snapshot.rb 88.88% <0%> (+11.11%) ⬆️
lib/fog/compute/google/requests/delete_snapshot.rb 88.88% <0%> (+11.11%) ⬆️
...fog/compute/google/requests/set_snapshot_labels.rb 88.88% <0%> (+11.11%) ⬆️
lib/fog/compute/google/models/snapshots.rb 90.47% <0%> (+14.28%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0713914...9815ecb. Read the comment docs.

assert(snapshot.is_a?(Fog::Compute::Google::Snapshot),
"Resulting snapshot should be a snapshot object.")

assert_raises(ArgumentError){ snapshot.set_labels(["bar","test"]) }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/SpaceBeforeBlockBraces: Space missing to the left of {.
Style/WordArray: Use %w or %W for an array of words.
Layout/SpaceAfterComma: Space missing after comma.

@Temikus Temikus merged commit 89a91bc into fog:master Jan 23, 2019
@Temikus Temikus deleted the non_boot_disk branch January 23, 2019 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not load 'byebug' gem if running on JRuby

3 participants