ruby-mobile-appium-template 1.0.7 → 1.0.8

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 +23 -23
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e91b664af84a0be75667d29508465042153d201142c6449f22665dcb3a8f708f
4
- data.tar.gz: 3bb2f1ea6ee09f0f9e369caf3a0905acfb9901fac3556a1438740e6acd99aa3c
3
+ metadata.gz: c4088f155843c3ffb222898c0cf2640395c3ef81190dbe335efcd8128c89aeaa
4
+ data.tar.gz: bfbedc0a9a5453c9540cc7df0668125ae30f3fd91a814062b35cfd5dbdf121d5
5
5
  SHA512:
6
- metadata.gz: 8b72739d09ed2388f8a9c99219430775d32f337fad65e91c44b3f7785786965d4e28ebf670eada0eda97cd229603fdd305e2ab383b215d7e6c37f762bff60e2f
7
- data.tar.gz: 752026ebfa0d582ae5c4393952aa5b4bdf6421a760f2a7d45b6bee1845ac78ca46c8bfaba118f714cc0292838bb3666f1ffc720c905ee512bae2257810758304
6
+ metadata.gz: ad1cf5db0ec137da740b0054dace727387d271730e32de756718d958665d87ba92301a4aa1bd482a246275019379fef6828bf36ac87c03bd86f47ab8b231f2f7
7
+ data.tar.gz: 21c1e8192922e02ed74588ef7543e2d667decc1db0dc69f4792cb87b512a458833c25b83cb4c2f70351aabb92b99f198b01edf856432d9087511541bfc5fd8b2
data/lib/ruby_appium.rb CHANGED
@@ -5,12 +5,13 @@ require 'fileutils'
5
5
  class RubyAppium < Thor::Group
6
6
  include Thor::Actions
7
7
 
8
- VERSION = "1.0.7"
8
+ VERSION = "1.0.8"
9
9
 
10
10
  argument :dir_name
11
11
 
12
12
  def self.source_root
13
13
  File.join(File.dirname(__FILE__), '..', 'templates')
14
+
14
15
  end
15
16
 
16
17
  def create_new_cucumber_directory
@@ -57,53 +58,52 @@ class RubyAppium < Thor::Group
57
58
  end
58
59
  end
59
60
 
60
- def create_files
61
+ def create_files
61
62
  inside 'config/ios' do
62
- template 'appium.txt'
63
- template 'appium_farm.txt'
63
+ template 'config/ios/appium.txt', 'appium.txt'
64
+ template 'config/ios/appium_farm.txt', 'appium_farm.txt'
64
65
  end
65
66
 
66
67
  inside 'config/android' do
67
- template 'appium.txt'
68
- template 'appium_farm.txt'
68
+ template 'config/android/appium.txt', 'appium.txt'
69
+ template 'config/android/appium_farm.txt', 'appium_farm.txt'
69
70
  end
70
71
 
71
72
  inside 'features/support' do
72
- template 'env.rb'
73
- template 'hooks.rb'
74
- template 'utils.rb'
75
- template 'appium_custom.rb'
73
+ template 'features/support/env.rb', 'env.rb'
74
+ template 'features/support/hooks.rb', 'hooks.rb'
75
+ template 'features/support/utils.rb', 'utils.rb'
76
+ template 'features/support/appium_custom.rb', 'appium_custom.rb'
76
77
  end
77
78
 
78
79
  inside 'features/login/features' do
79
- template 'login.feature'
80
+ template 'features/login/features/login.feature', 'login.feature'
80
81
  end
81
82
 
82
83
  inside 'features/login/data' do
83
- template 'data/login.yaml'
84
+ template 'features/login/data/login.yaml','data/login.yaml'
84
85
  end
85
86
 
86
87
  inside 'features/login/elements' do
87
- template 'screen_mappings_home.yaml'
88
- template 'screen_mappings_login.yaml'
89
- template 'screen_mappings_organizadorhome.yaml'
90
- template 'screen_mappings_token.yaml'
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'
91
92
  end
92
93
 
93
94
  inside 'features/login/pageobjects' do
94
- template 'home.rb'
95
- template 'login.rb'
96
- template 'loginPages.rb'
97
- template 'organizadorHome.rb'
98
- template 'token.rb'
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'
99
100
  end
100
101
 
101
102
  inside 'features/login/steps' do
102
- template 'login_steps.rb'
103
+ template 'features/login/steps/login_steps.rb','login_steps.rb'
103
104
  end
104
105
  end
105
106
 
106
-
107
107
  def gemfile_rakefile_cukeyml
108
108
  inside destination_root do
109
109
  template 'Gemfile'
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.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Fernandes