bundler-download 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +20 -0
- data/README.md +119 -0
- data/VERSION +1 -0
- data/bin/bundler-download +6 -0
- data/bundler-download.gemspec +71 -0
- data/lib/bundler-download.rb +37 -0
- data/lib/bundler-download/ext/download.rb +60 -0
- data/lib/bundler/download.rb +20 -0
- data/lib/bundler/downloadfile.rb +22 -0
- data/plugins.rb +1 -0
- metadata +211 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cb61a0b520412978a018678b63cc25c70eb15ac38f3846b3696df2053a6dd7c1
|
4
|
+
data.tar.gz: 97dd4d3d79ba2ca66cf0ba5f7336da9e64d98b496fdd11ca18f30407dd94fb49
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cd213672c9915b6988aee281e19dd25c0a28bad85067d3aa84dcd4e4d2a4cdd2df8d5a67a3606db0ef090ec384f55277fd9296937fba731a562ecb1c90f7951a
|
7
|
+
data.tar.gz: 8492025f9a3b7c2a7779a77e09783c35eb46f05cf0f89e9dfae036574813ad6aecb0adbc369a91ee63cb59037a4a855c2b28e0eb0f0adac1838d56dcb75bdfd5
|
data/CHANGELOG.md
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2020 Andy Maleh
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
# bundler-download - Bundler Plugin
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/bundler-download.svg)](http://badge.fury.io/rb/bundler-download)
|
3
|
+
|
4
|
+
Bundler plugin for auto-downloading specified extra files via [`Downloadfile`](#downloadfile) after `bundle install`.
|
5
|
+
|
6
|
+
## How It Works
|
7
|
+
|
8
|
+
Gems declare the need for extra downloads upon install by Bundler via [`Downloadfile`](#downloadfile).
|
9
|
+
|
10
|
+
Apps can simply add those gems to Bundler `Gemfile` the standard way with no change. Afterwards, when running `bundle install`, bundle-download will automatically download extra files at the end.
|
11
|
+
|
12
|
+
If a Ruby Gem needs to depend on one of those gems, it can declare as a standard dependency in .gemspec
|
13
|
+
|
14
|
+
## Gem Instructions
|
15
|
+
|
16
|
+
Add `bundler-download` as a standard .gemspec dependency:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
s.add_dependency('bundler', [">= 2.1.4"])
|
20
|
+
```
|
21
|
+
|
22
|
+
Afterwards, ensure there is a [`Downloadfile`](#downloadfile) at the root directory of the gem that needs extra downloads, mentioning under .gemspec `files`:
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
s.files = [
|
26
|
+
# ...
|
27
|
+
"Downloadfile",
|
28
|
+
# ...
|
29
|
+
]
|
30
|
+
```
|
31
|
+
|
32
|
+
### Downloadfile
|
33
|
+
|
34
|
+
A gem `Downloadfile` contains download links for files that need to be downloaded relative to the gem directory after install.
|
35
|
+
|
36
|
+
Example of `Downloadfile`:
|
37
|
+
|
38
|
+
```
|
39
|
+
download 'http://dl.maketechnology.io/chromium-cef/rls/repository/plugins/com.make.chromium.cef.gtk.linux.x86_64_0.4.0.202005172227.jar' # downloads into gem root directory
|
40
|
+
download 'http://dl.maketechnology.io/chromium-cef/rls/repository/plugins/com.make.chromium.cef.cocoa.macosx.x86_64_0.4.0.202005172227.jar',
|
41
|
+
to: 'cef' # downloads into 'cef' directory under the gem installation directory
|
42
|
+
download 'http://dl.maketechnology.io/chromium-cef/rls/repository/plugins/com.make.chromium.cef.win32.win32.x86_64_0.4.0.202005172227.jar',
|
43
|
+
to: 'cef/windows' # downloads into 'cef/windows' directory under the gem installation directory
|
44
|
+
```
|
45
|
+
|
46
|
+
## App Instructions
|
47
|
+
|
48
|
+
Apps can depend on a gem with `Downloadfile` by adding `bundler-download` plugin and including the gem in `Gemfile` like it normally would:
|
49
|
+
|
50
|
+
```
|
51
|
+
plugin 'bundler-download'
|
52
|
+
gem 'some_gem_with_downloadfile'
|
53
|
+
```
|
54
|
+
|
55
|
+
Afterwards, run `bundle install` twice (the first time it installs the plugin and the second time it activates it):
|
56
|
+
|
57
|
+
```
|
58
|
+
bundle install
|
59
|
+
bundle install
|
60
|
+
```
|
61
|
+
|
62
|
+
You should see something like this:
|
63
|
+
|
64
|
+
```
|
65
|
+
$ bundle
|
66
|
+
Using array_include_methods 1.0.2
|
67
|
+
Using bundler 2.1.4
|
68
|
+
Using download 1.1.0
|
69
|
+
Using mime-types-data 3.2020.0512
|
70
|
+
Using mime-types 3.3.1
|
71
|
+
Using multi_xml 0.6.0
|
72
|
+
Using httparty 0.18.1
|
73
|
+
Using strings-ansi 0.1.0
|
74
|
+
Using tty-cursor 0.7.1
|
75
|
+
Using tty-screen 0.8.1
|
76
|
+
Using unicode-display_width 1.7.0
|
77
|
+
Using tty-progressbar 0.17.0
|
78
|
+
Using bundler-download 1.0.0
|
79
|
+
Using facets 3.1.0
|
80
|
+
Using glimmer 1.0.0
|
81
|
+
bundle-download plugin gem-after-install-all hook:
|
82
|
+
Processing /Users/User/.rvm/gems/ruby-2.7.1@tmp/gems/glimmer-1.0.0/Downloadfile
|
83
|
+
Download URL: https://equo-chromium-cef.ams3.digitaloceanspaces.com/rls/repository/plugins/com.make.chromium.cef.gtk.linux.x86_64_0.4.0.202005172227.jar
|
84
|
+
Download size: 57742279
|
85
|
+
Download path: /Users/User/.rvm/gems/ruby-2.7.1@tmp/gems/glimmer-1.0.0/com.make.chromium.cef.gtk.linux.x86_64_0.4.0.202005172227.jar
|
86
|
+
Downloading 100% ( 0s ) [========================================================]
|
87
|
+
Download URL: https://equo-chromium-cef.ams3.digitaloceanspaces.com/rls/repository/plugins/com.make.chromium.cef.cocoa.macosx.x86_64_0.4.0.202005172227.jar
|
88
|
+
Download size: 54070695
|
89
|
+
Download path: /Users/User/.rvm/gems/ruby-2.7.1@tmp/gems/glimmer-1.0.0/cef/com.make.chromium.cef.cocoa.macosx.x86_64_0.4.0.202005172227.jar
|
90
|
+
Downloading 26% ( 59s ) [============== ]
|
91
|
+
```
|
92
|
+
|
93
|
+
Subsequent runs of `bundle install` will keep existing downloads without overwriting them unless you use the [`bundle-download`](#bundler-download-command) command to manually redownload files again.
|
94
|
+
|
95
|
+
### Bundler Download Command
|
96
|
+
|
97
|
+
If you would like to redownload file from gem [`Downloadfile's`](#downloadfile) again, overwriting existing downloads, simply run:
|
98
|
+
|
99
|
+
`bundle download`
|
100
|
+
|
101
|
+
If you only want to download files if they didn't exist already, you could alternatively run:
|
102
|
+
|
103
|
+
`bundle download --keep-existing`
|
104
|
+
|
105
|
+
## Contributing to bundler-download
|
106
|
+
|
107
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
108
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
109
|
+
* Fork the project.
|
110
|
+
* Start a feature/bugfix branch.
|
111
|
+
* Commit and push until you are happy with your contribution.
|
112
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
113
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
114
|
+
|
115
|
+
## Copyright
|
116
|
+
|
117
|
+
[MIT](LICENSE.txt)
|
118
|
+
|
119
|
+
Copyright (c) 2020 Andy Maleh.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.0
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: bundler-download 1.0.0 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "bundler-download".freeze
|
9
|
+
s.version = "1.0.0"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["AndyMaleh".freeze]
|
14
|
+
s.date = "2020-09-22"
|
15
|
+
s.description = "Bundler plugin for auto-downloading specified extra files after gem install".freeze
|
16
|
+
s.email = "andy.am@gmail.com".freeze
|
17
|
+
s.executables = ["bundler-download".freeze]
|
18
|
+
s.extra_rdoc_files = [
|
19
|
+
"CHANGELOG.md",
|
20
|
+
"LICENSE.txt",
|
21
|
+
"README.md"
|
22
|
+
]
|
23
|
+
s.files = [
|
24
|
+
"CHANGELOG.md",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.md",
|
27
|
+
"VERSION",
|
28
|
+
"bin/bundler-download",
|
29
|
+
"bundler-download.gemspec",
|
30
|
+
"lib/bundler-download.rb",
|
31
|
+
"lib/bundler-download/ext/download.rb",
|
32
|
+
"lib/bundler/download.rb",
|
33
|
+
"lib/bundler/downloadfile.rb",
|
34
|
+
"plugins.rb"
|
35
|
+
]
|
36
|
+
s.homepage = "http://github.com/AndyObtiva/bundler-download".freeze
|
37
|
+
s.licenses = ["MIT".freeze]
|
38
|
+
s.rubygems_version = "3.1.2".freeze
|
39
|
+
s.summary = "Bundler plugin for auto-downloading specified extra files after gem install".freeze
|
40
|
+
|
41
|
+
if s.respond_to? :specification_version then
|
42
|
+
s.specification_version = 4
|
43
|
+
end
|
44
|
+
|
45
|
+
if s.respond_to? :add_runtime_dependency then
|
46
|
+
s.add_runtime_dependency(%q<bundler>.freeze, [">= 2.0.0"])
|
47
|
+
s.add_runtime_dependency(%q<httparty>.freeze, ["~> 0.18.1"])
|
48
|
+
s.add_runtime_dependency(%q<download>.freeze, ["~> 1.1.0"])
|
49
|
+
s.add_runtime_dependency(%q<tty-progressbar>.freeze, ["~> 0.17.0"])
|
50
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
51
|
+
s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
52
|
+
s.add_development_dependency(%q<jeweler>.freeze, [">= 2.3.5"])
|
53
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<puts_debuggerer>.freeze, [">= 0"])
|
55
|
+
s.add_development_dependency(%q<pessimize>.freeze, [">= 0"])
|
56
|
+
s.add_development_dependency(%q<rake-tui>.freeze, [">= 0"])
|
57
|
+
else
|
58
|
+
s.add_dependency(%q<bundler>.freeze, [">= 2.0.0"])
|
59
|
+
s.add_dependency(%q<httparty>.freeze, ["~> 0.18.1"])
|
60
|
+
s.add_dependency(%q<download>.freeze, ["~> 1.1.0"])
|
61
|
+
s.add_dependency(%q<tty-progressbar>.freeze, ["~> 0.17.0"])
|
62
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
63
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
64
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 2.3.5"])
|
65
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
66
|
+
s.add_dependency(%q<puts_debuggerer>.freeze, [">= 0"])
|
67
|
+
s.add_dependency(%q<pessimize>.freeze, [">= 0"])
|
68
|
+
s.add_dependency(%q<rake-tui>.freeze, [">= 0"])
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Copyright (c) 2020 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'bundler'
|
23
|
+
require 'download'
|
24
|
+
require 'fileutils'
|
25
|
+
require 'httparty'
|
26
|
+
require 'tty-progressbar'
|
27
|
+
|
28
|
+
$LOAD_PATH.unshift(File.expand_path('..', __FILE__))
|
29
|
+
|
30
|
+
require 'bundler-download/ext/download'
|
31
|
+
require 'bundler/downloadfile'
|
32
|
+
require 'bundler/download'
|
33
|
+
|
34
|
+
Bundler::Plugin.add_hook(Bundler::Plugin::Events::GEM_AFTER_INSTALL_ALL) do |dependencies|
|
35
|
+
puts 'bundle-download plugin gem-after-install-all hook (checking gems for Downloadfile):'
|
36
|
+
Bundler::Download.new.exec('download', ['--keep-existing'])
|
37
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# Copyright (c) 2020 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'net/http'
|
23
|
+
|
24
|
+
module Download
|
25
|
+
class Object
|
26
|
+
DOWNLOAD_CHUNK_SIZE = 1_048_576
|
27
|
+
|
28
|
+
def start(hash={})
|
29
|
+
set_multi(hash)
|
30
|
+
return puts("Download '#{file_path}' already exists! (run `bundle download` to redownload)") if options.keys.include?('--keep_existing') && File.exist?(file_path)
|
31
|
+
|
32
|
+
head_response = HTTParty.head(url)
|
33
|
+
uri = head_response.request.uri
|
34
|
+
content_length = head_response.headers["content-length"]
|
35
|
+
puts "Download URL: #{uri.to_s}"
|
36
|
+
puts "Download size: #{content_length}"
|
37
|
+
puts "Download path: #{file_path}"
|
38
|
+
file_size = content_length.to_f
|
39
|
+
progress_total = (file_size / DOWNLOAD_CHUNK_SIZE).ceil
|
40
|
+
bar = TTY::ProgressBar.new("Downloading :percent ( :eta ) [:bar]", total: progress_total)
|
41
|
+
starting_bytes = 0
|
42
|
+
File.open(file_path, 'wb') do |file_obj|
|
43
|
+
until starting_bytes >= file_size
|
44
|
+
Net::HTTP.start(uri.host, uri.port, :use_ssl => true) do |http|
|
45
|
+
ending_bytes = [starting_bytes + DOWNLOAD_CHUNK_SIZE, file_size].min
|
46
|
+
ending_bytes = nil if ending_bytes == file_size # this makes the request return remaining bytes only
|
47
|
+
request = Net::HTTP::Get.new uri, 'Range' => "bytes=#{starting_bytes}-#{ending_bytes}"
|
48
|
+
res = http.request request # Net::HTTPResponse object
|
49
|
+
file_obj << res.body
|
50
|
+
starting_bytes += DOWNLOAD_CHUNK_SIZE + 1
|
51
|
+
bar.advance(1)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
return file_path
|
57
|
+
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Bundler
|
2
|
+
class Download < Bundler::Plugin::API
|
3
|
+
command "download"
|
4
|
+
|
5
|
+
def exec(command, args)
|
6
|
+
begin
|
7
|
+
downloadfiles = Dir.glob(File.join(Gem.dir, 'gems', '**', 'Downloadfile')).to_a
|
8
|
+
puts 'No gems were found with Downloadfile.' if downloadfiles.empty?
|
9
|
+
downloadfiles.each do |downloadfile|
|
10
|
+
puts "Processing #{downloadfile}"
|
11
|
+
Bundler::Downloadfile.new(File.read(downloadfile), gem_path: File.dirname(downloadfile), keep_existing: args.include?('--keep-existing')).call
|
12
|
+
end
|
13
|
+
true
|
14
|
+
rescue => e
|
15
|
+
puts e.full_message
|
16
|
+
false
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Bundler
|
2
|
+
class Downloadfile
|
3
|
+
|
4
|
+
def initialize(file_content, gem_path:, keep_existing:)
|
5
|
+
@gem_path = gem_path
|
6
|
+
@file_content = file_content
|
7
|
+
@keep_existing = keep_existing
|
8
|
+
end
|
9
|
+
|
10
|
+
def download(uri, to:'')
|
11
|
+
directory = File.join(@gem_path, to)
|
12
|
+
FileUtils.mkdir_p(directory)
|
13
|
+
options = {}
|
14
|
+
options['--keep_existing'] = nil if @keep_existing
|
15
|
+
::Download.file(uri, directory, options)
|
16
|
+
end
|
17
|
+
|
18
|
+
def call
|
19
|
+
instance_eval(@file_content)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/plugins.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler-download'
|
metadata
ADDED
@@ -0,0 +1,211 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bundler-download
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- AndyMaleh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-09-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httparty
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.18.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.18.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: download
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.1.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.1.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: tty-progressbar
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.17.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.17.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.5.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.5.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rdoc
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.12'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.12'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: jeweler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.3.5
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.3.5
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: puts_debuggerer
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pessimize
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rake-tui
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description: Bundler plugin for auto-downloading specified extra files after gem install
|
168
|
+
email: andy.am@gmail.com
|
169
|
+
executables:
|
170
|
+
- bundler-download
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files:
|
173
|
+
- CHANGELOG.md
|
174
|
+
- LICENSE.txt
|
175
|
+
- README.md
|
176
|
+
files:
|
177
|
+
- CHANGELOG.md
|
178
|
+
- LICENSE.txt
|
179
|
+
- README.md
|
180
|
+
- VERSION
|
181
|
+
- bin/bundler-download
|
182
|
+
- bundler-download.gemspec
|
183
|
+
- lib/bundler-download.rb
|
184
|
+
- lib/bundler-download/ext/download.rb
|
185
|
+
- lib/bundler/download.rb
|
186
|
+
- lib/bundler/downloadfile.rb
|
187
|
+
- plugins.rb
|
188
|
+
homepage: http://github.com/AndyObtiva/bundler-download
|
189
|
+
licenses:
|
190
|
+
- MIT
|
191
|
+
metadata: {}
|
192
|
+
post_install_message:
|
193
|
+
rdoc_options: []
|
194
|
+
require_paths:
|
195
|
+
- lib
|
196
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
requirements: []
|
207
|
+
rubygems_version: 3.1.2
|
208
|
+
signing_key:
|
209
|
+
specification_version: 4
|
210
|
+
summary: Bundler plugin for auto-downloading specified extra files after gem install
|
211
|
+
test_files: []
|