kookaburra 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.6.0
data/kookaburra.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "kookaburra"
8
- s.version = "0.5.1"
8
+ s.version = "0.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Renewable Funding, LLC"]
@@ -36,7 +36,6 @@ Gem::Specification.new do |s|
36
36
  "lib/kookaburra/ui_driver/mixins/has_subcomponents.rb",
37
37
  "lib/kookaburra/ui_driver/mixins/has_ui_component.rb",
38
38
  "lib/kookaburra/ui_driver/ui_component.rb",
39
- "lib/requires.rb",
40
39
  "test/helper.rb",
41
40
  "test/kookaburra/ui_driver_test.rb",
42
41
  "test/kookaburra_test.rb"
@@ -1,4 +1,6 @@
1
1
  require 'active_support/core_ext/string/inflections'
2
+ require 'active_support/core_ext/class/attribute'
3
+ require 'kookaburra/ui_driver/ui_component'
2
4
 
3
5
  module Kookaburra
4
6
  class UIDriver
@@ -1,3 +1,7 @@
1
+ require 'kookaburra/ui_driver/mixins/has_browser'
2
+ require 'kookaburra/ui_driver/mixins/has_strategies'
3
+ require 'kookaburra/ui_driver/mixins/has_subcomponents'
4
+
1
5
  module Kookaburra
2
6
  class UIDriver
3
7
  class UIComponent
@@ -1,3 +1,6 @@
1
+ require 'kookaburra/ui_driver/mixins/has_browser'
2
+ require 'kookaburra/ui_driver/mixins/has_ui_component'
3
+
1
4
  module Kookaburra
2
5
  class UIDriver
3
6
  include HasBrowser
data/lib/kookaburra.rb CHANGED
@@ -1,4 +1,7 @@
1
- require File.join(File.dirname(__FILE__), *%w[requires])
1
+ require 'kookaburra/test_data'
2
+ require 'kookaburra/api_driver'
3
+ require 'kookaburra/given_driver'
4
+ require 'kookaburra/ui_driver'
2
5
 
3
6
  # Kookaburra is a framework for implementing the WindowDriver pattern in order
4
7
  # to keep acceptance tests maintainable.
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: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 5
9
- - 1
10
- version: 0.5.1
8
+ - 6
9
+ - 0
10
+ version: 0.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Renewable Funding, LLC
@@ -181,7 +181,6 @@ files:
181
181
  - lib/kookaburra/ui_driver/mixins/has_subcomponents.rb
182
182
  - lib/kookaburra/ui_driver/mixins/has_ui_component.rb
183
183
  - lib/kookaburra/ui_driver/ui_component.rb
184
- - lib/requires.rb
185
184
  - test/helper.rb
186
185
  - test/kookaburra/ui_driver_test.rb
187
186
  - test/kookaburra_test.rb
data/lib/requires.rb DELETED
@@ -1,17 +0,0 @@
1
- def kookaburra_require_glob(path_glob)
2
- Dir.glob(path_glob).each do |file|
3
- require file
4
- end
5
- end
6
-
7
- def kookaburra_require_all_relative_to(base_path, *relative_path_array)
8
- path = File.join(base_path, *relative_path_array.flatten)
9
- kookaburra_require_glob File.join(path, '*.rb')
10
- end
11
-
12
- # Require specific paths from the bottom up. Hooray for dependency graphs!
13
- base = File.dirname(__FILE__)
14
- kookaburra_require_all_relative_to base, %w[kookaburra ui_driver mixins]
15
- kookaburra_require_all_relative_to base, %w[kookaburra ui_driver]
16
- kookaburra_require_all_relative_to base, %w[kookaburra test_data]
17
- kookaburra_require_all_relative_to base, %w[kookaburra]