bundler-fixture 1.3.2 → 1.4.0

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: b6aa8ea3ef4881a967117672dc3b9ca8d3315091
4
- data.tar.gz: 529a0496e6f1191783ec4b293739065d2a197a66
3
+ metadata.gz: 2090727bfc13bfae0b6173146aa05fc7c237ddca
4
+ data.tar.gz: ff065db51f45f0157b19ff070ac966aa389040f3
5
5
  SHA512:
6
- metadata.gz: c551287cf80bc4063c6f96178e92c3d7b92730b641f3e9f79cf824a2df398a51f59db719b4db9246903db78c85af5cde0cc30ce2b5d7b4a3f36ce8bf8320c58e
7
- data.tar.gz: 608ede9057357d339eae4d11523394f1e43193e5ed91359ac340184837025a3056fadb4d0bed6701b2a0c85057520558231347ad43b8c9e360164937543188c4
6
+ metadata.gz: 1d94a93f92acc1c3183114f4757f634bc527010f00c1275e93013f76f5894e569109ce5bce9810626cd2bf52b4b41c8e19c6c5017381393e08bd1d00abe69467
7
+ data.tar.gz: 317b5b02029abe98693b78b4c7af9971c18763d671fedd7cfa3d28ae871ea1fee89fa74386f08343653557ce58d132a04b93393395b23d929cc49a83cbc8caa7
@@ -1 +1 @@
1
- 2.3.3
1
+ 2.3.4
@@ -7,23 +7,25 @@ before_install:
7
7
 
8
8
  matrix:
9
9
  include:
10
- - rvm: 2.1.10
11
- env: BUNDLER_TEST_VERSION=1.12.5
12
- - rvm: 2.2.5
13
- env: BUNDLER_TEST_VERSION=1.12.5
14
- - rvm: 2.3.1
10
+ - rvm: 2.3.4
15
11
  env: BUNDLER_TEST_VERSION=1.7.15
16
- - rvm: 2.3.1
12
+ - rvm: 2.3.4
17
13
  env: BUNDLER_TEST_VERSION=1.8.9
18
- - rvm: 2.3.1
14
+ - rvm: 2.3.4
19
15
  env: BUNDLER_TEST_VERSION=1.9.10
20
- - rvm: 2.3.1
16
+ - rvm: 2.3.4
21
17
  env: BUNDLER_TEST_VERSION=1.10.5
22
- - rvm: 2.3.1
18
+ - rvm: 2.3.4
23
19
  env: BUNDLER_TEST_VERSION=1.11.2
24
- - rvm: 2.3.1
20
+ - rvm: 2.3.4
25
21
  env: BUNDLER_TEST_VERSION=1.12.5
26
- - rvm: 2.3.1
22
+ - rvm: 2.3.4
27
23
  env: BUNDLER_TEST_VERSION=1.13.6
28
- - rvm: 2.3.3
29
- env: BUNDLER_TEST_VERSION=1.14.3
24
+ - rvm: 2.3.4
25
+ env: BUNDLER_TEST_VERSION=1.14.6
26
+ - rvm: 2.1.10
27
+ env: BUNDLER_TEST_VERSION=1.14.6
28
+ - rvm: 2.2.7
29
+ env: BUNDLER_TEST_VERSION=1.14.6
30
+ - rvm: 2.3.4
31
+ env: BUNDLER_TEST_VERSION=1.15.0.pre.4
@@ -5,8 +5,9 @@ require 'tmpdir'
5
5
  class BundlerFixture
6
6
  attr_reader :dir
7
7
 
8
- def initialize(dir: File.join(Dir.tmpdir, 'fake_project_root'))
8
+ def initialize(dir: File.join(Dir.tmpdir, 'fake_project_root'), gemfile: 'Gemfile')
9
9
  @dir = dir
10
+ @gemfile = gemfile
10
11
  FileUtils.makedirs @dir
11
12
 
12
13
  @sources = Bundler::SourceList.new
@@ -26,7 +27,9 @@ class BundlerFixture
26
27
  def create_lockfile(gem_dependencies:,
27
28
  source_specs: [],
28
29
  ensure_sources: true,
29
- update_gems: [])
30
+ update_gems: [],
31
+ gemfile: nil)
32
+ @gemfile = gemfile if gemfile
30
33
  defn = create_definition(gem_dependencies: gem_dependencies,
31
34
  source_specs: source_specs,
32
35
  ensure_sources: ensure_sources,
@@ -56,7 +59,7 @@ class BundlerFixture
56
59
  end
57
60
 
58
61
  def lockfile_filename
59
- File.join(@dir, 'Gemfile.lock')
62
+ File.join(@dir, "#{@gemfile}.lock")
60
63
  end
61
64
 
62
65
  def lockfile_contents
@@ -1,5 +1,5 @@
1
1
  module Bundler
2
2
  module Fixture
3
- VERSION = '1.3.2'
3
+ VERSION = '1.4.0'
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.2
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrismo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.6.8
95
+ rubygems_version: 2.5.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Simple fixture to generate for-realz Gemfile.lock files