mdq 1.1.0 → 1.2.0

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: 7c36b341ecf3203e0d02c57d48b84f1f7c9baf26464170912aa2b8f4fcb45fb0
4
- data.tar.gz: ecc41b8401ae612cd285a72fd78a1ff0e962b73465faf99e7771efa14474ab0f
3
+ metadata.gz: 43d0cbc1e08b78f4cbf8fa0b9d159b0c584baf82756531c318aa248be4be3acc
4
+ data.tar.gz: 28a27cfaf7dfaf45a8d6a20bb69a7ad2f0ae95fae36d7d38940e1d09d8a4eaac
5
5
  SHA512:
6
- metadata.gz: f98aec1c38480c9d34d5b7175e742614ee1beade579ea97d289c2142e20e04266fd55e89ba9a8648f12caf08c606d49a66666750e0297f3522055a15f7f4aae2
7
- data.tar.gz: b1d857915379f24189a634029f7e2c2f2e772200bc85a50202793a3097d0f4d31c7541839f065327fceed36074f7bb0ce729b6e77b040b78c8b2b2a5c54b4e6f
6
+ metadata.gz: 01d6c40eaa82839abfdf52d7a63b3a49d14a166db119e7f7d8a4a3c940fa34288dae854e83c8b9df44449739c915a43a021c63b9f5c23f5412c9954b65304268
7
+ data.tar.gz: 0212b0e804f55dd572fb9f9e6c59ee48052f76f2bf7380cfbafeb252b9f1854e58e1ed8c11a5f2785ccd4bfd41ae1fc796d6aecd56354823a445002ef1ca68e5
data/README.base.md CHANGED
@@ -130,12 +130,26 @@ Apple Devices displays the apps installed with Xcode.
130
130
  $ mdq list -q='select * from apps'
131
131
  ```
132
132
 
133
+ ## Screenshot of a physical device
134
+
133
135
  Take a screenshot on Android.
134
136
 
135
137
  ```
136
138
  $ mdq cap -o='/Users/xxxxx/' -u='UDID'
137
139
  ```
138
140
 
141
+
142
+ ## Screenshot of a simulator
143
+
144
+ Take a screenshot of the simulator.
145
+ Start the Android emulator or Apple simulator beforehand.
146
+
147
+ ```
148
+ $ mdq simcap --android='/Users/xxxxx/android.png' --apple='/Users/xxxxx/apple.png'
149
+ ```
150
+
151
+ ## Install the app
152
+
139
153
  Install the app.
140
154
 
141
155
  ```
@@ -143,6 +157,8 @@ $ mdq install -i='/Users/xxxxx/example.apk' -u='UDID'
143
157
  $ mdq install -i=='/Users/xxxxx/example.ipa' -u='UDID'
144
158
  ```
145
159
 
160
+ ## Unistall the app
161
+
146
162
  Uninstall the app.
147
163
 
148
164
  ```
@@ -150,7 +166,6 @@ $ mdq uninstall -i='com.example.app' -u='UDID'
150
166
  ```
151
167
 
152
168
 
153
-
154
169
  # Specification
155
170
 
156
171
  Details of the devices table.
data/README.ja.md CHANGED
@@ -125,12 +125,26 @@ Apple Devices displays the apps installed with Xcode.
125
125
  $ mdq list -q='select * from apps'
126
126
  ```
127
127
 
128
+ ## Screenshot of a physical device
129
+
128
130
  Take a screenshot on Android.
129
131
 
130
132
  ```
131
133
  $ mdq cap -o='/Users/xxxxx/' -u='UDID'
132
134
  ```
133
135
 
136
+
137
+ ## Screenshot of a simulator
138
+
139
+ Take a screenshot of the simulator.
140
+ Start the Android emulator or Apple simulator beforehand.
141
+
142
+ ```
143
+ $ mdq simcap --android='/Users/xxxxx/android.png' --apple='/Users/xxxxx/apple.png'
144
+ ```
145
+
146
+ ## Install the app
147
+
134
148
  Install the app.
135
149
 
136
150
  ```
@@ -138,6 +152,8 @@ $ mdq install -i='/Users/xxxxx/example.apk' -u='UDID'
138
152
  $ mdq install -i=='/Users/xxxxx/example.ipa' -u='UDID'
139
153
  ```
140
154
 
155
+ ## Unistall the app
156
+
141
157
  Uninstall the app.
142
158
 
143
159
  ```
@@ -145,7 +161,6 @@ $ mdq uninstall -i='com.example.app' -u='UDID'
145
161
  ```
146
162
 
147
163
 
148
-
149
164
  # Specification
150
165
 
151
166
  Details of the devices table.
data/README.md CHANGED
@@ -125,12 +125,26 @@ Apple Devices displays the apps installed with Xcode.
125
125
  $ mdq list -q='select * from apps'
126
126
  ```
127
127
 
128
+ ## Screenshot of a physical device
129
+
128
130
  Take a screenshot on Android.
129
131
 
130
132
  ```
131
133
  $ mdq cap -o='/Users/xxxxx/' -u='UDID'
132
134
  ```
133
135
 
136
+
137
+ ## Screenshot of a simulator
138
+
139
+ Take a screenshot of the simulator.
140
+ Start the Android emulator or Apple simulator beforehand.
141
+
142
+ ```
143
+ $ mdq simcap --android='/Users/xxxxx/android.png' --apple='/Users/xxxxx/apple.png'
144
+ ```
145
+
146
+ ## Install the app
147
+
134
148
  Install the app.
135
149
 
136
150
  ```
@@ -138,6 +152,8 @@ $ mdq install -i='/Users/xxxxx/example.apk' -u='UDID'
138
152
  $ mdq install -i=='/Users/xxxxx/example.ipa' -u='UDID'
139
153
  ```
140
154
 
155
+ ## Unistall the app
156
+
141
157
  Uninstall the app.
142
158
 
143
159
  ```
@@ -145,7 +161,6 @@ $ mdq uninstall -i='com.example.app' -u='UDID'
145
161
  ```
146
162
 
147
163
 
148
-
149
164
  # Specification
150
165
 
151
166
  Details of the devices table.
data/lib/mdq/cli.rb CHANGED
@@ -92,5 +92,10 @@ module Mdq
92
92
  db.get(is_apps: false)
93
93
  db.app_uninstall(options[:input], options[:udid])
94
94
  end
95
+
96
+ def help
97
+ super
98
+ puts 'Online documentation: https://github.com/arthur87/mdq'
99
+ end
95
100
  end
96
101
  end
data/lib/mdq/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mdq
4
- VERSION = '1.1.0'
4
+ VERSION = '1.2.0'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - arthur87
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-04-09 00:00:00.000000000 Z
10
+ date: 2026-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rubocop