adb_extended 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43bbb6dc08cda79edf091a126e7e6070006cd1fccf66fe7379d70cb73e219b35
4
- data.tar.gz: 7c395ad6517c506db2dd8794b36bb8c487d0befac4ee90eab1db588823d26614
3
+ metadata.gz: d1c228e5fa9778dc31c80d1d4b3b7e4469d96ee5d2f4da02496b915d6459a8ff
4
+ data.tar.gz: 4c8092e8bbbe2dbeae0488b292a6a1095610c18670d4ca7ae2bca28ea438f257
5
5
  SHA512:
6
- metadata.gz: fdd50c71ccc1c1c44f089c1d505891119123c639837a96c0ff93f43e8eee6664b3baee842fd3040477191bfca4b89fb524450a27bfb6b7d888b3261c71d23abf
7
- data.tar.gz: 573197d5c48237bc1c8830a69adf93b1118ff500082e2c8bb04e3d72d5bb78a2933eef9f97f93a17e43a4a36131e17cdd14b652b5d2f8f75bbe26bc3d2072f0a
6
+ metadata.gz: ca0dae8e9f4b0dcc8ec6297dad2894ed1e73d36dd93f88d92577d75da06f5087e5a94d844783bbabff5edd57cf194829324fc9ed25ba7b3508d069cf08894249
7
+ data.tar.gz: 19ee1db963fe5a031c8449a961f4ce732a364d70a51a10aadb03731dd2046428d616d77e7f7f3ec469067cc4978129a0c8474378cc5e98a6de9de88336a00b3d
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at ddg@daentech.co.uk. All
58
+ reported by contacting the project team at me@dan-gilbert.uk. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/README.md CHANGED
@@ -39,7 +39,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
39
39
 
40
40
  ## Contributing
41
41
 
42
- Bug reports and pull requests are welcome on GitHub at https://github.com/daentech/adb_extended. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dangilbert/adb_extended. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
43
43
 
44
44
  ## License
45
45
 
@@ -47,4 +47,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
47
47
 
48
48
  ## Code of Conduct
49
49
 
50
- Everyone interacting in the AdbExtended project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/daentech/adb_extended/blob/master/CODE_OF_CONDUCT.md).
50
+ Everyone interacting in the AdbExtended project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dangilbert/adb_extended/blob/master/CODE_OF_CONDUCT.md).
@@ -7,10 +7,10 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "adb_extended"
8
8
  spec.version = AdbExtended::VERSION
9
9
  spec.authors = ["Dan Gilbert"]
10
- spec.email = ["ddg@daentech.co.uk"]
10
+ spec.email = ["me@dan-gilbert.uk"]
11
11
 
12
12
  spec.summary = "Extended functionality for adb when working with multiple connected devices"
13
- spec.homepage = "https://github.com/daentech/adb_extended"
13
+ spec.homepage = "https://github.com/dangilbert/adb_extended"
14
14
  spec.license = "MIT"
15
15
 
16
16
  # Specify which files should be added to the gem when it is released.
@@ -84,10 +84,10 @@ module AdbExtended
84
84
  def self.enter_text(text, submit = false, serial = nil)
85
85
  key_event = submit ? 66 : 61
86
86
  if serial != nil
87
- stdout, stderr, status = Open3.capture3("adb -s #{serial} shell input text #{text} && adb -s #{serial} shell input keyevent #{key_event}")
87
+ stdout, stderr, status = Open3.capture3("adb -s #{serial} shell input tap 0 500 && adb -s #{serial} shell input text #{text} && adb -s #{serial} shell input keyevent #{key_event}")
88
88
  else
89
89
  devices.each { |device|
90
- stdout, stderr, status = Open3.capture3("adb -s #{device[:serial]} shell input text #{text} && adb -s #{device[:serial]} shell input keyevent #{key_event}")
90
+ stdout, stderr, status = Open3.capture3("adb -s #{device[:serial]} shell input tap 0 500 && adb -s #{device[:serial]} shell input text #{text} && adb -s #{device[:serial]} shell input keyevent #{key_event}")
91
91
  }
92
92
  end
93
93
  sleep 0.1
@@ -1,3 +1,3 @@
1
1
  module AdbExtended
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adb_extended
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Gilbert
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2019-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '0'
83
83
  description:
84
84
  email:
85
- - ddg@daentech.co.uk
85
+ - me@dan-gilbert.uk
86
86
  executables:
87
87
  - adb_extended
88
88
  extensions: []
@@ -112,7 +112,7 @@ files:
112
112
  - lib/adb_extended/adb.rb
113
113
  - lib/adb_extended/cli.rb
114
114
  - lib/adb_extended/version.rb
115
- homepage: https://github.com/daentech/adb_extended
115
+ homepage: https://github.com/dangilbert/adb_extended
116
116
  licenses:
117
117
  - MIT
118
118
  metadata: {}