prebundler 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/prebundler/gem_ref.rb +7 -1
- data/lib/prebundler/version.rb +1 -1
- data/prebundler.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1928d857a1f4ed0596fa85e0ca8e2d38cdc3a35f1061dcf0cdc62edbe0f0f95d
|
4
|
+
data.tar.gz: 89b331c36e6f7d1962ce81a976e73fc557d86c73b9585ecc1f029e0d20e75c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25d91cdaad84af6e2bbe70c70ed11a4e30124b75287df16ef94391d411bbc411618619271ead3507241a2a47ec204f3e4849390b475d50f1e98543de657623f5
|
7
|
+
data.tar.gz: 49c459e87af92719d8715c160cf82ea43cb28e4300617621717479ccc34577a1e571aeff58761ba8fa89a8dcc8027268426ca96a42553b25e5e25e8172059e60
|
data/CHANGELOG.md
CHANGED
data/lib/prebundler/gem_ref.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
require 'set'
|
3
|
+
require 'ohai'
|
3
4
|
|
4
5
|
module Prebundler
|
5
6
|
class GemRef
|
@@ -122,10 +123,15 @@ module Prebundler
|
|
122
123
|
end
|
123
124
|
|
124
125
|
def tar_file
|
125
|
-
|
126
|
+
platform_version = "#{system_info['platform']}-#{system_info['platform_version']}"
|
127
|
+
file = File.join(Bundler.local_platform.to_s, platform_version, Gem.extension_api_version.to_s, "#{id}.tar")
|
126
128
|
prefix && !prefix.empty? ? File.join(prefix, file) : file
|
127
129
|
end
|
128
130
|
|
131
|
+
def system_info
|
132
|
+
@@system_info ||= Ohai::System.new.all_plugins(['platform'])
|
133
|
+
end
|
134
|
+
|
129
135
|
def gemspec_file
|
130
136
|
"#{id}.gemspec"
|
131
137
|
end
|
data/lib/prebundler/version.rb
CHANGED
data/prebundler.gemspec
CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_dependency 'bundler'
|
17
17
|
s.add_dependency 'parallel', '~> 1.0'
|
18
18
|
s.add_dependency 'gli', '~> 2.0'
|
19
|
+
s.add_dependency 'ohai', '~> 14.0'
|
19
20
|
|
20
21
|
# @TODO: move s3 support into separate gem
|
21
22
|
s.add_dependency 'aws-sdk', '~> 2.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prebundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ohai
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '14.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '14.0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: aws-sdk
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|