starscope 1.3.0.pre.rc2 → 1.3.0

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: 8990a179b74e33abc0f11be5138cafbb0c753268
4
- data.tar.gz: 24799a335d01f5cbe1402e8f375cf39b5e0ec28b
3
+ metadata.gz: 9dc4d4ed48ed8e03902cab715035cec7226085dd
4
+ data.tar.gz: d65334b73069abcfdb1e411dc898e672e556d52c
5
5
  SHA512:
6
- metadata.gz: 7181a98649ff618e53d35d1f182ecea36ee33dee532ecfa892dc576033b222010b196879270af803376bd8d6eb5b2fd4533b8950878cffbf69de2c52557c552c
7
- data.tar.gz: 8fb98b2744e28b9cbee19a8d90866ab95d49963a5f5b331bd3f97934da76699a6867d447d64afa16bbba9d42b21952e3a720c9a1a7d4c5edfc8763be5aad9593
6
+ metadata.gz: 084546bf7ecfff1a1bf673d8a302d7fdbd7c0f302dd45830e9a5c8aaae4ec7d28e044a3744ef3eefbf3e1a76ec40d66d9fe2e1a7f601fed94bcf2023649d19df
7
+ data.tar.gz: de3833eb0f5ee2033760008fac08a0c1726c2fd148f28a81dc5501924e925fce6d06d8ff657e9ba1e6ebc6c29264456918ff60744b652954787539f36b2a561d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- starscope (1.3.0.pre.rc2)
4
+ starscope (1.3.0)
5
5
  backports (~> 3.6)
6
6
  oj (~> 2.9)
7
7
  parser (~> 2.1)
@@ -40,8 +40,8 @@ module Starscope::Exportable
40
40
  # calls must occur in a function, but in ruby et al. it is perfectly legal to
41
41
  # write normal code outside the "scope" of a function definition - we insert a
42
42
  # fake shim "global" function everywhere we can to work around this
43
- CSCOPE_GLOBAL_HACK_START = "\n\t$-\n"
44
- CSCOPE_GLOBAL_HACK_STOP = "\n\t}\n"
43
+ CSCOPE_GLOBAL_HACK_START = " \n\t$-\n"
44
+ CSCOPE_GLOBAL_HACK_STOP = " \n\t}\n"
45
45
 
46
46
  def export_ctags(file)
47
47
  file.puts <<END
@@ -168,11 +168,7 @@ END
168
168
 
169
169
  def cscope_output(line, prev, offset, record)
170
170
  buf = ""
171
-
172
- if record[:type] == :func && record[:tbl] == :defs
173
- buf << " " if prev > 0 # urgh cscope
174
- buf << CSCOPE_GLOBAL_HACK_STOP
175
- end
171
+ buf << CSCOPE_GLOBAL_HACK_STOP if record[:type] == :func && record[:tbl] == :defs
176
172
 
177
173
  record[:name][0...-1].each do |key|
178
174
  # output previous components of the name (ie the Foo in Foo::bar) as unmarked symbols
@@ -1,3 +1,3 @@
1
1
  module Starscope
2
- VERSION = "1.3.0-rc2"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.pre.rc2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Huus
@@ -198,9 +198,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
198
  version: 1.8.7
199
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  requirements:
201
- - - ">"
201
+ - - ">="
202
202
  - !ruby/object:Gem::Version
203
- version: 1.3.1
203
+ version: '0'
204
204
  requirements: []
205
205
  rubyforge_project:
206
206
  rubygems_version: 2.2.2