git-semaphore 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.pryrc +9 -3
- data/.rubocop.yml +36 -0
- data/.ruby-version +1 -1
- data/Gemfile +2 -0
- data/LICENSE.txt +1 -1
- data/Rakefile +26 -12
- data/bin/console +4 -9
- data/bin/setup +4 -1
- data/exe/git-semaphore +64 -65
- data/git-semaphore.gemspec +22 -19
- data/lib/git/semaphore.rb +22 -19
- data/lib/git/semaphore/api.rb +29 -27
- data/lib/git/semaphore/api_cache.rb +17 -17
- data/lib/git/semaphore/api_enrich.rb +10 -10
- data/lib/git/semaphore/gemspec.rb +13 -0
- data/lib/git/semaphore/project.rb +187 -174
- data/lib/git/semaphore/version.rb +11 -1
- metadata +19 -46
- data/Guardfile +0 -15
- data/lib/git/semaphore/banner.rb +0 -13
- data/lib/git/semaphore/copyright.rb +0 -6
@@ -1,5 +1,15 @@
|
|
1
|
+
require 'rugged'
|
2
|
+
|
1
3
|
module Git
|
2
4
|
module Semaphore
|
3
|
-
|
5
|
+
NAME = 'git-semaphore'.freeze
|
6
|
+
VERSION = '2.2.0'.freeze
|
7
|
+
|
8
|
+
DEPENDENCY_VERSIONS = [
|
9
|
+
"rugged v#{Rugged::VERSION}",
|
10
|
+
"#{RUBY_ENGINE} #{RUBY_VERSION}p#{RUBY_PATCHLEVEL}",
|
11
|
+
].join(', ').freeze
|
12
|
+
|
13
|
+
LONG_VERSION = "#{NAME} v#{VERSION} (#{DEPENDENCY_VERSIONS})".freeze
|
4
14
|
end
|
5
15
|
end
|
metadata
CHANGED
@@ -1,85 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-semaphore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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:
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rugged
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0.27'
|
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: '
|
26
|
+
version: '0.27'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: slop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '4.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.12'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.12'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
45
|
+
- - ">="
|
74
46
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
47
|
+
version: '0'
|
76
48
|
type: :development
|
77
49
|
prerelease: false
|
78
50
|
version_requirements: !ruby/object:Gem::Requirement
|
79
51
|
requirements:
|
80
|
-
- - "
|
52
|
+
- - ">="
|
81
53
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
54
|
+
version: '0'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
56
|
name: pry
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,7 +67,7 @@ dependencies:
|
|
95
67
|
- !ruby/object:Gem::Version
|
96
68
|
version: '0'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
70
|
+
name: rake
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
100
72
|
requirements:
|
101
73
|
- - ">="
|
@@ -119,10 +91,10 @@ files:
|
|
119
91
|
- ".gitconform"
|
120
92
|
- ".gitignore"
|
121
93
|
- ".pryrc"
|
94
|
+
- ".rubocop.yml"
|
122
95
|
- ".ruby-version"
|
123
96
|
- CODE_OF_CONDUCT.md
|
124
97
|
- Gemfile
|
125
|
-
- Guardfile
|
126
98
|
- LICENSE.txt
|
127
99
|
- README.md
|
128
100
|
- Rakefile
|
@@ -134,15 +106,16 @@ files:
|
|
134
106
|
- lib/git/semaphore/api.rb
|
135
107
|
- lib/git/semaphore/api_cache.rb
|
136
108
|
- lib/git/semaphore/api_enrich.rb
|
137
|
-
- lib/git/semaphore/
|
138
|
-
- lib/git/semaphore/copyright.rb
|
109
|
+
- lib/git/semaphore/gemspec.rb
|
139
110
|
- lib/git/semaphore/project.rb
|
140
111
|
- lib/git/semaphore/version.rb
|
141
112
|
homepage: https://github.com/pvdb/git-semaphore
|
142
113
|
licenses:
|
143
114
|
- MIT
|
144
115
|
metadata: {}
|
145
|
-
post_install_message:
|
116
|
+
post_install_message: "\nThe only required setting for \e[1mgit semaphore\e[0m is:\n\n\tgit
|
117
|
+
config --global --add \e[1msemaphore.authtoken\e[0m <your_semaphore_auth_token>\n\nThanks
|
118
|
+
for using \e[1mgit semaphore\e[0m ... the ultimate Semaphore utility for git!\n\n"
|
146
119
|
rdoc_options: []
|
147
120
|
require_paths:
|
148
121
|
- lib
|
@@ -158,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
131
|
version: '0'
|
159
132
|
requirements: []
|
160
133
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.
|
134
|
+
rubygems_version: 2.7.6
|
162
135
|
signing_key:
|
163
136
|
specification_version: 4
|
164
137
|
summary: git integration with semaphoreci.com
|
data/Guardfile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
|
-
guard 'rspec', :cli => "--format RSpec::Pride --tty --fail-fast" do
|
5
|
-
watch(%r{^spec/.+_spec\.rb$})
|
6
|
-
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
-
watch('spec/spec_helper.rb') { "spec" }
|
8
|
-
end
|
9
|
-
|
10
|
-
guard 'cucumber', :cli => '--tags ~@wip --format Cucumber::Pride::Formatter' do
|
11
|
-
watch(%r{^features/.+\.feature$})
|
12
|
-
watch(%r{^(bin|lib)/.+$}) { 'features' }
|
13
|
-
watch(%r{^features/support/.+$}) { 'features' }
|
14
|
-
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
|
15
|
-
end
|
data/lib/git/semaphore/banner.rb
DELETED