stacker_bee 2.1.1.pre277 → 2.1.1.pre279

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +8 -8
  2. data/.rspec +1 -0
  3. data/spec/integration/configure_middleware_spec.rb +0 -2
  4. data/spec/integration/console_spec.rb +0 -2
  5. data/spec/integration/request_spec.rb +0 -1
  6. data/spec/spec_helper.rb +0 -7
  7. data/spec/units/stacker_bee/api_spec.rb +0 -2
  8. data/spec/units/stacker_bee/client_spec.rb +0 -1
  9. data/spec/units/stacker_bee/configuration_spec.rb +0 -2
  10. data/spec/units/stacker_bee/connection_spec.rb +0 -2
  11. data/spec/units/stacker_bee/middleware/adapter_spec.rb +0 -2
  12. data/spec/units/stacker_bee/middleware/base_spec.rb +0 -2
  13. data/spec/units/stacker_bee/middleware/cloud_stack_api_spec.rb +0 -2
  14. data/spec/units/stacker_bee/middleware/console_access_spec.rb +0 -2
  15. data/spec/units/stacker_bee/middleware/dictionary_flattener_spec.rb +0 -2
  16. data/spec/units/stacker_bee/middleware/endpoint_normalizer_spec.rb +0 -2
  17. data/spec/units/stacker_bee/middleware/error_message_spec.rb +0 -2
  18. data/spec/units/stacker_bee/middleware/format_keys_spec.rb +0 -2
  19. data/spec/units/stacker_bee/middleware/format_values_spec.rb +0 -2
  20. data/spec/units/stacker_bee/middleware/http_status_spec.rb +0 -2
  21. data/spec/units/stacker_bee/middleware/log_response_spec.rb +0 -1
  22. data/spec/units/stacker_bee/middleware/raise_on_http_errors_spec.rb +0 -2
  23. data/spec/units/stacker_bee/middleware/remove_empty_strings_spec.rb +0 -2
  24. data/spec/units/stacker_bee/middleware/remove_nils_spec.rb +0 -2
  25. data/spec/units/stacker_bee/rash_spec.rb +0 -2
  26. data/spec/units/stacker_bee/request_error_spec.rb +0 -2
  27. data/spec/units/stacker_bee/utilities_spec.rb +0 -2
  28. data/spec/units/stacker_bee_spec.rb +0 -2
  29. metadata +3 -3
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
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Tg2MDc0NzMzYTlhMDBm
15
+ NmU5YmVlYmVjYzk3YWViNzQyODk4MmE1ZWIyMzFkYzE5OWEwYjM=
data/.rspec CHANGED
@@ -1,2 +1,3 @@
1
1
  --color
2
2
  --format progress
3
+ --require spec_helper
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe 'Configuring middlewares' do
4
2
  let(:configuration) do
5
3
  {
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe 'A request sent to CloudStack for console access', :vcr do
4
2
  subject(:console_access) { client.console_access(vm: vm) }
5
3
 
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'logger'
3
2
 
4
3
  describe 'A response to a request sent to the CloudStack API', :vcr do
@@ -1,12 +1,5 @@
1
1
  require 'simplecov'
2
2
 
3
- # This file was generated by the `rspec --init` command. Conventionally, all
4
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
- # Require this file using `require "spec_helper"` to ensure that it is only
6
- # loaded once.
7
- #
8
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
9
-
10
3
  require File.expand_path('../../lib/stacker_bee', __FILE__)
11
4
 
12
5
  require 'yaml'
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::API do
4
2
  subject { api }
5
3
 
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'ostruct'
3
2
 
4
3
  describe StackerBee::Client, '.api' do
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Configuration do
4
2
  describe "setting an attribute that doesn't exist" do
5
3
  [:ssl_verify?, :url?, :other_attr].each do |attr|
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Connection do
4
2
  subject(:get) { connection.get(path, query_params) }
5
3
  before { allow(Faraday).to receive_messages new: faraday }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::Adapter do
4
2
  let(:env) do
5
3
  StackerBee::Middleware::Environment.new(
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::Base do
4
2
  let(:env) { StackerBee::Middleware::Environment.new(params: params) }
5
3
  let(:params) { {} }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::CloudStackAPI do
4
2
  let(:env) do
5
3
  StackerBee::Middleware::Environment.new(
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::ConsoleAccess do
4
2
  let(:env) do
5
3
  StackerBee::Middleware::Environment.new(endpoint_name: endpoint_name)
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::DictionaryFlattener do
4
2
  let(:lb) { described_class::LB }
5
3
  let(:rb) { described_class::RB }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::EndpointNormalizer do
4
2
  let(:middleware) { described_class.new(app: app, api: api) }
5
3
  let(:app) { double(:app) }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::ErrorMessage do
4
2
  subject { env.response }
5
3
  before { middleware.after(env) }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::FormatKeys do
4
2
  subject { described_class.new.transform_params(params) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::FormatValues do
4
2
  subject { described_class.new.transform_params(params) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::HTTPStatus do
4
2
  subject { env.response }
5
3
  before { middleware.after(env) }
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  describe StackerBee::Middleware::LogResponse do
3
2
  describe 'after' do
4
3
  let(:logger) { FakeLogger.new }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::RaiseOnHTTPError do
4
2
  skip
5
3
  end
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  # TODO: does this really need to work with nested hashes?
4
2
  describe StackerBee::Middleware::RemoveEmptyStrings do
5
3
  # rubocop:disable RSpec/InstanceVariable
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Middleware::RemoveNils do
4
2
  it 'removes pairs with nil values from the params' do
5
3
  expect(subject.transform_params(something: 'something', nothing: nil))
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  shared_examples_for 'a Rash' do |mapping|
4
2
  mapping.each_pair { |key, value| its([key]) { should == value } }
5
3
  end
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe 'An error occuring' do
4
2
  let(:env) { double(response: response) }
5
3
  let(:response) { double(status: status, error: error_text) }
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee::Utilities do
4
2
  include described_class
5
3
 
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe StackerBee do
4
2
  it { expect(StackerBee::VERSION).not_to be_nil }
5
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacker_bee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.pre277
4
+ version: 2.1.1.pre279
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sterndale
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-29 00:00:00.000000000 Z
12
+ date: 2014-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
321
  version: 1.3.1
322
322
  requirements: []
323
323
  rubyforge_project:
324
- rubygems_version: 2.2.2
324
+ rubygems_version: 2.4.1
325
325
  signing_key:
326
326
  specification_version: 4
327
327
  summary: Ruby CloudStack client