vim-flavor 4.0.0 → 4.0.1

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
  SHA256:
3
- metadata.gz: 4b56f0299185327f581b7620d37b424150e44c4fbf9b644818f9a58430569116
4
- data.tar.gz: a49bde472dcd149d79a41f4e260467cc8eb1da9865308536610667a00e50e598
3
+ metadata.gz: ab518031fdcf2dbfebc8e07e3e0c3037d23c945bb829836eb3c949b707712aa9
4
+ data.tar.gz: 45738011fd3d87e1c3cb2c2a2ee0f039c02824b3df2953797a88099d3aae32f2
5
5
  SHA512:
6
- metadata.gz: a9babe8f14a01142a406f0e686c9a1b67ec7bae7418db50320af0ad55c348382b34e7b2a91dd9bfb5b7aa83486f403979a1cb45f3271a9b06365fe592d055605
7
- data.tar.gz: 3a6f954a798748573d82de17b50b7fa0a6d11621f62231005a00699e3dd8fdb65d12d474a731153822b2b40e35d51e5398b39f1610555e21e3ea7cab4508c75a
6
+ metadata.gz: 2f95c199e8b3edfa0e2b90129c9b0858739fc3448d5cd485166f7bf7c8ee92ec3eee4160643428c016741b66658fb4a14ef713fd88dd8b60d9db27223fce7d2c
7
+ data.tar.gz: 3e76e7c2403b87554e2b4856e0c30e98cd4fee7fcf4981bae63b6238c50a65d10ce638cc6a6cc057962d30880f67f0d3fb7771b637b11b651c4b919ffc93a797
@@ -15,6 +15,7 @@ jobs:
15
15
  - uses: actions/checkout@v2
16
16
  with:
17
17
  fetch-depth: 0 # t/blame.vim requires all commits.
18
+ submodules: true
18
19
  - name: Set up Ruby
19
20
  uses: ruby/setup-ruby@v1
20
21
  with:
@@ -30,6 +31,5 @@ jobs:
30
31
  git config --global user.email 'ci@example.com'
31
32
  git config --global user.name 'CI'
32
33
  git config --global init.defaultBranch 'master'
33
- git submodule update --init
34
34
  - name: Run tests
35
35
  run: rake ci
data/.gitmodules CHANGED
@@ -1,6 +1,6 @@
1
1
  [submodule "vendor/kana/vim-vspec"]
2
2
  path = vendor/kana/vim-vspec
3
- url = git://github.com/kana/vim-vspec
3
+ url = https://github.com/kana/vim-vspec
4
4
  [submodule "vendor/kana/vim-textobj-user"]
5
5
  path = vendor/kana/vim-textobj-user
