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 +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +15 -13
- data/lib/bundler/fixture.rb +6 -3
- data/lib/bundler/fixture/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2090727bfc13bfae0b6173146aa05fc7c237ddca
|
4
|
+
data.tar.gz: ff065db51f45f0157b19ff070ac966aa389040f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d94a93f92acc1c3183114f4757f634bc527010f00c1275e93013f76f5894e569109ce5bce9810626cd2bf52b4b41c8e19c6c5017381393e08bd1d00abe69467
|
7
|
+
data.tar.gz: 317b5b02029abe98693b78b4c7af9971c18763d671fedd7cfa3d28ae871ea1fee89fa74386f08343653557ce58d132a04b93393395b23d929cc49a83cbc8caa7
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.4
|
data/.travis.yml
CHANGED
@@ -7,23 +7,25 @@ before_install:
|
|
7
7
|
|
8
8
|
matrix:
|
9
9
|
include:
|
10
|
-
- rvm: 2.
|
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.
|
12
|
+
- rvm: 2.3.4
|
17
13
|
env: BUNDLER_TEST_VERSION=1.8.9
|
18
|
-
- rvm: 2.3.
|
14
|
+
- rvm: 2.3.4
|
19
15
|
env: BUNDLER_TEST_VERSION=1.9.10
|
20
|
-
- rvm: 2.3.
|
16
|
+
- rvm: 2.3.4
|
21
17
|
env: BUNDLER_TEST_VERSION=1.10.5
|
22
|
-
- rvm: 2.3.
|
18
|
+
- rvm: 2.3.4
|
23
19
|
env: BUNDLER_TEST_VERSION=1.11.2
|
24
|
-
- rvm: 2.3.
|
20
|
+
- rvm: 2.3.4
|
25
21
|
env: BUNDLER_TEST_VERSION=1.12.5
|
26
|
-
- rvm: 2.3.
|
22
|
+
- rvm: 2.3.4
|
27
23
|
env: BUNDLER_TEST_VERSION=1.13.6
|
28
|
-
- rvm: 2.3.
|
29
|
-
env: BUNDLER_TEST_VERSION=1.14.
|
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
|
data/lib/bundler/fixture.rb
CHANGED
@@ -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,
|
62
|
+
File.join(@dir, "#{@gemfile}.lock")
|
60
63
|
end
|
61
64
|
|
62
65
|
def lockfile_contents
|
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.
|
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-
|
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.
|
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
|