theme-juice 0.28.7 → 0.28.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 623ec68f09df76be764f7f8d5a1554d4648f8f7b
4
- data.tar.gz: 4d305f1533e51a8461ee8fe5973791c96e83c300
3
+ metadata.gz: 66ee9a33678f293565b9b0e9f95af33a0d8500c7
4
+ data.tar.gz: 204e5669ef048fa549df60d83b162338cd44b372
5
5
  SHA512:
6
- metadata.gz: 6878a2270f134e35bcf96c77deaf71df60911b31fa4e805195e90f5d1a60d65ecd6ce12187b41748fd659aada776cfca2c65da6930de44bcceab6a132a639344
7
- data.tar.gz: e3f515c28a27c6c468da8590d0bfeb626a5b52d5003b023578408ecb5c0d7ef53355f54b80e58f5f0ed30489450be1f2e63025318f8444a1fb20429de5c2e806
6
+ metadata.gz: 4268c37bc6521e6d49b65e644caae213c02287e35a13056425f7e3b639a4d9ff145e716a5a3f31ced463120144c7b0a8622b5dd7c981730bb24ad4a17ef07d23
7
+ data.tar.gz: 8a0fd1eb500232cc0ebc30059e4322e167a3f166aa3b99eff7973b2f6ebbe1f983ed559f5b1c701e5d28cfbd335fcb1896aa351290cd25a13ee45e6c56131f03
@@ -17,9 +17,10 @@ module ThemeJuice
17
17
 
18
18
  def vagrant_plugin_is_installed?(plugin, version)
19
19
  plugins = `vagrant plugin list`
20
- current_version = plugins.match(/#{plugin} \(([[0-9]\.]+)(?:,[^\)]+)?\)/)[1]
20
+ matches = plugins.match /#{plugin} \(([[0-9]\.]+)(?:,[^\)]+)?\)/
21
21
 
22
- return false if !plugins.include?(plugin) || current_version.nil?
22
+ return false if !plugins.include?(plugin) || matches.nil?
23
+ current_version = matches[1]
23
24
 
24
25
  Gem::Version.new(current_version) >= Gem::Version.new(version)
25
26
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- VERSION = "0.28.7"
4
+ VERSION = "0.28.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme-juice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.7
4
+ version: 0.28.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse