Skip to content

Commit 664da99

Browse files
committed
Version updates
This change updates the versions of Ruby and the buildpack's dependencies. A change to Rubocop required a slight change to the code.
1 parent 18a63d2 commit 664da99

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.3-p545
1+
1.9.3-p547

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
language: ruby
33
rvm:
44
- 2.1.2
5-
- 1.9.3-p545
6-
before_script: "if [[ $TRAVIS_RUBY_VERSION != '1.9.3-p545' || $TRAVIS_SECURE_ENV_VARS != 'true' ]]; then unset CODECLIMATE_REPO_TOKEN; fi"
5+
- 1.9.3-p547
6+
before_script: "if [[ $TRAVIS_RUBY_VERSION != '1.9.3-p547' || $TRAVIS_SECURE_ENV_VARS != 'true' ]]; then unset CODECLIMATE_REPO_TOKEN; fi"
77
install: bundle install --deployment --without debug
88
notifications:
99
webhooks:

Gemfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ GEM
1111
debugger-ruby_core_source
1212
debugger-ruby_core_source (1.3.5)
1313
diff-lcs (1.2.5)
14-
docile (1.1.4)
14+
docile (1.1.5)
1515
json (1.8.1)
1616
multi_json (1.10.1)
17-
parser (2.1.9)
17+
parser (2.2.0.pre.3)
1818
ast (>= 1.1, < 3.0)
1919
slop (~> 3.4, >= 3.4.5)
2020
powerpack (0.0.9)
@@ -25,17 +25,17 @@ GEM
2525
rspec-core (~> 3.0.0)
2626
rspec-expectations (~> 3.0.0)
2727
rspec-mocks (~> 3.0.0)
28-
rspec-core (3.0.1)
28+
rspec-core (3.0.2)
2929
rspec-support (~> 3.0.0)
30-
rspec-expectations (3.0.1)
30+
rspec-expectations (3.0.2)
3131
diff-lcs (>= 1.2.0, < 2.0)
3232
rspec-support (~> 3.0.0)
33-
rspec-mocks (3.0.1)
33+
rspec-mocks (3.0.2)
3434
rspec-support (~> 3.0.0)
35-
rspec-support (3.0.0)
36-
rubocop (0.23.0)
35+
rspec-support (3.0.2)
36+
rubocop (0.24.1)
3737
json (>= 1.7.7, < 2)
38-
parser (~> 2.1.9)
38+
parser (>= 2.2.0.pre.3, < 3.0)
3939
powerpack (~> 0.0.6)
4040
rainbow (>= 1.99.1, < 3.0)
4141
ruby-progressbar (~> 1.4)
@@ -45,7 +45,7 @@ GEM
4545
ruby-debug-ide (0.4.22)
4646
rake (>= 0.8.1)
4747
ruby-progressbar (1.5.1)
48-
rubyzip (1.1.4)
48+
rubyzip (1.1.6)
4949
safe_yaml (1.0.3)
5050
simplecov (0.8.2)
5151
docile (~> 1.1.0)

lib/java_buildpack/component/services.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ def find_service(filter)
6969

7070
def credentials?(candidate, required_keys)
7171
required_keys.all? do |k|
72-
k.kind_of?(Array) ? k.one? { |g| candidate.key?(g) } : candidate.key?(k)
72+
k.is_a?(Array) ? k.one? { |g| candidate.key?(g) } : candidate.key?(k)
7373
end
7474
end
7575

7676
def matcher(filter)
77-
filter = Regexp.new(filter) unless filter.kind_of?(Regexp)
77+
filter = Regexp.new(filter) unless filter.is_a?(Regexp)
7878

7979
lambda do |service|
8080
service['name'] =~ filter || service['label'] =~ filter || service['tags'].any? { |tag| tag =~ filter }

0 commit comments

Comments
 (0)