bundler-source-vault 0.1.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 (3) hide show
  1. checksums.yaml +7 -0
  2. data/plugins.rb +23 -0
  3. metadata +58 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bac9d153bd345ef932ad4e8ab68e6b613834f100e539746d5622ff664cced6eb
4
+ data.tar.gz: 7a701f9b39f34b3d49b097b4e34f11bb6bd74903dd928cc0db7bcf575368bc12
5
+ SHA512:
6
+ metadata.gz: 76f0daec57a84fa084c78f152170a8899b94a4b2250f9a2f6d772895b06533b8810db9933e12e4c9ee4e0665aee79e8e116e293145e9e0d1278552923f8cbc69
7
+ data.tar.gz: b4ab91d8e009e1ea0f385ddb3c38892db673369a2ce3649c709ce1f218f48324f543cb71ed838d98afd6cb4a2f6e5f24113ce5d9d034d9017b0504f674366429
data/plugins.rb ADDED
@@ -0,0 +1,23 @@
1
+ # Bundler installs plugin dependencies (e.g. sqlite3) into Plugin.root but
2
+ # does not add their load paths before loading plugins.rb. This is a known
3
+ # Bundler limitation -- see the "Currently not done to avoid conflicts" comment
4
+ # in bundler/plugin.rb#load_plugin.
5
+ #
6
+ # Work around by registering Plugin.root as a gem search path so dependencies
7
+ # installed there are activatable via `require`.
8
+ # Development: when loaded from within the gemvault source tree, the gemvault
9
+ # gem isn't installed so its lib/ must be on $LOAD_PATH for the require below.
10
+ gemvault_lib = File.expand_path("../lib", __dir__)
11
+ $LOAD_PATH.unshift(gemvault_lib) unless $LOAD_PATH.include?(gemvault_lib)
12
+
13
+ if defined?(Bundler::Plugin)
14
+ plugin_root = Bundler::Plugin.root.to_s
15
+ spec_dir = File.join(plugin_root, "specifications")
16
+ if File.directory?(spec_dir) && !Gem::Specification.dirs.include?(spec_dir)
17
+ Gem::Specification.dirs = Gem.path + [plugin_root]
18
+ end
19
+ end
20
+
21
+ require "bundler/plugin/vault_source"
22
+
23
+ Bundler::Plugin::API.source("vault", Bundler::Plugin::VaultSource)
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bundler-source-vault
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - David Gillis
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: gemvault
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '='
17
+ - !ruby/object:Gem::Version
18
+ version: 0.1.1
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - '='
24
+ - !ruby/object:Gem::Version
25
+ version: 0.1.1
26
+ description: Registers the :vault source type with Bundler, enabling gem installation
27
+ from .gemv vault files
28
+ email:
29
+ - david@flipmine.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - plugins.rb
35
+ homepage: https://github.com/gillisd/gemvault
36
+ licenses:
37
+ - MIT
38
+ metadata:
39
+ rubygems_mfa_required: 'true'
40
+ source_code_uri: https://github.com/gillisd/gemvault
41
+ rdoc_options: []
42
+ require_paths:
43
+ - "."
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 4.0.1
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ requirements: []
55
+ rubygems_version: 4.0.9
56
+ specification_version: 4
57
+ summary: Bundler source plugin for gemvault
58
+ test_files: []