ruby-mobile-appium-template 1.0.3 → 1.0.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruby_appium.rb +22 -22
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a5c863455692c6be100534688875f13598a62d2237cf12aa8d13fc402916a81
4
- data.tar.gz: 5862a9c51727709b14afd783aad0e63edfdf6c20a4f723da1a760527336167fc
3
+ metadata.gz: c6fdbaa8818b10d7b6c40a785d25f05c493ec63e2ef89b74282cb807129cc1af
4
+ data.tar.gz: e774c39b4b1c2bd4d540cc136b8fdfa9639f013ca57857e26e50dea0e4b578b8
5
5
  SHA512:
6
- metadata.gz: 5742360669342e4088de15cee853357f4d87cdeef827003b07b11ebdd444d1d288f0e8fc3970b879be163a6e727165b3d6b708e9043c9e11a1fb5cbdf8286fea
7
- data.tar.gz: e203294c286dfd96fc58dc66add448cc64b24a7c3044a1daf78823bd8e6baa516e388c845f4ee83a7aa5e8a51316b9e6a3394491080f66962a72923087b7c045
6
+ metadata.gz: f4070d6140af575eca4df29196d1cd9687343979e0fb8c46dc249bfe28eb2f1bbd61bc400ab319514969dd465b2e7316b602fe4c317c07bd774a9ae37c6333a6
7
+ data.tar.gz: c584ea896ad46605ba71eaba771d810d31c1e426a1929a94a2f46a7c23e2d86a1ccf191945441527f85a5918b6071b1e28139be47198470e9a00944a82979d4e
data/lib/ruby_appium.rb CHANGED
@@ -5,12 +5,12 @@ require 'fileutils'
5
5
  class RubyAppium < Thor::Group
6
6
  include Thor::Actions
7
7
 
8
- VERSION = "1.0.3"
8
+ VERSION = "1.0.6"
9
9
 
10
10
  argument :dir_name
11
11
 
12
12
  def self.source_root
13
- File.join(File.dirname(__FILE__), '..', 'templates')
13
+ File.join(File.dirname(__FILE__), '..', 'falei')
14
14
  end
15
15
 
16
16
  def create_new_cucumber_directory
@@ -59,47 +59,47 @@ class RubyAppium < Thor::Group
59
59
 
60
60
  def create_files
61
61
  inside 'config/ios' do
62
- template 'templates/config/ios/appium.txt', 'appium.txt'
63
- template 'templates/config/ios/appium_farm.txt', 'appium_farm.txt'
62
+ template 'appium.txt'
63
+ template 'appium_farm.txt'
64
64
  end
65
65
 
66
66
  inside 'config/android' do
67
- template 'templates/config/android/appium.txt', 'appium.txt'
68
- template 'templates/config/android/appium_farm.txt', 'appium_farm.txt'
67
+ template 'appium.txt'
68
+ template 'appium_farm.txt'
69
69
  end
70
70
 
71
71
  inside 'features/support' do
72
- template 'templates/features/support/env.rb', 'env.rb'
73
- template 'templates/features/support/hooks.rb', 'hooks.rb'
74
- template 'templates/features/support/utils.rb', 'utils.rb'
75
- template 'templates/features/support/appium_custom.rb', 'appium_custom.rb'
72
+ template 'env.rb'
73
+ template 'hooks.rb'
74
+ template 'utils.rb'
75
+ template 'appium_custom.rb'
76
76
  end
77
77
 
78
78
  inside 'features/login/features' do
79
- template 'templates/features/login/features/login.feature', 'login.feature'
79
+ template 'login.feature'
80
80
  end
81
81
 
82
82
  inside 'features/login/data' do
83
- template 'templates/features/login/data/login.yaml','data/login.yaml'
83
+ template 'data/login.yaml'
84
84
  end
85
85
 
86
86
  inside 'features/login/elements' do
87
- template 'templates/features/login/elements/screen_mappings_home.yaml','screen_mappings_home.yaml'
88
- template 'templates/features/login/elements/screen_mappings_login.yaml','screen_mappings_login.yaml'
89
- template 'templates/features/login/elements/screen_mappings_organizadorhome.yaml','screen_mappings_organizadorhome.yaml'
90
- template 'templates/features/login/elements/screen_mappings_token.yaml','screen_mappings_token.yaml'
87
+ template 'screen_mappings_home.yaml'
88
+ template 'screen_mappings_login.yaml'
89
+ template 'screen_mappings_organizadorhome.yaml'
90
+ template 'screen_mappings_token.yaml'
91
91
  end
92
92
 
93
93
  inside 'features/login/pageobjects' do
94
- template 'templates/features/login/pageobjects/home.rb','home.rb'
95
- template 'templates/features/login/pageobjects/login.rb','login.rb'
96
- template 'templates/features/login/pageobjects/loginPages.rb','loginPages.rb'
97
- template 'templates/features/login/pageobjects/organizadorHome.rb','organizadorHome.rb'
98
- template 'templates/features/login/pageobjects/token.rb','token.rb'
94
+ template 'home.rb'
95
+ template 'login.rb'
96
+ template 'loginPages.rb'
97
+ template 'organizadorHome.rb'
98
+ template 'token.rb'
99
99
  end
100
100
 
101
101
  inside 'features/login/steps' do
102
- template 'templates/features/login/steps/login_steps.rb','login_steps.rb'
102
+ template 'login_steps.rb'
103
103
  end
104
104
  end
105
105
 
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.0.3
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Fernandes