kuali-sakai-common-lib 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,13 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kuali-sakai-common-lib'
3
- s.version = '0.0.7'
3
+ s.version = '0.0.8'
4
4
  s.summary = %q{Modules and methods common to the rSmart testing gems}
5
5
  s.description = %q{This gem provides a set of modules and methods that are common to the Kuali and Sakai open source project's rSmart functional testing API gems.\n\nThis gem is not useful except in the context of one of the other rSmart Kuali/Sakai testing API gems.}
6
6
  s.files = Dir.glob("**/**/**")
7
7
  s.test_files = Dir.glob("test/*test_rb")
8
8
  s.authors = ["Abraham Heward"]
9
9
  s.email = %w{"aheward@rsmart.com"}
10
- s.homepage = 'https://github.com/aheward/Kuali-Sakai-Functional-Test-Automation-Framework/tree/Sakai-CLE/Common'
10
+ s.homepage = 'https://github.com/aheward/sambal/tree/development/Common'
11
11
  s.add_dependency 'page-object', '>= 0.6.6'
12
12
  s.required_ruby_version = '>= 1.9.2'
13
13
  end
@@ -2,13 +2,21 @@
2
2
  module PageObject
3
3
  module Elements
4
4
  class Element
5
-
6
5
  def disabled?
7
6
  @element.disabled?
8
7
  end
9
-
10
8
  end
11
9
  end
10
+ module Accessors
11
+ def thing element_name
12
+ define_method element_name.to_s do
13
+ yield self
14
+ end
15
+ end
16
+ alias item thing
17
+ alias value thing
18
+ alias action thing
19
+ end
12
20
  end
13
21
 
14
22
  # Need this to extend Watir to be able to attach to Sakai's non-standard tags...
@@ -17,7 +17,6 @@ module Utilities
17
17
  block.call @current_page if block
18
18
  @current_page
19
19
  end
20
- alias on on_page
21
20
 
22
21
  # Strips the file name away from the path information.
23
22
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuali-sakai-common-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-21 00:00:00.000000000 Z
12
+ date: 2012-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: page-object
@@ -68,7 +68,7 @@ files:
68
68
  - lib/kuali-sakai-common-lib/syllabus.rb
69
69
  - lib/kuali-sakai-common-lib/utilities.rb
70
70
  - lib/kuali-sakai-common-lib.rb
71
- homepage: https://github.com/aheward/Kuali-Sakai-Functional-Test-Automation-Framework/tree/Sakai-CLE/Common
71
+ homepage: https://github.com/aheward/sambal/tree/development/Common
72
72
  licenses: []
73
73
  post_install_message:
74
74
  rdoc_options: []