smartdust-client 1.3.4 → 1.3.5

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: 2af1a413ea84e37dedbc6a834955cdad82661d5a4a61185fb405442583c36ae2
4
- data.tar.gz: c55e850f6291ea41eb1a7259afc06384fe791b3b8381415683714bcf7efccf58
3
+ metadata.gz: 554f5f212b391326cdfa57760c89079a0c5998d1469d01f7d334e5c8a15c1f91
4
+ data.tar.gz: 9c28ac953932a43df0d9c37e0e371d91c88cf39245b364766f86d1e11cb28f44
5
5
  SHA512:
6
- metadata.gz: d04347117e4db242dae76e8c64ca619b05865961441f9a09a3e03ba3727ed1855887ad2e51b220fa62678160211a4ef2232c1a88f2cf21c53ab82c853edf347d
7
- data.tar.gz: f7c5351efdf519fb6f4799371f8c5cd707d041b0bba03d9fd73f9761bd31bdfc246312084c478c08d5c4117ca7d5045095b6974468f8c20a1b0782e49378796d
6
+ metadata.gz: 68fa5a2dba41b466080cbfb45f25a3e98310714b1cebdccb5fcc0c59ee4d1410fb4ecee62e53b4d56d68921debfa5b493fd0f6c22105c65bf8d5538497848f60
7
+ data.tar.gz: f5274b5b8a494fbf9c8c0331f7a42246b001610bb256902a4f2ffb231f4768facc861b41a4442bd464c0c987b78527442d802c00e07e945eff012918b1ab6722
@@ -0,0 +1,31 @@
1
+ name: Docker Image
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+
14
+ - uses: docker/setup-qemu-action@v3
15
+
16
+ - uses: docker/setup-buildx-action@v3
17
+
18
+ - name: Login to DockerHub
19
+ uses: docker/login-action@v1
20
+ with:
21
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
22
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
23
+
24
+ - name: Build and push
25
+ uses: docker/build-push-action@v2
26
+ with:
27
+ context: ./
28
+ file: ./Dockerfile
29
+ platforms: linux/amd64,linux/arm64
30
+ push: true
31
+ tags: smartdust/smartdust-cli
@@ -0,0 +1,32 @@
1
+ name: Rubygem build and upload
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+
15
+ - uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: '3.0'
18
+
19
+ - run: bundle install
20
+
21
+ - run: gem build smartdust-client.gemspec
22
+
23
+ - name: Push gem to Nexus
24
+ run: |
25
+ gem install nexus
26
+ gem nexus --url https://repository.smartdust.me/repository/ruby/ --credential ruby-write:${{ secrets.NEXUS_CREDS }} smartdust-client-*.gem
27
+
28
+ - name: Push gem to RubyGems
29
+ run: |
30
+ gem push smartdust-client-*.gem
31
+ env:
32
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
data/.gitignore CHANGED
@@ -101,3 +101,6 @@ build-iPhoneSimulator/
101
101
 
102
102
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
103
103
  .rvmrc
104
+
105
+ .idea
106
+ .DS_Store
data/Dockerfile ADDED
@@ -0,0 +1,19 @@
1
+ FROM ruby:3.0
2
+
3
+ RUN apt-get update && apt-get install -y android-tools-adb
4
+
5
+ WORKDIR /app
6
+
7
+ COPY . .
8
+
9
+ RUN gem install bundler:1.17.3
10
+
11
+ RUN bundle install
12
+
13
+ RUN gem build smartdust-client.gemspec
14
+
15
+ RUN gem install smartdust-client-*.gem
16
+
17
+ RUN cd / && rm -rf /app
18
+
19
+ ENTRYPOINT ["smartdust-client"]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smartdust-client (1.3.3)
4
+ smartdust-client (1.3.5)
5
5
  ADB (~> 0.5)
6
6
  dante (~> 0.2.0)
7
7
  dry-configurable (~> 0.1.4)
data/README.md CHANGED
@@ -38,7 +38,9 @@ e.g. all unique names of devices in the lab instance.
38
38
  - "cd" into the directory where the repository is cloned
39
39
  - Run the following commands: (adding "sudo" might be needed)
40
40
  - ```gem build smartdust-client.gemspec```
41
- - ```gem install smartdust-client-1.3.4.gem``` (or different version, see output of the previous command)
41
+ - ```gem install smartdust-client-1.3.5.gem``` (or different version, see output of the previous command)
42
+
43
+ - Run it by simply entering ```smartdust-client```
42
44
 
43
45
  ## Usage
44
46
 
data/lib/stf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Stf
2
- VERSION = '1.3.4'
2
+ VERSION = '1.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartdust-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smartdust
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-13 00:00:00.000000000 Z
11
+ date: 2025-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli
@@ -206,7 +206,7 @@ dependencies:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0.2'
209
- description:
209
+ description:
210
210
  email:
211
211
  - jordan@smartdust.me
212
212
  executables:
@@ -214,10 +214,13 @@ executables:
214
214
  extensions: []
215
215
  extra_rdoc_files: []
216
216
  files:
217
+ - ".github/workflows/docker-build.yml"
218
+ - ".github/workflows/ruby-build.yml"
217
219
  - ".gitignore"
218
220
  - ".rspec"
219
221
  - ".simplecov"
220
222
  - ".travis.yml"
223
+ - Dockerfile
221
224
  - Gemfile
222
225
  - Gemfile.lock
223
226
  - LICENSE.txt
@@ -251,7 +254,7 @@ homepage: https://docs.smartdust.me/docs/CLI%20Lab%20client/cli-client-1-3
251
254
  licenses:
252
255
  - MIT
253
256
  metadata: {}
254
- post_install_message:
257
+ post_install_message:
255
258
  rdoc_options: []
256
259
  require_paths:
257
260
  - lib
@@ -266,8 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
269
  - !ruby/object:Gem::Version
267
270
  version: '0'
268
271
  requirements: []
269
- rubygems_version: 3.3.5
270
- signing_key:
272
+ rubygems_version: 3.2.33
273
+ signing_key:
271
274
  specification_version: 4
272
275
  summary: Connect to devices from Smartdust Lab from cli
273
276
  test_files: []