teber-library 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93af79ee07837bf1a29aa04fd1db3a2c94e4780f2a09dba84f6583b7fc58aaed
4
- data.tar.gz: 5807977440dbfcbbb0f8758d69dd25cb6c8c2f70604666501bb383453fa88cc7
3
+ metadata.gz: 9f5c85a1e07fecde48f92e715bd3621bf4ea3e9026d120a02f3170bf007c5bd3
4
+ data.tar.gz: 11943ed30197cd31a2ab59b64929e908e6ed10faf0128e04b974c58057cdf21c
5
5
  SHA512:
6
- metadata.gz: a50c61a8a36a46a07096f4084b908c58b6bac21d0fbde52a24fd2f3fbf1d925ea6cfb3e0a0e0f5f89d2bf667641e2a5a346d13c2cc64853e26e67ef40066d616
7
- data.tar.gz: c23a9453a107e691ab435652c5fe55350995e7585a6e23cab4a2a7a006dd8c2de6a8c93ec13d65192e64ce980e2b784975ec8051961f078ee55796511c0135de
6
+ metadata.gz: 0c151fb4ab644cdb6b0355ecd41addf14edf3bfeef98a6cc3f28b3e2051935c60992e27216a8b7d371c9a8a37fe9655d0f6178a2dea206d0e421456af78154a5
7
+ data.tar.gz: bdacab6a4ea3ca893c74e3e9795b52ab7341d27e0e6879b265dfdf4bcfb4da67a049da2f3c039e54d5ee107f4cee5a1939821a71c90fea78288f11fe363fea9f
data/LICENSE.txt CHANGED
@@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively
631
631
  state the exclusion of warranty; and each file should have at least
632
632
  the "copyright" line and a pointer to where the full notice is found.
633
633
 
634
- TestBdd
634
+ Teber
635
635
  Copyright (C) 2019 Naresh Sekar
636
636
 
637
637
  This program is free software: you can redistribute it and/or modify
data/README.md CHANGED
@@ -4,10 +4,10 @@ Teber Library gem is to have all the common methods that will be used in functio
4
4
 
5
5
  [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)
6
6
  [![Made with Ruby](https://img.shields.io/badge/Made%20with-Ruby-red.svg)](https://www.ruby-lang.org/en/)
7
- [![Published Gem](https://img.shields.io/badge/gem-teber-library-red.svg)](https://rubygems.org/gems/teber-library)
8
7
  [![StackOverflow](http://img.shields.io/badge/Stack%20Overflow-Ask-blue.svg)]( https://stackoverflow.com/users/10505289/naresh-sekar )
9
8
  [![Contributions Welcome](https://img.shields.io/badge/Contributions-Welcome-brightgreen.svg)](CONTRIBUTING.md)
10
9
  [![email me](https://img.shields.io/badge/Contact-Email-green.svg)](nareshnavinash@gmail.com)
10
+ [![Gem Version](https://badge.fury.io/rb/teber-library.svg)](https://rubygems.org/gems/teber-library)
11
11
 
12
12
 
13
13
  ![alt text](lib/teber/Teber-Library-Gem.png)
@@ -36,6 +36,18 @@ This gem is to replace the library methods in [Teber-Ruby](https://github.com/na
36
36
 
37
37
  Add all the new methods inside /lib/teber/ path with the module name as 'Teber'. If added a new file, include the newly added file to the /lib/teber/teber.rb so that those methods will be available when we use the gem.
38
38
 
39
+ ### Require and Include
40
+
41
+ To require this gem use,
42
+ ```
43
+ require 'teber'
44
+ ```
45
+ To Include the module `teber` in your project use,
46
+ ```
47
+ include Teber
48
+ ```
49
+ after which all the classes in this gem are directly exposed
50
+
39
51
  ## Development
40
52
 
41
53
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
data/_config.yml ADDED
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-cayman
data/lib/teber/driver.rb CHANGED
@@ -91,7 +91,7 @@ module Teber
91
91
 
92
92
  def find_element(locator)
93
93
  $focus_driver = self
94
- TestBdd::Wait.wait_for_element(locator)
94
+ Teber::Wait.wait_for_element(locator)
95
95
  return @driver.find_element(locator.how,locator.what)
96
96
  end
97
97
 
data/lib/teber/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Teber
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teber-library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naresh Sekar
@@ -70,6 +70,7 @@ files:
70
70
  - LICENSE.txt
71
71
  - README.md
72
72
  - Rakefile
73
+ - _config.yml
73
74
  - bin/console
74
75
  - bin/setup
75
76
  - lib/teber.rb