check_dependencies 0.1.0 → 0.1.2
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +3 -1
- data/Gemfile +7 -3
- data/README.md +3 -1
- data/Rakefile +5 -1
- data/bin/check_dependencies +2 -2
- data/bin/console +2 -5
- data/check_dependencies.gemspec +1 -1
- data/lib/check_dependencies/version.rb +5 -0
- data/lib/{check_all_depencies.rb → check_dependencies.rb} +2 -2
- data/sig/check_dependencies.rbs +4 -0
- metadata +5 -3
- data/lib/check_all_depencies/version.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b59a47c5d8d3061675a6e65e54208c165f191889dff8e155fafe30bee1427b4a
|
|
4
|
+
data.tar.gz: 9a53f687b2dd4502ddb42a38be5d2b48e41f839d6eb2923bac1258aee057bf61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a585576604889412b7b2e9b628841e1ac641c49e33b0716ef1fa57962a3830a362c5e42bad867e23110c662c87d0bf2eb81fab1d336bd165f43884438a20bf4b
|
|
7
|
+
data.tar.gz: 8e360c2429323cd223abefb702918867917f4276bc3a278b06635a2b00b123c3f3c5c6861cceca5bf9302e33bd4eb7a267dc8a4c3319f62cd622e28547c129c8
|
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -26,7 +26,9 @@ $ gem install check_dependencies
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
28
28
|
The gem provides a command-line interface for interacting with its functionalities. You can use the `check_dependencies` command followed by appropriate options.
|
|
29
|
-
|
|
29
|
+
```bash
|
|
30
|
+
check_dependencies --help
|
|
31
|
+
```
|
|
30
32
|
### Command Syntax
|
|
31
33
|
|
|
32
34
|
```bash
|
data/Gemfile
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
source "https://rubygems.org"
|
|
4
4
|
|
|
5
|
-
# Specify your gem's dependencies in
|
|
5
|
+
# Specify your gem's dependencies in check_dependencies.gemspec
|
|
6
6
|
gemspec
|
|
7
|
+
|
|
8
|
+
gem "rake", "~> 13.0"
|
|
9
|
+
|
|
10
|
+
gem "standard", "~> 1.3"
|
data/README.md
CHANGED
|
@@ -26,7 +26,9 @@ $ gem install check_dependencies
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
28
28
|
The gem provides a command-line interface for interacting with its functionalities. You can use the `check_dependencies` command followed by appropriate options.
|
|
29
|
-
|
|
29
|
+
```bash
|
|
30
|
+
check_dependencies --help
|
|
31
|
+
```
|
|
30
32
|
### Command Syntax
|
|
31
33
|
|
|
32
34
|
```bash
|
data/Rakefile
CHANGED
data/bin/check_dependencies
CHANGED
|
@@ -165,7 +165,7 @@ require 'json'
|
|
|
165
165
|
|
|
166
166
|
options = {}
|
|
167
167
|
OptionParser.new do |opts|
|
|
168
|
-
opts.banner = "Usage:
|
|
168
|
+
opts.banner = "Usage: check_dependencies --lockPath LOCK_PATH --depWay DEP_WAY --configPath CONFIG_PATH"
|
|
169
169
|
|
|
170
170
|
opts.on("--lockPath LOCK_PATH", "Specify the Podfile.lock path") do |lockPath|
|
|
171
171
|
options[:lockPath] = lockPath
|
|
@@ -203,7 +203,7 @@ end.parse!
|
|
|
203
203
|
|
|
204
204
|
# Check if all required arguments were provided
|
|
205
205
|
if options[:lockPath].nil? || options[:depWay].nil? || options[:configPath].nil?
|
|
206
|
-
puts "Please provide lockPath, depWay, and configPath parameters.\n you can run:\n
|
|
206
|
+
puts "Please provide lockPath, depWay, and configPath parameters.\n you can run:\n check_dependencies --help "
|
|
207
207
|
exit
|
|
208
208
|
end
|
|
209
209
|
|
data/bin/console
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
2
3
|
|
|
3
4
|
require "bundler/setup"
|
|
4
|
-
require "
|
|
5
|
+
require "check_dependencies"
|
|
5
6
|
|
|
6
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
8
|
# with your gem easier. You can also use a different console, if you like.
|
|
8
9
|
|
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
-
# require "pry"
|
|
11
|
-
# Pry.start
|
|
12
|
-
|
|
13
10
|
require "irb"
|
|
14
11
|
IRB.start(__FILE__)
|
data/check_dependencies.gemspec
CHANGED
|
@@ -165,7 +165,7 @@ require 'json'
|
|
|
165
165
|
|
|
166
166
|
options = {}
|
|
167
167
|
OptionParser.new do |opts|
|
|
168
|
-
opts.banner = "Usage:
|
|
168
|
+
opts.banner = "Usage: check_dependencies --lockPath LOCK_PATH --depWay DEP_WAY --configPath CONFIG_PATH"
|
|
169
169
|
|
|
170
170
|
opts.on("--lockPath LOCK_PATH", "Specify the Podfile.lock path") do |lockPath|
|
|
171
171
|
options[:lockPath] = lockPath
|
|
@@ -203,7 +203,7 @@ end.parse!
|
|
|
203
203
|
|
|
204
204
|
# Check if all required arguments were provided
|
|
205
205
|
if options[:lockPath].nil? || options[:depWay].nil? || options[:configPath].nil?
|
|
206
|
-
puts "Please provide lockPath, depWay, and configPath parameters.\n you can run:\n
|
|
206
|
+
puts "Please provide lockPath, depWay, and configPath parameters.\n you can run:\n check_dependencies --help "
|
|
207
207
|
exit
|
|
208
208
|
end
|
|
209
209
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: check_dependencies
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ITxiansheng
|
|
@@ -48,6 +48,7 @@ executables:
|
|
|
48
48
|
extensions: []
|
|
49
49
|
extra_rdoc_files: []
|
|
50
50
|
files:
|
|
51
|
+
- CHANGELOG.md
|
|
51
52
|
- CODE_OF_CONDUCT.md
|
|
52
53
|
- Gemfile
|
|
53
54
|
- LICENSE.txt
|
|
@@ -57,8 +58,9 @@ files:
|
|
|
57
58
|
- bin/console
|
|
58
59
|
- bin/setup
|
|
59
60
|
- check_dependencies.gemspec
|
|
60
|
-
- lib/
|
|
61
|
-
- lib/
|
|
61
|
+
- lib/check_dependencies.rb
|
|
62
|
+
- lib/check_dependencies/version.rb
|
|
63
|
+
- sig/check_dependencies.rbs
|
|
62
64
|
homepage: https://github.com/ITxiansheng/check_dependencies
|
|
63
65
|
licenses:
|
|
64
66
|
- MIT
|