ruby_raider 0.8.8 → 0.8.9

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: a3fe29e41e6594c06a03da48fdd3481af4706a6cf4e5c344bb3f78db1e48cec8
4
- data.tar.gz: 3b53ca1421e02300c0edb463cd4ca7c373992afdb41caa70318fc9df213fec90
3
+ metadata.gz: 72f4f4c7e7650bfc8e0e0e310c5ead22bd5ccbdf482c138d1c806ea7d0792f39
4
+ data.tar.gz: cca704db232dc1a96f740f7ba5355ab5c999f0f1c40c858362bb18aea6b39081
5
5
  SHA512:
6
- metadata.gz: 2b684e1ebcca1611a9593f3b77039bfd66e21656e6746f6e31a5240f9fdb032527e29f63d5aab3caf770c472c4c8810f50c587a61375568d6db4d93258454c49
7
- data.tar.gz: da691e9de5d1128eb1aa0d99fbbde682afb70d0be3bf3d29a75b88bbc2af7c771b19a1aa29295fa4c1f5bd8d56082f7659284aff7484c6f284d6891ae21ff9c9
6
+ metadata.gz: '0394034b63ea2cf8492ee8a7de03af6d3a18b13c2de3fe6167cdf6cb8b76eeb11bf7bd8bd67ebd76a37e3cac156e661898eb79e840f3819d1b2e95c1ebce53b7'
7
+ data.tar.gz: be7be6a039005affeb510db66601d7bf8f63ca0c7deb7aa9e7c03521bde212d5f4e31bbb30988757af5b198c96435ccd7358c72c0fe111b04618c6d68f184ab5
data/Rakefile CHANGED
@@ -24,11 +24,6 @@ task :path, [:path] do |_t, args|
24
24
  ScaffoldingCommands.new.invoke(:path, nil, %W[#{args.path} -s])
25
25
  end
26
26
 
27
- desc 'Download mobile builds'
28
- task :builds, [:type] do |_t, args|
29
- ScaffoldingCommands.new.invoke(:download_builds, nil, %W[#{args.type}])
30
- end
31
-
32
27
  desc 'Logs a warning'
33
28
  task :log, [:message] do |_t, args|
34
29
  RubyRaider::Logger.warn(args.message)
@@ -73,21 +73,6 @@ class UtilityCommands < Thor
73
73
  Utilities.platform = platform
74
74
  end
75
75
 
76
- desc 'build [BUILD_TYPE]', 'It downloads the selected example build for appium projects'
77
-
78
- def build(build_type)
79
- raise 'Please select one of the following build types: android, ios' unless %w[android ios].include?(build_type)
80
-
81
- build_type == 'android' ? Utilities.download_android_build : Utilities.download_ios_build
82
- end
83
-
84
- desc 'builds', 'It downloads both builds for appium cross platform projects'
85
-
86
- def builds
87
- Utilities.download_android_build
88
- Utilities.download_ios_build
89
- end
90
-
91
76
  desc 'start_appium', 'It starts the appium server'
92
77
  def start_appium
93
78
  system 'appium --base-path /wd/hub'
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'yaml'
4
- require 'faraday'
5
4
 
6
5
  module Utilities
7
6
  @path = 'config/config.yml'
@@ -62,25 +61,6 @@ module Utilities
62
61
  system "#{command} #{opts}"
63
62
  end
64
63
 
65
- def download_android_build
66
- download_build('Android-MyDemoAppRN.1.3.0.build-244.apk',
67
- 'https://github.com/saucelabs/my-demo-app-rn/releases/download/v1.3.0/Android-MyDemoAppRN.1.3.0.build-244.apk')
68
- end
69
-
70
- def download_ios_build
71
- download_build('iOS-Simulator-MyRNDemoApp.1.3.0-162.zip',
72
- 'https://github.com/saucelabs/my-demo-app-rn/releases/download/v1.3.0/iOS-Simulator-MyRNDemoApp.1.3.0-162.zip')
73
- end
74
-
75
- def download_build(name, url)
76
- response = Faraday.get(url)
77
- build_url = Faraday.get(response.headers['location'])
78
-
79
- File.open(name, 'wb') do |file|
80
- file.write(build_url.body)
81
- end
82
- end
83
-
84
64
  private
85
65
 
86
66
  def overwrite_yaml
data/lib/version CHANGED
@@ -1 +1 @@
1
- 0.8.8
1
+ 0.8.9
data/ruby_raider.gemspec CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency 'rubocop-performance', '~> 1.15.0'
22
22
  s.add_development_dependency 'rubocop-rspec', '~> 2.9.0'
23
23
 
24
- s.add_runtime_dependency 'faraday', '~> 1.10.0'
25
24
  s.add_runtime_dependency 'thor', '~> 1.2.1'
26
25
  s.add_runtime_dependency 'tty-prompt', '~> 0.23.1'
27
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_raider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Pequeno
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 2.9.0
111
- - !ruby/object:Gem::Dependency
112
- name: faraday
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 1.10.0
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 1.10.0
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: thor
127
113
  requirement: !ruby/object:Gem::Requirement