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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa0f543e44951fdd07df3e803a7ab45c50909b2f
4
- data.tar.gz: dc50132bffbde192ddbb3ca7475654e3e6e6312f
3
+ metadata.gz: b6aa8ea3ef4881a967117672dc3b9ca8d3315091
4
+ data.tar.gz: 529a0496e6f1191783ec4b293739065d2a197a66
5
5
  SHA512:
6
- metadata.gz: b3232114bd2d7cd9b92ce46e65356bd177b6149ae71066f89894d952a8f9dc2511998b2529029f71bc010384975aa1ef9e74bcf2fa92a3f11eb6dfc5e3f9e6fe
7
- data.tar.gz: 93aca5f4c90b51cddc1c41254b9546b62cf54aa346cf93e2b7fe4d17925b41aa0593649cedb15a81a1fda9a4812f6abb7ab0222e453f6dd292d0efe7acc0e1af
6
+ metadata.gz: c551287cf80bc4063c6f96178e92c3d7b92730b641f3e9f79cf824a2df398a51f59db719b4db9246903db78c85af5cde0cc30ce2b5d7b4a3f36ce8bf8320c58e
7
+ data.tar.gz: 608ede9057357d339eae4d11523394f1e43193e5ed91359ac340184837025a3056fadb4d0bed6701b2a0c85057520558231347ad43b8c9e360164937543188c4
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3.3
data/.travis.yml CHANGED
@@ -24,4 +24,6 @@ matrix:
24
24
  - rvm: 2.3.1
25
25
  env: BUNDLER_TEST_VERSION=1.12.5
26
26
  - rvm: 2.3.1
27
- env: BUNDLER_TEST_VERSION=1.13.0.rc.1
27
+ env: BUNDLER_TEST_VERSION=1.13.6
28
+ - rvm: 2.3.3
29
+ env: BUNDLER_TEST_VERSION=1.14.3
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Bundler
2
2
  module Fixture
3
- VERSION = '1.3.1'
3
+ VERSION = '1.3.2'
4
4
  end
5
5
  end
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.1
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: 2016-07-11 00:00:00.000000000 Z
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.4
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