mate 3.3.0 → 3.3.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/tm2 +3 -2
  3. data/mate.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '086f85d6296cda6a2f0bbf9c2b522ebc60bdc18b3f37ae6356f99001c88483d1'
4
- data.tar.gz: e5fe5e12bf8654d276e409d28b6ba565582c8a0f86ec7d369bc4b21350565967
3
+ metadata.gz: e19696334285efef7270205a4de096e20d8597deb0738ca8900afaf0908e64ea
4
+ data.tar.gz: d66fe6a61c1863e22d22fb467d9fa057913879c439baffb8be59be51733ae40e
5
5
  SHA512:
6
- metadata.gz: 983ef85fe34b3f5145ea5143756927c007890f75996b95eaf45e855145e1c3625711462265258d94a896980b8e4b4c5a711a5a013223152648c67fe985896944
7
- data.tar.gz: dde6f73ec56a90351a6d4558b99926341ae95038278b1c4e56da215edae51b5c11da0f673510fc39015649f347884a2e5185ad4af67a2775059b9650ff84cf4c
6
+ metadata.gz: 470fdb7fd11e9811963f31e587f74cfec655c404741869cb85977f9e8f318792d32237c696c46547559dea48e3e93316c130f8f7153c08e5a542655f3b13cbb0
7
+ data.tar.gz: 1530bd3bb638359f0a6e192055e22d0045847036ec6691b9f4bc9f2881616abc5668c369a4af913ac92c2d52299626d1d80028a609c74ffab98a4755118ab9e9
data/bin/tm2 CHANGED
@@ -17,8 +17,9 @@ end.order!
17
17
  args = ARGV.flat_map do |arg|
18
18
  if File.directory?(arg)
19
19
  Mate::TmProperties.create(arg, options)
20
- elsif !File.file?(arg) && (m = /\A(.*):(\d+)\z/.match(arg))
21
- %W[-l #{$2} #{$1}]
20
+ arg
21
+ elsif !File.file?(arg) && /\A(?<path>.*):(?<line>\d+)\z/ =~ arg
22
+ %W[-l #{line} #{path}]
22
23
  else
23
24
  arg
24
25
  end
data/mate.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'mate'
5
- s.version = '3.3.0'
5
+ s.version = '3.3.1'
6
6
  s.summary = %q{TextMate 2 properties builder using git ignores for exclusions}
7
7
  s.homepage = "https://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mate
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
@@ -28,7 +28,7 @@ licenses:
28
28
  - MIT
29
29
  metadata:
30
30
  bug_tracker_uri: https://github.com/toy/mate/issues
31
- documentation_uri: https://www.rubydoc.info/gems/mate/3.3.0
31
+ documentation_uri: https://www.rubydoc.info/gems/mate/3.3.1
32
32
  source_code_uri: https://github.com/toy/mate
33
33
  rdoc_options: []
34
34
  require_paths: