easy_e 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/easy_e/snapshotter.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a91d55595a725a593abdba2c35db12ff31fb4f6
4
- data.tar.gz: 6bb9bd5752148dceb68db0390f0e715a1962534a
3
+ metadata.gz: 183a36009556add028d9ddff42d79e1b056fd808
4
+ data.tar.gz: fe9d903951a30f08c36d7f51c24cd0dafa43482e
5
5
  SHA512:
6
- metadata.gz: 6137ed879ec554214bee56dda4195c67c56634d12d30d2b0f7f3353d2855d9ec6e556f92ed7d418650eb25df70bda87f022888ce1a209fad50769ad33e539790
7
- data.tar.gz: 35b76fd9205b44a35102b8aa52ba31b1f971d902d0053e6c67e01dbb7f1e9bcea4315acc4afc575c455bf3d502396323dce78d659b27be23d5c73155d11ddf47
6
+ metadata.gz: b36a78180962b4c56906865e9438d524b01ab3615163cfc977105771730892e7b03c6d38e6b81fd4aa2be459d5667cef8283946ee4c24d78ae6b7b1b96470686
7
+ data.tar.gz: 9469b07d7e55f80315534468e3ce2dc84c28cb17d30f1a3aa917cce4b423340b96e53b61f5fef24b44141ab024ee04bb278495660759b4ef8273ddd10499e35c
@@ -68,7 +68,8 @@ module EasyE::Snapshotter
68
68
  end
69
69
 
70
70
  def should_snap vol
71
- options.directory.nil? or devices_to_snap.include?(vol.device)
71
+ normalized_device = vol.device.gsub('/dev/xv', '/dev/s') rescue vol.device
72
+ options.directory.nil? or devices_to_snap.include?(normalized_device)
72
73
  end
73
74
 
74
75
  def devices_to_snap
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_e
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Conrad