clash 2.2.3 → 2.2.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: 5ee827c2d7152cba7c95cceb721ed39257654afd
4
- data.tar.gz: 60765e72bda030d1919f5f1b5e215d65e0dc6cb6
3
+ metadata.gz: 1a435ce87cca2eb5879556a4f41289bd98b36945
4
+ data.tar.gz: b21619963eb2a164bc32f6953630a90025de479a
5
5
  SHA512:
6
- metadata.gz: ce473dea4b599f5f75c48851f1c071486d4671c2c441f0fbc1e58f403d10a4ff2d586e79b9e943a43d840ada3e7bc4f3eef5d58d5e7af9ada0915842cd58e482
7
- data.tar.gz: fffc276ceeedcf812167b76870df17a9e49d56bdf0e970129cb4ffc271f48137191710aa1b2af722a2a5f96f1a22b47ec8387c7cf7798c0be0cb70897701de94
6
+ metadata.gz: 0c4513e5badd32540ddc8cccec2f7397e6556ceed7ca0f751e390b60b4f9d34e9e51d3545c73a304bd67d8afc76c27c507cd619b83b25da416b468c82098065b
7
+ data.tar.gz: 440f8d9c862c3ae30baebf59e53e5b0f4a96589b81400952654a78c9e68ec9791c5018ced4e580f10d563c662a0adedda7a9dd128aa3c210bccc421ba692b614
@@ -116,3 +116,15 @@ module Clash
116
116
  end
117
117
  end
118
118
  end
119
+
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
127
+ end
128
+ rescue LoadError, Bundler::GemfileNotFound
129
+ false
130
+ end
@@ -1,3 +1,3 @@
1
1
  module Clash
2
- VERSION = "2.2.3"
2
+ VERSION = "2.2.4"
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.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis