ossy 0.3.3 → 0.3.6

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: f7335a5f4133bde5fed20bcd4ae682450b57ca98e184a784c3df18ba938510e6
4
- data.tar.gz: 70139766a69aa38d1ffa6f3bd089ce2567ac850907ae52451d60f91a73928064
3
+ metadata.gz: 74639ce2e390175ebd451c8fd4e5b494fa5f1c0b5ba5a8598e66da250cdd6064
4
+ data.tar.gz: f0f30fc062453390d88d1c52a59ea520a0e69aee93a7f4e7af09d4c2b28b50b2
5
5
  SHA512:
6
- metadata.gz: 237290f69c965cdd25f948cdff179c4d850d047cb4c86dbe09df455380a78c593ba4c7f6f97bc32b2c7e484c1309ee332e602c5fae0621ab02437cedcab37963
7
- data.tar.gz: 9110f871c9a3b5aaf61fd08548cb03447cf63a473d53ae448de73fcb627d7c78ddffef58a82f4ae73a309d2f784e9bc255ea74eb9463f8f19fa89570324f1ad8
6
+ metadata.gz: '078db68eae01b1f72979613816848a21ef39819733452f2280225e5b5d5f2f15a4ebd9a1620d3ab2635b46186ca4b477adf852068ba1710c81f6bd7c59cb4faa'
7
+ data.tar.gz: '08ecedaa6783c81948233c7ada3caa4234e7dee3cdc18ede0d63a93c628bca797c889304f29324be0c7d8e71731acdd8fa91127d845399c91092c914ca442cfe'
@@ -17,8 +17,12 @@ module Ossy
17
17
  def call(repo:, tag:)
18
18
  result = client.tagger(repo: repo, tag: tag)
19
19
 
20
- if result && result[:verified].equal?(true)
21
- puts result[:tagger]["name"]
20
+ return unless result
21
+
22
+ tagger = result[:tagger]
23
+
24
+ if tagger["email"].include?("users.noreply.github.com") || result[:verified].equal?(true)
25
+ puts tagger["name"]
22
26
  end
23
27
  end
24
28
  end
@@ -75,7 +75,7 @@ module Ossy
75
75
 
76
76
  def http
77
77
  @http ||= Faraday.new(url: BASE_URL, headers: headers) do |conn|
78
- conn.basic_auth(settings.github_login, settings.github_token)
78
+ conn.request(:basic_auth, settings.github_login, settings.github_token)
79
79
  end
80
80
  end
81
81
 
data/lib/ossy/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ossy
4
- VERSION = "0.3.3"
4
+ VERSION = "0.3.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ossy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2022-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -64,6 +64,46 @@ dependencies:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '1.2'
67
+ - !ruby/object:Gem::Dependency
68
+ name: dry-container
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '0.8'
74
+ - - "<="
75
+ - !ruby/object:Gem::Version
76
+ version: '0.8'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.8'
84
+ - - "<="
85
+ - !ruby/object:Gem::Version
86
+ version: '0.8'
87
+ - !ruby/object:Gem::Dependency
88
+ name: dry-configurable
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '0.12'
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.13'
97
+ type: :runtime
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.12'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '0.13'
67
107
  - !ruby/object:Gem::Dependency
68
108
  name: dry-system
69
109
  requirement: !ruby/object:Gem::Requirement
@@ -140,14 +180,20 @@ dependencies:
140
180
  requirements:
141
181
  - - "~>"
142
182
  - !ruby/object:Gem::Version
143
- version: '10.0'
183
+ version: 12.3.3
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 12.3.3
144
187
  type: :development
145
188
  prerelease: false
146
189
  version_requirements: !ruby/object:Gem::Requirement
147
190
  requirements:
148
191
  - - "~>"
149
192
  - !ruby/object:Gem::Version
150
- version: '10.0'
193
+ version: 12.3.3
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 12.3.3
151
197
  - !ruby/object:Gem::Dependency
152
198
  name: rspec
153
199
  requirement: !ruby/object:Gem::Requirement
@@ -234,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
280
  - !ruby/object:Gem::Version
235
281
  version: '0'
236
282
  requirements: []
237
- rubygems_version: 3.2.15
283
+ rubygems_version: 3.2.32
238
284
  signing_key:
239
285
  specification_version: 4
240
286
  summary: Ossy is your ruby gem maintenance helper