sekrets 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/lib/sekrets.rb +4 -3
  3. data/sekrets.gemspec +1 -1
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d4dd69d78364d9acd5caa6fca9607e5e1443fe8e
4
- data.tar.gz: ab7f57bec13c2916b19a6dea4831ca1dca155662
2
+ SHA256:
3
+ metadata.gz: d76da0916f8e4e50959cd86acc0be4b3966440ba6229e439af210b79105cbabf
4
+ data.tar.gz: 9c9a0aedf8352a97ec4eaac0e8fe98ffae504226904df80eca0aa706b5a7297a
5
5
  SHA512:
6
- metadata.gz: 207fffa3fedbe325336c420e4929670a7136ac05a8c023462e9f883f007fa488f3abe3abb1d90d5554758984a4db5969f0c243252462c0da5753c3713a95e618
7
- data.tar.gz: 901db375c92b81deb9222c0e3856b8f6d7838f606231a0affaf5b18a2bfbe606ddc7a93205f20bfae88ef470cd079ad281e3d253c4b097aa42084d0f85ffb450
6
+ metadata.gz: 8ee586f594cd5d3fface12eff0803644bab2523ae3d527a2115db4c5a0f7a0258440807b04d44de25eaa323c2d6aa26f782c346e86398976df780c5371cce9a9
7
+ data.tar.gz: 858cac7af48b9bc950368fd639817f89225bcfa0df89ef2a75ab84fc15f4f26f56398ec8f0fdc9c3de5f77a54fba84fe48dd255acbcbbd0bc5c60139d62aaf2a
data/lib/sekrets.rb CHANGED
@@ -166,8 +166,9 @@ class Sekrets
166
166
  end
167
167
 
168
168
  def Sekrets.system(command)
169
- if defined?(Bundler.with_clean_env)
170
- Bundler.with_clean_env{ Kernel.system(command) }
169
+ if defined?(Bundler)
170
+ msg = (Bundler.respond_to?('with_original_env') ? 'with_original_env' : 'with_clean_env')
171
+ Bundler.send(msg){ Kernel.system(command) }
171
172
  else
172
173
  Kernel.system(command)
173
174
  end
@@ -356,7 +357,7 @@ BEGIN {
356
357
  require 'tmpdir'
357
358
 
358
359
  class Sekrets < ::String
359
- Version = '1.11.0' unless defined?(Version)
360
+ Version = '1.12.0' unless defined?(Version)
360
361
 
361
362
  class << Sekrets
362
363
  def version
data/sekrets.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification::new do |spec|
7
7
  spec.name = "sekrets"
8
- spec.version = "1.11.0"
8
+ spec.version = "1.12.0"
9
9
  spec.platform = Gem::Platform::RUBY
10
10
  spec.summary = "securely manage encrypted files and settings"
11
11
  spec.description = "sekrets is a command line tool and library used to securely manage encrypted files and settings in your rails' applications and git repositories."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sekrets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-01 00:00:00.000000000 Z
11
+ date: 2020-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -120,8 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubyforge_project: codeforpeople
124
- rubygems_version: 2.6.14
123
+ rubygems_version: 3.0.3
125
124
  signing_key:
126
125
  specification_version: 4
127
126
  summary: securely manage encrypted files and settings