ruby-mobile-appium-template 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruby_appium.rb +30 -31
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0152d4b0a4ed5cb1bd17dbcefa23913a81e2b9153fc29b245e9fb563fd42bf89
4
- data.tar.gz: 2a0c32c2745a16f64a27cb846996a3691ad4dcd72ea7a171b18ca9c0631fb7c6
3
+ metadata.gz: 8d94362babb8b06c6fbc979a2214bf8ff299531b6f9720ce7bf1f1c192db7d87
4
+ data.tar.gz: c6b84ede61361825ab61e9e3810f3e465f601b0ad5e3e7be839b46110c6ca94c
5
5
  SHA512:
6
- metadata.gz: '095af323928046a9fce3b3a0e9f305a672e18a830eb58f7a240f8e9920cd9fca7ae7f51ca0cd3f8dc37601ce2047e29328dc6719877e925423dfca2719ea0d28'
7
- data.tar.gz: f7584ccbccaaf73c7f4ed29d3bc4ee42d10a550dc6ff6bcd6553dcd064ac50b139061984cda1fc78bf68f2ac4479900c25950ba238c584246b38c07f685843df
6
+ metadata.gz: 7c2df95310169ee95b40479c3f9acc829f7126ec207eb3792416393c4e3ed3cdd1e8e4d150bf5d3c58783a3603068a4250ad2ab7468f04322b789fe3f3101eaf
7
+ data.tar.gz: 235e3de849709d0d752f3b73fba66308202eaaaf113ceedd7b6b2d98beeb5a1890ea8646bc611facd41c655dd52a2bf681f703abbc4029ffea053754acfd4890
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.1"
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
 
@@ -111,6 +109,7 @@ class RubyAppium < Thor::Group
111
109
  template "Gemfile"
112
110
  template "Rakefile"
113
111
  template "cucumber.yml"
112
+ template "appium.txt", "config/ios/appium.txt"
114
113
  end
115
114
  end
116
115
 
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Fernandes