Module: RSpec::Hive
- Defined in:
- lib/rspec/hive.rb,
lib/rspec/hive/db_name.rb,
lib/rspec/hive/railtie.rb,
lib/rspec/hive/version.rb,
lib/rspec/hive/connector.rb,
lib/rspec/hive/configuration.rb,
lib/rspec/hive/query_builder.rb,
lib/rspec/hive/exponential_backoff.rb,
lib/rspec/hive/connection_delegator.rb,
lib/rspec/hive/query_builder_helper.rb,
lib/rspec/hive/with_hive_connection.rb,
lib/rspec/hive/query_builder/type_faker.rb,
lib/rspec/hive/query_builder/null_strategy.rb,
lib/rspec/hive/query_builder/row_transformer.rb,
lib/rspec/hive/query_builder/value_by_type_strategy.rb
Defined Under Namespace
Modules: QueryBuilderHelper, WithHiveConnection
Classes: Configuration, ConnectionDelegator, Connector, DbName, ExponentialBackoff, QueryBuilder, Railtie
Constant Summary
collapse
- VERSION =
'0.3.0'.freeze
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
13
14
15
|
# File 'lib/rspec/hive.rb', line 13
def self.configuration
@configuration
end
|
17
18
19
20
21
|
# File 'lib/rspec/hive.rb', line 17
def self.configure(file_name = nil)
@configuration = new_configuration(file_name)
yield(@configuration) if block_given?
@configuration
end
|
.connector ⇒ Object
23
24
25
26
|
# File 'lib/rspec/hive.rb', line 23
def self.connector
@configuration ||= Configuration.new
Connector.new(@configuration)
end
|