eac_git 0.7.0 → 0.7.1

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
  SHA256:
3
- metadata.gz: b04ab8b8d59ecebc5047f682efcf0571f1cd4d4b25ab9224ea118abe5d4bb7ff
4
- data.tar.gz: 491cd970a7d0f43fcf1d51016729cedd89077cdd9d93bda5dc9301dbb35f0af3
3
+ metadata.gz: 0cbaa3bcfa8bc46c1f611e08799e4a391d73ff3851f71ed3d076f1acd5c2f6ff
4
+ data.tar.gz: 90e5a236919f519e06c8ff11321417e140a91c8f95be074d546584e8cd2d6927
5
5
  SHA512:
6
- metadata.gz: b97a8b03b1b7f5ba5d05dd6fb283a9d0a6c38f98e6597fe529aeb7e8c2a2da3b8c740b691dbcb72603f9508e229faf333ec18bd4ebed9e4851edca646246ac66
7
- data.tar.gz: 1c75b14dd35cbfe07313e5509dca925f8cfe043542391b0b7b46bf4bf81b0a280527a67ceed1cab0d73fef0baa32559cf3610733a0b5c806916d1160fed22104
6
+ metadata.gz: 85545d07434e100d1ddaa58c2bdcfcaa10ea0f4faefa54a35bcaf8fc1caf75443e8eaea471d5998b24e90ba73408c5e71f8cb182a5beac12138bf4a66b90b79a
7
+ data.tar.gz: 4f040b8eb11a692e63e464a53b41d84974d491db29ae4a16362940f0524cb2529fee319eaec2b41756af12e357a2a60fd5a07324436847163a530173793baf3c
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_git/executables'
4
+ require 'eac_git/rspec/stubbed_git_local_repo'
5
+
6
+ module EacGit
7
+ module Rspec
8
+ class Setup
9
+ common_constructor :setup_obj
10
+
11
+ def perform
12
+ setup_conditional_git
13
+ setup_stubbed_git_local_repo
14
+ end
15
+
16
+ def setup_conditional_git
17
+ setup_obj.conditional(:git) { ::EacGit::Executables.git.validate }
18
+ end
19
+
20
+ def setup_stubbed_git_local_repo
21
+ setup_obj.rspec_config.include ::EacGit::Rspec::StubbedGitLocalRepo
22
+ end
23
+ end
24
+ end
25
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacGit
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-25 00:00:00.000000000 Z
11
+ date: 2021-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_ruby_utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.70'
19
+ version: '0.72'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.70'
26
+ version: '0.72'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: parseconfig
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +51,9 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0.8'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.8.1
54
57
  type: :development
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,6 +61,9 @@ dependencies:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
63
  version: '0.8'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.8.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: eac_ruby_gem_support
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +71,9 @@ dependencies:
65
71
  - - "~>"
66
72
  - !ruby/object:Gem::Version
67
73
  version: '0.3'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.3.1
68
77
  type: :development
69
78
  prerelease: false
70
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +81,9 @@ dependencies:
72
81
  - - "~>"
73
82
  - !ruby/object:Gem::Version
74
83
  version: '0.3'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 0.3.1
75
87
  description:
76
88
  email:
77
89
  executables: []
@@ -91,7 +103,7 @@ files:
91
103
  - lib/eac_git/remote.rb
92
104
  - lib/eac_git/remote/ls_result.rb
93
105
  - lib/eac_git/rspec.rb
94
- - lib/eac_git/rspec/setup_include.rb
106
+ - lib/eac_git/rspec/setup.rb
95
107
  - lib/eac_git/rspec/stubbed_git_local_repo.rb
96
108
  - lib/eac_git/version.rb
97
109
  - vendor/git-subrepo/Changes
@@ -1,28 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/rspec/conditional'
4
- require 'eac_git/executables'
5
- require 'eac_git/rspec/stubbed_git_local_repo'
6
-
7
- module EacGit
8
- module Rspec
9
- module SetupInclude
10
- class << self
11
- def setup(setup_obj)
12
- setup_conditional_git
13
- setup_stubbed_git_local_repo(setup_obj)
14
- end
15
-
16
- def setup_conditional_git
17
- ::EacRubyUtils::Rspec::Conditional.default.add(:git) do
18
- ::EacGit::Executables.git.validate
19
- end
20
- end
21
-
22
- def setup_stubbed_git_local_repo(setup_obj)
23
- setup_obj.rspec_config.include ::EacGit::Rspec::StubbedGitLocalRepo
24
- end
25
- end
26
- end
27
- end
28
- end