go_script 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 2b69d01a2509103e285983707ae25e52f4713dc2
4
- data.tar.gz: 526759a09264bac3237f592f56e5fe66fe252613
3
+ metadata.gz: 812e64dd2ec78c978a0ac4dc2c284b5d5428464a
4
+ data.tar.gz: 445a093fae3360546708a673b55c2014de3fe242
5
5
  SHA512:
6
- metadata.gz: eb66d5c9a4a33eca2a5b9fdcf9c223ec0c97eed8b92f135ef86cf26e9d23594eb2c9dc69fcfda66c9b55a1c8d463655fb1860ca284c37dd1a017e74349b381f3
7
- data.tar.gz: 0e23dd6c1a68f19a3c3ac314f87807e9e74f8c85d63625361df092691114fb98a02bfed3108abace5e6383eba52f9037de746f6d63293518b6e26561f898e3e8
6
+ metadata.gz: eebe14a6f67c99cb93aa442ac1bee13b32e56c871ec1faf40b116a28df1187462f9864ee1e6bd36e668c83e5146c7807560aef7f8a3e2050a7788ac65dc7904f
7
+ data.tar.gz: a7d82646b5381de3ac1e45ab63c0ecec2a16660e1dcec6586df3dd2763cb3bea25fabca3420b9217bd7690aa270e13841608b3ee06e73fa9438ddf21c77d4d54
@@ -26,7 +26,8 @@ end
26
26
  begin
27
27
  require 'go_script'
28
28
  rescue LoadError
29
- try_command_and_restart 'gem install go_script'
29
+ try_command_and_restart 'gem install go_script' unless File.exist? 'Gemfile'
30
+ abort "Please add \\\"gem 'go_script'\\\" to your Gemfile"
30
31
  end
31
32
 
32
33
  extend GoScript
@@ -1,7 +1,7 @@
1
1
  # @author Mike Bland (michael.bland@gsa.gov)
2
2
 
3
3
  module GoScript
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
 
6
6
  class Version
7
7
  def self.check_ruby_version(min_version)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Bland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-28 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler