isource_lldb 0.2.9 → 0.3.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rubygems_plugin.rb +7 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1752aa4cf761155ddc9acca33f051c0580a35bd29234074324b5e788a5ebe88
4
- data.tar.gz: fad87428ef594972429c3adcf1b19c89bfc0b2c3297c02b6dd18b2639c42b415
3
+ metadata.gz: c979a29a700014a28531eb8a9fe514ea1718a8461444382e8cb5a2c3e69c4a5d
4
+ data.tar.gz: c83ca09991f64b8a18c9483c25a4da45f2a0cd55de188ed20272203b50a16e70
5
5
  SHA512:
6
- metadata.gz: f3fdb5a3610897a2e414669922c8ac12b82a62a8e32dc28646625ce9246c3c2d1516715b06bceb28af223347876313085acc75cbd01753a35a910980b6fd2d2b
7
- data.tar.gz: 2920da0303176aec6b91d8f69ba178ffa09b3aad9cc68d5e7e7f7524532caed0434d051bcab417834880974b84932490f6d21e902bc5675d5af378ba2fbeb22d
6
+ metadata.gz: 3609f144b237a99a3ae71426696c17fbc4563c43250356740f5f907421a6e8dafeda4462c5f9fd2bcda0cd7b6bc97c97b9cb014201033e66096db180de45a916
7
+ data.tar.gz: df20d2c0f05f8ec2f9e03eee1bcfc9f95d66bb8fd45210e8cb31f66d7784b363317a34a5d38e91458e678a65f67119b2f2e4833fd35a419595b7093d3a3f859c
@@ -36,11 +36,15 @@ Gem.post_install do
36
36
  if !File.exist?(Lldb_source_path)
37
37
  Dir.mkdir(Lldb_source_path)
38
38
  end
39
+
39
40
  File.chmod(0775,Lldb_source_path)
40
- scriptPath = File.dirname(Pathname.new(__FILE__).realpath)
41
- File.rename scriptPath+'/setup', Lldb_file_path
42
- File.chmod(0775,Lldb_file_path)
43
41
 
42
+ scriptPath = File.dirname(Pathname.new(__FILE__).realpath)
43
+ if File.exist?(scriptPath+'/setup')
44
+ File.rename scriptPath+'/setup', Lldb_file_path
45
+ File.chmod(0775,Lldb_file_path)
46
+ end
47
+
44
48
  puts "Please use the isource command in your Xcode LLDB."
45
49
  end
46
50
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isource_lldb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ningyuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-04 00:00:00.000000000 Z
11
+ date: 2021-06-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An plugin of LLDB.
14
14
  email: