vagrant-registration 1.3.2 → 1.3.3

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: 7e6fbd467ace0a36ad6a8ed998000cd0c636519b320664c7ab33d5bc2c6fc9bc
4
- data.tar.gz: 86eb123fdd8e92205ee2e39e265b4cae3b0db1ad9d655ed18d2e606d075d3c01
3
+ metadata.gz: 4ee8b2a17b88c5522eab39cbb431b498ae16fad453cfa16245f90a8951cd7190
4
+ data.tar.gz: 26f32e4322d3ef312bda7700fcd3a6056119aebc8414ce8a79f3ebb1f88b7dd9
5
5
  SHA512:
6
- metadata.gz: 88295a8a884ba2d1da7b1912b9900d01328557f77b12ae1970d7fe12c06a3f34d7e0499c29d83b4ba1fd6b29472225378bbd8079fee6a8447ad24b9b15d7191e
7
- data.tar.gz: 1014dd664621d43ea0d8c95aaaeddfa6066eb219bae4f47b8d5f0b23fc3c4c93755b2c21118c714f1e4b22bc15c87b1c42af2f4ab36aff61ab6411584ad72a2a
6
+ metadata.gz: 649c9c60d3db370b14be048ea35a3e49881cd1f1912e24f9563aa41256a082c296984f03f8dc4f2b1ce8313f4a987cd826fd3802cc7255d0e1adfd95ebb452b6
7
+ data.tar.gz: 97ef3fa04ba7310a4265ca3a2fb1a0cbf5556a8ca8e464060cf91a8d932735ae9802772e76043e241d1700a8ef02784c2c915ded39f9748ddcfce18b50464ce4
data/README.adoc CHANGED
@@ -398,12 +398,11 @@ option to `false`:
398
398
 
399
399
  == Development
400
400
 
401
- The use of https://rvm.io[RVM] is recommended. Verified to work with
402
- ruby 2.0.0p648.
401
+ The use of https://rvm.io[RVM] is recommended. Verified to work with ruby-2.2.10.
403
402
 
404
403
  ....
405
- rvm install 2.0
406
- rvm use 2.0
404
+ rvm install 2.2
405
+ rvm use 2.2
407
406
  ....
408
407
 
409
408
  To install a development environment, clone the repo and prepare
@@ -475,10 +474,10 @@ To release a new version of vagrant-registration you will need to do the followi
475
474
  * Follow [Semantic Versioning](http://semver.org/).
476
475
  2. Then, create a matching GitHub Release (this will also create a tag):
477
476
  * Preface the version number with a `v`.
478
- * https://github.com/devopsgroup-io/vagrant-hostmanager/releases
477
+ * https://github.com/projectatomic/adb-vagrant-registration/releases
479
478
  3. You will then need to build and push the new gem to RubyGems:
480
- * `rake gem:build`
481
- * `gem push pkg/vagrant-registration-1.6.1.gem`
479
+ * `rake build`
480
+ * `gem push pkg/vagrant-registration-1.3.2.gem`
482
481
  4. Then, when John Doe runs the following, they will receive the updated vagrant-registration plugin:
483
482
  * `vagrant plugin update`
484
483
  * `vagrant plugin update vagrant-registration`
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  # Registration plugin to auto-register guests on `vagrant up`
3
3
  module Registration
4
- VERSION = '1.3.2'
4
+ VERSION = '1.3.3'
5
5
  end
6
6
  end
@@ -4,9 +4,9 @@ module VagrantPlugins
4
4
  class SubscriptionManager
5
5
  # Test that the machine is already registered
6
6
  def self.subscription_manager_registered?(machine)
7
- false if machine.communicate.sudo("/usr/sbin/subscription-manager list --consumed | grep 'No consumed subscription pools to list'")
7
+ true if machine.communicate.sudo("/usr/sbin/subscription-manager list --consumed --pool-only | grep -E '^[a-f0-9]{32}$'")
8
8
  rescue
9
- true
9
+ false
10
10
  end
11
11
 
12
12
  # Test that we have subscription-manager installed
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-registration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Langdon White
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-12-17 00:00:00.000000000 Z
13
+ date: 2020-03-20 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Enables guests to be registered automatically which is especially useful
16
16
  for RHEL or SLES guests.
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.3.6
62
62
  requirements: []
63
- rubygems_version: 3.0.4
63
+ rubygems_version: 3.0.6
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: Automatic guest registration for Vagrant