clash 2.2.4 → 2.2.5

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: 1a435ce87cca2eb5879556a4f41289bd98b36945
4
- data.tar.gz: b21619963eb2a164bc32f6953630a90025de479a
3
+ metadata.gz: be90c028c475aa2782bbc5d85c670a8063474cf3
4
+ data.tar.gz: b160b85a2a5240f9f5ef97b935f5e70936e25c12
5
5
  SHA512:
6
- metadata.gz: 0c4513e5badd32540ddc8cccec2f7397e6556ceed7ca0f751e390b60b4f9d34e9e51d3545c73a304bd67d8afc76c27c507cd619b83b25da416b468c82098065b
7
- data.tar.gz: 440f8d9c862c3ae30baebf59e53e5b0f4a96589b81400952654a78c9e68ec9791c5018ced4e580f10d563c662a0adedda7a9dd128aa3c210bccc421ba692b614
6
+ metadata.gz: 79ad060b484a42f03a514f9f6135a789cf24fe10d6ce899a6060facbd2311b4d9d49d6bc484e41048a52e10f6572be45811d21f53f31908e54561a500429f448
7
+ data.tar.gz: 315a34a0615f80ca686af9f272e0fe89192066294dac43af2fa49bd7419304e1df05b04f01687a54219839a33a55ab7479bed48f16b1ab698b760dc947467345
@@ -114,17 +114,18 @@ module Clash
114
114
  def print_pass
115
115
  pout greenit('.')
116
116
  end
117
- end
118
- end
119
117
 
120
- def require_gems
121
- if !ENV["CLASH_NO_BUNDLER_REQUIRE"] && (File.file?("Gemfile") || File.file?("../Gemfile"))
122
- require "bundler"
123
- Bundler.setup # puts all groups on the load path
124
- true
125
- else
126
- false
118
+ def require_gems
119
+ if !ENV["CLASH_NO_BUNDLER_REQUIRE"] && (File.file?("Gemfile") || File.file?("../Gemfile"))
120
+ require "bundler"
121
+ Bundler.setup # puts all groups on the load path
122
+ true
123
+ else
124
+ false
125
+ end
126
+ rescue LoadError, Bundler::GemfileNotFound
127
+ false
128
+ end
127
129
  end
128
- rescue LoadError, Bundler::GemfileNotFound
129
- false
130
130
  end
131
+
@@ -10,6 +10,7 @@ module Clash
10
10
  @options['config'] ||= {}
11
11
  @options['dir'] ||= '.'
12
12
  @cleanup = []
13
+ require_gems
13
14
  end
14
15
 
15
16
  def run
@@ -1,3 +1,3 @@
1
1
  module Clash
2
- VERSION = "2.2.4"
2
+ VERSION = "2.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clash
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis