pry-doc 0.13.0pre12 → 0.13.0pre13
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bde9dbc6c04c4e815f26a2627f3b0f0bb508df84
|
4
|
+
data.tar.gz: d1a2cf2408515ea44fa7895f64a6380c45014101
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2732b7295ac1a099f15eb8f2d9752a5fb3737ddf465918ab416869b075ec79eaebd7916f9c75890b458f66a2acf60970ec29f305decfe415e679c84d6a7ffa9
|
7
|
+
data.tar.gz: 23a9c8623b0a6620b72095153fb7bb556f125942c2c551768066f9e2859a246da75bc6243c433840c1a53e9919195f5f37c23330d85cda0e98d2a8a009a65d55
|
@@ -125,23 +125,20 @@ module Pry::CInternals
|
|
125
125
|
|
126
126
|
def self.etag_binary
|
127
127
|
@etag_binary ||= if RbConfig::CONFIG['host_os'] =~ /linux/
|
128
|
+
arch = RbConfig::CONFIG['arch'] =~ /i(3|6)86/ ? 32 : 64
|
128
129
|
File.join(PryDoc.root, "libexec/linux/etags-#{arch}")
|
129
130
|
else
|
130
131
|
"etags"
|
131
132
|
end
|
132
133
|
end
|
133
134
|
|
134
|
-
def self.arch
|
135
|
-
RbConfig::CONFIG['arch'] =~ /i(3|6)86/ ? 32 : 64
|
136
|
-
end
|
137
|
-
|
138
135
|
def self.generate_tagfile
|
139
136
|
find_cmd = "find . -type f -name '*.[chy]' | #{etag_binary} - --no-members"
|
140
137
|
|
141
138
|
FileUtils.cd(ruby_source_folder) do
|
142
139
|
puts "Generating tagfile!"
|
143
140
|
%x{ #{find_cmd} }
|
144
|
-
check_for_error(find_cmd) { File.size(File.join(ruby_source_folder, "
|
141
|
+
check_for_error(find_cmd) { File.size(File.join(ruby_source_folder, "TAGS")) > 500 }
|
145
142
|
end
|
146
143
|
end
|
147
144
|
end
|
data/lib/pry-doc/version.rb
CHANGED