eac_git 0.13.0 → 0.14.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: ad179bd7d0768619cf0b8ec1dd226926fb7727448bd2d55d7502bff1e81040f9
4
- data.tar.gz: fdde3d525de0c562555a6838e1ef83fde137350003e5fa2697e3f26220349656
3
+ metadata.gz: 8c1d971be74edc9e4e7f2a81f58902eaa1ba1088a05bdfac7d93cef450ac8072
4
+ data.tar.gz: 8c939b1af9cf4c02b06a0a7d052f6cb135f44ac52cdcbdea47b033c977b14ed2
5
5
  SHA512:
6
- metadata.gz: 9b3ce069a038c6db5e8f58cb9a8dfa7362685d5bdd8cf3722a84f097ca06a7730199f4422011f2e710e025ee991a2523f2fbd42abd84ed34429ea3003782d1cc
7
- data.tar.gz: ff51e5148857b89adfd02d205703b30cf16656543cf569918859af89b43f159dce964a30c6d8abfd4a1e095d3d28131a918608523c255c2207a70b284c02e1bc
6
+ metadata.gz: 68cdc9332985c4f6cfe8476a2d9022d148ea0e247199e29e3efd248060fda1b97d24232f3643dae4db53895a6703921ca7519fe4541d826209b9d1dfec364371
7
+ data.tar.gz: c422235a740b26c1715b11d4de6fc2ec5a79e7c4f218f7b76d2f965cb5b311301d48f8b43a2e2a963dd5e78b7afe0e26ef6465cbe95b8a987b145bcf1f889705
@@ -6,7 +6,7 @@ require 'eac_ruby_utils/core_ext'
6
6
  module EacGit
7
7
  class Local
8
8
  class Remote
9
- NO_SUCH_REMOTE_CODE = 128
9
+ NO_SUCH_REMOTE_CODE = 512
10
10
 
11
11
  enable_simple_cache
12
12
  include ::EacGit::RemoteLike
@@ -33,6 +33,11 @@ module EacGit
33
33
  .execute!(exit_outputs: { NO_SUCH_REMOTE_CODE => nil })
34
34
  .if_present(nil, &:strip)
35
35
  end
36
+
37
+ # @return [String]
38
+ def url=(new_url)
39
+ local.command('remote', 'set-url', name, new_url).execute!
40
+ end
36
41
  end
37
42
  end
38
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacGit
4
- VERSION = '0.13.0'
4
+ VERSION = '0.14.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.13.0
4
+ version: 0.14.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: 2022-10-16 00:00:00.000000000 Z
11
+ date: 2023-03-21 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.105'
19
+ version: '0.112'
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.105'
26
+ version: '0.112'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: parseconfig
29
29
  requirement: !ruby/object:Gem::Requirement