isource_lldb 0.2.2 → 0.2.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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/rubygems_plugin.rb +3 -8
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 7fa55038536abc6de21219e9859591d863b07670aba7306fe5e024647d8adb57
4
- data.tar.gz: d875c605b97b54eeb6cdcb365ac74e26653b6a523668c6a7f6806fa55496e6fe
2
+ SHA1:
3
+ metadata.gz: 4a31bfda986885eb1630d76fb0720247523751ca
4
+ data.tar.gz: ba383d569e925ff582b842ed354c9067f9afc093
5
5
  SHA512:
6
- metadata.gz: 15f2e6ea42833c9438c6436e3da910a5860f061c2ca61856d3031152adc3e110589169d0c5a0101bda3432347cdf15917434bf7650cdd4fcb9f6aa2b9ba75d20
7
- data.tar.gz: b97b44df7205a9309f9a260623ee6b4e41a6225d2b5bc85677e162f0f4bf74a228f9a2a81908f9ad72c6a8c32463c6e23fada55e7a8f49e1355f594cee172d72
6
+ metadata.gz: e724ca2317162286df9909b425d3e554274f19e5b51313d386eac85864827e55d3f263fb1177bf050f0a69a35e29ded738e602156797c173b8bb571cdc7e968f
7
+ data.tar.gz: 919634ca8e05a6676db5c4b74f5203a067f7d589cab144e576c1bfc83e9f162ab1c40fecbf0d34d7fe9c8f3b5b723a2b91a12541df942ca8881ab21e814d9601
@@ -1,5 +1,6 @@
1
1
 
2
2
  require 'pathname'
3
+ require 'rubygems'
3
4
 
4
5
  Lldb_init_path = File.expand_path('~')+'/.lldbinit'
5
6
  Lldb_init_path_temp = File.expand_path('~')+'/.lldbinit_temp'
@@ -7,13 +8,7 @@ Lldb_source_path = File.expand_path('~')+'/.isource_lldb'
7
8
  Lldb_file_path = File.expand_path('~')+'/.isource_lldb/isource_lldb.py'
8
9
  Commond_str = 'command script import '+Lldb_file_path
9
10
 
10
-
11
- Gem.pre_install do
12
- `export PATH="\`ruby -e 'puts Gem.user_dir'\`/bin:$PATH"`
13
- end
14
-
15
11
  Gem.post_install do
16
-
17
12
  # 配置 .lldbinit
18
13
  if File.exist?(Lldb_init_path)
19
14
  f=File.new(Lldb_init_path,"a+")
@@ -36,11 +31,11 @@ Gem.post_install do
36
31
  f.close
37
32
  end
38
33
  File.chmod(0664,Lldb_init_path)
39
-
40
34
  # 配置执行脚本
41
35
  if !File.exist?(Lldb_source_path)
42
36
  Dir.mkdir(Lldb_source_path)
43
37
  end
38
+
44
39
  File.chmod(0775,Lldb_source_path)
45
40
  scriptPath = File.dirname(Pathname.new(__FILE__).realpath)
46
41
  File.rename scriptPath+'/setup', Lldb_file_path
@@ -87,7 +82,7 @@ Gem.post_uninstall do
87
82
  if File.exist?(Lldb_init_path)
88
83
  remove_file()
89
84
  end
90
-
85
+ puts "Thank for use isource."
91
86
 
92
87
  end
93
88
 
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ningyuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-04 00:00:00.000000000 Z
11
+ date: 2020-12-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An plugin of LLDB.
14
14
  email:
@@ -38,7 +38,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  requirements: []
41
- rubygems_version: 3.0.3
41
+ rubyforge_project:
42
+ rubygems_version: 2.5.2.3
42
43
  signing_key:
43
44
  specification_version: 4
44
45
  summary: An plugin of LLDB.