starscope 1.3.2 → 1.3.3

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: 4e6ff5437d74a3753733f54c3e2f2a6a64943418
4
- data.tar.gz: 102566799461b2debe83cda62fb07c661d2f0d66
3
+ metadata.gz: 9fb073a356694d459d2c8f52e8dd1f7b81d22103
4
+ data.tar.gz: bddae56a6b270f28bd0135e355a09f5b14c16923
5
5
  SHA512:
6
- metadata.gz: 098acf093a478e4d4ed845b900f8bc14267cd423bb289d3745e8c548d7f9e0d161fed82c8756edee3b8e84818f518c04cf605076678dcd9b4bdf1b41ff1af8a6
7
- data.tar.gz: 88a36021d2c105e21ec45a74f159c168c87e604996d5ec3c178567b2ac4d777b64eb3ef67ebcda8ba6b33ef157ea1f9d016d1cb39638e990dbb0c94961afe550
6
+ metadata.gz: fbe36b2c5a96dc14475b41e29d7de9344b4ea1183369a75002ecbe1e8f7bac9e37ffe8f01a108527304426fde4281a3ab8d520b750e80c5dfdc6c969475e1b1f
7
+ data.tar.gz: 0a79e14ddd7de65dba9fe6246e8da1f6da1f2b5ff7f93e59f0ed4a5f9741e9d53d5c771a3b20e5870836bc7358dba6ad87e82cb9c1e2b4b55bf7b1a6c9fcc268
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
+ sudo: false
2
3
 
3
4
  rvm:
4
5
  - 1.8.7
@@ -1,7 +1,18 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- v1.3.2 (trunk)
4
+ v1.3.3 (trunk)
5
+ --------------------
6
+
7
+ Bug Fixes:
8
+ * Escape '/' characters in the line 'pattern' component of ctags records, since
9
+ otherwise they terminate that component when it is read as a vim search
10
+ command.
11
+
12
+ Improvements:
13
+ * Recognize rake tasks as ruby files.
14
+
15
+ v1.3.2 (2015-02-13)
5
16
  --------------------
6
17
 
7
18
  Bug Fixes:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- starscope (1.3.2)
4
+ starscope (1.3.3)
5
5
  backports (~> 3.6)
6
6
  oj (~> 2.9)
7
7
  parser (~> 2.2.0.3)
@@ -51,7 +51,8 @@ END
51
51
  end
52
52
 
53
53
  def ctag_line(rec, file)
54
- ret = "#{rec[:name][-1]}\t#{rec[:file]}\t/^#{line_for_record(rec)}$/"
54
+ line = line_for_record(rec).gsub('/', '\/')
55
+ ret = "#{rec[:name][-1]}\t#{rec[:file]}\t/^#{line}$/"
55
56
 
56
57
  ext = ctag_ext_tags(rec, file)
57
58
  if not ext.empty?
@@ -5,7 +5,7 @@ module Starscope::Lang
5
5
  VERSION = 2
6
6
 
7
7
  def self.match_file(name)
8
- return true if name.end_with?(".rb")
8
+ return true if name.end_with?(".rb") || name.end_with?(".rake")
9
9
  File.open(name) do |f|
10
10
  head = f.read(2)
11
11
  return false if head.nil? || !head.start_with?("#!")
@@ -1,3 +1,3 @@
1
1
  module Starscope
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Huus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2015-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj