vundle_migrator 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Dockerfile +10 -2
- data/Gemfile +0 -5
- data/Rakefile +17 -0
- data/lib/vundle_migrator/version.rb +1 -1
- data/vundle_migrator.gemspec +1 -0
- metadata +17 -3
- data/vendor/cache/minitest-5.8.4.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 883e30eeb202d7b85a8d31c3f28bd7f19d9ab787
|
4
|
+
data.tar.gz: a693da7cc6303eb2f3f108f2aed9c7e0cf979aea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d68de13b6285e7aae20955d8cf149c697d46bf1fd07c366f2965abfa0dd8ab4e732ebc4bc762a62533fc21a9d31252c202086847363abc64ef456d7d8b89b6fb
|
7
|
+
data.tar.gz: 935d7f65a911cf0c15d8b404710ba5bdf3301a65c4e2e4d58830ccb20d570acf85957dc24ff6e559728e45fd3063acbc0a5e04021a7f3a65c8c7ade2034dadb3
|
data/.gitignore
CHANGED
data/Dockerfile
CHANGED
@@ -2,16 +2,24 @@ FROM ruby:2.3.1
|
|
2
2
|
|
3
3
|
RUN apt-get update && apt-get install -y vim
|
4
4
|
|
5
|
+
# setup the vim directory
|
5
6
|
RUN mkdir -p /root/.vim/bundle
|
7
|
+
ADD fixtures/vimrc /root/.vimrc
|
6
8
|
RUN git clone https://github.com/scrooloose/nerdtree.git /root/.vim/bundle/nerdtree
|
7
9
|
RUN git clone https://github.com/tpope/vim-commentary.git /root/.vim/bundle/vim-commentary
|
8
10
|
RUN git clone https://github.com/tpope/vim-unimpaired.git /root/.vim/bundle/vim-unimpaired
|
9
11
|
RUN git clone https://github.com/VundleVim/Vundle.vim.git /root/.vim/bundle/Vundle.vim
|
10
12
|
|
13
|
+
# create an alias for running vundle_migrator
|
11
14
|
RUN echo 'alias vundle_migrator="/usr/src/app/bin/vundle_migrator -l /root/.vimrc"' >> /root/.bashrc
|
12
15
|
|
16
|
+
# set up the working directory
|
13
17
|
WORKDIR /usr/src/app
|
14
18
|
ADD . /usr/src/app
|
15
|
-
ADD fixtures/vimrc /root/.vimrc
|
16
19
|
|
17
|
-
|
20
|
+
# build the gem
|
21
|
+
RUN gem build vundle_migrator.gemspec
|
22
|
+
|
23
|
+
# install the gem
|
24
|
+
ARG GEM_VERSION
|
25
|
+
RUN gem install "vundle_migrator-$GEM_VERSION.gem"
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -9,3 +9,20 @@ Rake::TestTask.new(:test) do |t|
|
|
9
9
|
end
|
10
10
|
|
11
11
|
task :default => :test
|
12
|
+
|
13
|
+
desc "Build the docker image"
|
14
|
+
task :docker_build do
|
15
|
+
gem_version=`cat lib/vundle_migrator/version.rb`.match(/\d\.\d\.\d/)[0]
|
16
|
+
puts %x[docker build --build-arg GEM_VERSION=#{gem_version} -t vundle_migrator .]
|
17
|
+
end
|
18
|
+
task :docker_build_image => :docker_build
|
19
|
+
|
20
|
+
desc "Run the vundle_migrator binary in docker"
|
21
|
+
task :docker_run do
|
22
|
+
puts %x[docker run -it --rm vundle_migrator bin/vundle_migrator -l /root/.vimrc]
|
23
|
+
end
|
24
|
+
|
25
|
+
desc "Run the vundle_migrator binary with the dry_run flag in docker"
|
26
|
+
task :docker_dry_run do
|
27
|
+
puts %x[docker run -it --rm vundle_migrator bin/vundle_migrator -l /root/.vimrc -r]
|
28
|
+
end
|
data/vundle_migrator.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vundle_migrator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Yoder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '4.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: slop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.3'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.3'
|
83
97
|
description:
|
84
98
|
email:
|
85
99
|
- trayoda@gmail.com
|
@@ -101,7 +115,7 @@ files:
|
|
101
115
|
- lib/vundle_migrator.rb
|
102
116
|
- lib/vundle_migrator/version.rb
|
103
117
|
- vendor/cache/fakefs-0.8.1.gem
|
104
|
-
- vendor/cache/minitest-5.
|
118
|
+
- vendor/cache/minitest-5.9.0.gem
|
105
119
|
- vendor/cache/rake-11.1.2.gem
|
106
120
|
- vendor/cache/slop-4.3.0.gem
|
107
121
|
- vundle_migrator.gemspec
|
Binary file
|