biosphere 0.2.3 → 0.2.4

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: 2166ef6bb2da626eab94885df92a8b3bb79aa505
4
- data.tar.gz: 4119e8fc79df78d71dfb9e77f61f83899376e506
3
+ metadata.gz: b933e04081d1108ed1b590179d5d619c15d132f2
4
+ data.tar.gz: 438ca2745302cae2516d3ae23b14c16b870140de
5
5
  SHA512:
6
- metadata.gz: b5361b142eee09f52c3899b5b173267ebd7e4a50162c3d42cf74ff1122eef2bb04d66fd2dc559419d5e59e971ae4394d95306a23bf19beacdb5a0781fbc07f1a
7
- data.tar.gz: 46d2b4ad7b982ffaf9eb7f5d4e9ddf4b31c710860fee954d768716741fea224da454bbe11855e7bad364c6e9e1a98e764df247591a5ab8884d453e35169c2646
6
+ metadata.gz: 822377222d2d70e70b85424284bfdb5f00ba9e7e699778298473c91c20fbf834e384a8ed4cbae94909ab98b128869e96bb368b8a49d6bbbb103992657c24d6eb
7
+ data.tar.gz: ee4ace64c82f8a9eb645253d7a9f8a368dfdd5ea80ed33d2f43b8f6178b1609c2d0977df1985deddfdcc90636122466b94b3ecd0d5a15100ce49a27aa3ef2eb7
@@ -65,7 +65,7 @@ end
65
65
 
66
66
  update_info = Biosphere::CLI::UpdateManager::check_for_update()
67
67
  if !update_info[:up_to_date]
68
- STDERR.puts "Notice. There is a new #{update_info[:latest]} biosphere version available. Your current version is #{update_info[:current]}\n".colorize(:yellow)
68
+ STDERR.puts "Notice. There is a new #{update_info[:latest]} biosphere version available. Your current version is #{update_info[:current]}\nUse \"gem install biosphere\" to update".colorize(:yellow)
69
69
  end
70
70
 
71
71
 
@@ -29,6 +29,8 @@ class Biosphere
29
29
  return info
30
30
  rescue JSON::ParserError
31
31
  return nil
32
+ rescue RestClient::Exceptions::OpenTimeout
33
+ return nil
32
34
  rescue RestClient::Exceptions::ReadTimeout
33
35
  return nil
34
36
  end
@@ -1,3 +1,3 @@
1
1
  class Biosphere
2
- Version = "0.2.3"
2
+ Version = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biosphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juho Mäkinen