appium_flutter_finder 0.2.0 → 0.2.1

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: 4a69fae955f831189490f16ccf8d3e82ad35468332e6a6c67875dbc59c42b2bd
4
- data.tar.gz: 4700479a6b705f1c53ed92c1d2e39c4d15f9cc0997a9b6b2eb283165e18e86cf
3
+ metadata.gz: 4d1a8681fc6aa2c9fdebebf1d0e20a9a166431f9353411deff49051d6eae0412
4
+ data.tar.gz: cc6b1513d45e5dc373d26265b642ec139638852d4acf53ada24aceb523febad6
5
5
  SHA512:
6
- metadata.gz: a602317dfe8f6148e4d38d444b5694521c6f21855f509213b92d34571e8840c6acbd28ff00ed7a0c654611513f3bcd9c64be689af7ec808829d02d1faad97272
7
- data.tar.gz: 07c0301cc8300a7009d55d5c4665c372278b19676ce3db651fae75c9b17d67eede1793ec9ad9c38190f7af204f6d158e564643a16eb0a60eb464f3092a12a2b5
6
+ metadata.gz: a46190890f702340e9a736395749809f8873a6105f1efb91dfd697c3f7a8b427fcf824441041ca355eea91a88a6bbb8234e49a86a407c122a6eefd178aad1dec
7
+ data.tar.gz: 04400aeacaed1dbee2ade2f6be630eb297f04a8de89795764a7937fb6d5209a63b047245d1ae0c0490d07c0e79f11b2e54b99d2acbc1baca18bf95410cb28a17
data/README.md CHANGED
@@ -42,6 +42,14 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
42
42
 
43
43
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
44
 
45
+ ## Changelog
46
+
47
+ - 0.2.1
48
+ - Fix `by_ancestor` and `by_descendant`
49
+ - https://github.com/truongsinh/appium-flutter-driver/pull/165#issuecomment-877928553
50
+ - 0.2.0
51
+ - Bump ruby_lib_core version to 4+
52
+
45
53
  ## Contributing
46
54
 
47
55
  Bug reports and pull requests are welcome on GitHub at https://github.com/truongsinh/appium-flutter-driver/tree/master/finder/ruby .
@@ -94,18 +94,23 @@ module Appium
94
94
  {}
95
95
  end
96
96
 
97
+ of_param = {}
97
98
  finder.each_key do |key|
98
- param["of_#{key}"] = finder[key]
99
+ of_param[key] = finder[key]
99
100
  end
101
+ param['of'] = of_param.to_json
100
102
 
101
103
  matching = begin
102
104
  JSON.parse(Base64.decode64(matching))
103
105
  rescue JSONError
104
106
  {}
105
107
  end
108
+
109
+ matching_param = {}
106
110
  matching.each_key do |key|
107
- param["matching_#{key}"] = matching[key]
111
+ matching_param[key] = matching[key]
108
112
  end
113
+ param['matching'] = matching_param.to_json
109
114
 
110
115
  serialize param
111
116
  end
@@ -1,7 +1,7 @@
1
1
  module Appium
2
2
  module Flutter
3
3
  module Finder
4
- VERSION = '0.2.0'.freeze
4
+ VERSION = '0.2.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_flutter_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki Matsuo
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appium_lib_core
@@ -84,7 +84,7 @@ files:
84
84
  homepage: https://github.com/truongsinh/appium-flutter-driver
85
85
  licenses: []
86
86
  metadata: {}
87
- post_install_message:
87
+ post_install_message:
88
88
  rdoc_options: []
89
89
  require_paths:
90
90
  - lib
@@ -99,8 +99,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  requirements: []
102
- rubygems_version: 3.1.2
103
- signing_key:
102
+ rubygems_version: 3.2.15
103
+ signing_key:
104
104
  specification_version: 4
105
105
  summary: Finder for appium-flutter-driver
106
106
  test_files: []