djutils 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 197c2bf06fd5505e6466454eecc5fa3c0a73b7bc
4
- data.tar.gz: 9582ac5a71dc549490e149967caed9d69ed533b3
3
+ metadata.gz: 5b290c212bfc23d2caf507c7b997953b3203f715
4
+ data.tar.gz: 3603a5bc6dadd36157f2c4e74e52070b46caad04
5
5
  SHA512:
6
- metadata.gz: 1598012bb086d54e8ac2d910c1685c8c8cad0758c7081752e89af8ae8ff8f7337b6f6bb86318a632bae09764f3c552f4c624b53621b8005743879d65f9420b81
7
- data.tar.gz: 7ee8349b5990c06ca8fa07e3ade3865fa946cbb4df9ca6aed271d975131ea6c0617a2a7794a42f661c1e11b5cbaec431f22f45a2eeb765255e43fed72fdb28b8
6
+ metadata.gz: 1e3cf88c1aa3a3043ea64c9b64cad156526400afccc6b6bb8b857290e7636cd258ba6ab1ff509389262735cd1c5559705c692e96e57956a0971f5c8ab66c4d26
7
+ data.tar.gz: b64af31a29cec45a7ee9521de4d10c453d4f211b9b0748c050de1523a704eae523484ca05698b7971358bdb7b9d8061403fc738046f3fa28fbb3d535fbe0bee5
data/exe/djutils CHANGED
@@ -12,7 +12,7 @@ if ARGV.empty?
12
12
  else
13
13
  cmd = ARGV[0]
14
14
  if cmd == 'inspect'
15
- Djutils::Inspector.inspect_targets()
15
+ Djutils::Inspector.inspect_targets(nil)
16
16
  else
17
17
  puts "Command '#{cmd}' not found."
18
18
  end
@@ -8,9 +8,11 @@ module Djutils
8
8
  TARGET_NOT_FOUND = -2
9
9
  FILES_MISMATCHED = -3
10
10
 
11
- def self.inspect_targets
11
+ def self.inspect_targets(proj_path)
12
12
 
13
- proj_path = File.join(Dir.pwd, '东家.xcodeproj')
13
+ if !proj_path
14
+ proj_path = File.join(Dir.pwd, '东家.xcodeproj')
15
+ end
14
16
 
15
17
  if !File.exist?(proj_path)
16
18
  puts "Error: #{proj_path} not found."
@@ -1,3 +1,3 @@
1
1
  module Djutils
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: djutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhuoyi