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.
- checksums.yaml +4 -4
 - data/lib/ruby_appium.rb +23 -23
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c4088f155843c3ffb222898c0cf2640395c3ef81190dbe335efcd8128c89aeaa
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: bfbedc0a9a5453c9540cc7df0668125ae30f3fd91a814062b35cfd5dbdf121d5
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 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. 
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 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'
         
     |