Skip to content

Commit

Permalink
Updating Gems to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Frost committed Jun 29, 2015
1 parent 4bfdfdd commit 8cdda0d
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 37 deletions.
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
source 'https://rubygems.org'

gem 'atomic', '~> 1.1.16'
gem 'concurrent-ruby', '~> 0.8.0'
gem 'aws-sdk', '~> 1.15'
gem 'mime-types', '~> 2.2'
gem 'mime-types', '~> 2.6'
gem 'nokogiri', '~> 1.6.1'
gem 'ref', '~> 1.0.5'
gem 'ruby-progressbar', '~> 1.0'
gem 'thor', '~> 0.18'
gem 'thread', '~> 0.1.1'
Expand Down
43 changes: 23 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,46 @@ GEM
ast (2.0.0)
astrolabe (1.3.0)
parser (>= 2.2.0.pre.3, < 3.0)
atomic (1.1.99)
aws-sdk (1.64.0)
aws-sdk-v1 (= 1.64.0)
aws-sdk-v1 (1.64.0)
json (~> 1.4)
nokogiri (>= 1.4.4)
codeclimate-test-reporter (0.4.7)
simplecov (>= 0.7.1, < 1.0.0)
concurrent-ruby (0.8.0)
ref (~> 1.0, >= 1.0.5)
crack (0.4.2)
safe_yaml (~> 1.0.0)
diff-lcs (1.2.5)
docile (1.1.5)
json (1.8.2)
mime-types (2.5)
json (1.8.3)
mime-types (2.6.1)
mini_portile (0.6.2)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
parser (2.2.2.2)
parser (2.2.2.5)
ast (>= 1.1, < 3.0)
powerpack (0.1.0)
powerpack (0.1.1)
rainbow (2.0.0)
rake (10.4.2)
rspec (3.2.0)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-core (3.2.3)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.1)
ref (1.0.5)
rspec (3.3.0)
rspec-core (~> 3.3.0)
rspec-expectations (~> 3.3.0)
rspec-mocks (~> 3.3.0)
rspec-core (3.3.1)
rspec-support (~> 3.3.0)
rspec-expectations (3.3.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.1)
rspec-support (~> 3.3.0)
rspec-mocks (3.3.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
rubocop (0.30.1)
rspec-support (~> 3.3.0)
rspec-support (3.3.0)
rubocop (0.32.1)
astrolabe (~> 1.3)
parser (>= 2.2.2.1, < 3.0)
parser (>= 2.2.2.5, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.4)
Expand All @@ -64,12 +66,13 @@ PLATFORMS
ruby

DEPENDENCIES
atomic (~> 1.1.16)
aws-sdk (~> 1.15)
codeclimate-test-reporter
mime-types (~> 2.2)
concurrent-ruby (~> 0.8.0)
mime-types (~> 2.6)
nokogiri (~> 1.6.1)
rake
ref (~> 1.0.5)
rspec
rubocop
ruby-progressbar (~> 1.0)
Expand Down
23 changes: 12 additions & 11 deletions java-buildpack-dependency-builder.iml
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,29 @@
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.3.8, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="ast (v2.0.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="astrolabe (v1.3.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="atomic (v1.1.99, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="aws-sdk (v1.64.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="aws-sdk-v1 (v1.64.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.9.6, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="codeclimate-test-reporter (v0.4.7, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v0.8.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="crack (v0.4.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="docile (v1.1.5, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mime-types (v2.5, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.3, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mime-types (v2.6.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="mini_portile (v0.6.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.6.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="parser (v2.2.2.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="powerpack (v0.1.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="parser (v2.2.2.5, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="powerpack (v0.1.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rainbow (v2.0.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.2.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.2.3, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.2.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.2.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.2.2, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.30.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="ref (v1.0.5, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.3.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.3.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.3.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.3.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.3.0, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.32.1, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.7.5, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="safe_yaml (v1.0.4, rbenv: 2.2.2) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.10.0, rbenv: 2.2.2) [gem]" level="application" />
Expand Down
6 changes: 3 additions & 3 deletions lib/build/invalidator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require 'atomic'
require 'concurrent'
require 'build'
require 'ruby-progressbar'
require 'securerandom'
Expand All @@ -34,7 +34,7 @@ def with_invalidation(object)

return unless exist_previously && @distribution_id

complete = Atomic.new false
complete = Concurrent::Atomic.new false
[
Thread.new { cloudfront object, complete },
Thread.new { progress complete }
Expand Down Expand Up @@ -70,7 +70,7 @@ def progress(complete)
sleep 0.5
end

progress_bar.total = progress_bar.progress # rubocop:disable UselessSetterCall
progress_bar.total = progress_bar.progress
end
end
end
2 changes: 1 addition & 1 deletion spec/build/dependency/dependency_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
let(:dependency) { described_class.new(options) }

it 'should fail with an unknown version' do
expect { dependency.send(:version_specific, 'unknown-version') }.to raise_error
expect { dependency.send(:version_specific, 'unknown-version') }.to raise_error RuntimeError
end

def expect_version_uri(version, uri)
Expand Down

0 comments on commit 8cdda0d

Please sign in to comment.