vim-flavor 4.0.1 → 4.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab518031fdcf2dbfebc8e07e3e0c3037d23c945bb829836eb3c949b707712aa9
4
- data.tar.gz: 45738011fd3d87e1c3cb2c2a2ee0f039c02824b3df2953797a88099d3aae32f2
3
+ metadata.gz: 29fd7f74d2d091f62e106af07360714b988e0672d66dddf551bbd8367acfd84c
4
+ data.tar.gz: 86c40c1535dfc44473673c8884b0769050237b8c32a7b5b8b07594910fe50229
5
5
  SHA512:
6
- metadata.gz: 2f95c199e8b3edfa0e2b90129c9b0858739fc3448d5cd485166f7bf7c8ee92ec3eee4160643428c016741b66658fb4a14ef713fd88dd8b60d9db27223fce7d2c
7
- data.tar.gz: 3e76e7c2403b87554e2b4856e0c30e98cd4fee7fcf4981bae63b6238c50a65d10ce638cc6a6cc057962d30880f67f0d3fb7771b637b11b651c4b919ffc93a797
6
+ metadata.gz: 3ab2a3e58ccac409126f0d1e663128d004d2d876d90f036c07629a6ab64cbb2185f1801545e388022007fffce714a9c8d87ddf5cd5e10378628472b2a75870f4
7
+ data.tar.gz: a839bae7743cb04a92284b1310b0010ab64f47f3f4450f653e4eb8f4dc1d204c58ca1f897d3f21d3acb0bf28f76a52098a251d08f15ca48ae9dc68db3018e23d
@@ -12,7 +12,7 @@ jobs:
12
12
  test:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v2
15
+ - uses: actions/checkout@v4
16
16
  with:
17
17
  fetch-depth: 0 # t/blame.vim requires all commits.
18
18
  submodules: true
@@ -21,7 +21,7 @@ jobs:
21
21
  with:
22
22
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
23
23
  - name: Set up Vim
24
- uses: thinca/action-setup-vim@v1
24
+ uses: thinca/action-setup-vim@v2
25
25
  with:
26
26
  vim_version: ${{ github.event_name == 'schedule' && 'head' || 'v8.2.3446' }}
27
27
  vim_type: vim
data/CHANGELOG.md CHANGED
@@ -8,7 +8,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
 
9
9
 
10
10
 
11
- ## [Unreleased](https://github.com/kana/vim-flavor/compare/v4.0.0...master)
11
+ ## [Unreleased](https://github.com/kana/vim-flavor/compare/v4.0.3...master)
12
+
13
+
14
+
15
+
16
+ ## [4.0.3](https://github.com/kana/vim-flavor/compare/v4.0.2...v4.0.3) - 2024-07-13
17
+
18
+ ### Fixed
19
+
20
+ * Fix an error while installing Vim plugins caused by Vim 9.1.0573 or later.
21
+
22
+
23
+
24
+
25
+ ## [4.0.2](https://github.com/kana/vim-flavor/compare/v4.0.1...v4.0.2) - 2022-01-11
26
+
27
+ ### Fixed
28
+
29
+ * Remove deprecated usage of `.exists?` style methods ([#66](https://github.com/kana/vim-flavor/pull/66))
12
30
 
13
31
 
14
32
 
@@ -25,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
43
  This is a breaking change if you installed Vim plugins with vim-flavor v4.0.0
26
44
  or older. You'll see the following error in that case:
27
45
 
28
- fatal: remote error:
46
+ fatal: remote error:
29
47
  The unauthenticated git protocol on port 9418 is no longer supported.
30
48
 
31
49
  There are two ways to fix this errors:
@@ -5,7 +5,7 @@ Given /^a (?:(?:GitHub|local) )?repository "([^"]*)"$/ do |basename|
5
5
  {
6
6
  mkdir -p '#{repository_path}' &&
7
7
  cd '#{repository_path}' &&
8
- git init &&
8
+ git init -b master &&
9
9
  echo 'README' >README.md &&
10
10
  git add README.md &&
11
11
  git commit -m 'Write README'
@@ -21,7 +21,7 @@ module Vim
21
21
 
22
22
  # Return true if this flavor's repository is already cloned.
23
23
  def cached?
24
- Dir.exists?(cached_repo_path)
24
+ Dir.exist?(cached_repo_path)
25
25
  end
26
26
 
27
27
  def cached_version?(version)
@@ -96,10 +96,10 @@ module Vim
96
96
  git checkout -f '#{locked_version.to_revision}' &&
97
97
  git checkout-index -a -f --prefix='#{deployment_path}/' &&
98
98
  {
99
- vim -u NONE -i NONE -n -N -e -s -c '
100
- silent! helptags #{deployment_path}/doc
101
- qall!
102
- ' || true
99
+ vim -u NONE -i NONE -n -N -e -s \
100
+ -c 'silent! helptags #{deployment_path}/doc' \
101
+ -c 'qall!' \
102
+ || true
103
103
  }
104
104
  } 2>&1
105
105
  ]
@@ -18,7 +18,7 @@ module Vim
18
18
 
19
19
  def self.load_or_new(flavorfile_path)
20
20
  ff = new()
21
- ff.load(flavorfile_path) if FileTest.exists?(flavorfile_path)
21
+ ff.load(flavorfile_path) if FileTest.exist?(flavorfile_path)
22
22
  ff
23
23
  end
24
24
 
@@ -33,12 +33,12 @@ module Vim
33
33
  new_path = Pathname.new(flavorfile_path).relative_path_from(Pathname.getwd())
34
34
  old_path = new_path.dirname() / 'VimFlavor'
35
35
 
36
- path = if FileTest.exists?(new_path)
37
- if warn and FileTest.exists?(old_path)
36
+ path = if FileTest.exist?(new_path)
37
+ if warn and FileTest.exist?(old_path)
38
38
  Console::warn "Delete #{old_path}. #{new_path} is being read instead."
39
39
  end
40
40
  new_path
41
- elsif FileTest.exists?(old_path)
41
+ elsif FileTest.exist?(old_path)
42
42
  if warn
43
43
  Console::warn "Rename #{old_path} to #{new_path}. #{old_path} wll be ignored in future version."
44
44
  end
@@ -5,7 +5,7 @@ module Vim
5
5
  class LockFile
6
6
  def self.load_or_new(lockfile_path)
7
7
  l = new(lockfile_path)
8
- l.load() if File.exists?(lockfile_path)
8
+ l.load() if File.exist?(lockfile_path)
9
9
  l
10
10
  end
11
11
 
@@ -14,7 +14,7 @@ module Vim
14
14
  new_path = Pathname.new(lockfile_path).relative_path_from(Pathname.getwd())
15
15
  old_path = new_path.dirname() / 'VimFlavor.lock'
16
16
 
17
- if error and FileTest.exists?(old_path)
17
+ if error and FileTest.exist?(old_path)
18
18
  Console::error "#{old_path} is no longer used. Rename it to #{new_path}."
19
19
  end
20
20
 
@@ -1,6 +1,6 @@
1
1
  module Vim
2
2
  module Flavor
3
- VERSION = '4.0.1'
3
+ VERSION = '4.0.3'
4
4
 
5
5
  class Version
6
6
  def self.create(arg)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vim-flavor
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kana Natsuno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2024-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
252
  requirements: []
253
- rubygems_version: 3.2.27
253
+ rubygems_version: 3.2.22
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: A tool to manage your favorite Vim plugins