bundler-fixture 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/.travis.yml +3 -1
- data/lib/bundler/fixture.rb +4 -0
- data/lib/bundler/fixture/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6aa8ea3ef4881a967117672dc3b9ca8d3315091
|
4
|
+
data.tar.gz: 529a0496e6f1191783ec4b293739065d2a197a66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c551287cf80bc4063c6f96178e92c3d7b92730b641f3e9f79cf824a2df398a51f59db719b4db9246903db78c85af5cde0cc30ce2b5d7b4a3f36ce8bf8320c58e
|
7
|
+
data.tar.gz: 608ede9057357d339eae4d11523394f1e43193e5ed91359ac340184837025a3056fadb4d0bed6701b2a0c85057520558231347ad43b8c9e360164937543188c4
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.3
|
data/.travis.yml
CHANGED
data/lib/bundler/fixture.rb
CHANGED
@@ -37,6 +37,10 @@ class BundlerFixture
|
|
37
37
|
def create_definition(gem_dependencies:, source_specs:, ensure_sources:, update_gems:)
|
38
38
|
index = Bundler::Index.new
|
39
39
|
Array(source_specs).flatten.each { |s| index << s }
|
40
|
+
if Gem::Version.new(Bundler::VERSION) >= Gem::Version.new('1.14.0')
|
41
|
+
index << Gem::Specification.new("ruby\0", Bundler::RubyVersion.system.to_gem_version_with_patchlevel)
|
42
|
+
index << Gem::Specification.new("rubygems\0", Gem::VERSION)
|
43
|
+
end
|
40
44
|
|
41
45
|
Array(gem_dependencies).each do |dep|
|
42
46
|
index << create_spec(dep.name, dep.requirement.requirements.first.last)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler-fixture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrismo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- ".rspec"
|
64
|
+
- ".ruby-version"
|
64
65
|
- ".travis.yml"
|
65
66
|
- Gemfile
|
66
67
|
- LICENSE.txt
|
@@ -91,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
92
|
version: '0'
|
92
93
|
requirements: []
|
93
94
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.6.
|
95
|
+
rubygems_version: 2.6.8
|
95
96
|
signing_key:
|
96
97
|
specification_version: 4
|
97
98
|
summary: Simple fixture to generate for-realz Gemfile.lock files
|