vimpack 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/vimpack +3 -8
- data/lib/vimpack/version.rb +1 -1
- data/tasks/gemspec.rake +26 -0
- data/vimpack.gemspec +2 -1
- data/vimpack.gemspec.erb +40 -0
- metadata +46 -33
data/bin/vimpack
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require
|
4
|
-
|
5
|
-
require 'vimpack'
|
6
|
-
rescue LoadError => e
|
7
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
8
|
-
require 'vimpack'
|
9
|
-
end
|
2
|
+
require 'bundler'
|
3
|
+
Bundler.require(:default)
|
4
|
+
require 'vimpack'
|
10
5
|
|
11
6
|
USAGE = <<-EOU
|
12
7
|
Manage bundles of vim scripts and vimrc
|
data/lib/vimpack/version.rb
CHANGED
data/tasks/gemspec.rake
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
desc "Build a new gemspec"
|
3
|
+
task :gemspec do
|
4
|
+
rejects = [
|
5
|
+
'.autotest',
|
6
|
+
'.bundle',
|
7
|
+
'.gitignore',
|
8
|
+
'.rbenv-version',
|
9
|
+
'.rspec',
|
10
|
+
'.rvmrc',
|
11
|
+
]
|
12
|
+
files = `git ls-files`.split("\n").reject do |file|
|
13
|
+
rejects.detect do |reject|
|
14
|
+
file.end_with?(reject) || file.match(/#{reject}/)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
18
|
+
executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
|
20
|
+
gemspec_erb = File.read(File.expand_path('../../vimpack.gemspec.erb', __FILE__))
|
21
|
+
gemspec_path = File.expand_path('../../vimpack.gemspec', __FILE__)
|
22
|
+
gemspec_content = ERB.new(gemspec_erb).result(binding)
|
23
|
+
File.open(gemspec_path, 'w') do |gemspec|
|
24
|
+
gemspec.write(gemspec_content)
|
25
|
+
end
|
26
|
+
end
|
data/vimpack.gemspec
CHANGED
@@ -14,11 +14,12 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.rubyforge_project = "vimpack"
|
16
16
|
|
17
|
-
s.files = ["Gemfile", "LICENSE", "README.md", "Rakefile", "autotest/discover.rb", "bin/vimpack", "cucumber.yml", "features/commands/environments.feature", "features/commands/git.feature", "features/commands/info.feature", "features/commands/init.feature", "features/commands/install.feature", "features/commands/list.feature", "features/commands/search.feature", "features/commands/uninstall.feature", "features/step_definitions/environment_steps.rb", "features/step_definitions/file_utils_steps.rb", "features/step_definitions/initialize_steps.rb", "features/step_definitions/output_steps.rb", "features/step_definitions/vimpack_git_steps.rb", "features/support/env.rb", "features/support/executable_paths.rb", "lib/vimpack.rb", "lib/vimpack/commands.rb", "lib/vimpack/commands/command.rb", "lib/vimpack/commands/git.rb", "lib/vimpack/commands/info.rb", "lib/vimpack/commands/init.rb", "lib/vimpack/commands/install.rb", "lib/vimpack/commands/list.rb", "lib/vimpack/commands/search.rb", "lib/vimpack/commands/uninstall.rb", "lib/vimpack/models.rb", "lib/vimpack/models/apibase.rb", "lib/vimpack/models/base.rb", "lib/vimpack/models/repo.rb", "lib/vimpack/models/script.rb", "lib/vimpack/utils/api.rb", "lib/vimpack/utils/file.rb", "lib/vimpack/utils/file_path.rb", "lib/vimpack/utils/git.rb", "lib/vimpack/utils/github.rb", "lib/vimpack/utils/io.rb", "lib/vimpack/utils/process.rb", "lib/vimpack/utils/vimscripts.rb", "lib/vimpack/version.rb", "simplecov_setup.rb", "spec/spec_helper.rb", "spec/vimpack/models/repo_spec.rb", "spec/vimpack/models/script_spec.rb", "spec/vimpack/utils/github_spec.rb", "spec/vimpack/utils/vimscripts_spec.rb", "tasks/cucumber.rake", "tasks/default.rake", "templates/vimrc.erb", "vimpack.gemspec"]
|
17
|
+
s.files = ["Gemfile", "LICENSE", "README.md", "Rakefile", "autotest/discover.rb", "bin/vimpack", "cucumber.yml", "features/commands/environments.feature", "features/commands/git.feature", "features/commands/info.feature", "features/commands/init.feature", "features/commands/install.feature", "features/commands/list.feature", "features/commands/search.feature", "features/commands/uninstall.feature", "features/step_definitions/environment_steps.rb", "features/step_definitions/file_utils_steps.rb", "features/step_definitions/initialize_steps.rb", "features/step_definitions/output_steps.rb", "features/step_definitions/vimpack_git_steps.rb", "features/support/env.rb", "features/support/executable_paths.rb", "lib/vimpack.rb", "lib/vimpack/commands.rb", "lib/vimpack/commands/command.rb", "lib/vimpack/commands/git.rb", "lib/vimpack/commands/info.rb", "lib/vimpack/commands/init.rb", "lib/vimpack/commands/install.rb", "lib/vimpack/commands/list.rb", "lib/vimpack/commands/search.rb", "lib/vimpack/commands/uninstall.rb", "lib/vimpack/models.rb", "lib/vimpack/models/apibase.rb", "lib/vimpack/models/base.rb", "lib/vimpack/models/repo.rb", "lib/vimpack/models/script.rb", "lib/vimpack/utils/api.rb", "lib/vimpack/utils/file.rb", "lib/vimpack/utils/file_path.rb", "lib/vimpack/utils/git.rb", "lib/vimpack/utils/github.rb", "lib/vimpack/utils/io.rb", "lib/vimpack/utils/process.rb", "lib/vimpack/utils/vimscripts.rb", "lib/vimpack/version.rb", "simplecov_setup.rb", "spec/spec_helper.rb", "spec/vimpack/models/repo_spec.rb", "spec/vimpack/models/script_spec.rb", "spec/vimpack/utils/github_spec.rb", "spec/vimpack/utils/vimscripts_spec.rb", "tasks/cucumber.rake", "tasks/default.rake", "tasks/gemspec.rake", "templates/vimrc.erb", "vimpack.gemspec", "vimpack.gemspec.erb"]
|
18
18
|
s.test_files = ["features/commands/environments.feature", "features/commands/git.feature", "features/commands/info.feature", "features/commands/init.feature", "features/commands/install.feature", "features/commands/list.feature", "features/commands/search.feature", "features/commands/uninstall.feature", "features/step_definitions/environment_steps.rb", "features/step_definitions/file_utils_steps.rb", "features/step_definitions/initialize_steps.rb", "features/step_definitions/output_steps.rb", "features/step_definitions/vimpack_git_steps.rb", "features/support/env.rb", "features/support/executable_paths.rb", "spec/spec_helper.rb", "spec/vimpack/models/repo_spec.rb", "spec/vimpack/models/script_spec.rb", "spec/vimpack/utils/github_spec.rb", "spec/vimpack/utils/vimscripts_spec.rb"]
|
19
19
|
s.executables = ["vimpack"]
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
+
s.add_dependency('bundler', '~> 1')
|
22
23
|
s.add_dependency('trollop', '~> 1.16.2')
|
23
24
|
s.add_dependency('rainbow', '~> 1.1.3')
|
24
25
|
s.add_dependency('childprocess', '~> 0.3.1')
|
data/vimpack.gemspec.erb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "vimpack/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "vimpack"
|
7
|
+
s.version = Vimpack::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Bram Swenson"]
|
10
|
+
s.email = ["bram@craniumisajar.com"]
|
11
|
+
s.homepage = ""
|
12
|
+
s.summary = %q{ Vim Script Package Manager }
|
13
|
+
s.description = %q{ Vim Script Package Manager based on pathogen.vim by Tim Pope }
|
14
|
+
|
15
|
+
s.rubyforge_project = "vimpack"
|
16
|
+
|
17
|
+
s.files = <%= files %>
|
18
|
+
s.test_files = <%= test_files %>
|
19
|
+
s.executables = <%= executables %>
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency('bundler', '~> 1')
|
23
|
+
s.add_dependency('trollop', '~> 1.16.2')
|
24
|
+
s.add_dependency('rainbow', '~> 1.1.3')
|
25
|
+
s.add_dependency('childprocess', '~> 0.3.1')
|
26
|
+
s.add_dependency('activemodel', '~> 3.0.11')
|
27
|
+
s.add_dependency('yajl-ruby', '~> 1.1.0')
|
28
|
+
s.add_dependency('enviro', '>=0.0.4')
|
29
|
+
s.add_dependency('nokogiri', '~> 1.5.0')
|
30
|
+
s.add_dependency('octokit', '~> 1.0.0')
|
31
|
+
|
32
|
+
s.add_development_dependency('vcr')
|
33
|
+
s.add_development_dependency('webmock')
|
34
|
+
s.add_development_dependency('cucumber')
|
35
|
+
s.add_development_dependency('rspec')
|
36
|
+
s.add_development_dependency('aruba')
|
37
|
+
s.add_development_dependency('simplecov')
|
38
|
+
s.add_development_dependency('ruby-debug19')
|
39
|
+
end
|
40
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vimpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,9 +11,20 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-02-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: &70233549452560 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70233549452560
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: trollop
|
16
|
-
requirement: &
|
27
|
+
requirement: &70233549451660 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ~>
|
@@ -21,10 +32,10 @@ dependencies:
|
|
21
32
|
version: 1.16.2
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *70233549451660
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: rainbow
|
27
|
-
requirement: &
|
38
|
+
requirement: &70233549450860 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ~>
|
@@ -32,10 +43,10 @@ dependencies:
|
|
32
43
|
version: 1.1.3
|
33
44
|
type: :runtime
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *70233549450860
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: childprocess
|
38
|
-
requirement: &
|
49
|
+
requirement: &70233549450200 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ~>
|
@@ -43,10 +54,10 @@ dependencies:
|
|
43
54
|
version: 0.3.1
|
44
55
|
type: :runtime
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *70233549450200
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: activemodel
|
49
|
-
requirement: &
|
60
|
+
requirement: &70233549449580 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ~>
|
@@ -54,10 +65,10 @@ dependencies:
|
|
54
65
|
version: 3.0.11
|
55
66
|
type: :runtime
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *70233549449580
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: yajl-ruby
|
60
|
-
requirement: &
|
71
|
+
requirement: &70233549448860 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
74
|
- - ~>
|
@@ -65,10 +76,10 @@ dependencies:
|
|
65
76
|
version: 1.1.0
|
66
77
|
type: :runtime
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *70233549448860
|
69
80
|
- !ruby/object:Gem::Dependency
|
70
81
|
name: enviro
|
71
|
-
requirement: &
|
82
|
+
requirement: &70233549448160 !ruby/object:Gem::Requirement
|
72
83
|
none: false
|
73
84
|
requirements:
|
74
85
|
- - ! '>='
|
@@ -76,10 +87,10 @@ dependencies:
|
|
76
87
|
version: 0.0.4
|
77
88
|
type: :runtime
|
78
89
|
prerelease: false
|
79
|
-
version_requirements: *
|
90
|
+
version_requirements: *70233549448160
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: nokogiri
|
82
|
-
requirement: &
|
93
|
+
requirement: &70233549447420 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ~>
|
@@ -87,10 +98,10 @@ dependencies:
|
|
87
98
|
version: 1.5.0
|
88
99
|
type: :runtime
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *70233549447420
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: octokit
|
93
|
-
requirement: &
|
104
|
+
requirement: &70233549441140 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
107
|
- - ~>
|
@@ -98,10 +109,10 @@ dependencies:
|
|
98
109
|
version: 1.0.0
|
99
110
|
type: :runtime
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *70233549441140
|
102
113
|
- !ruby/object:Gem::Dependency
|
103
114
|
name: vcr
|
104
|
-
requirement: &
|
115
|
+
requirement: &70233549436680 !ruby/object:Gem::Requirement
|
105
116
|
none: false
|
106
117
|
requirements:
|
107
118
|
- - ! '>='
|
@@ -109,10 +120,10 @@ dependencies:
|
|
109
120
|
version: '0'
|
110
121
|
type: :development
|
111
122
|
prerelease: false
|
112
|
-
version_requirements: *
|
123
|
+
version_requirements: *70233549436680
|
113
124
|
- !ruby/object:Gem::Dependency
|
114
125
|
name: webmock
|
115
|
-
requirement: &
|
126
|
+
requirement: &70233549435800 !ruby/object:Gem::Requirement
|
116
127
|
none: false
|
117
128
|
requirements:
|
118
129
|
- - ! '>='
|
@@ -120,10 +131,10 @@ dependencies:
|
|
120
131
|
version: '0'
|
121
132
|
type: :development
|
122
133
|
prerelease: false
|
123
|
-
version_requirements: *
|
134
|
+
version_requirements: *70233549435800
|
124
135
|
- !ruby/object:Gem::Dependency
|
125
136
|
name: cucumber
|
126
|
-
requirement: &
|
137
|
+
requirement: &70233549435020 !ruby/object:Gem::Requirement
|
127
138
|
none: false
|
128
139
|
requirements:
|
129
140
|
- - ! '>='
|
@@ -131,10 +142,10 @@ dependencies:
|
|
131
142
|
version: '0'
|
132
143
|
type: :development
|
133
144
|
prerelease: false
|
134
|
-
version_requirements: *
|
145
|
+
version_requirements: *70233549435020
|
135
146
|
- !ruby/object:Gem::Dependency
|
136
147
|
name: rspec
|
137
|
-
requirement: &
|
148
|
+
requirement: &70233549434200 !ruby/object:Gem::Requirement
|
138
149
|
none: false
|
139
150
|
requirements:
|
140
151
|
- - ! '>='
|
@@ -142,10 +153,10 @@ dependencies:
|
|
142
153
|
version: '0'
|
143
154
|
type: :development
|
144
155
|
prerelease: false
|
145
|
-
version_requirements: *
|
156
|
+
version_requirements: *70233549434200
|
146
157
|
- !ruby/object:Gem::Dependency
|
147
158
|
name: aruba
|
148
|
-
requirement: &
|
159
|
+
requirement: &70233549433440 !ruby/object:Gem::Requirement
|
149
160
|
none: false
|
150
161
|
requirements:
|
151
162
|
- - ! '>='
|
@@ -153,10 +164,10 @@ dependencies:
|
|
153
164
|
version: '0'
|
154
165
|
type: :development
|
155
166
|
prerelease: false
|
156
|
-
version_requirements: *
|
167
|
+
version_requirements: *70233549433440
|
157
168
|
- !ruby/object:Gem::Dependency
|
158
169
|
name: simplecov
|
159
|
-
requirement: &
|
170
|
+
requirement: &70233549430540 !ruby/object:Gem::Requirement
|
160
171
|
none: false
|
161
172
|
requirements:
|
162
173
|
- - ! '>='
|
@@ -164,10 +175,10 @@ dependencies:
|
|
164
175
|
version: '0'
|
165
176
|
type: :development
|
166
177
|
prerelease: false
|
167
|
-
version_requirements: *
|
178
|
+
version_requirements: *70233549430540
|
168
179
|
- !ruby/object:Gem::Dependency
|
169
180
|
name: ruby-debug19
|
170
|
-
requirement: &
|
181
|
+
requirement: &70233549429360 !ruby/object:Gem::Requirement
|
171
182
|
none: false
|
172
183
|
requirements:
|
173
184
|
- - ! '>='
|
@@ -175,7 +186,7 @@ dependencies:
|
|
175
186
|
version: '0'
|
176
187
|
type: :development
|
177
188
|
prerelease: false
|
178
|
-
version_requirements: *
|
189
|
+
version_requirements: *70233549429360
|
179
190
|
description: ! ' Vim Script Package Manager based on pathogen.vim by Tim Pope '
|
180
191
|
email:
|
181
192
|
- bram@craniumisajar.com
|
@@ -238,8 +249,10 @@ files:
|
|
238
249
|
- spec/vimpack/utils/vimscripts_spec.rb
|
239
250
|
- tasks/cucumber.rake
|
240
251
|
- tasks/default.rake
|
252
|
+
- tasks/gemspec.rake
|
241
253
|
- templates/vimrc.erb
|
242
254
|
- vimpack.gemspec
|
255
|
+
- vimpack.gemspec.erb
|
243
256
|
homepage: ''
|
244
257
|
licenses: []
|
245
258
|
post_install_message:
|
@@ -254,7 +267,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
254
267
|
version: '0'
|
255
268
|
segments:
|
256
269
|
- 0
|
257
|
-
hash:
|
270
|
+
hash: -1451029233285658056
|
258
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
272
|
none: false
|
260
273
|
requirements:
|
@@ -263,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
276
|
version: '0'
|
264
277
|
segments:
|
265
278
|
- 0
|
266
|
-
hash:
|
279
|
+
hash: -1451029233285658056
|
267
280
|
requirements: []
|
268
281
|
rubyforge_project: vimpack
|
269
282
|
rubygems_version: 1.8.10
|