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: df9222d58b349995187809bb425ed3987b0991fa
4
- data.tar.gz: a0fbd294d33059b88be9e723e65127d1bea489b8
3
+ metadata.gz: bde9dbc6c04c4e815f26a2627f3b0f0bb508df84
4
+ data.tar.gz: d1a2cf2408515ea44fa7895f64a6380c45014101
5
5
  SHA512:
6
- metadata.gz: 78e6b130bb20bb3a8cac640410fcde8f4a38c4073e07f6e8d0d4cd03079da6968a685c4d1d331dace18abc9f885a42af93706ceb29e24f9c76030c51d2c16c16
7
- data.tar.gz: b74ee0ff8efa9570acd7653662188b6202b26c1906f09476b6e7ec675f445a3bd9fafc464f89fcdf264ffadabd43851628838bc460cea8606fe4b74f44d2a73b
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, "tags")) > 500 }
141
+ check_for_error(find_cmd) { File.size(File.join(ruby_source_folder, "TAGS")) > 500 }
145
142
  end
146
143
  end
147
144
  end
@@ -1,3 +1,3 @@
1
1
  module PryDoc
2
- VERSION = '0.13.0pre12'
2
+ VERSION = '0.13.0pre13'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0pre12
4
+ version: 0.13.0pre13
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mair (banisterfiend)