fastlane-plugin-android_testlab_script_swit 0.1.75 → 0.1.77

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: fe3ac169af8cb0247450d7ea27192f113a60ee44701601421abdf65a59407d7e
4
- data.tar.gz: b6314bf5674c305af923baaaaa9c41f8a2bb7249a0ca823a31816fa65a92030a
3
+ metadata.gz: 31f2720d5a8e271527f36d63b7b539f6bbcf49bc18274ff301e2834d0b914439
4
+ data.tar.gz: 57f8d948ffda0714534c53ec5b82a3de8f08715026bd01a74a4c37717e0f3dd7
5
5
  SHA512:
6
- metadata.gz: f4b13da9d53cc2d9d3d3d660bec47ec4397d063f1b4bd2f7b44d208b9f8b0eb0f1226dde386800f658ae1404f1c2238222d7395060756d88cea86062203037b2
7
- data.tar.gz: 7e5d53cbf1ad81b764a6aeadcdb7c3973126b0d47c40b4818574560fc274be09f3e563016051b0aa01db7ec66b37f2b87b18be1f044b6877c2bcfc7ac3aff821
6
+ metadata.gz: e041d0a69b92f1c12ed454d7d0ace6be710d586c0527a015ce37212062bd9441f8d46d6546cb132e55878471425174337c691183483ea6f2a1922a1ed191cb9d
7
+ data.tar.gz: b17bb5231f3484e448ef8cfa4d31385fa533a83f76bfefd5869bac771bcddaa5246a26067d2743ba58c6dd398d75966eadd62954150e367535f1b448ada15661
@@ -45,22 +45,22 @@ module Fastlane
45
45
 
46
46
 
47
47
  # 각 JSON 객체에 대해 반복
48
- json.each do |item|
49
- # 정보 추출하기
50
- axis_value = item["axis_value"]
51
- outcome = item["outcome"]
52
- test_details = item["test_details"]
53
-
54
- # 'axis_value' 분리하기
55
- parts = axis_value.split('-')
56
-
57
- # 출력하기
58
- UI.message("Outcome: #{outcome}, Test Details: #{test_details}")
59
-
60
- parts.each_with_index do |part, index|
61
- UI.message("Part #{index + 1}: #{part}")
62
- end
63
- end
48
+ # json.each do |item|
49
+ # # 정보 추출하기
50
+ # axis_value = item["axis_value"]
51
+ # outcome = item["outcome"]
52
+ # test_details = item["test_details"]
53
+ #
54
+ # # 'axis_value' 분리하기
55
+ # parts = axis_value.split('-')
56
+ #
57
+ # # 출력하기
58
+ # UI.message("Outcome: #{outcome}, Test Details: #{test_details}")
59
+ #
60
+ # parts.each_with_index do |part, index|
61
+ # UI.message("Part #{index + 1}: #{part}")
62
+ # end
63
+ # end
64
64
 
65
65
  # params[:devices].each_with_index do |device, index|
66
66
  # payload_string = +{,
@@ -71,6 +71,15 @@ module Fastlane
71
71
  # {"type":"rt_section","indent":2,"elements":[{"type\":\"rt_text\",\"content":{"orientation : #{device[:orientation]}"}}},
72
72
  # {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"Result : #{outcome}"}}},
73
73
  # }
74
+ # end
75
+
76
+ # params[:devices].each_with_index do |device, index|
77
+ # new_payload = "[{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
78
+ # {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
79
+ # {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
80
+ # {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"}]},
81
+ # {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]},
82
+ # {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Result : #{outcome}\"}]}]"
74
83
  # end
75
84
 
76
85
  params[:devices].each_with_index do |device, index|
@@ -78,8 +87,7 @@ module Fastlane
78
87
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
79
88
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
80
89
  {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"}]},
81
- {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]},
82
- {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Result : #{outcome}\"}]}]"
90
+ {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]}"
83
91
  end
84
92
 
85
93
  # Fetch results
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.75"
3
+ VERSION = "0.1.77"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_testlab_script_swit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.75
4
+ version: 0.1.77
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이