gitall 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0763f90c0ee820e5a98183f8bbba0bb8d3d00732c088f1423fe3db65851e7e8
4
- data.tar.gz: c98f7711d1e403332ba5708a92b0d15f9a5c2197a67a835d190c39c11addd1e5
3
+ metadata.gz: f9061a6a0094724956637663706fe3bd5059e539b5d3982e1f5627db49535d7b
4
+ data.tar.gz: 8af6959cdff60eb8683f80f1c2717c772df58f04963b9d4aea6cc44cb0ef1004
5
5
  SHA512:
6
- metadata.gz: e7423b7049c516acdd56feabb213b407d98dfa66c31ae6692e14940c1b839af26efce57c8c930b48128b082caf11692f65be45b6c126cef4dee0c65addcf7784
7
- data.tar.gz: 88eb76e81a7eea9001a8fb4ed7a06078d66cc193db51e3f5eac17db0661d383a2dea698efd86d31ec5311e8fc08e5b3a47dd0a7a012e22a06382277fc57c909b
6
+ metadata.gz: f8c1b42df42fcadd9ffa3cd2ae6b483e3879f92a7defa95c083f3751a2d1d59756e327653ac636057b5c66d4f650004e9314a0f92bfb2afce9f22f755a477142
7
+ data.tar.gz: 8558aaa6f7c739199cc9544c70c6c4264a1a86abd19aa5bb03aff8dff4d09ec7371898113134c55070ba644c11ef360ff499748075929ebb92918873f5bbc153
@@ -17,7 +17,7 @@ class GitLabParser
17
17
  case ntype
18
18
  when 'MergeRequest'
19
19
  mr_note = j.object_attributes.note
20
- mr_url = shorten(j.object_attributes.url)
20
+ mr_url = j.object_attributes.url
21
21
  mr_title = j.merge_request.title
22
22
  mr_id = j.merge_request.iid
23
23
  mr_user = j.user.name
@@ -26,12 +26,12 @@ class GitLabParser
26
26
  when 'Commit'
27
27
  c_note = j.object_attributes.note
28
28
  c_sha = j.commit.id[0...7]
29
- c_url = shorten(j.object_attributes.url)
29
+ c_url = j.object_attributes.url
30
30
  c_user = j.user.name
31
31
  response << "[#{repo}] #{c_user} commented on commit (#{c_sha}) \u2014 #{c_note} <#{c_url}>"
32
32
  when 'Issue'
33
33
  i_id = j.issue.iid
34
- i_url = shorten(j.object_attributes.url)
34
+ i_url = j.object_attributes.url
35
35
  i_msg = j.object_attributes.note
36
36
  i_title = j.issue.title
37
37
  i_user = j.user.name
@@ -46,12 +46,12 @@ class GitLabParser
46
46
  i_id = j.object_attributes.iid
47
47
  i_title = j.object_attributes.title
48
48
  i_action = j.object_attributes.action
49
- i_url = shorten(j.object_attributes.url)
49
+ i_url = j.object_attributes.url
50
50
  response << "[#{i_repo}] #{i_user}(#{i_un}) #{i_action} issue ##{i_id} - #{i_title} <#{i_url}>"
51
51
  when 'merge_request'
52
52
  mr_name = j.user.name
53
53
  mr_user = j.user.username
54
- mr_url = shorten(j.url)
54
+ mr_url = j.url
55
55
  mr_spath = j.object_attributes.source.path_with_namespace
56
56
  mr_sbranch = j.object_attributes.source_branch
57
57
  mr_tpath = j.object_attributes.target.path_with_namespace
@@ -76,7 +76,7 @@ class GitLabParser
76
76
  project = j.project.name
77
77
  pusher = j.user_name
78
78
  commit_count = j.total_commits_count
79
- repo_url = shorten(j.project.web_url)
79
+ repo_url = j.project.web_url
80
80
  response << "[#{owner}/#{project}] #{pusher} pushed #{commit_count} commit(s) [+#{added}/-#{removed}/±#{modified}] to [#{branch}] at <#{repo_url}>"
81
81
  if commits.length > 3
82
82
  coms = commits[0..2]
@@ -1,3 +1,3 @@
1
1
  module GitAll
2
- VERSION = '1.1.6'
2
+ VERSION = '1.1.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitall
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer