ruby-mobile-appium-template 1.1.0 → 1.1.3

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: 0152d4b0a4ed5cb1bd17dbcefa23913a81e2b9153fc29b245e9fb563fd42bf89
4
- data.tar.gz: 2a0c32c2745a16f64a27cb846996a3691ad4dcd72ea7a171b18ca9c0631fb7c6
3
+ metadata.gz: 365028a9e9bd7bf7b63b190b412d841f606931d50c7d5473f2a33d2534911e76
4
+ data.tar.gz: 53cf7480901ed3fe6e2e71465b8ae86ef5a9125ba0d6200ae8f3b9c38b526f94
5
5
  SHA512:
6
- metadata.gz: '095af323928046a9fce3b3a0e9f305a672e18a830eb58f7a240f8e9920cd9fca7ae7f51ca0cd3f8dc37601ce2047e29328dc6719877e925423dfca2719ea0d28'
7
- data.tar.gz: f7584ccbccaaf73c7f4ed29d3bc4ee42d10a550dc6ff6bcd6553dcd064ac50b139061984cda1fc78bf68f2ac4479900c25950ba238c584246b38c07f685843df
6
+ metadata.gz: 19707f78c3520c994cc65f1b294bd58c42840918fa814d4d2b16e2d1f175d55ecd645cfcb0da4770c16b1eb032fe89d4c5907d8be733561eae161bea8d43d99c
7
+ data.tar.gz: e9cfbf6a763057f966269338f84830fccedc68d328cdfb89b3ecf5275a5c74159832212879a6a3692cf80e9944ff784b2e059b532394c11effc8fa1ac77ff3fe
data/lib/ruby_appium.rb CHANGED
@@ -5,7 +5,7 @@ require "fileutils"
5
5
  class RubyAppium < Thor::Group
6
6
  include Thor::Actions
7
7
 
8
- VERSION = "1.1.0"
8
+ VERSION = "1.1.3"
9
9
 
10
10
  argument :dir_name
11
11
 
@@ -16,8 +16,6 @@ class RubyAppium < Thor::Group
16
16
 
17
17
  def create_new_cucumber_directory
18
18
  self.destination_root = File.expand_path(dir_name)
19
- puts destination_root
20
- puts self.destination_root
21
19
  make_empty_directory
22
20
  FileUtils.cd(destination_root)
23
21
  gemfile_rakefile_cukeyml
@@ -61,48 +59,48 @@ class RubyAppium < Thor::Group
61
59
  end
62
60
 
63
61
  def create_files
64
- inside "#{destination_root}/config/ios" do
65
- template "#{destination_root}/config/ios/appium.txt", "appium.txt"
66
- template "#{destination_root}/config/ios/appium_farm.txt", "appium_farm.txt"
62
+ inside "config/ios" do
63
+ template "config/ios/appium.txt", "appium.txt"
64
+ template "config/ios/appium_farm.txt", "appium_farm.txt"
67
65
  end
68
66
 
69
- inside "#{destination_root}/config/android" do
70
- template "#{destination_root}/config/android/appium.txt", "appium.txt"
71
- template "#{destination_root}/config/android/appium_farm.txt", "appium_farm.txt"
67
+ inside "config/android" do
68
+ template "config/android/appium.txt", "appium.txt"
69
+ template "config/android/appium_farm.txt", "appium_farm.txt"
72
70
  end
73
71
 
74
- inside "#{destination_root}/features/support" do
75
- template "#{destination_root}/features/support/env.rb", "env.rb"
76
- template "#{destination_root}/features/support/hooks.rb", "hooks.rb"
77
- template "#{destination_root}/eatures/support/utils.rb", "utils.rb"
78
- template "#{destination_root}/features/support/appium_custom.rb", "appium_custom.rb"
72
+ inside "features/support" do
73
+ template "features/support/env.rb", "env.rb"
74
+ template "features/support/hooks.rb", "hooks.rb"
75
+ template "eatures/support/utils.rb", "utils.rb"
76
+ template "features/support/appium_custom.rb", "appium_custom.rb"
79
77
  end
80
78
 
81
- inside "#{destination_root}/features/login/features" do
82
- template "#{destination_root}/eatures/login/features/login.feature", "login.feature"
79
+ inside "features/login/features" do
80
+ template "eatures/login/features/login.feature", "login.feature"
83
81
  end
84
82
 
85
- inside "#{destination_root}/features/login/data" do
86
- template "#{destination_root}/features/login/data/login.yaml","data/login.yaml"
83
+ inside "features/login/data" do
84
+ template "features/login/data/login.yaml","data/login.yaml"
87
85
  end
88
86
 
89
- inside "#{destination_root}/features/login/elements" do
90
- template "#{destination_root}/features/login/elements/screen_mappings_home.yaml","screen_mappings_home.yaml"
91
- template "#{destination_root}/features/login/elements/screen_mappings_login.yaml","screen_mappings_login.yaml"
92
- template "#{destination_root}/features/login/elements/screen_mappings_organizadorhome.yaml","screen_mappings_organizadorhome.yaml"
93
- template "#{destination_root}/features/login/elements/screen_mappings_token.yaml","screen_mappings_token.yaml"
87
+ inside "features/login/elements" do
88
+ template "features/login/elements/screen_mappings_home.yaml","screen_mappings_home.yaml"
89
+ template "features/login/elements/screen_mappings_login.yaml","screen_mappings_login.yaml"
90
+ template "features/login/elements/screen_mappings_organizadorhome.yaml","screen_mappings_organizadorhome.yaml"
91
+ template "features/login/elements/screen_mappings_token.yaml","screen_mappings_token.yaml"
94
92
  end
95
93
 
96
- inside "#{destination_root}/features/login/pageobjects" do
97
- template "#{destination_root}/features/login/pageobjects/home.rb","home.rb"
98
- template "#{destination_root}/features/login/pageobjects/login.rb","login.rb"
99
- template "#{destination_root}/features/login/pageobjects/loginPages.rb","loginPages.rb"
100
- template "#{destination_root}/features/login/pageobjects/organizadorHome.rb","organizadorHome.rb"
101
- template "#{destination_root}/features/login/pageobjects/token.rb","token.rb"
94
+ inside "features/login/pageobjects" do
95
+ template "features/login/pageobjects/home.rb","home.rb"
96
+ template "features/login/pageobjects/login.rb","login.rb"
97
+ template "features/login/pageobjects/loginPages.rb","loginPages.rb"
98
+ template "features/login/pageobjects/organizadorHome.rb","organizadorHome.rb"
99
+ template "features/login/pageobjects/token.rb","token.rb"
102
100
  end
103
101
 
104
- inside "#{destination_root}/features/login/steps" do
105
- template "#{destination_root}/features/login/steps/login_steps.rb","login_steps.rb"
102
+ inside "features/login/steps" do
103
+ template "features/login/steps/login_steps.rb","login_steps.rb"
106
104
  end
107
105
  end
108
106
 
@@ -0,0 +1,18 @@
1
+ [caps]
2
+ automationName = "XCUITest"
3
+ platformName = "iOS"
4
+
5
+ deviceName = "iPhone 11"
6
+ platformVersion = "13.2"
7
+
8
+ deviceName = "moto g(7) play"
9
+ app = "./app/ios/Runner.app"
10
+ udid = "54A4C77B-6E4C-46B8-883E-2BF7EA2B2F63"
11
+
12
+ autoAcceptAlerts = true
13
+ autoGrantPermissions = true
14
+
15
+ [appium_lib]
16
+ wait = 20
17
+ debug = false
18
+ export_session = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mobile-appium-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Fernandes
@@ -148,6 +148,7 @@ files:
148
148
  - lib/ruby_appium.rb
149
149
  - templates/Gemfile
150
150
  - templates/Rakefile
151
+ - templates/config/ios/appium.txt
151
152
  - templates/cucumber.yml
152
153
  - templates/features/login/data/login.yaml
153
154
  - templates/features/login/elements/screen_mappings_home.yaml