Sha256: 2a6d1a2c6df446b4f5838b51ced5c2fd864f7fbb83f0e206b71a825fc26a5320

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

# Calapog

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/calapog`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'calapog'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install calapog

## Usage

`calapog generate SharedClassPage` will generate the following scaffold(replace Class with the name of your page):

* `features/pages/shared_class_name.rb` with the following code: 

```ruby
class SharedClassPage < CommonPage

  def trait

  end

  def page_data_file
    'class_page'
  end

  private
end
```

* `features/android/pages/class_name.rb` with the following code:

```ruby
class Android::ClassPage < SharedClassPage
  include Calabash::Android

  private
end
```

* `features/ios/pages/class_name.rb` with the following code:

```ruby
class IOS::ClassPage < SharedClassPage
  include Calabash::IOS

  private
end
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/calapog. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
calapog-0.1.1 README.md
calapog-0.1.0 README.md