Skip to content

Commit 8b3f71b

Browse files
committed
Bump 1.6.2
1 parent 707aeb7 commit 8b3f71b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Gemfile.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
PATH
22
remote: .
33
specs:
4-
one_gadget (1.6.1)
5-
elftools (~> 1.0)
4+
one_gadget (1.6.2)
5+
elftools (~> 1.0.2)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
1010
ast (2.4.0)
11-
bindata (2.4.3)
11+
bindata (2.4.4)
1212
diff-lcs (1.3)
13-
docile (1.3.0)
14-
elftools (1.0.1)
13+
docile (1.3.1)
14+
elftools (1.0.2)
1515
bindata (~> 2)
1616
jaro_winkler (1.5.1)
1717
json (2.1.0)
@@ -27,7 +27,7 @@ GEM
2727
rspec-mocks (~> 3.8.0)
2828
rspec-core (3.8.0)
2929
rspec-support (~> 3.8.0)
30-
rspec-expectations (3.8.0)
30+
rspec-expectations (3.8.2)
3131
diff-lcs (>= 1.2.0, < 2.0)
3232
rspec-support (~> 3.8.0)
3333
rspec-mocks (3.8.0)
@@ -63,4 +63,4 @@ DEPENDENCIES
6363
yard (~> 0.9)
6464

6565
BUNDLED WITH
66-
1.16.1
66+
1.16.6

lib/one_gadget/helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def color_on!
102102
# True or false.
103103
def color_enabled?
104104
# if not set, use tty to check
105-
return $stdout.tty? if @disable_color.nil?
105+
return $stdout.tty? unless instance_variable_defined?(:@disable_color)
106106

107107
!@disable_color
108108
end

lib/one_gadget/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module OneGadget
22
# Current gem version.
3-
VERSION = '1.6.1'.freeze
3+
VERSION = '1.6.2'.freeze
44
end

one_gadget.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
2626

2727
s.required_ruby_version = '>= 2.1.0'
2828

29-
s.add_runtime_dependency 'elftools', '~> 1.0'
29+
s.add_runtime_dependency 'elftools', '~> 1.0.2'
3030

3131
s.add_development_dependency 'rake', '~> 12.3'
3232
s.add_development_dependency 'rspec', '~> 3.7'

0 commit comments

Comments
 (0)