6
- url = git://github.com/kana/vim-textobj-user
6
+ url = https://github.com/kana/vim-textobj-user
data/CHANGELOG.md ADDED
@@ -0,0 +1,169 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
9
+
10
+
11
+ ## [Unreleased](https://github.com/kana/vim-flavor/compare/v4.0.0...master)
12
+
13
+
14
+
15
+
16
+ ## [4.0.1](https://github.com/kana/vim-flavor/compare/v4.0.0...v4.0.1) - 2021-11-02
17
+
18
+ ### Changed
19
+
20
+ * **BREAKING**: Use `https://github.com/...` instead of `git://github.com/...`
21
+ to clone Vim plugin repositories. This change is required because
22
+ [GitHub deprecates `git://`](https://github.blog/2021-09-01-improving-git-protocol-security-github/)
23
+ since 2021-11-02.
24
+
25
+ This is a breaking change if you installed Vim plugins with vim-flavor v4.0.0
26
+ or older. You'll see the following error in that case:
27
+
28
+ fatal: remote error:
29
+ The unauthenticated git protocol on port 9418 is no longer supported.
30
+
31
+ There are two ways to fix this errors:
32
+
33
+ (A) Delete local clones:
34
+
35
+ rm -rf ~/.vim-flavor
36
+
37
+ (B) Change `remote.origin.url` of each local clone:
38
+
39
+ for d in ~/.vim-flavor/repos/*/
40
+ do
41
+ cd "$d" &&
42
+ git config remote.origin.url "$(git config remote.origin.url | sed 's!^git://!https://!')"
43
+ done
44
+
45
+ ### Fixed
46
+
47
+ - Update some tests not to fail with `vX.X.X` style version tags.
48
+
49
+
50
+
51
+
52
+ ## [4.0.0](https://github.com/kana/vim-flavor/compare/v3.0.0...v4.0.0) - 2021-09-22
53
+
54
+ ### Changed
55
+
56
+ * **BREAKING**: Ruby 3.0 or later is required now.
57
+
58
+
59
+
60
+
61
+ ## [3.0.0](https://github.com/kana/vim-flavor/compare/v2.2.2...v3.0.0) - 2018-03-24
62
+
63
+ ### Improved
64
+
65
+ * Steps to start using vim-flavor are simplified. Especially, it is not
66
+ necessary to edit vimrc.
67
+
68
+ ### Changed
69
+
70
+ * **BREAKING**: Vim 8.0 or later is required now.
71
+ * **BREAKING**: Deployment format is changed. It might be necessary to
72
+ manually delete some directories and files. See also the follwoing migration
73
+ guide.
74
+ * The name of configuration file is changed.
75
+ * Old name is `VimFlavor`.
76
+ * New name is `Flavorfile`.
77
+ * Note that old name is still supported for backward compatibility. Old
78
+ name file is used if there is no new name file. But it is highly
79
+ recommended to rename.
80
+ * The name of lock file is changed.
81
+ * Old name is `VimFlavor.lock`.
82
+ * New name is `Flavorfile.lock`.
83
+ * To avoid unexpected result and confusion, vim-flavor stops its process as
84
+ soon as possible if old name lockfile exists.
85
+
86
+ ### Migration guide from version 2
87
+
88
+ * Delete `~/.vim/flavors` directory.
89
+ * Delete `runtime flavors/bootstrap.vim` line from your vimrc.
90
+ * In your dotfiles repository:
91
+ * Rename `VimFlavor` as `Flavorfile`.
92
+ * Rename `VimFlavor.lock` as `Flavorfile.lock`.
93
+ * If you use vim-flavor for Vim plugin development, do the following steps in
94
+ that Vim plugin repository:
95
+ * Update `Gemfile` to uses vim-flavor 3.0 or later,
96
+ e.g., `gem 'vim-flavor', '~> 3.0'`.
97
+ * Rename `VimFlavor` as `Flavorfile`.
98
+ * Delete `.vim-flavor` directory. It is used to stash runtime dependencies to
99
+ run tests for your Vim plugin.
100
+ * Note that you must not commit `Flavorfile.lock` for your Vim plugin. It
101
+ makes your plugin hard to use with other plugins.
102
+
103
+
104
+
105
+
106
+ ## [2.2.2](https://github.com/kana/vim-flavor/compare/v2.2.1...v2.2.2) - 2018-01-31
107
+
108
+ ### Fixed
109
+
110
+ * Fixed `install`, `update` and `test` to work even if these commands are
111
+ invoked from non-bash shell.
112
+
113
+
114
+
115
+
116
+ ## [2.2.1](https://github.com/kana/vim-flavor/compare/v2.2.0...v2.2.1) - 2015-04-24
117
+
118
+ ### Fixed
119
+
120
+ * Fixed not to fail fetching repositories which have non-fastforward updates.
121
+
122
+
123
+
124
+
125
+ ## [2.2.0](https://github.com/kana/vim-flavor/compare/v2.1.1...v2.2.0) - 2015-04-18
126
+
127
+ ### Improved
128
+
129
+ * `test` runs `*.vim` and `*.t` in a single step, to get a simplified result.
130
+ * `test` uses [vim-vspec](https://github.com/kana/vim-vspec) 1.5 or later by
131
+ default.
132
+ * `test` supports `--update-dependencies` to update dependencies before running
133
+ tests.
134
+
135
+
136
+
137
+
138
+ ## [2.1.1](https://github.com/kana/vim-flavor/compare/2.1.0...v2.1.1) - 2015-02-25
139
+
140
+ ### Improved
141
+
142
+ * `install` and `update` skip checking versions of plugins which are
143
+ development dependencies.
144
+
145
+
146
+
147
+
148
+ ## [2.1.0](https://github.com/kana/vim-flavor/compare/2.0.0...2.1.0) - 2014-04-19
149
+
150
+ ### Improved
151
+
152
+ * `update` command is added. It is an alias of existing `upgrade` command.
153
+ Now it is recommended to use `update` rather than `upgrade`.
154
+ `upgrade` will be removed in a future version.
155
+ * `update` and `upgrade` learned to update specific plugins if repository names
156
+ are given as command-line arguments.
157
+
158
+
159
+
160
+
161
+ ## [2.0.0](https://github.com/kana/vim-flavor/compare/1.1.5...2.0.0) - 2014-03-10
162
+
163
+ ### Improved
164
+
165
+ * [Branches](./branches) are supported.
166
+
167
+ ### Changed
168
+
169
+ * **BREAKING**: Ruby 2.0.0 or later is required now.
data/README.md CHANGED
@@ -25,7 +25,7 @@ flavor 'kana/vim-textobj-indent'
25
25
  flavor 'fakeclip'
26
26
 
27
27
  # Install a Vim plugin from the specified URI.
28
- flavor 'git://github.com/kana/vim-altr.git'
28
+ flavor 'https://github.com/kana/vim-altr.git'
29
29
 
30
30
  # You can also specify which version of Vim plugin should be installed.
31
31
  # For example:
@@ -119,6 +119,13 @@ also on relish.
119
119
 
120
120
 
121
121
 
122
+ # Changelog
123
+
124
+ See [CHANGELOG.md](./CHANGELOG.md).
125
+
126
+
127
+
128
+
122
129
  # License
123
130
 
124
131
  vim-flavor is released under the terms of MIT license.
@@ -103,9 +103,9 @@ Feature: Flavorfile
103
103
  -------- Preparing dependencies
104
104
  Warning: Rename VimFlavor to Flavorfile. VimFlavor wll be ignored in future version.
105
105
  Checking versions...
106
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
106
+ Use kana/vim-vspec ... v?\d+\.\d+(\.\d+)?
107
107
  Deploying plugins...
108
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
108
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
109
109
  Completed.
110
110
  -------- Testing a Vim plugin
111
111
  t/basics.vim .. ok
@@ -115,7 +115,7 @@ Feature: Flavorfile
115
115
  """
116
116
  And a lockfile is created and matches with:
117
117
  """
118
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
118
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
119
119
  """
120
120
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
121
121
 
@@ -149,9 +149,9 @@ Feature: Flavorfile
149
149
  -------- Preparing dependencies
150
150
  Warning: Delete VimFlavor. Flavorfile is being read instead.
151
151
  Checking versions...
152
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
152
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
153
153
  Deploying plugins...
154
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
154
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
155
155
  Completed.
156
156
  -------- Testing a Vim plugin
157
157
  t/basics.vim .. ok
@@ -161,6 +161,6 @@ Feature: Flavorfile
161
161
  """
162
162
  And a lockfile is created and matches with:
163
163
  """
164
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
164
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
165
165
  """
166
166
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
@@ -7,7 +7,7 @@ Feature: Repository name
7
7
  Given a GitHub repository "vim-scripts/vspec" with versions "0.0.4 1.2.0"
8
8
  And a flavorfile with:
9
9
  """ruby
10
- # Fetch the plugin from git://github.com/vim-scripts/vspec.git
10
+ # Fetch the plugin from https://github.com/vim-scripts/vspec.git
11
11
  flavor 'vspec', '~> 0.0'
12
12
  """
13
13
  When I run `vim-flavor install`
@@ -22,7 +22,7 @@ Feature: Repository name
22
22
  Given a GitHub repository "kana/vim-vspec" with versions "0.0.4 1.2.0"
23
23
  And a flavorfile with:
24
24
  """ruby
25
- # Fetch the plugin from git://github.com/kana/vim-vspec.git
25
+ # Fetch the plugin from https://github.com/kana/vim-vspec.git
26
26
  flavor 'kana/vim-vspec', '~> 0.0'
27
27
  """
28
28
  When I run `vim-flavor install`
data/features/news.md ADDED
@@ -0,0 +1 @@
1
+ ../CHANGELOG.md
@@ -36,11 +36,11 @@ Feature: Dependencies
36
36
  """
37
37
  -------- Preparing dependencies
38
38
  Checking versions...
39
- Use kana/vim-textobj-user ... 0\.\d+(\.\d+)?
40
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
39
+ Use kana/vim-textobj-user ... v?\d+\.\d+(\.\d+)?
40
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
41
41
  Deploying plugins...
42
- kana/vim-textobj-user 0\.\d+(\.\d+)? ... done
43
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
42
+ kana/vim-textobj-user v?\d+\.\d+(\.\d+)? ... done
43
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
44
44
  Completed.
45
45
  -------- Testing a Vim plugin
46
46
  t/basics.vim .. ok
@@ -50,8 +50,8 @@ Feature: Dependencies
50
50
  """
51
51
  And a lockfile is created and matches with:
52
52
  """
53
- kana/vim-textobj-user \(0\.\d+(\.\d+)?\)
54
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
53
+ kana/vim-textobj-user \(v?\d+\.\d+(\.\d+)?\)
54
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
55
55
  """
56
56
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
57
57
  And a dependency "kana/vim-textobj-user" is stored in ".vim-flavor/pack/flavors/start"
@@ -72,10 +72,10 @@ Feature: Dependencies
72
72
  -------- Preparing dependencies
73
73
  Checking versions...
74
74
  Use kana/vim-textobj-user ... 0\.3\.5
75
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
75
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
76
76
  Deploying plugins...
77
77
  kana/vim-textobj-user 0\.3\.5 ... done
78
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
78
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
79
79
  Completed.
80
80
  -------- Testing a Vim plugin
81
81
  Files=0, Tests=0, \d+ wallclock secs .*
@@ -84,7 +84,7 @@ Feature: Dependencies
84
84
  And a lockfile is updated and matches with:
85
85
  """
86
86
  kana/vim-textobj-user \(0\.3\.5\)
87
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
87
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
88
88
  """
89
89
  When I run `vim-flavor test --update-dependencies`
90
90
  Then it should pass with regexp:
@@ -92,10 +92,10 @@ Feature: Dependencies
92
92
  -------- Preparing dependencies
93
93
  Checking versions...
94
94
  Use kana/vim-textobj-user ... 0\.3\.13
95
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
95
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
96
96
  Deploying plugins...
97
97
  kana/vim-textobj-user 0\.3\.13 ... done
98
- kana/vim-vspec 1\.\d+(\.\d+)? ... skipped \(already deployed\)
98
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... skipped \(already deployed\)
99
99
  Completed.
100
100
  -------- Testing a Vim plugin
101
101
  Files=0, Tests=0, \d+ wallclock secs .*
@@ -104,5 +104,5 @@ Feature: Dependencies
104
104
  And a lockfile is updated and matches with:
105
105
  """
106
106
  kana/vim-textobj-user \(0\.3\.13\)
107
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
107
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
108
108
  """
@@ -29,9 +29,9 @@ Feature: Failures
29
29
  """
30
30
  -------- Preparing dependencies
31
31
  Checking versions...
32
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
32
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
33
33
  Deploying plugins...
34
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
34
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
35
35
  Completed.
36
36
  -------- Testing a Vim plugin
37
37
  t/basics.vim ..\s
@@ -54,6 +54,6 @@ Feature: Failures
54
54
  """
55
55
  And a lockfile is created and matches with:
56
56
  """
57
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
57
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
58
58
  """
59
59
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
@@ -37,9 +37,9 @@ Feature: Specifying test scripts
37
37
  """
38
38
  -------- Preparing dependencies
39
39
  Checking versions...
40
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
40
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
41
41
  Deploying plugins...
42
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
42
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
43
43
  Completed.
44
44
  -------- Testing a Vim plugin
45
45
  spec/basics.vim .. ok
@@ -50,7 +50,7 @@ Feature: Specifying test scripts
50
50
  """
51
51
  And a lockfile is created and matches with:
52
52
  """
53
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
53
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
54
54
  """
55
55
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
56
56
 
@@ -60,9 +60,9 @@ Feature: Specifying test scripts
60
60
  """
61
61
  -------- Preparing dependencies
62
62
  Checking versions...
63
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
63
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
64
64
  Deploying plugins...
65
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
65
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
66
66
  Completed.
67
67
  -------- Testing a Vim plugin
68
68
  spec/basics.vim .. ok
@@ -72,7 +72,7 @@ Feature: Specifying test scripts
72
72
  """
73
73
  And a lockfile is created and matches with:
74
74
  """
75
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
75
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
76
76
  """
77
77
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
78
78
 
@@ -82,9 +82,9 @@ Feature: Specifying test scripts
82
82
  """
83
83
  -------- Preparing dependencies
84
84
  Checking versions...
85
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
85
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
86
86
  Deploying plugins...
87
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
87
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
88
88
  Completed.
89
89
  -------- Testing a Vim plugin
90
90
  spec/sh.t .. ok
@@ -94,6 +94,6 @@ Feature: Specifying test scripts
94
94
  """
95
95
  And a lockfile is created and matches with:
96
96
  """
97
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
97
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
98
98
  """
99
99
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
@@ -38,9 +38,9 @@ Feature: Typical usage
38
38
  """
39
39
  -------- Preparing dependencies
40
40
  Checking versions...
41
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
41
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
42
42
  Deploying plugins...
43
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
43
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
44
44
  Completed.
45
45
  -------- Testing a Vim plugin
46
46
  t/basics.vim .. ok
@@ -51,7 +51,7 @@ Feature: Typical usage
51
51
  """
52
52
  And a lockfile is created and matches with:
53
53
  """
54
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
54
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
55
55
  """
56
56
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
57
57
 
@@ -61,9 +61,9 @@ Feature: Typical usage
61
61
  """
62
62
  -------- Preparing dependencies
63
63
  Checking versions...
64
- Use kana/vim-vspec ... 1\.\d+(\.\d+)?
64
+ Use kana/vim-vspec ... v?\d+.\d+(\.\d+)?
65
65
  Deploying plugins...
66
- kana/vim-vspec 1\.\d+(\.\d+)? ... done
66
+ kana/vim-vspec v?\d+.\d+(\.\d+)? ... done
67
67
  Completed.
68
68
  -------- Testing a Vim plugin
69
69
  t/basics.vim .. ok
@@ -74,6 +74,6 @@ Feature: Typical usage
74
74
  """
75
75
  And a lockfile is created and matches with:
76
76
  """
77
- kana/vim-vspec \(1\.\d+(\.\d+)?\)
77
+ kana/vim-vspec \(v?\d+.\d+(\.\d+)?\)
78
78
  """
79
79
  And a dependency "kana/vim-vspec" is stored in ".vim-flavor/pack/flavors/start"
@@ -11,7 +11,7 @@ module Vim
11
11
  def github_uri_prefix
12
12
  @github_uri_prefix ||=
13
13
  ENV['VIM_FLAVOR_GITHUB_URI_PREFIX'] ||
14
- 'git://github.com/'
14
+ 'https://github.com/'
15
15
  end
16
16
 
17
17
  def github_uri_suffix
@@ -1,6 +1,6 @@
1
1
  module Vim
2
2
  module Flavor
3
- VERSION = '4.0.0'
3
+ VERSION = '4.0.1'
4
4
 
5
5
  class Version
6
6
  def self.create(arg)
@@ -38,8 +38,8 @@ module Vim
38
38
  it 'replace unsafe characters with "_"' do
39
39
  expect('fakeclip'.zap).to be == 'fakeclip'
40
40
  expect('kana/vim-altr'.zap).to be == 'kana_vim-altr'
41
- expect('git://example.com/foo.git'.zap).to be ==
42
- 'git___example.com_foo.git'
41
+ expect('https://example.com/foo.git'.zap).to be ==
42
+ 'https___example.com_foo.git'
43
43
  end
44
44
  end
45
45
  end
data/vim-flavor.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency('pastel', '~> 0.7')
24
24
  spec.add_dependency('thor', '>= 0.20', '< 2.0')
25
25
 
26
- spec.add_development_dependency('aruba', '~> 0.14')
26
+ spec.add_development_dependency('aruba', '~> 2.0')
27
27
  spec.add_development_dependency('cucumber', '~> 7.0')
28
28
  spec.add_development_dependency('pry')
29
29
  spec.add_development_dependency('relish', '~> 0.7')
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.0
4
+ version: 4.0.1
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-09-22 00:00:00.000000000 Z
11
+ date: 2021-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '0.14'
73
+ version: '2.0'
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '0.14'
80
+ version: '2.0'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: cucumber
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -148,6 +148,7 @@ files:
148
148
  - ".gitmodules"
149
149
  - ".rspec"
150
150
  - ".ruby-version"
151
+ - CHANGELOG.md
151
152
  - Gemfile
152
153
  - LICENSE
153
154
  - README.md
data/features/news.md DELETED
@@ -1,118 +0,0 @@
1
- ## vim-flavor 4.0.0
2
-
3
- ### Incompatible changes
4
-
5
- * Ruby 3.0 or later is required now.
6
-
7
-
8
-
9
-
10
- ## vim-flavor 3.0.0
11
-
12
- ### Enhancements
13
-
14
- * Steps to start using vim-flavor are simplified. Especially, it is not
15
- necessary to edit vimrc.
16
-
17
- ### Incompatible changes
18
-
19
- * Vim 8.0 or later is required now.
20
- * Deployment format is changed. It might be necessary to manually delete some
21
- directories and files. See also the follwoing migration guide.
22
- * The name of configuration file is changed.
23
- * Old name is `VimFlavor`.
24
- * New name is `Flavorfile`.
25
- * Note that old name is still supported for backward compatibility. Old
26
- name file is used if there is no new name file. But it is highly
27
- recommended to rename.
28
- * The name of lock file is changed.
29
- * Old name is `VimFlavor.lock`.
30
- * New name is `Flavorfile.lock`.
31
- * To avoid unexpected result and confusion, vim-flavor stops its process as
32
- soon as possible if old name lockfile exists.
33
-
34
- ### Migration guide from version 2
35
-
36
- * Delete `~/.vim/flavors` directory.
37
- * Delete `runtime flavors/bootstrap.vim` line from your vimrc.
38
- * In your dotfiles repository:
39
- * Rename `VimFlavor` as `Flavorfile`.
40
- * Rename `VimFlavor.lock` as `Flavorfile.lock`.
41
- * If you use vim-flavor for Vim plugin development, do the following steps in
42
- that Vim plugin repository:
43
- * Update `Gemfile` to uses vim-flavor 3.0 or later,
44
- e.g., `gem 'vim-flavor', '~> 3.0'`.
45
- * Rename `VimFlavor` as `Flavorfile`.
46
- * Delete `.vim-flavor` directory. It is used to stash runtime dependencies to
47
- run tests for your Vim plugin.
48
- * Note that you must not commit `Flavorfile.lock` for your Vim plugin. It
49
- makes your plugin hard to use with other plugins.
50
-
51
-
52
-
53
-
54
- ## vim-flavor 2.2.2
55
-
56
- ### Bug Fixes
57
-
58
- * Fix `install`, `update` and `test` to work even if these commands are invoked
59
- from non-bash shell.
60
-
61
-
62
-
63
-
64
- ## vim-flavor 2.2.1
65
-
66
- ### Bug Fixes
67
-
68
- * Fix not to fail fetching repositories which have non-fastforward updates.
69
-
70
-
71
-
72
-
73
- ## vim-flavor 2.2.0
74
-
75
- ### Enhancements
76
-
77
- * `test` runs `*.vim` and `*.t` in a single step, to get a simplified result.
78
- * `test` uses [vim-vspec](https://github.com/kana/vim-vspec) 1.5 or later by
79
- default.
80
- * `test` supports `--update-dependencies` to update dependencies before running
81
- tests.
82
-
83
-
84
-
85
-
86
- ## vim-flavor 2.1.1
87
-
88
- ### Enhancements
89
-
90
- * `install` and `update` skip checking versions of plugins which are
91
- development dependencies.
92
-
93
-
94
-
95
-
96
- ## vim-flavor 2.1.0
97
-
98
- ### Enhancements
99
-
100
- * `update` command is added. It is an alias of existing `upgrade` command.
101
- Now it is recommended to use `update` rather than `upgrade`.
102
- `upgrade` will be removed in a future version.
103
- * `update` and `upgrade` learned to update specific plugins if repository names
104
- are given as command-line arguments.
105
-
106
-
107
-
108
-
109
- ## vim-flavor 2.0.0
110
-
111
- ### Enhancements
112
-
113
- * [Branches](./branches) are supported.
114
-
115
-
116
- ### Incompatible changes
117
-
118
- * Ruby 2.0.0 or later is required to run vim-flavor.