kookaburra 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.16.0
1
+ 0.16.1
data/kookaburra.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "kookaburra"
8
- s.version = "0.16.0"
8
+ s.version = "0.16.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Wilger", "Sam Livingston-Gray"]
12
- s.date = "2012-03-11"
12
+ s.date = "2012-03-15"
13
13
  s.description = "Cucumber + Capybara = Kookaburra? It made sense at the time."
14
14
  s.email = "johnwilger@gmail.com"
15
15
  s.extra_rdoc_files = [
data/lib/kookaburra.rb CHANGED
@@ -20,6 +20,10 @@ class Kookaburra
20
20
  # argument to {Kookaburra#initialize}. See {Kookaburra#initialize} for the
21
21
  # list of valid keys and their contents.
22
22
  attr_accessor :configuration
23
+
24
+ def configuration
25
+ @configuration ||= {}
26
+ end
23
27
  end
24
28
 
25
29
  # Returns a new Kookaburra instance that wires together your application's
@@ -61,4 +61,20 @@ describe Kookaburra do
61
61
  k.get_data(:foos).should be_frozen
62
62
  end
63
63
  end
64
+
65
+ describe '.configuration' do
66
+ it 'returns the assigned value' do
67
+ begin
68
+ old_config = Kookaburra.configuration
69
+ Kookaburra.configuration = :test_configuration
70
+ Kookaburra.configuration.should == :test_configuration
71
+ ensure
72
+ Kookaburra.configuration = old_config
73
+ end
74
+ end
75
+
76
+ it 'defaults to an empty hash' do
77
+ Kookaburra.configuration.should == {}
78
+ end
79
+ end
64
80
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kookaburra
3
3
  version: !ruby/object:Gem::Version
4
- hash: 95
4
+ hash: 93
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 16
9
- - 0
10
- version: 0.16.0
9
+ - 1
10
+ version: 0.16.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Wilger
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-03-11 00:00:00 Z
19
+ date: 2012-03-15 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  version_requirements: &id001 !ruby/object:Gem::Requirement