isource_lldb 0.2.3 → 0.2.6
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 +5 -5
- data/lib/rubygems_plugin.rb +4 -3
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0e2bd57deabdcf526c34101d5de58c9bc10151c858269ee8a349ca2e534ed5d2
|
|
4
|
+
data.tar.gz: dc79b2c234333dd5d23cc8ab2b729d4dace1d00a72fd4d04c69859ff5ec2c66b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef52acde565e44eef98e407b219f7a08d1945972c934866b17aa9d75318182da19759cc2a697c5b19db286c1518d6f6001a4ff439b9120edc455ecd8f0ca9379
|
|
7
|
+
data.tar.gz: af90f26b3b86f80c0f7d5966b3768646610d7ba519c5182b2695310167eef12fa78d39b000f0e896393f82a1bdb33b1dcbaa3033d28812ceeda1d2c7fafbc59e
|
data/lib/rubygems_plugin.rb
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
require 'pathname'
|
|
3
|
-
require 'rubygems'
|
|
4
3
|
|
|
5
4
|
Lldb_init_path = File.expand_path('~')+'/.lldbinit'
|
|
6
5
|
Lldb_init_path_temp = File.expand_path('~')+'/.lldbinit_temp'
|
|
@@ -9,6 +8,7 @@ Lldb_file_path = File.expand_path('~')+'/.isource_lldb/isource_lldb.py'
|
|
|
9
8
|
Commond_str = 'command script import '+Lldb_file_path
|
|
10
9
|
|
|
11
10
|
Gem.post_install do
|
|
11
|
+
|
|
12
12
|
# 配置 .lldbinit
|
|
13
13
|
if File.exist?(Lldb_init_path)
|
|
14
14
|
f=File.new(Lldb_init_path,"a+")
|
|
@@ -31,11 +31,11 @@ Gem.post_install do
|
|
|
31
31
|
f.close
|
|
32
32
|
end
|
|
33
33
|
File.chmod(0664,Lldb_init_path)
|
|
34
|
+
|
|
34
35
|
# 配置执行脚本
|
|
35
36
|
if !File.exist?(Lldb_source_path)
|
|
36
37
|
Dir.mkdir(Lldb_source_path)
|
|
37
38
|
end
|
|
38
|
-
|
|
39
39
|
File.chmod(0775,Lldb_source_path)
|
|
40
40
|
scriptPath = File.dirname(Pathname.new(__FILE__).realpath)
|
|
41
41
|
File.rename scriptPath+'/setup', Lldb_file_path
|
|
@@ -82,7 +82,8 @@ Gem.post_uninstall do
|
|
|
82
82
|
if File.exist?(Lldb_init_path)
|
|
83
83
|
remove_file()
|
|
84
84
|
end
|
|
85
|
-
|
|
85
|
+
|
|
86
|
+
puts "Thank you for using isource."
|
|
86
87
|
|
|
87
88
|
end
|
|
88
89
|
|
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.
|
|
4
|
+
version: 0.2.6
|
|
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-
|
|
11
|
+
date: 2020-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: An plugin of LLDB.
|
|
14
14
|
email:
|
|
@@ -38,8 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '0'
|
|
40
40
|
requirements: []
|
|
41
|
-
|
|
42
|
-
rubygems_version: 2.5.2.3
|
|
41
|
+
rubygems_version: 3.0.3
|
|
43
42
|
signing_key:
|
|
44
43
|
specification_version: 4
|
|
45
44
|
summary: An plugin of LLDB.
|