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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b09ec9dbfff4ae05a366698f0c9a3cfa88ff6f6e22b00a8fb87a714fc779337
4
- data.tar.gz: 9813997bb97acac6fee25a7167d28427ef7a20ee4d13acc2620a6cb13b7fcf57
3
+ metadata.gz: b59a47c5d8d3061675a6e65e54208c165f191889dff8e155fafe30bee1427b4a
4
+ data.tar.gz: 9a53f687b2dd4502ddb42a38be5d2b48e41f839d6eb2923bac1258aee057bf61
5
5
  SHA512:
6
- metadata.gz: 2c0482690d841b1ac71f8a75a7c73d4b582ed0875b35a6902ed1fce6cf98d4e192114017677785390bb49c25c0a9ac280b4ce986732a4d69ee20663227ed8cde
7
- data.tar.gz: 95b16ef3c5a139b0f0a888a5eed4e51ef1c52ce5cf960b4b940e9a5d39b073524014cb44a8a867547e2fd3852bf886a2fd846b5392ae28aece9428d9d9e4d469
6
+ metadata.gz: a585576604889412b7b2e9b628841e1ac641c49e33b0716ef1fa57962a3830a362c5e42bad867e23110c662c87d0bf2eb81fab1d336bd165f43884438a20bf4b
7
+ data.tar.gz: 8e360c2429323cd223abefb702918867917f4276bc3a278b06635a2b00b123c3f3c5c6861cceca5bf9302e33bd4eb7a267dc8a4c3319f62cd622e28547c129c8
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2024-03-13
4
+
5
+ - Initial release
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
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in check_all_depencies.gemspec
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
@@ -1,2 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
- task :default => :spec
4
+ require "standard/rake"
5
+
6
+ task default: :standard
@@ -165,7 +165,7 @@ require 'json'
165
165
 
166
166
  options = {}
167
167
  OptionParser.new do |opts|
168
- opts.banner = "Usage: check_all_depencies --lockPath LOCK_PATH --depWay DEP_WAY --configPath CONFIG_PATH"
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 ruby MapHelper.rb --help "
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 "check_all_depencies"
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__)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "check_dependencies"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.1.2"
4
4
  spec.authors = ["ITxiansheng"]
5
5
  spec.email = ["itxiansheng@gmail.com"]
6
6
 
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckDependencies
4
+ VERSION = "0.1.0"
5
+ end
@@ -165,7 +165,7 @@ require 'json'
165
165
 
166
166
  options = {}
167
167
  OptionParser.new do |opts|
168
- opts.banner = "Usage: check_all_depencies --lockPath LOCK_PATH --depWay DEP_WAY --configPath CONFIG_PATH"
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 ruby MapHelper.rb --help "
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
 
@@ -0,0 +1,4 @@
1
+ module CheckDependencies
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
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.0
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/check_all_depencies.rb
61
- - lib/check_all_depencies/version.rb
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
@@ -1,3 +0,0 @@
1
- module CheckAllDepencies
2
- VERSION = "0.1.0"
3
- end