git-multi 2.5.0 → 2.6.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
  SHA256:
3
- metadata.gz: 1f9a895a73ee5149dcd5480e9ee663fc7c119029e411260d56801a4d45c888dc
4
- data.tar.gz: b577e204634215bbe64c6619b5f1bdab83f17eea91a27cdee8d034263da4650a
3
+ metadata.gz: 8d0917060f5aa7e6e7313fc0aa2f2ee73d3711474ed3c94ecec5baf24b3ff482
4
+ data.tar.gz: 0cc8df7ad123f265ff6a690153671c30602dc32a702da42ca41fb664c3e2c5a1
5
5
  SHA512:
6
- metadata.gz: c42ac386eab76a161da343af5af216de62844cc479af83b996e57d8eed3cfb25e645cb107630f579b8c911e3d064e064a53c91271e854590ca5398ae3ada7261
7
- data.tar.gz: b538d11e2aa3f4336254d46b9d8e3209d86a64c013104e28e1c6c404fac491125a327ee8ad50878cca11866b10cd9cf8a4471ff35dfe5a32e95806536a9966a9
6
+ metadata.gz: 44ea51eb87ce35334305cb57ba8284eb31b538341e0fc520d8962e7574ea077f1381e96cbac07ae1c4866ea6f09fbb0d47f14ce456aeac2c076f34323f0a8a05
7
+ data.tar.gz: ea57918e2abb127e69867266b466c77f46109e1fa613859bc58a84ff8ffe03011bb8c2fc1a5490204d9f31c84a54a63c44ae0ef00730684871ccaf0eba71c05a
data/.gitconform ADDED
@@ -0,0 +1,9 @@
1
+ [git "conform"]
2
+ checker = CarriageReturnCharacterChecker
3
+ checker = FileNotEmptyChecker
4
+ checker = LowercaseFilenameChecker
5
+ checker = NonAsciiCharacterChecker
6
+ checker = NonAsciiFilenameChecker
7
+ checker = TabCharacterChecker
8
+ checker = TrailingWhitespaceChecker
9
+ checker = WhitespaceFilenameChecker
data/.gitignore CHANGED
@@ -1,9 +1,9 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
9
+ /vendor/
data/.pryrc CHANGED
@@ -1,9 +1,9 @@
1
- # this loads all of "git-multi"
1
+ # this loads all of 'git-multi'
2
2
  lib = File.expand_path('lib', __dir__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'git/multi'
5
5
 
6
- # this loads all "git multi" contribs
6
+ # this loads all 'git multi' contribs
7
7
  Dir.glob File.join(__dir__, 'contrib', '*', '*.rb'), &method(:require)
8
8
 
9
9
  # configure a logger
data/.rubocop.yml CHANGED
@@ -1,3 +1,9 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'doc/*'
4
+ - 'tmp/*'
5
+ - 'pkg/*'
6
+
1
7
  Layout/EmptyLinesAroundClassBody:
2
8
  Enabled: false
3
9
  Layout/EmptyLinesAroundModuleBody:
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at peter.vandenberk@simplybusiness.co.uk. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile.lock ADDED
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ git-multi (2.6.0)
5
+ octokit (~> 4.13)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.6.0)
11
+ public_suffix (>= 2.0.2, < 4.0)
12
+ ast (2.4.0)
13
+ coderay (1.1.2)
14
+ faraday (0.15.4)
15
+ multipart-post (>= 1.2, < 3)
16
+ interception (0.5)
17
+ jaro_winkler (1.5.2)
18
+ method_source (0.9.2)
19
+ minitest (5.11.3)
20
+ multipart-post (2.1.1)
21
+ octokit (4.14.0)
22
+ sawyer (~> 0.8.0, >= 0.5.3)
23
+ parallel (1.13.0)
24
+ parser (2.6.0.0)
25
+ ast (~> 2.4.0)
26
+ powerpack (0.1.2)
27
+ pry (0.12.2)
28
+ coderay (~> 1.1.0)
29
+ method_source (~> 0.9.0)
30
+ pry-rescue (1.5.0)
31
+ interception (>= 0.5)
32
+ pry (>= 0.12.0)
33
+ psych (3.1.0)
34
+ public_suffix (3.1.1)
35
+ rainbow (3.0.0)
36
+ rake (12.3.2)
37
+ rubocop (0.65.0)
38
+ jaro_winkler (~> 1.5.1)
39
+ parallel (~> 1.10)
40
+ parser (>= 2.5, != 2.5.1.1)
41
+ powerpack (~> 0.1)
42
+ psych (>= 3.1.0)
43
+ rainbow (>= 2.2.2, < 4.0)
44
+ ruby-progressbar (~> 1.7)
45
+ unicode-display_width (~> 1.4.0)
46
+ ruby-progressbar (1.10.0)
47
+ sawyer (0.8.2)
48
+ addressable (>= 2.3.5)
49
+ faraday (> 0.8, < 2.0)
50
+ unicode-display_width (1.4.1)
51
+
52
+ PLATFORMS
53
+ ruby
54
+
55
+ DEPENDENCIES
56
+ bundler
57
+ git-multi!
58
+ minitest
59
+ pry
60
+ pry-rescue
61
+ rake
62
+ rubocop
63
+
64
+ BUNDLED WITH
65
+ 2.0.2
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2018 Peter Vandenberk
3
+ Copyright (c) 2012-2019 Peter Vandenberk (pvandenberk@mac.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ task :validate_gemspec do
8
8
  end
9
9
 
10
10
  task :version => :validate_gemspec do
11
- puts Git::Multi::VERSION
11
+ puts Git::Multi.version
12
12
  end
13
13
 
14
14
  require 'rubocop/rake_task'
@@ -23,7 +23,7 @@ Rake::TestTask.new(:test) do |t|
23
23
  t.test_files = FileList['test/**/*_test.rb']
24
24
  end
25
25
 
26
- task :default => [:rubocop, :test]
26
+ task :default => [:version, :rubocop, :test]
27
27
 
28
28
  require 'git/multi'
29
29
 
data/bin/setup CHANGED
@@ -3,6 +3,8 @@ set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
  set -vx
5
5
 
6
+ [ -f Brewfile ] && brew bundle
7
+
6
8
  rbenv install -s
7
9
  gem install --conservative bundler
8
10
  bundle install
data/git-multi.gemspec CHANGED
@@ -28,7 +28,9 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency 'octokit', '~> 4.13'
29
29
 
30
30
  spec.add_development_dependency 'bundler'
31
+ spec.add_development_dependency 'minitest'
31
32
  spec.add_development_dependency 'pry'
33
+ spec.add_development_dependency 'pry-rescue'
32
34
  spec.add_development_dependency 'rake'
33
35
  spec.add_development_dependency 'rubocop'
34
36
  end
data/lib/git/multi.rb CHANGED
@@ -24,6 +24,7 @@ require 'git/multi/commands'
24
24
 
25
25
  module Git
26
26
  module Multi
27
+ class Error < StandardError; end
27
28
 
28
29
  HOME = Dir.home
29
30
 
@@ -1,6 +1,10 @@
1
1
  module Git
2
2
  module Multi
3
3
  NAME = 'git-multi'.freeze
4
- VERSION = '2.5.0'.freeze
4
+ VERSION = '2.6.0'.freeze
5
+
6
+ def self.version
7
+ "#{NAME} v#{VERSION}"
8
+ end
5
9
  end
6
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-multi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenberk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: pry
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +66,20 @@ dependencies:
52
66
  - - ">="
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-rescue
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: rake
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -88,11 +116,14 @@ executables:
88
116
  extensions: []
89
117
  extra_rdoc_files: []
90
118
  files:
119
+ - ".gitconform"
91
120
  - ".gitignore"
92
121
  - ".pryrc"
93
122
  - ".rubocop.yml"
94
123
  - ".ruby-version"
124
+ - CODE_OF_CONDUCT.md
95
125
  - Gemfile
126
+ - Gemfile.lock
96
127
  - LICENSE.txt
97
128
  - README.md
98
129
  - Rakefile
@@ -143,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
174
  - !ruby/object:Gem::Version
144
175
  version: '0'
145
176
  requirements: []
146
- rubygems_version: 3.0.2
177
+ rubygems_version: 3.0.4
147
178
  signing_key:
148
179
  specification_version: 4
149
180
  summary: The ultimate multi-repo utility for git!