v2gpti 0.2.0.7 → 0.2.0.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: ecf71964e0ddf7088c71da7c880b5c4b1c218c26
4
- data.tar.gz: b0494ead697980ce42243f47344b0fe811af0394
3
+ metadata.gz: b1df4471f99cbb91fc08a5046690931a73472e05
4
+ data.tar.gz: 7444631fba19dad35fbb47c7a737c83b6fbfd794
5
5
  SHA512:
6
- metadata.gz: e6223202ff1120d2d4193572a87b42b146f75221c21c3e65d810e28f874bbec9d8848d1a6ea224508cb6f61728b137ebe6830c33f6c608e604e70d99264d7dfd
7
- data.tar.gz: c645e9aa6d8afac2da4e75159e00fb67e13b5bfe95b9daa355ff993836aee86b789fe4c009e0062cbff6cb8e97501f5e7a14e3d6b26401ee24cd4c38205cd54e
6
+ metadata.gz: bef79c236838978e908177ca8014142f9db6e258754b60c6ff222c819b7ce3d6bb51ecb08ca01793ef58d18c9769b4276882aa6b4c71c6511721fe135aeb5238
7
+ data.tar.gz: 00d4fc3b571a67d535d4390bf3c281bc35e5a8b16898f6739add3bab9c771489ed5e5bcb1383a96b7b19ba1da355b3761c334fca92646c580ea063f71ce07244
@@ -49,12 +49,12 @@ class GitPivotalTrackerIntegration::Command::Base
49
49
 
50
50
  def check_version
51
51
  gem_latest_version = (GitPivotalTrackerIntegration::Util::Shell.exec "gem list v2gpti --remote")[/\(.*?\)/].delete "()"
52
- gem_installed_version = Gem.loaded_specs["v2gpti"].version
52
+ gem_installed_version = Gem.loaded_specs["v2gpti"].version.version
53
53
  if (gem_installed_version == gem_latest_version)
54
54
  $LOG.info("v2gpti verison #{gem_installed_version} is up to date.")
55
55
  else
56
56
  $LOG.fatal("Out of date")
57
- abort "\n\nYou are using v2gpti version #{gem_installed_version}, but the current version is #{gem_latest_version}.\nPlease update your gem with the following command.\n\n sudo gem update v2gpti\n\n"
57
+ abort "\n\nYou are using v2gpti version #{gem_installed_version.class}, but the current version is #{gem_latest_version.class}.\nPlease update your gem with the following command.\n\n sudo gem update v2gpti\n\n"
58
58
 
59
59
  end
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: v2gpti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.7
4
+ version: 0.2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Hale